asfdemuxer backward trick play

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

asfdemuxer backward trick play

meeshel
Hello.

I want to implement the backward playback(-2.0x, -4.0x ) in asfdemux.
(gst-plugins-ugly-0.10.17/gst/asfdemux/gstasfdemux.c)
Now, it's not supported. It blocked like this.

gst_asf_demux_handle_seek_event()
{    ......
     if(G_UNLIKELY(rate <= 0.0){
            GST_LOG_OBJECT(demux, "backward playback is not supported yte");
            return FALSE;
     }
     .....
}

Could you give any hints for implement?

And I wonder, why asfdemux did not support seek in pull based mode?

Thanks,
Meeshel Choi.
Reply | Threaded
Open this post in threaded view
|

Re: asfdemuxer backward trick play

Stefan Sauer
On 09/30/2011 09:56 AM, meeshel wrote:

> Hello.
>
> I want to implement the backward playback(-2.0x, -4.0x ) in asfdemux.
> (gst-plugins-ugly-0.10.17/gst/asfdemux/gstasfdemux.c)
> Now, it's not supported. It blocked like this.
>
> gst_asf_demux_handle_seek_event()
> {    ......
>      if(G_UNLIKELY(rate <= 0.0){
>             GST_LOG_OBJECT(demux, "backward playback is not supported yte");
>             return FALSE;
>      }
>      .....
> }
>
> Could you give any hints for implement?
Look at other demuxers (e.g. ogg, avi)

Stefan

> And I wonder, why asfdemux did not support seek in pull based mode?
>
> Thanks,
> Meeshel Choi.
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/asfdemuxer-backward-trick-play-tp3859088p3859088.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> 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