Hi,<br>I am a noob in gstreamer. I want to know how to play gstreamer using libvdpau,so that i can use Nvidia graphic accelerator capabilities to play full hd content. Any help will be highly appreciated. I have ubuntu 9.04 and ubuntu 10.04 machines.<br>
<br>Thanking one and all.<br><br>Best Regards.<br><br><div class="gmail_quote">On Wed, May 19, 2010 at 8:41 PM,  <span dir="ltr">&lt;<a href="mailto:gstreamer-devel-request@lists.sourceforge.net">gstreamer-devel-request@lists.sourceforge.net</a>&gt;</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;">Send gstreamer-devel mailing list submissions to<br>
        <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:gstreamer-devel-request@lists.sourceforge.net">gstreamer-devel-request@lists.sourceforge.net</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gstreamer-devel-owner@lists.sourceforge.net">gstreamer-devel-owner@lists.sourceforge.net</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of gstreamer-devel digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: gstreamer-devel Digest, Vol 48, Issue 37 (Edward Hervey)<br>
   2. Re: mov multiple audio (Ivan Zoli)<br>
   3. Trying to write a plugin but autogen.sh fails (Giorgio Buffa)<br>
   4. Framestepping backwards doesn&#39;t work with MPEG2 PS        files. (wl2776)<br>
   5. Bursts in UDP streaming (Alexis Berlemont)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 19 May 2010 12:00:14 +0200<br>
From: Edward Hervey &lt;<a href="mailto:bilboed@gmail.com">bilboed@gmail.com</a>&gt;<br>
Subject: Re: [gst-devel] gstreamer-devel Digest, Vol 48, Issue 37<br>
To: Discussion of the development of GStreamer<br>
        &lt;<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>
Message-ID: &lt;1274263214.29023.97.camel@localhost&gt;<br>
Content-Type: text/plain; charset=&quot;UTF-8&quot;<br>
<br>
On Wed, 2010-05-19 at 15:24 +0530, abhisek shaw wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have been trying to play Youtube videos using gstreamer but have not<br>
&gt; been successful in doing so.From what i could figure out, swfdec<br>
&gt; plug-in is required to play youtube vides because youtube supports<br>
&gt; flash video. As per gstreamer plug-in overview page, this plug-in<br>
&gt; should be available in &quot;bad plugins&quot;. This plug-in has some external<br>
&gt; dependecy on libswfdec. Even after installing this library, this<br>
&gt; plug-in does not show in the list of the elements. The configure<br>
&gt; script in &quot;bad plug-ins&quot; searches for 0.3 version of swfdec, which is<br>
&gt; already obsolete. I have tried bypassing this , but &quot;swfdec&quot; plug-in<br>
&gt; is still not built.<br>
&gt;<br>
&gt; I have tried the following pipelines.<br>
&gt;<br>
&gt; gst-launch-0.10 souphttpsrc<br>
&gt; location=&quot;<a href="http://www.youtube.com/v/6R0NJMGVjf4?f=videos&amp;c=gdataSample-YouTube-1&amp;app=youtube_gdata" target="_blank">http://www.youtube.com/v/6R0NJMGVjf4?f=videos&amp;c=gdataSample-YouTube-1&amp;app=youtube_gdata</a>&quot;  ! decodebin ! ximagesink<br>

<br>
  Don&#39;t do it like that. Use libgdata to get the flv/mp4 video link.<br>
That url is for the flash player (and not for the actual video file).<br>
  That&#39;s how the totem youtube plugin does it and it works like a charm.<br>
Go check how they do it.<br>
<br>
   Edward<br>
