Hi,
I have writen parser and decoder plugin for WMA codec.I have implemented fast forward also, For example,in case of "4x" , i will be doing decoing for one sec(0 - 1) and for remaining 3 sec(2-4) i just increased the time stamp,and i will be decoding for one second (4 -5 ) and increasing the time stampĀ for 3 second (5 - 8), and goes on like this becase of just increasing the time stamp ,i am getting delay for the skipped 3 seconds. I want to how to skip for that three seconds without delay. Can any one help how to do this ? Regards, Vijay P _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Thu, Dec 29, 2011 at 07:47:55PM +0530, vijay wrote:
> Hi, > I have writen parser and decoder plugin for WMA codec.I have implemented > fast forward also, > > For example,in case of "4x" , > i will be doing decoing for one sec(0 - 1) and for remaining 3 sec(2-4) i > just increased the time stamp,and i will be decoding for one second (4 -5 ) > and increasing the time stamp for 3 second (5 - 8), and goes on like this > becase of just increasing the time stamp ,i am getting delay for the > skipped 3 seconds. > > I want to how to skip for that three seconds without delay. > > Can any one help how to do this ? I guess that's implemented using the seek event: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstEvent.html http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-eventsseek.html vmjl > > Regards, > Vijay P > _______________________________________________ > 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 |
In reply to this post by vijayp
On 12/29/2011 03:17 PM, vijay wrote:
Hi, This is not how it is been done usually. Fast forward is requested by seeking with a playback rate>1.0 and the rate is usually applied in the sink by resampling. Just skipping parts in the decoder will probably harm the A/V sync. Stefan
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |