slow motion using playbin2

Sebastian Dröge sebastian at centricular.com
Tue Dec 31 02:07:52 PST 2013


On Mo, 2013-12-30 at 00:24 -0800, James wrote:
> Frame stepping while in PAUSED state seems to work perfectly 
> when done with new-step event.
> 
> Slow motioning, however, does not seem to work all the time
> by simply changing the rate to a value, 0.0 < rate < 1.0 with seek event.
> pipeline is basically playbin2 and I am feeding MPEG2 transport stream data
> from a local file using something like   
>    g_object_set (data.playbin2, "uri",
> "file:///home/james/Videos/test-mpeg2-ac3.ts", NULL);
> 
> The code below is what I used to send a seek event with the playback rate
> set to 0.5: 
> 
> What's interesting is that this sometimes works and sometimes doesn't.
> If someone could tell point to me what I may be missing here...
> 
> [...]

How does it not work sometimes? Can you reproduce the problem with
gst-plugins-base/tests/examples/playback ?

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131231/dd4f3b89/attachment.pgp>


More information about the gstreamer-devel mailing list