[mythtv-users] Commercial Skip and seek table in leanfront

Peter Bennett pb.mythtv at gmail.com
Sun Oct 16 14:55:55 UTC 2022


On 10/16/22 06:53, John Pilkington wrote:
> Peter: I had tried those options, but no joy.
>
> Now, with v379, I see two new ikons and I have selected the auto skip 
> in Settings, but the only skip-to-mark that I get is to the beginning. 
> It's still playing the adverts.  I doubt that I can get a useful log 
> because I'm switching the monitor between analog and digital inputs.
>
> I've put the test file through my usual 2-stream-out process, without 
> cutting, which normally gives good playback in leanfront. Here are a 
> few details:
>
> {{{
>
> [john at HPFed Bashtests]$ mythffmpeg -version
> ffmpeg version 5.1 Copyright (c) 2000-2022 the FFmpeg developers
> built with gcc 11 (GCC)
>
> ionice -c 3 mythffmpeg -hide_banner -i 
> /home/john/SGs/RecsSG4/10045_20221015185800.ts
> Input #0, mpegts, from '/home/john/SGs/RecsSG4/10045_20221015185800.ts':
>   Duration: 01:35:56.08, start: 1.400000, bitrate: 1324 kb/s
>   Program 1
>     Metadata:
>       service_name    : Service01
>       service_provider: FFmpeg
>   Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 
> 0x0002), yuv420p(tv, progressive), 544x576 [SAR 32:17 DAR 16:9], 25 
> fps, 25 tbr, 90k tbn
>     Side data:
>       cpb: bitrate max/min/avg: 6046800/0/0 buffer size: 1835008 
> vbv_delay: N/A
>   Stream #0:1[0x101]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, 
> stereo, fltp, 128 kb/s
> At least one output file must be specified
>
> [john at HPFed ~]$  mythutil --getcutlist --chanid 10045 --starttime 
> 20221015185800 -q
> Cutlist: 
> 0-7232,7397-7683,18673-24773,44545-50771,70453-76678,100804-107030,117578-123679,139353-143901
>
> [john at HPFed ~]$  mythutil --getskiplist --chanid 10045 --starttime 
> 20221015185800 -q
> Commercial Skip List: 
> 0-7232,7397-7683,18673-24773,44545-50771,70453-76678,100804-107030,117578-123679,139353-143901
>
> Frame positions predicted for joins in new file:
> 165 11155 30927 50609 74735 85283 100957
>
> Millisec switchpoints in input file: 289240 295840 307280 746880 
> 990880 1781760 2030800 2818080 3067080 4032120 4281160 4703080 4947120 
> 5574080
>
> }}}
>
> Thanks. HTH
>
> John P

Is it working differently in mythfrontend vs leanfront? If commercials 
are still showing it may be because the commercial skip job is not 
giving accurate results. If there is a cutlist and a skip list it will 
only use the cutlist, this is the same as mythfrontend. The difference 
is mythfrontend will always use the cut list but leanfront will only use 
it if the option is enabled.

If you have used a process that removes cuts and/or reformats the video 
then the cutlist and comm skip may not work correctly in either 
mythfrontend or leanfront, because time stamps may have changed.

If you have reformatted the video you may need to disable the "use seek 
table" option in leanfront because reformatting may change the offsets.

Peter



More information about the mythtv-users mailing list