[gst-devel] ffdemux_mpegts rtpmp4gpay rtpmp4apay

ClaudioSSBT claudio.filipponi at mb-international.net
Wed May 19 18:01:18 CEST 2010


Hello,
I have a transport stream with audio. I'd like to demux it and send the ES
stream via RTP, using  rtpmp4gpay.



ARTPPORT=5006
ARTCPPORT=5007
DEST=10.77.111.141

ARTPSINK="udpsink port=$ARTPPORT host=$DEST name=artpsink"
ARTCPSINK="udpsink port=$ARTCPPORT host=$DEST sync=false async=false
name=artcpsink"

gst-launch -v --gst-debug=2 gstrtpbin name=rtpbin   \
    filesrc location=centrocTS.ts ! ffdemux_mpegts name=demux demux. !
audio/mpeg ! queue ! rtpmp4gpay pt=37 ! rtpbin.send_rtp_sink_1                                            
\
        rtpbin.send_rtp_src_1 ! $ARTPSINK                                               
\
        rtpbin.send_rtcp_src_1 ! $ARTCPSINK



I have this error:
0:00:00.149668018  5319 0xb6d00648 WARN                  ffmpeg
gstffmpegdemux.c:1453:gst_ffmpegdemux_loop:<demux> stream_movi flow:
not-negotiated / not-negotiated
0:00:00.149744832  5319 0xb6d00648 WARN                  ffmpeg
gstffmpegdemux.c:1502:gst_ffmpegdemux_loop:<demux> error: Internal data
stream error.
0:00:00.149792404  5319 0xb6d00648 WARN                  ffmpeg
gstffmpegdemux.c:1502:gst_ffmpegdemux_loop:<demux> error: streaming stopped,
reason not-negotiated
ERROR: from element /GstPipeline:pipeline0/ffdemux_mpegts:demux: Internal
data stream error.
Additional debug info:
gstffmpegdemux.c(1502): gst_ffmpegdemux_loop ():
/GstPipeline:pipeline0/ffdemux_mpegts:demux:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...


But using rtpmp4apay it works.

gst-launch -v --gst-debug=2 gstrtpbin name=rtpbin   \
    filesrc location=centrocTS.ts ! ffdemux_mpegts name=demux demux. !
audio/mpeg ! queue ! aacparse ! rtpmp4apay pt=37 ! rtpbin.send_rtp_sink_1                                            
\
        rtpbin.send_rtp_src_1 ! $ARTPSINK                                               
\
        rtpbin.send_rtcp_src_1 ! $ARTCPSINK


Any suggestion?
Thanks
-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/ffdemux-mpegts-rtpmp4gpay-rtpmp4apay-tp2223090p2223090.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list