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

James Abernathy jfabernathy at gmail.com
Sun Oct 16 13:20:25 UTC 2022


On Sun, Oct 16, 2022 at 6:53 AM John Pilkington <johnpilk222 at gmail.com>
wrote:

> On 16/10/2022 01:24, Peter Bennett wrote:
> >
> > On 10/15/22 18:25, John Pilkington wrote:
> >>
> >> I've used sed to do something similar if I want to tweak the edit
> >> points and go round again.  I just tried using it to write a skiplist
> >> for a new mpeg2 recording having several adverts.
> >>
> >> But at present, for me, Peter's 377 leanfront .apk doesn't appear to
> >> take any notice of either list...
> >>
> >> John P
> >
> >   did you select "Automatically skip" or "Notify" in the Settings?
> >
> >
> > I have posted a new version that includes cut list skipping as well as
> > commercial skipping. It will use either the cut list or the commercial
> > break list, the cut list taking precedence.
> >
> >
> > You have to select either "Automatically Skip" or "Notify" in Settings
> > or in the Playback Menu for either list to be used.
> >
> >
> > Peter
> >
> 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
>

I'm testing version 379 against the pre33 Master backend. On an unedited
recording with just the commercial flagging run, it will skip the
pre-marked commercials.

JIm A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20221016/f1b906da/attachment.htm>


More information about the mythtv-users mailing list