Im not quite sure, but i think rtpbin was not supposed to be used anymore, you should use gstrtpbin:<br><br><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-gstrtpbin.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-gstrtpbin.html</a><br>
<br>the pipe would be like:<br><br>"gst-launch-0.10 filesrc location=/home/amit/Test_streams/mono/test1_44kHz_longmono.pcm
! myaacencoder samplerate=44100 ! audio/mpeg, mpegversion=4,
channels=1, rate=44100 ! rtpmp4gpay ! application/x-rtp, media=audio,
payload=127, encoding-name=MPEG4-GENERIC, mode=AAC-hbr ! gstrtpbin ! udpsink host=<a href="http://10.60.5.78:5000/" target="_blank">10.60.5.78:5000</a> port=5000"<br><br>gstrtpbin does not send the data for you, but does the rest of the magic :-).<br>
<br>Best regards,<br>Katcipis<br><div> </div><br><div class="gmail_quote">On Thu, Aug 5, 2010 at 6:24 AM, <span dir="ltr"><<a href="mailto:amitpandya@itimes.com">amitpandya@itimes.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all,<br>
<br>
I am working on aac streaming application.<br>
I am using "udpsink" to stream the aac frames with the following pipeline,<br>
<br>
"gst-launch-0.10 filesrc location=/home/amit/Test_streams/mono/test1_44kHz_longmono.pcm ! myaacencoder samplerate=44100 ! audio/mpeg, mpegversion=4, channels=1, rate=44100 ! rtpmp4gpay ! application/x-rtp, media=audio, payload=127, encoding-name=MPEG4-GENERIC, mode=AAC-hbr ! udpsink host=10.60.5.78 port=5000"<br>
<br>
I am able to playback the stream on VLC player without any problem with corrrect timestamp.<br>
My input stream is 45 Seconds long and VLC is showing stream info as below,<br>
Decoded blocks/played buffers = 1954<br>
In this case the pipline gives the "Execution ended after 45396547000 ns."<br>
<br>
In same pipeline if i use rtpbin for streaming instead of udpsink using following pipeline,<br>
<br>
"gst-launch-0.10 filesrc location=/home/amit/Test_streams/mono/test1_44kHz_longmono.pcm ! myaacencoder samplerate=44100 ! audio/mpeg, mpegversion=4, channels=1, rate=44100 ! rtpmp4gpay ! application/x-rtp, media=audio, payload=127, encoding-name=MPEG4-GENERIC, mode=AAC-hbr ! rtpbin destinations=<a href="http://10.60.5.78:5000" target="_blank">10.60.5.78:5000</a> localport=5000"<br>
<br>
pipeline is running much much faster and VLC is not able to play the full stream.<br>
In this case VLC is only playing 8 seconds stream with stream info as below,<br>
Decoded blocks/played buffers = 357<br>
In this case the pipline gives the "Execution ended after 4266499000 ns."<br>
<br>
In both the case their is no buffer lost.<br>
But if you notice, pipeline Execution time in case of "rtpbin" is around 10 times faster than in the case of "udpsink" (45396547000 ns is aroung 10 times more than 4266499000 ns)<br>
Can anyone tell me why i am getting such behavior?what diffrence it will make in streaming if rtpbin is used instead of udpsink?<br>
<br>
I tried putting "queue" in between the pipeline but same problem is their.<br>
Do I need to slow down the pipeline processing by putting the delay(sleep) in either "aacencoder" or in "packetizer"?<br>
If yes how can i calculate the exact delay required for diffrent sample-rate aac streams?<br>
<br>
Any help will be very much appreciated.<br>
<br>
Thanks.<br>
<br>
------------------------------------------------------------------------------<br>
The Palm PDK Hot Apps Program offers developers who use the<br>
Plug-In Development Kit to bring their C/C++ apps to Palm for a share<br>
of $1 Million in cash or HP Products. Visit us here for more details:<br>
<a href="http://p.sf.net/sfu/dev2dev-palm" target="_blank">http://p.sf.net/sfu/dev2dev-palm</a><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><br clear="all"><br>-- <br><a href="http://www.getgnulinux.org/windows">http://www.getgnulinux.org/windows</a><br>