[mythtv-users] mac build

James Linder jam at tigger.ws
Thu Jan 28 09:19:59 UTC 2021



> On 28 Jan 2021, at 8:09 am, James Linder <jam at tigger.ws> wrote:
> 
> 
> 
>> On 28 Jan 2021, at 7:47 am, John Hoyt <john.hoyt at gmail.com> wrote:
>> 
>> 
>> 
>> On Wed, Jan 27, 2021 at 5:00 PM John Pilkington <johnpilk222 at gmail.com> wrote:
>> On 27/01/2021 20:57, John Hoyt wrote:
>>> Well, I tried edit mode from mythvideo and recordings (I hacked the bad 
>>> recording into my mythbackend replacing an old recording with the bad 
>>> video).  Unfortunately, I was unable to reproduce the segfault with 
>>> either cutlist editor mechanism.  Basically everything just worked for me...
>>> 
>>> I'm curious if there's some other underlying issue that's creating the 
>>> segfault.
>>> 
>>> James, have you tried telling mythbackend to rebuild the seektable? I 
>>> think the command is:
>>> 
>>>    mythtranscode --buildindex --allkeys --showprogress
>>>    --infile /path/to/file (for a recording)
>>>    mythtranscode --video --buildindex --allkeys --showprogress
>>>    --infile /path/to/file (for mythvideo)
>> 
>> I have had tickets about seektable regeneration in the past, and suspect 
>> that the most recent work on it has used the form
>> 
>> mythcommflag --rebuild --file ccccc_yyyymmhhmmssxx.xxx     for 
>> recordings, or
>> mythcommflag --rebuild --video  /may/need/full/path/to/file  for videos
>> 
>> Those commands also reset the file size.  I've used them in scripts for 
>> years.  HTH...
>> 
>> Thanks John - I'm going to have to borrow that trick on some of my transcode scripts.
>> 
>> James, another thought in helping isolate the issue is trying to edit the file from mythvideo.  I.e. copy it to wherever you store you movies files, tell myth to repair its seek table with John P's commands (or the ones I suggested earlier) then try to edit the file.

No so easy!
I put the Movie in the right place and scanned
play->E   No seektable

[sandypit] /home/jam [1005]% mythcommflag --rebuild --video /store/Movies/10070_20210123131900.ts
2021-01-28 10:30:24.541249 C  mythcommflag version: fixes/31 [v31.0-85-gd3088629de] www.mythtv.org
2021-01-28 10:30:24.541267 C  Qt version: compile: 5.12.7, runtime: 5.12.7
MythTV Commercial Flagger, building seek table for:
    /store/Movies/10070_20210123131900.ts
Rebuild started at Thu Jan 28 10:30:25 2021
2021-01-28 10:30:25.575931 E  No locale defaults file for en_AU, skipping
Rebuild completed at Thu Jan 28 10:31:25 2021
2021-01-28 10:31:25.952593 E  decoding error End of file (-541478725)

play->E No seektable

??

shotcut -> export
long wait 

copy, scan etc
play->E No Seektable

I post the full output lest I miss or dismiss something important

[sandypit] /home/jam [1001]% mythffprobe /store/Movies/Speed.mp4
ffprobe version v31.0-85-gd3088629de Copyright (c) 2007-2019 the FFmpeg developers
  built with gcc 7 (SUSE Linux)
  configuration: --arch=x86 --sysinclude=/usr/include --cc='ccache gcc' --cxx='ccache g++' --ld=gcc --cpu=generic --target_os=linux --pkg_config=pkg-config --prefix=/usr/local --libdir=/usr/local/lib --as=gcc --objcc=gcc --dep_cc=gcc --host_cc=gcc --host_ld=gcc --disable-cross-compile --disable-libmp3lame --disable-libx264 --disable-libx265 --disable-libvpx --disable-libxvid --enable-vdpau --enable-libxml2 --enable-libass --disable-dxva2 --enable-libbluray --disable-libfontconfig --disable-libfreetype --disable-libiec61883 --disable-crystalhd --disable-sdl2 --disable-ffplay --enable-vaapi --enable-libdrm --extra-cflags=' -w' --extra-ldflags= --enable-stripping --strip='echo skipping strip' --disable-manpages --disable-podpages --disable-doc --disable-nvenc --enable-shared --disable-static --enable-gpl --enable-pic --disable-demuxer=mpegtsraw --disable-indev=dshow
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/store/Movies/Speed.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.29.100
  Duration: 02:41:00.86, start: 0.000000, bitrate: 5195 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709/unknown/bt709), 1920x1080 [SAR 1:1 DAR 16:9], 4811 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 376 kb/s (default)
    Metadata:
      handler_name    : SoundHandler

[sandypit] /home/jam [1002]% mythcommflag --rebuild --video /store/Movies/Speed.mp4
2021-01-28 16:57:05.342296 C  mythcommflag version: fixes/31 [v31.0-85-gd3088629de] www.mythtv.org
2021-01-28 16:57:05.342317 C  Qt version: compile: 5.12.7, runtime: 5.12.7
MythTV Commercial Flagger, building seek table for:
    /store/Movies/Speed.mp4
Rebuild started at Thu Jan 28 16:57:06 2021
2021-01-28 16:57:06.358207 E  No locale defaults file for en_AU, skipping
No I-frames found, rewinding...
Rebuild completed at Thu Jan 28 16:58:11 2021
2021-01-28 16:58:11.159848 E  decoding error End of file (-541478725)

Is no I frames important?
Why would shotcut make only B frames?
I thought some reasonable number, say 10 Bs to every I

James


More information about the mythtv-users mailing list