HD Playback problem with YLE-channels only
Posted: Fri Mar 19, 2021 6:06 pm
I have this strange issue, where I'm unable to playback normally a DVB-T2 HD broadcast, but the issue only happens on finnish tv broadcaster YLE's HD channels and on this particular host using Samsung 4k TV.
The playback works just fine when watching any other publicly available HD channel, but only YLE's HD channels are being played with the wrong screen size and thus only roughly the 1/4 of the tv screen is visible (upper left corner).
I'm currently using Ubuntu 20.04 with Radeon 5500XT and quite recent git master (0.32) checkout (6911843ed88dddb385f8cdfa584d95975a2b518b).
The "ffmpeg -i" output for this example is the following:
The mythfrontend log shows the following:
and
As the Radeon 5500XT is not exactly too powerful with the 4K display, I have been using the X11 resolution of 2550x1440 by default (matters more while using the host for other purposes than mythtv)
Any ideas how to debug more for this issue ?
The playback works just fine when watching any other publicly available HD channel, but only YLE's HD channels are being played with the wrong screen size and thus only roughly the 1/4 of the tv screen is visible (upper left corner).
I'm currently using Ubuntu 20.04 with Radeon 5500XT and quite recent git master (0.32) checkout (6911843ed88dddb385f8cdfa584d95975a2b518b).
The "ffmpeg -i" output for this example is the following:
Code: Select all
Input #0, mpegts, from 'hd.problem.20021_20210319155800.ts':
Duration: 00:32:57.49, start: 25956.727922, bitrate: 6202 kb/s
Program 1
Stream #0:0[0x136]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0x352](fin): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 448 kb/s
Stream #0:2[0x355](dut): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s (visual impaired) (descriptions)
Stream #0:3[0x467](fin): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream #0:4[0x468](swe): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream #0:5[0x13ec](fin): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:6[0x47e](fin): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
Code: Select all
2021-03-19 19:15:53.261665 I [1697/1697] CoreContext mythvideooutgpu.cpp:79:Create VidOutGPU: Allowed renderers (filt: ffmpeg): opengl,opengl-yv12
2021-03-19 19:15:53.262690 I [1697/1697] CoreContext mythvideoprofile.cpp:304:MythVideoProfile VideoProfile: Accepting: cmp() w() h() framerate() codecs( ) dec(ffmpeg) cpus(2) skiploop(enabled) rend(opengl) deint(high,high) upscale(bilinear)
2021-03-19 19:15:53.262697 I [1697/1697] CoreContext mythvideoprofile.cpp:445:LoadBestPreferences VideoProfile: LoadBestPreferences(640x480, 29.970, h264)
2021-03-19 19:15:53.262702 I [1697/1697] CoreContext mythvideoprofile.cpp:470:LoadBestPreferences VideoProfile: LoadBestPreferences result: priority:1 width: height: fps: codecs:
2021-03-19 19:15:53.262706 I [1697/1697] CoreContext mythvideoprofile.cpp:475:LoadBestPreferences VideoProfile: decoder:ffmpeg renderer:opengl deint0:high deint1:high cpus:2 upscale:bilinear
2021-03-19 19:15:53.262709 I [1697/1697] CoreContext mythvideooutgpu.cpp:93:Create VidOutGPU: Preferred renderer: opengl
2021-03-19 19:15:53.262711 I [1697/1697] CoreContext mythvideooutgpu.cpp:123:Create VidOutGPU: Trying video renderer: 'opengl'
2021-03-19 19:15:53.262748 I [1697/1697] CoreContext mythhdrtracker.cpp:37:Create HDRTracker: HDR signalling support not available
2021-03-19 19:15:53.262767 I [1697/1697] CoreContext mythvideogpu.cpp:33:MythVideoGPU VideoGPU: Discard stereoscopic fields: Yes
2021-03-19 19:15:53.262773 I [1697/1697] CoreContext opengl/mythopenglvideo.cpp:55:MythOpenGLVideo GLVid: Chroma upsampling filter disabled
2021-03-19 19:15:53.262778 I [1697/1697] CoreContext opengl/mythpainteropengl.cpp:74:ClearCache Clearing OpenGL painter cache.
2021-03-19 19:15:53.264263 I [1697/1697] CoreContext mythvideobounds.cpp:122:PopulateGeometry VideoBounds: Window using screen 'HDMI-A-0' 2560x1440
2021-03-19 19:15:53.264266 I [1697/1697] CoreContext mythvideobounds.cpp:481:PrintMoveResizeDebug VideoBounds: Window Rect: 2560x1440+0+0
2021-03-19 19:15:53.264268 I [1697/1697] CoreContext mythvideobounds.cpp:484:PrintMoveResizeDebug VideoBounds: Display Rect: 1920x1440+320+0 Aspect: 1.77778
2021-03-19 19:15:53.264270 I [1697/1697] CoreContext mythvideobounds.cpp:488:PrintMoveResizeDebug VideoBounds: Video Rect: 640x480+0+0 Aspect: 1.33333
2021-03-19 19:15:53.264274 I [1697/1697] CoreContext mythvideocolourspace.cpp:116:SetSupportedAttributes ColourSpace: PictureAttributes: Brightness,Contrast,Colour,Hue,Range
2021-03-19 19:15:53.264279 I [1697/1697] CoreContext mythvideooutgpu.cpp:561:InitDisplayMeasurements VidOutGPU: Display aspect ratio: 1.77778 (Square pixels)
2021-03-19 19:15:53.265740 I [1697/1697] CoreContext videobuffers.cpp:976:CreateBuffers Created 30 YUV420P (640x480) video buffers
2021-03-19 19:15:53.265747 I [1697/1697] CoreContext mythvideobounds.cpp:601:SetVideoScalingAllowed VideoBounds: Over/underscan. V: 0.03, H: 0
2021-03-19 19:15:53.265748 I [1697/1697] CoreContext mythvideobounds.cpp:481:PrintMoveResizeDebug VideoBounds: Window Rect: 2560x1440+0+0
2021-03-19 19:15:53.265749 I [1697/1697] CoreContext mythvideobounds.cpp:484:PrintMoveResizeDebug VideoBounds: Display Rect: 1920x1440+320+0 Aspect: 1.77778
2021-03-19 19:15:53.265751 I [1697/1697] CoreContext mythvideobounds.cpp:488:PrintMoveResizeDebug VideoBounds: Video Rect: 640x451+0+17 Aspect: 1.33333
Code: Select all
2021-03-19 19:15:53.287299 I [1697/653790] Decoder decoders/avformatdecoder.cpp:1457:InitVideoCodec AFD: InitVideoCodec ID:H264 Type:Video Size:0x0
2021-03-19 19:15:53.287302 I [1697/653790] Decoder decoders/avformatdecoder.cpp:1556:InitVideoCodec AFD: InitVideoCodec invalid dimensions, resetting decoder.
2021-03-19 19:15:53.287309 I [1697/653790] Decoder mythplayer.cpp:685:SetFrameInterval Player(i): SetFrameInterval Interval:33366 Speed:1 Scan:Progressive Scan (Multiplier: 1)
2021-03-19 19:15:53.287319 I [1697/653790] Decoder mythvideooutgpu.cpp:448:InputChanged VidOutGPU: Video changed: 640x480 (640x480) 'H.264' (Aspect 1.33333 Refs 16)-> 640x480 (640x480) 'H.264' (Aspect 1.33333 Refs 16)
2021-03-19 19:15:53.287327 I [1697/653790] Decoder mythvideoscantracker.cpp:263:DetectInterlace ScanTracker: DetectInterlace(Detect Scan, Interlaced Scan, 29.97, 480) ->Interlaced Scan
2021-03-19 19:15:53.287334 I [1697/653790] Decoder decoders/avformatdecoder.cpp:2452:ScanStreams AFD: Using ffmpeg for video decoding
2021-03-19 19:15:53.287586 I [1697/1697] CoreContext platforms/mythscreensaverdbus.cpp:85:Inhibit ScreenSaverDBus: Successfully inhibited screensaver via org.freedesktop.ScreenSaver. cookie 4202310198. nom nom
2021-03-19 19:15:53.287596 I [1697/653790] Decoder decoders/avformatdecoder.cpp:2533:OpenAVCodec AFD: Opened codec 0x7fb28c035980, id(H264) type(Video)
2021-03-19 19:15:53.287643 I [1697/1697] CoreContext platforms/mythscreensaverx11.cpp:247:Disable ScreenSaverX11: Inhibited X11 screensaver
Any ideas how to debug more for this issue ?