Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] vdr 0.84 patch: different speeds for fast/slow forward/rewind



Hi,
I made another patch, which gives you 3 speeds for fast/slow
forward/rewind. To control this, function of the left/right key
has changed a bit:

During playback : left -> enter fast forward
                  right -> enter fast rewind
During pause :    left -> enter slow forward
		  right -> enter slow rewind
During forward :  left -> increase speed
                  right -> decrease speed
During rewind :   right -> increase speed
                  left -> decrease speed

Down is pause in all modes, Up returns to normal play in all
modes.

There are 3 speeds for fast forward/rewind, roughly 2x, 4x and
12x. There are 3 speeds for slow motion, too (8,4,2 times
slower). Speeds are not exact as they depend on the GOP size.

Slow rewind is a bit jerky sometimes, as there is no driver
support for such a mode.

The speed levels and the inital speed when starting
forward/rewind could be made configurable later on.

This patch also fixes a small bug, that made play_iframe() fail
when in pause mode and jumping between marks.

A nice detail: as Klaus has stated before you cannot nicely play
an i-frame x-times without objects jerking around when there is
movement in the scene. Matthias Weingart suggested that one could
use VIDEO_SLOWMOTION for fast modes. And, yes, it works. Simply
set VIDEO_SLOWMOTION=3 and send only i-frames (roughly 12x) which
gives you roughly 4x speed WITHOUT jerkiness. Cool!

You can download the patch at:
http://www.talknet.de/~huels/down/vdr-0.84-trickmode-patch.gz

Consider this patch BETA. Any comments, bug reports and
suggestions welcome.
  
-- 
Stefan Huelswitt
huels@iname.com  | http://home.pages.de/~nathan


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index