[mythtv-commits] Ticket #9727: Snappier seeking
MythTV
noreply at mythtv.org
Wed Apr 13 13:38:43 UTC 2011
#9727: Snappier seeking
-------------------------------------------------+-------------------------
Reporter: Jim Stichnoth <stichnot@…> | Owner: janne
Type: Patch - Feature | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: Trunk Head
Severity: medium | Keywords:
Ticket locked: 0 |
-------------------------------------------------+-------------------------
This patch generalizes the "seek to exact frame" mechanism by allowing
seeks to snap to the nearest keyframe if it is close enough (within a
specified snap distance). Exact seeking uses a snap of 0 frames, and
inexact seeking uses maxuint64 frames.
This is used to improve response time in the program editor. When the
seek amount is 0.5 seconds or higher, a snap distance of half the seek
distance is used. This can dramatically speed up editing, especially for
HDPVR recordings where h.264 seeking is slow and (on my system) keyframes
are 128 frames apart.
Snapping is not yet implemented in avformatdecoder.cpp because I don't
know how to trigger that code path.
In the program editor, snapping could be made optional via an additional
set of key bindings.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9727>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list