[mythtv] Ticket #8631: Treat cutlists like lossless transcoding

Jim Stichnoth stichnot at gmail.com
Sun Jul 4 15:10:33 UTC 2010


On Thu, Jul 1, 2010 at 7:06 PM, MythTV <mythtv at cvs.mythtv.org> wrote:
> #8631: Treat cutlists like lossless transcoding
> ------------------------------------------------+---------------------------
>  Reporter:  Jim Stichnoth <stichnot@…>          |       Owner:  ijr
>     Type:  enhancement                         |      Status:  new
>  Priority:  minor                               |   Milestone:  unknown
> Component:  MythTV - General                    |     Version:  Unspecified
>  Severity:  medium                              |     Mlocked:  0
> ------------------------------------------------+---------------------------
>  This patch makes playback when a cutlist is present behave much more like
>  after lossless transcoding.  In particular:
>
>  1. The playback progress indicator reflects the cutlist.  For example, it
>  might display "Play 7:43 of 42:44" instead of "Play 9:39 of 60:00".
>
>  2. Seek operations, such as jumping forward or backward or to a particular
>  minute mark, also take the cutlist into account.
>
>  I'm a little concerned that this introduces even more conversions back and
>  forth between frames and seconds, but that cleanup is beyond the scope of
>  this patch...

I thought this description might deserve more commentary.

Before watching a recording, I usually quickly create a cutlist to
edit out the commercials.  When looking at the status during playback,
I prefer to see the current position and total length as though the
cut sections were permanently deleted.  That's what the changes in
NuppelVideoPlayer.cpp do.

Then I noticed that jumping and seeking were inconsistent.  After
pressing "30i" to jump to the 30-minute mark, the status indicator
might report only being at the 22-minute mark.  Jumping forward 10
minutes might appear to only jump 8 minutes.  The changes in
tv_play.cpp make seeking and jumping consistent again.

Editing, bookmark setting/seeking, etc. continue to use untranslated
frame numbers.

If this kind of presentation is judged to be outside the design
principles, feel free to close the ticket.  Otherwise, I'll continue
to maintain the patch.

Jim


More information about the mythtv-dev mailing list