[mythtv-commits] Ticket #12004: Short seeks intolerably slow with HDPVR and vdpau

MythTV noreply at mythtv.org
Fri Aug 8 20:07:23 UTC 2014


#12004: Short seeks intolerably slow with HDPVR and vdpau
-------------------------------------+----------------------------
 Reporter:  mythtv@…                 |          Owner:  stichnot
     Type:  Bug Report - General     |         Status:  closed
 Priority:  minor                    |      Milestone:  unknown
Component:  MythTV - Video Decoding  |        Version:  0.27-fixes
 Severity:  medium                   |     Resolution:  fixed
 Keywords:                           |  Ticket locked:  0
-------------------------------------+----------------------------

Comment (by Jim Stichnoth <jstichnoth@…>):

 In [changeset:"6788ea9ab34b86a1b7f18a540f91d5c5514f4665/mythtv"]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="6788ea9ab34b86a1b7f18a540f91d5c5514f4665"
 Make seeks faster for slow decoders / large keyframe distances.

 Exact seeking for HD-PVR recordings can be notoriously slow because
 the keyframe distance is 128 frames and decoding (even GPU hardware
 decoding) is often little faster than real-time.

 In most cases, it's a much better user experience to make a less
 accurate but much faster seek to the preceding keyframe.

 There are two changes:

 1. Impose a maximum wall-clock time on the forward frame-by-frame
 seeking.  After this maximum time elapses, abort any further frame
 seeking.

 2. In addition, try to predict whether fully accurate seeking will
 complete within a reasonable time, and if after a few frames it seems
 hopeless, just don't bother seeking any further.

 This approach allows fast decoders and video formats amenable to fast
 decoding to continue to have exact seeking.

 Fixes #12004.
 (cherry picked from commit 33acfaf30747592b9fca0913b2c2f8832418d618)
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12004#comment:8>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list