[mythtv-users] Lean Front

James jam at tigger.ws
Mon Jan 16 21:48:34 UTC 2023



> On 15 Jan 2023, at 10:33 pm, Peter Bennett <pb.mythtv at gmail.com> wrote:
> 
> There is a failure in playback, likely caused by some sort of corruption in the file. Is it a recording or a video? Does it
> happen with all recordings?

Every other recording I have tried works perfectly

> The message does not indicate an unsupported format. If you play an unsupported format video, you get a blank screen with audio only.
> 
> Please open an issue in github and supply a sample video. I suggest you use google drive or a similar service to upload the video and add a link to the issue. I will take a look and see what the problem is

I'm not sure there is an issue yet.
The recording plays fine on my other backends.
mythffprobe does no bitching

 libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/store/Movies/Myth-F/The Father.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.76.100
  Duration: 01:27:57.65, start: 0.000000, bitrate: 2551 kb/s
  Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 2287 kb/s, 49.96 fps, 50 tbr, 90k tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1(eng): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 255 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]

> . You can also try the suggestions in the documentation to reformat the file using ffmpeg or mkvmerge. See the section "Problems" in https://github.com/bennettpeter/android-MythTV-Leanfront#readme. The reformat is very quick and does not re-encode the video.

I recovered the recording (undelete)

mkvmerge won't work with mk4 files
the ffmpeg works, complains, and wont play-back

[h264 @ 0x25609c0] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0x25609c0] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0x25609c0] mmco: unref short failure
    Last message repeated 1 times
Input #0, mpegts, from '/store/Movies/outputfile.mp4':
  Duration: 01:27:57.65, start: 1.400000, bitrate: 2686 kb/s
  Stream #0:0[0x100]: Video: h264 (High), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
  Stream #0:1[0x101](eng): Audio: mp2, 48000 Hz, stereo, fltp, 256 kb/s

Thanks for the help. I'll see if I can resolve the issue which is *certain* to be some funny in their encoding
For Example

This recording is 720 but my transcode fails, I have to transcode with my h264cut.sh
Then 100s or 1000s of cuts work perfectly in mythfrontend and in VLC.
A few, including this one, work perfectly in mythfrontend but have 70ish mS lip sync in vlc.

Clearly I have some learning to do

James 



More information about the mythtv-users mailing list