[mythtv-users] mac build (really about h264 editing)

John Pilkington johnpilk222 at gmail.com
Sat Jan 30 11:37:01 UTC 2021


On 27/01/2021 05:06, James Linder wrote:
> This is not a clip I'd cut, but it is small and shows the issue
> 
> As far as I can tell *any* edit crashes but this is what I did
> I guess the easiest way to do this is to scan it as a movie then
> [play]
> E
> <sp>
> <up> or <down> to select 1min
> <rt><rt>crash
> 
> My linux frontends do not do this. I run a VM on the mac just to cutlist edit.
> 
> http://tigger.ws/downloads/10074_20210123140800.ts
> 
> James
> 

Just for fun I tried looking at this.  1.6 GB doesn't feel 'small' to 
me, but times change.

The cutting is a two-step process: once with no cutlist to remove all 
but the main video and audio streams, then a second does the cuts.  It 
doesn't work well with corrupt recordings and still complains about 
corrupt packets at the start of each segment.  There's some KFC ad 
leakage around frame 39442 :-)

{{{

Input file was 10074_20210123140800.ts from downloads.tigger, 
overwritten onto a short local recording.

----------

Input #0, mpegts, from '/mnt/sdb3/RecSG3/20101_20210130100100.ts':
   Duration: 01:00:30.90, start: 10613.545933, bitrate: 3735 kb/s
     Stream #0:0[0x671]: Video: h264 (High), yuv420p(tv, top first), 
1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0:1[0x672](eng): Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s
     Stream #0:2[0x674](eng): Subtitle: dvb_teletext
Unsupported codec with id 94215 for input stream 2

---------

  Running: mythutil --getcutlist --chanid 20101 --starttime 
20210130100100 -q
Cutlist: 3916-8195,27613-32895,40117-45145,54043-59070,71236-77520
  3916-8195,27613-32895,40117-45145,54043-59070,71236-77520

  If you want to reset this cutlist, after restoring the .old file
and rebuilding its seektable, you could try:

mythutil --setcutlist 
3916-8195,27613-32895,40117-45145,54043-59070,71236-77520 --chanid 
20101 --starttime 20210130100100

------------
  Millisecond positions of joins in new file:

   00:02:34.7200     154720 ms
   00:15:30.4800     930480 ms
   00:20:18.4400     1218440 ms
   00:26:13.5600     1573560 ms
   00:34:20.2000     2060200 ms
   00:43:07.6000     2587600 ms


  Frame positions of joins in new file:
3868 23262 30461 39339 51505 64661

--------------

mythffprobe -hide_banner  /mnt/sdb3/RecSG3/20101_20210130100100.ts
Input #0, mpegts, from '/mnt/sdb3/RecSG3/20101_20210130100100.ts':
   Duration: 00:43:17.10, start: 1.400000, bitrate: 3483 kb/s
     Stream #0:0[0x100]: Video: h264 (High), yuv420p(tv, top first), 
1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0:1[0x101](eng): Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s

}}}



More information about the mythtv-users mailing list