Save all audio ES in separate wav files
Gstlili
ti_mourad at yahoo.fr
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 :
*Sender:*
/gst-launch-0.10 -v filesrc location=dolit.ts ! mpegtsparse ! rtpmp2tpay !
udpsink port=1234 host=127.0.0.1 sync=false/
*Receiver :*
/gst-launch-0.10 -v udpsrc port=1234
caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264"
! 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=127.0.0.1 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=127.0.0.1
sync=false/
*Streamer 2:*
/gst-launch-0.10 filesrc location=dolit.ts ! mpegtsdemux ! mpegtsmux !
udpsink clients=127.0.0.1:1234/
How can i stream my ts file over udp/rtp network and well read it ?
Please can someone provide any help about this ?
Thanks
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Save-all-audio-ES-in-separate-wav-files-tp4666614p4666659.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list