Playback rate and resindvd plugin

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Playback rate and resindvd plugin

Yuri Brukov
Hi to all,
I have next pipeline:
    rsndvdbin name=dvd dvdspu name=spu ! xvimagesink name=videosink
dvd. ! spu.video dvd. ! spu.subpicture dvd. !   audioconvert ! volume
name=dvd-volume ! autoaudiosink
I want to increase playback rate. For this purpose I send seek event
in this pipeline:
        GstEvent *event;
        event = gst_event_new_seek (2.0, GST_FORMAT_TIME,
(GstSeekFlags)(GST_SEEK_FLAG_FLUSH),
                                                        GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE, GST_SEEK_TYPE_NONE,
                                                        GST_CLOCK_TIME_NONE);
        gst_element_send_event(pipeline, event);
It doesn't give me appropriate behaviour. But same method works for
pipeline with filesrc source element.
Is resindvd support increasing playback rate? Or there my mistake in
some place? Thanks in advance.

Best regards,
Yuri Brukov.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Playback rate and resindvd plugin

Yuri Brukov
Hi to all,
I successfully could increase playback rate with resindvd plugin. Seek
event should be send to rsndvdsrc element. I get it from rsndvdbin by
name "dvdsrc". May be there is better way for this purpose? And other
question about setting negative playback rate. I failed set rate to
-2.0. Is rsndvdsrc support playing with negative rate? Or someone
could help me with implementation fast reverse playback?
And may be there is some gst plugin for testing fast forward and fast
reverse playback (something as navtest for navigation)?
Thanks in advance.

Best regards,
Yuri Brukov.


2008/11/14 Yuri Brukov <[hidden email]>:

> Hi to all,
> I have next pipeline:
>    rsndvdbin name=dvd dvdspu name=spu ! xvimagesink name=videosink
> dvd. ! spu.video dvd. ! spu.subpicture dvd. !   audioconvert ! volume
> name=dvd-volume ! autoaudiosink
> I want to increase playback rate. For this purpose I send seek event
> in this pipeline:
>        GstEvent *event;
>        event = gst_event_new_seek (2.0, GST_FORMAT_TIME,
> (GstSeekFlags)(GST_SEEK_FLAG_FLUSH),
>                                                        GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE, GST_SEEK_TYPE_NONE,
>                                                        GST_CLOCK_TIME_NONE);
>        gst_element_send_event(pipeline, event);
> It doesn't give me appropriate behaviour. But same method works for
> pipeline with filesrc source element.
> Is resindvd support increasing playback rate? Or there my mistake in
> some place? Thanks in advance.
>
> Best regards,
> Yuri Brukov.
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel