Hi, gstreamer-devel:<br><br>&nbsp;&nbsp;&nbsp; You should consider an element named &quot;gstrtpbin&quot; and add &quot;gstrtpbin&quot; between udpsrc and decodebin.<br><br>Eric Zhang<br><br><div class="gmail_quote">2008/12/19 Anand Sivaram <span dir="ltr">&lt;<a href="mailto:aspnair@gmail.com">aspnair@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello all,<br>
<br>
I am trying to play an h264/aac file streamed by VLC player using gstreamer.<br>
Since it was not getting played out, I also tried streaming<br>
an mpeg1/mp2 file.<br>
<br>
On the TX side I used vlc to stream the file using mpeg2-ts encapsulation<br>
<br>
vlc --mtu 1200 -vvv Videofile \<br>
 &nbsp;--sout &#39;#duplicate{dst=rtp{mux=ts,dst=127.0.0.1,port=25000}}&#39;<br>
<br>
where the Videofile could be an h264/aac (mp4 extension) file<br>
or an mpeg1/mp2 (mpg extension) file.<br>
<br>
On the RX side I started gst-launch<br>
gst-launch -v udpsrc port=25000 ! rtpmp2tdepay ! decodebin name=decoder \<br>
 &nbsp;decoder. ! ffmpegcolorspace ! autovideosink decoder. ! &nbsp;autoaudiosink<br>
(when streaming one mpg file)<br>
<br>
gst-launch -v udpsrc port=25000 ! rtph264depay ! decodebin name=decoder \<br>
 &nbsp;decoder. ! ffmpegcolorspace ! autovideosink decoder. ! &nbsp;autoaudiosink<br>
(when streaming one mp4 file)<br>
<br>
------<br>
This is what the observation is.<br>
When I stream somefile.mpg both video and audio outputs are extremely<br>
jittery.<br>
When I stream somefile.mp4 there is no video or audio outputs at all.<br>
<br>
Any idea why the mp4 stream is not getting played out? &nbsp;Has anyone<br>
tried streaming from VLC to gstreamer?<br>
<br>
But, on the otherhand if VLC is used on the RX side<br>
vlc rtp://@:25000<br>
everything is working.<br>
------<br>
<br>
== This is the output of gstreamer when I tried to stream somefile.mp4<br>
<br>
sink=decodervrudecoder.r!=ffmpegcolorspacee!aautovideosink decoder. !<br>
autoaudios<br>
Setting pipeline to PAUSED ...<br>
Pipeline is live and does not need PREROLL ...<br>
Setting pipeline to PLAYING ...<br>
New clock: GstSystemClock<br>
<br>
/pipeline0/decoder/typefind.src: caps = video/mpegts,<br>
systemstream=(boolean)true, packetsize=(int)188<br>
/pipeline0/decoder/flutsdemux0.sink: caps = video/mpegts,<br>
systemstream=(boolean)true, packetsize=(int)188<br>
/pipeline0/decoder/flutsdemux0: pat-info = ((GValueArray*) 0x25fc660)<br>
/pipeline0/decoder/flutsdemux0: pmt-info = ((FluTsPmtInfo*) 0x25fc130)<br>
/pipeline0/decoder/queue0.sink: caps = audio/mpeg, mpegversion=(int)4<br>
/pipeline0/decoder/queue0.src: caps = audio/mpeg, mpegversion=(int)4<br>
/pipeline0/decoder/faad0.sink: caps = audio/mpeg, mpegversion=(int)4<br>
/pipeline0/decoder/queue1.sink: caps = video/x-h264<br>
/pipeline0/decoder/queue1.src: caps = video/x-h264<br>
/pipeline0/decoder/ffdec_h2640.sink: caps = video/x-h264<br>
/pipeline0/decoder/faad0.src: caps = audio/x-raw-int,<br>
endianness=(int)1234, signed=(boolean)true, width=(int)16,<br>
depth=(int)16, rate=(int)48000, channels=(int)2<br>
/pipeline0/autoaudiosink0/autoaudiosink0-actual-sink-alsa.sink: caps =<br>
audio/x-raw-int, endianness=(int)1234, signed=(boolean)true,<br>
width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2<br>
/pipeline0/autoaudiosink0.sink: caps = audio/x-raw-int,<br>
endianness=(int)1234, signed=(boolean)true, width=(int)16,<br>
depth=(int)16, rate=(int)48000, channels=(int)2<br>
/pipeline0/decoder.src0: caps = audio/x-raw-int, endianness=(int)1234,<br>
signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000,<br>
channels=(int)2<br>
/pipeline0/decoder.src0.proxypad3: caps = audio/x-raw-int,<br>
endianness=(int)1234, signed=(boolean)true, width=(int)16,<br>
depth=(int)16, rate=(int)48000, channels=(int)2<br>
/pipeline0/autoaudiosink0.sink: caps = audio/x-raw-int,<br>
endianness=(int)1234, signed=(boolean)true, width=(int)16,<br>
depth=(int)16, rate=(int)48000, channels=(int)2<br>
/pipeline0/autoaudiosink0.sink.proxypad2: caps = audio/x-raw-int,<br>
endianness=(int)1234, signed=(boolean)true, width=(int)16,<br>
depth=(int)16, rate=(int)48000, channels=(int)2<br>
<br>
Thanks and Regards<br>
<br>
Anand<br>
<br>
------------------------------------------------------------------------------<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>