Muxing two tcpclientsrc sources to rtmp server
soylent
soylent.tv at gmail.com
Mon Jul 14 10:05:20 PDT 2014
I just try to split the pipe in video/audio separate stream:
Video:
gst-launch-1.0 -v tcpclientsrc port=@VPORT ! videoparse format=rgb
width=@CWIDTH height=@CHEIGHT framerate=@RATE/1 ! queue max-size-buffers=0
max-size-time=0 ! videoscale ! videoconvert ! x264enc name=highenc pass=cbr
threads=0 bitrate=@VBITRATE000 tune=zerolatency ! h264parse ! flvmux
streamable=true name=mux ! queue max-size-buffers=0 max-size-time=0 !
rtmpsink sync=false location=@URL
Audio:
gst-launch-1.0 -v tcpclientsrc port=@APORT ! audio/x-raw, format=S16BE,
channels=@CHANNELS, rate=@FREQ ! queue max-size-buffers=0 max-size-time=0 !
audioconvert ! audioresample ! lamemp3enc bitrate=@ABITRATE000 !
mpegaudioparse ! flvmux streamable=true name=mux ! queue max-size-buffers=0
max-size-time=0 ! rtmpsink sync=false location=@URL
... and i noticed that the Audio part seems to produce the
GStreamer-CRITICAL error:
(gst-launch-1.0:6349): GStreamer-CRITICAL **: gst_segment_to_running_time:
assertion 'segment->format == format' failed
(gst-launch-1.0:6349): GStreamer-CRITICAL **: gst_segment_to_running_time:
assertion 'segment->format == format' failed
The video part seems Ok.
Thanks.
karl
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Muxing-two-tcpclientsrc-sources-to-rtmp-server-tp4667922p4667924.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list