After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 535300 - [avidemux] missing support for reverse playback.
[avidemux] missing support for reverse playback.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-28 17:33 UTC by Thijs Vermeir
Modified: 2008-06-02 16:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add reverse playback for avi files (5.18 KB, patch)
2008-05-28 17:34 UTC, Thijs Vermeir
committed Details | Review

Description Thijs Vermeir 2008-05-28 17:33:41 UTC
The avidemux element is missing support for reverse playback.
Comment 1 Thijs Vermeir 2008-05-28 17:34:31 UTC
Created attachment 111678 [details] [review]
add reverse playback for avi files
Comment 2 Wim Taymans 2008-06-02 09:26:52 UTC
It seems to almost work. On thing I don't see is the fact that each backwards chunck should have the first buffer with a DISCONT set.
Comment 3 Wim Taymans 2008-06-02 11:21:11 UTC
ok, the discont is ok, I was too fast. There is just one check that needs to be removed for reverse playback (it goes eos if it reaches a keyframe after the segment.stop, which cause premature EOS).
Comment 4 Wim Taymans 2008-06-02 16:10:50 UTC
I changed some small things here and there, please see if this works for you too. I also tested reverse and forwards looping.

        Patch by: Thijs Vermeir <thijsvermeir at gmail dot com>

        * gst/avi/gstavidemux.c: (gst_avi_demux_index_next),
        (gst_avi_demux_index_prev), (gst_avi_demux_index_entry_for_time),
        (gst_avi_demux_do_seek), (gst_avi_demux_handle_seek),
        (gst_avi_demux_process_next_entry):
        * gst/avi/gstavidemux.h:
        Implement reverse playback. Fixes #535300.
        Small cleanups.