[mythtv-commits] Ticket #7521: [PATCH] AVFormatDecoder: Seeking Improvements
MythTV
mythtv at cvs.mythtv.org
Sun Nov 8 06:12:02 UTC 2009
#7521: [PATCH] AVFormatDecoder: Seeking Improvements
-------------------------------------+--------------------------------------
Reporter: tralph11@… | Owner: janne
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: head
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------
This patch addresses issues related to libav seeking. Here are a few key
points related to the patch.
* We should only use exact seeks when doing frame-by-frame seeking. It is
way to slow to perform exact seeks when doing FF/REW.
* Since we don't perform exact seeks for FF/REW it is important to set or
clear the AVSEEK_FLAG_BACKWARD to avoid getting stuck in an infinite loop.
* Always flush the buffers when performing a seek.
* Please note that MPEG-TS seeking is currently slow so except for FF3X
all other FF/REW speeds should be avoided. This is due to the fact that
seeking in this container jumps back repeatedly causing the MythTV
RingBuffer protocol to rebuffer which is a high latency action. Apparently
MPEG-TS seeking is being improved by the FFmpeg devs. Another option to
improve performance is to use the 'file' protocol instead of the 'rbuffer'
protocol.
Refs #7252, #7397, #7454
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7521>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list