Save all audio ES in separate wav files
Gstlili
ti_mourad at yahoo.fr
Tue Apr 29 09:13:12 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 network udp/rtp and well read it ?
Please can someone provide any help about this ?
Thanks
Le Lundi 28 avril 2014 15h09, Chuck Crisler-2 [via GStreamer-devel] <ml-node+s966125n4666640h30 at n4.nabble.com> a écrit :
It looks like your 2 audio files are stored in MP2T format, not RTP. You could save them in MP2T encapsulated in RTP but why? There really isn't much (if any) benefit.
Remove the caps and the rtpmp2tdepay, the rest may work.
On Mon, Apr 28, 2014 at 4:48 AM, Gstlili <[hidden email]> wrote:
I am still blocked...
>
>I think that there is a problem of synchronisation between the RTP stream
>and the pipeline execution...
>
>am I doing something wrong here?
>
>I will be happy for help.
>
>
>
>--
>View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Save-all-audio-ES-in-separate-wav-files-tp4666614p4666639.html
>
>Sent from the GStreamer-devel mailing list archive at Nabble.com.
>_______________________________________________
>gstreamer-devel mailing list
>[hidden email]
>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
________________________________
If you reply to this email, your message will be added to the discussion below:http://gstreamer-devel.966125.n4.nabble.com/Save-all-audio-ES-in-separate-wav-files-tp4666614p4666640.html
To unsubscribe from Save all audio ES in separate wav files, click here.
NAML
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Save-all-audio-ES-in-separate-wav-files-tp4666614p4666658.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140429/f9819360/attachment.html>
More information about the gstreamer-devel
mailing list