Save all audio ES in separate wav files

Gstlili ti_mourad at
Tue Apr 29 09:21:14 PDT 2014

Thank you Chuck for help !

I tried removing the caps and the rtpmp2tdepay, as you suggest, but the
pipeline doesnt work (same behavior).

I broadcasted my mpeg-2 ts stream using Gstreamer instead of VLC :

/gst-launch-0.10 -v filesrc location=dolit.ts ! mpegtsparse ! rtpmp2tpay !
udpsink port=1234 host= sync=false/

*Receiver :*
/gst-launch-0.10 -v udpsrc port=1234
! rtpmp2tdepay ! mpegtsdemux name=d .audio_0045 ! queue max-size-buffers=0
max-size-time=0 ! filesink location=./AudENG.wav d.audio_0046 ! queue
max-size-buffers=0 max-size-time=0 ! filesink location=./AudFRA.wav/

The wav files are well saved but i remarqued that the sender doesn't
streamed (played) the ts file because it quikely finished ( in 3 seconds
while my stream duration is 5 mn !!! ):

/gst-launch-0.10 -v filesrc location=dolit.ts ! mpegtsparse ! rtpmp2tpay !
udpsink port=1234 host= sync=false/
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
*Execution ended after 3301466342 ns.*
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstRTPMP2TPay:rtpmp2tpay0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstRTPMP2TPay:rtpmp2tpay0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/MpegTSParse:mpegtsparse0.GstPad:src0: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...

I used the two following streamers which well broadcast the dolit.ts in 5 mn
but my wav files are *empty !!!!!!!!*

*Streamer 1:*
/gst-launch-0.10 -v filesrc location=./dolit.ts ! decodebin ! x264enc !
video/x-h264 ! rtph264pay pt=96 ! udpsink port=1234 host=

*Streamer 2:*
/gst-launch-0.10 filesrc location=dolit.ts ! mpegtsdemux ! mpegtsmux !
udpsink clients=

How can i stream my ts file over udp/rtp network and well read it ?

Please can someone provide any help about this ? 


View this message in context:
Sent from the GStreamer-devel mailing list archive at

More information about the gstreamer-devel mailing list