<br>
<br>
&gt;<br>
&gt; Setting pipeline to PAUSED ...<br>
&gt; Pipeline is PREROLLING ...<br>
&gt; ERROR: from<br>
&gt; element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdemux_swf:ffdemux_swf0: GStreamer encountered a general supporting library error.<br>
&gt; Additional debug info:<br>
&gt; gstffmpegdemux.c(1243): gst_ffmpegdemux_open<br>
&gt; (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdemux_swf:ffdemux_swf0:<br>
&gt; Input/output error<br>
&gt; ERROR: pipeline doesn&#39;t want to preroll.<br>
&gt; Setting pipeline to NULL ...<br>
&gt; Freeing pipeline ...<br>
&gt;<br>
&gt; Any help would be greatly appreciated.<br>
&gt; Thanks,<br>
&gt; Shaw<br>
&gt; ------------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 19 May 2010 12:20:32 +0200<br>
From: Ivan Zoli &lt;<a href="mailto:ivan.z@tiscali.it">ivan.z@tiscali.it</a>&gt;<br>
Subject: Re: [gst-devel] mov multiple audio<br>
To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID:<br>
        &lt;<a href="mailto:AANLkTim_zDhvJfVFiI4zDncpi7qKPhbUqQ-WS9rdyxTh@mail.gmail.com">AANLkTim_zDhvJfVFiI4zDncpi7qKPhbUqQ-WS9rdyxTh@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
Hallo,<br>
I&#39;m trying to record and .mov file with multiple audio tracks.<br>
By now the file produced are playble with QuickTime,<br>
but I hear both the tracks downmixed.<br>
If I try the same pipeline with a .avi file (avimux), for example,<br>
it works. Can anyone help me?<br>
That&#39;s a sample of the pipeline I use:<br>
gst-launch -v videotestsrc num-buffers=300 ! \<br>
??video/x-raw-yuv,format=\(fourcc\)I420,width=640,height=480,frametate=\(fraction\)30/1<br>
! \<br>
??x264enc ! \<br>
??queue name=video \<br>
??audiotestsrc num-buffers=100 blocksize=3200 ! \<br>
??audio/x-raw-int,rate=16000,channels=1,width=16,depth=16 ! \<br>
??queue name=audio \<br>
??audiotestsrc num-buffers=100 wave=9 blocksize=3200 ! \<br>
??audio/x-raw-int,rate=16000,channels=1,width=16,depth=16 ! \<br>
??queue name=audio2 \<br>
??ffmux_mov name=mux ! \<br>
??filesink location=test.mov ?\<br>
??video.src ! mux.video_00 \<br>
??audio.src ! mux.audio_00 \<br>
??audio2.src ! mux.audio_01<br>
<br>
I suppose that should be possible to set different language for<br>
the two audio streams, in order to be selectable by the player,<br>
but I don&#39;t know how.<br>
<br>
Thank you<br>
<br>
Ivan<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 19 May 2010 13:29:20 +0200<br>
From: Giorgio Buffa &lt;<a href="mailto:buffagio%2Bmail@gmail.com">buffagio+mail@gmail.com</a>&gt;<br>
Subject: [gst-devel] Trying to write a plugin but autogen.sh fails<br>
To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID:<br>
        &lt;<a href="mailto:AANLkTikexHANd-5ItUeZ3LyWmQnor87iWBJf-Wt60P50@mail.gmail.com">AANLkTikexHANd-5ItUeZ3LyWmQnor87iWBJf-Wt60P50@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hello.<br>
<br>
I&#39;m trying to write my first GStreamer&#39;s plugin, following the suggestion in<br>
&quot;GStreamer Plugin Writer&#39;s Guide&quot;, chapter 3. I&#39;m having a trouble with<br>
autogen.sh<br>
<br>
I&#39;ve used tools/make_element, and adjusted the src/Makefile.am has stated by<br>
the mentioned guide. When I launch autogen.sh it fails! I have no idea how<br>
to handle this situation.<br>
<br>
Here you are the messages autogen.sh prints on the console:<br>
<br>
autoreconf: Entering directory `.&#39;<br>
autoreconf: <a href="http://configure.ac" target="_blank">configure.ac</a>: not using Gettext<br>
autoreconf: running: aclocal --force<br>
autoreconf: <a href="http://configure.ac" target="_blank">configure.ac</a>: tracing<br>
autoreconf: running: libtoolize --copy --force<br>
libtoolize: putting auxiliary files in `.&#39;.<br>
libtoolize: copying file `./ltmain.sh&#39;<br>
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])&#39; to <a href="http://configure.ac" target="_blank">configure.ac</a> and<br>
libtoolize: rerunning libtoolize, to keep the correct libtool macros<br>
in-tree.<br>
libtoolize: Consider adding `-I m4&#39; to ACLOCAL_AMFLAGS in Makefile.am.<br>
autoreconf: running: /usr/local/override_order/bin/autoconf --force<br>
<a href="http://configure.ac:29" target="_blank">configure.ac:29</a>: error: possibly undefined macro: AC_MSG_ERROR<br>
      If this token and others are legitimate, please use m4_pattern_allow.<br>
      See the Autoconf documentation.<br>
<a href="http://configure.ac:50" target="_blank">configure.ac:50</a>: error: possibly undefined macro: AC_SUBST<br>
autoreconf: /usr/local/override_order/bin/autoconf failed with exit status:<br>
1<br>
autogen.sh failed<br>
<br>
<br>
I&#39;m working on Mac OS X 10.6.3<br>
The strange path /usr/local/override_order/bin/ is because autotools shipped<br>
with Snow Leopard are a bit dated. I&#39;ve installed m4, autoconf, automake and<br>
libtool in /usr/local/override_order , which is first in my PATH environment<br>
variable (I do not want to change the &quot;standard&quot; /usr/bin:/usr/local/bin<br>
order). So my PATH variable is<br>
/usr/local/override_order/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin<br>
<br>
I&#39;ve build and installed:<br>
* gstreamer-0.10.29<br>
* gst-plugins-base-0.10.29<br>
* gst-plugins-good-0.10.22<br>
* gst-ffmpef-0.10.10<br>
GStreamer is working fine.<br>
<br>
Thanks for any suggestion.<br>
Best regards,<br>
Giorgio Buffa<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 19 May 2010 05:40:05 -0700 (PDT)<br>
From: wl2776 &lt;<a href="mailto:wl2776@gmail.com">wl2776@gmail.com</a>&gt;<br>
Subject: [gst-devel] Framestepping backwards doesn&#39;t work with MPEG2<br>
        PS      files.<br>
To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID: &lt;<a href="mailto:1274272805445-2222757.post@n4.nabble.com">1274272805445-2222757.post@n4.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
<br>
The playbin2 doesn&#39;t react on the new_step events when paused.<br>
Current playing position, reported by _query_position doesn&#39;t change. The<br>
displayed picture doesn&#39;t change also.<br>
<br>
Framestepping forward is OK.<br>
<br>
0. GStreamer is initialized with the keys --gst-debug=player:5,mpegpsdemux:3<br>
where player is my private debug category.<br>
<br>
1. My application creates the playbin2 instance to play the file.<br>
It successfully opens and plays.<br>
<br>
2. I pause the playbin2.<br>
<br>
3. I position a playbin2 somewhere in the movie by clicking on a movie<br>
progress bar on my form.<br>
This issues the call<br>
<br>
r=gst_element_seek_simple(GST_ELEMENT(m_player),<br>
        GST_FORMAT_TIME,<br>
        (GstSeekFlags)(GST_SEEK_FLAG_FLUSH|GST_SEEK_FLAG_KEY_UNIT),<br>
        pos*GST_MSECOND);<br>
<br>
where pos is the seek position.<br>
<br>
GST_DEBUG rigth after this shows that r=1 (seek is successful), I also<br>
observe the changing picture.<br>
<br>
Debug shows the following.<br>
<br>
0:00:11.316272000  3952   003D9118 INFO             mpegpsdemux<br>
gstmpegdemux.c:1060:gst_flups_demux_do_seek:&lt;mpegpsdemux0&gt; sink segment<br>
configured 0409D880, trying to go at SCR: 5535000<br>
0:00:11.326286000  3952   003D9118 INFO             mpegpsdemux<br>
gstmpegdemux.c:1082:gst_flups_demux_do_seek:&lt;mpegpsdemux0&gt; doing seek at<br>
offset 42065920 SCR: 5534990 0:01:01.499888888<br>
0:00:11.346315000  3952   003D9118 DEBUG                 player<br>
gst_player.cpp:911:gst_player::set_position: direction=1, seek to 61500<br>
msec, r=1<br>
0:00:11.356329000  3952   040A06C0 INFO             mpegpsdemux<br>
gstmpegdemux.c:533:gst_flups_demux_send_data:&lt;mpegpsdemux0&gt; sending new<br>
segment: rate 1 applied_rate 1 start: 0:01:01.500011111, stop:<br>
99:99:99.999999999, time: 0:01:01.500000000 to pad 0401E668<br>
0:00:11.356329000  3952   040A06C0 INFO             mpegpsdemux<br>
gstmpegdemux.c:533:gst_flups_demux_send_data:&lt;mpegpsdemux0&gt; sending new<br>
segment: rate 1 applied_rate 1 start: 0:01:01.500011111, stop:<br>
99:99:99.999999999, time: 0:01:01.500000000 to pad 0401EA50<br>
0:00:11.486517000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:330:gst_player::bus_watch: message async-done(2097152) from<br>
playbin0<br>
0:00:11.486517000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:334:gst_player::bus_watch: current player position 61500ms<br>
0:00:11.526574000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:341:gst_player::bus_watch: current segment: rate 1.000000 fmt<br>
3 start 61500011111 stop -1 direction 1<br>
<br>
<br>
4. I press &quot;step left&quot; button on my player&#39;s window.<br>
This issues the call to my step_left() function<br>
<br>
void gst_player::step_left(void)<br>
{GstFormat fmt=GST_FORMAT_TIME;<br>
 gboolean rb;<br>
<br>
   if(m_player){<br>
     if(m_current_position&gt;=40*GST_MSECOND){<br>
       if(m_direction&gt;0) {<br>
        m_direction=-1;<br>
        flag_set(FLAG_STEP_LEFT1);<br>
        rb=gst_element_seek(m_player,-1.0,GST_FORMAT_TIME,<br>
<br>
(GstSeekFlags)(GST_SEEK_FLAG_FLUSH|GST_SEEK_FLAG_ACCURATE),<br>
<br>
GST_SEEK_TYPE_SET,0,GST_SEEK_TYPE_SET,m_current_position);<br>
        GST_DEBUG(&quot;seek backwards: %d&quot;,rb);<br>
       }else{<br>
        rb=gst_element_send_event (m_player,<br>
                                 gst_event_new_step (GST_FORMAT_BUFFERS, 1,<br>
1.0, TRUE, FALSE));<br>
        GST_DEBUG(&quot;send step event: %d&quot;,rb);<br>
       }<br>
     }<br>
   }<br>
}<br>
<br>
<br>
This function tracks current playback direction, if it doesn&#39;t match, it<br>
sends the seek event to turn the player to backwards playback.<br>
The bus_watch watches for the async-done messages, checks the application&#39;s<br>
internal flags and basing on them decides what caused the async-done message<br>
and what to do next.<br>
<br>
Here is the relevant code from my bus-watch.<br>
<br>
case GST_MESSAGE_ASYNC_DONE:{<br>
    GST_DEBUG(&quot;message %s(%d) from %s&quot;,<br>
<br>
GST_MESSAGE_TYPE_NAME(msg),GST_MESSAGE_TYPE(msg),GST_MESSAGE_SRC_NAME(msg));<br>
    GstFormat fmt=GST_FORMAT_TIME;<br>
<br>
    gst_element_query_position(m_player,&amp;fmt,&amp;m_current_position);<br>
    GST_DEBUG(&quot;current player position<br>
%dms&quot;,GST_TIME_AS_MSECONDS(m_current_position));<br>
<br>
    GstQuery *query=gst_query_new_segment(GST_FORMAT_TIME);<br>
    gst_element_query(GST_ELEMENT(m_player),query);<br>
    gdouble rate;<br>
    gint64 start=-1,stop=-1;<br>
    gst_query_parse_segment(query,&amp;rate,&amp;fmt,&amp;start,&amp;stop);<br>
    GST_DEBUG(&quot;current segment: rate %lf fmt %d start %&quot;G_GINT64_FORMAT<br>
                       &quot; stop %&quot;G_GINT64_FORMAT&quot; direction<br>
%d&quot;,rate,fmt,start,stop,m_direction);<br>
    gst_query_unref(query);<br>
<br>
    if(m_flags &amp; FLAG_GO_END){<br>
      flag_unset(FLAG_GO_END);<br>
     /* ... */<br>
    }else if(m_flags &amp; FLAG_STEP_LEFT1){<br>
      flag_unset(FLAG_STEP_LEFT1);<br>
      GST_DEBUG(&quot;flag_unset(FLAG_STEP_LEFT1);&quot;);<br>
      rb=gst_element_send_event (m_player,<br>
                  gst_event_new_step (GST_FORMAT_BUFFERS, 1, 1.0, TRUE,<br>
FALSE));<br>
      GST_DEBUG(&quot;send step event: %d&quot;,rb);<br>
    }<br>
}<br>
<br>
<br>
Here is the debug output, resulted by several presses of the step_left<br>
button<br>
<br>
0:10:32.509504000  3952   003D9118 INFO             mpegpsdemux<br>
gstmpegdemux.c:1060:gst_flups_demux_do_seek:&lt;mpegpsdemux0&gt; sink segment<br>
configured 0409D880, trying to go at SCR: 5535000<br>
0:10:32.519518000  3952   003D9118 INFO             mpegpsdemux<br>
gstmpegdemux.c:1082:gst_flups_demux_do_seek:&lt;mpegpsdemux0&gt; doing seek at<br>
offset 42065920 SCR: 5534990 0:01:01.499888888<br>
0:10:32.519518000  3952   003D9118 DEBUG                 player<br>
gst_player.cpp:940:gst_player::step_left: seek backwards: 1<br>
0:10:32.519518000  3952   040A06C0 INFO             mpegpsdemux<br>
gstmpegdemux.c:533:gst_flups_demux_send_data:&lt;mpegpsdemux0&gt; sending new<br>
segment: rate -1 applied_rate 1 start: 0:00:00.000011111, stop:<br>
0:01:01.500011111, time: 0:00:00.000000000 to pad 0401E668<br>
0:10:32.990195000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:330:gst_player::bus_watch: message async-done(2097152) from<br>
playbin0<br>
0:10:32.990195000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:334:gst_player::bus_watch: current player position 61500ms<br>
0:10:32.990195000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:341:gst_player::bus_watch: current segment: rate -1.000000<br>
fmt 3 start 11111 stop 61500011111 direction -1<br>
0:10:32.990195000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:354:gst_player::bus_watch: flag_unset(FLAG_STEP_LEFT1);<br>
0:10:32.990195000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:356:gst_player::bus_watch: send step event: 1<br>
0:10:33.000209000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:330:gst_player::bus_watch: message async-done(2097152) from<br>
playbin0<br>
0:10:33.000209000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:334:gst_player::bus_watch: current player position 61500ms<br>
0:10:33.000209000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:341:gst_player::bus_watch: current segment: rate -1.000000<br>
fmt 3 start 11111 stop 61500011111 direction -1<br>
0:14:59.793840000  3952   003D9118 DEBUG                 player<br>
gst_player.cpp:943:gst_player::step_left: send step event: 1<br>
0:14:59.803854000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:330:gst_player::bus_watch: message async-done(2097152) from<br>
playbin0<br>
0:14:59.803854000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:334:gst_player::bus_watch: current player position 61500ms<br>
0:14:59.803854000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:341:gst_player::bus_watch: current segment: rate -1.000000<br>
fmt 3 start 11111 stop 61500011111 direction -1<br>
0:15:02.467685000  3952   003D9118 DEBUG                 player<br>
gst_player.cpp:943:gst_player::step_left: send step event: 1<br>
0:15:02.467685000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:330:gst_player::bus_watch: message async-done(2097152) from<br>
playbin0<br>
0:15:02.467685000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:334:gst_player::bus_watch: current player position 61500ms<br>
0:15:02.467685000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:341:gst_player::bus_watch: current segment: rate -1.000000<br>
fmt 3 start 11111 stop 61500011111 direction -1<br>
0:15:05.191601000  3952   003D9118 DEBUG                 player<br>
gst_player.cpp:943:gst_player::step_left: send step event: 1<br>
0:15:05.191601000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:330:gst_player::bus_watch: message async-done(2097152) from<br>
playbin0<br>
0:15:05.191601000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:334:gst_player::bus_watch: current player position 61500ms<br>
0:15:05.191601000  3952   0404AEE0 DEBUG                 player<br>
gst_player.cpp:341:gst_player::bus_watch: current segment: rate -1.000000<br>
fmt 3 start 11111 stop 61500011111 direction -1<br>
<br>
<br>
As can be seen, current position remains at 61500ms, the displayed picture<br>
doesn&#39;t change. I repeat, m_player is the playbin2, and is paused.<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Framestepping-backwards-doesn-t-work-with-MPEG2-PS-files-tp2222757p2222757.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Framestepping-backwards-doesn-t-work-with-MPEG2-PS-files-tp2222757p2222757.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Wed, 19 May 2010 17:11:26 +0200<br>
From: Alexis Berlemont &lt;<a href="mailto:alexis.berlemont@gmail.com">alexis.berlemont@gmail.com</a>&gt;<br>
Subject: [gst-devel] Bursts in UDP streaming<br>
To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID:<br>
        &lt;<a href="mailto:AANLkTilSUcnoq748McadKEABDcLBrJ0BOkrKgNVf0WEE@mail.gmail.com">AANLkTilSUcnoq748McadKEABDcLBrJ0BOkrKgNVf0WEE@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
Hi,<br>
<br>
I would like to understand why the following pipeline bursts groups of<br>
packets every 100 ms:<br>
<br>
filesrc ! mpegtsdemux ! mpegtsmux ! udpsink.<br>
<br>
In order to understand this phenomena, I looked at the code of<br>
gstmultiudpsink. I tried to find out which function was in charge of<br>
checking the buffer timestamp and performing the real sleep.<br>
If my understanding of the situation is correct, the call stack is like this:<br>
<br>
gst_base_sink_render_object -&gt;<br>
gst_base_sink_do_sync -&gt;<br>
gst_base_sink_wait_clock -&gt; ... gst_clock_id_wait<br>
<br>
Am I correct ? Did I miss something ? anything ?<br>
<br>
With a debugger, I tried to monitor the value of the argument &quot;time&quot;<br>
in the function gst_base_sink_wait_clock. As I was unable to use<br>
tracepoints (because of threads), I add a dirty g_print in the source<br>
code. So, I saw that the timestamp was increasing regularly by step of<br>
40 ms.<br>
<br>
If the step is 40 ms, does anyone have an idea why wireshark record<br>
bursts every 100ms?<br>
<br>
Does anyone know how to reduce the 40 ms step (it seems like the PCR<br>
interval, doesn&#39;t it ? ) ?<br>
<br>
Many thanks in advance.<br>
<br>
Alexis.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
------------------------------------------------------------------------------<br>
<br>
<br>
<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>
<br>
<br>
End of gstreamer-devel Digest, Vol 48, Issue 39<br>
***********************************************<br>
</blockquote></div><br>