Forums » Kodi (XBMC) as frontend »
Interlaced content and out-of-sync audio
Added by Luca M over 3 years ago
Hi,
I am using LibreELEC 9.2.6 on Kodi 18.9 and TVH 4.2.8-36 to record Live TV Programs to my NAS. I am using a Rpi4 with TV Hat.
I am currently using the default PassThru MPEG TS profile for an HD Interlaced Video. You can see the specs below of the file I save:
General ID : 5 (0x5) Complete name : Y:\RegistrazioniTV\Rai 3 HD-2021-06-16-21_10\Rai 3 HD-2021-06-16-21_10-Rai 3 HD2021-06-1621-10.ts Format : MPEG-TS File size : 8.28 GiB Duration : 3 h 19 min Overall bit rate mode : Variable Overall bit rate : 5 924 kb/s Video ID : 533 (0x215) Menu ID : 8593 (0x2191) Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4 Format settings : CABAC / 3 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 3 frames Format settings, GOP : M=4, N=16 Codec ID : 27 Duration : 3 h 19 min Bit rate : 5 114 kb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 25.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : MBAFF Scan type, store method : Interleaved fields Scan order : Top Field First Bits/(Pixel*Frame) : 0.099 Stream size : 7.14 GiB (86%)
I play it in HD resolution and my TV switches to 50Hz (as I have configured Kodi to adjust frequency at video start), so far so good.
The problem is that video is interlaced and the default behaviour in Kodi is to deinterlace it automatically. This works but I get out-of-sync a/v which I can only fix if I force a/v sync in Kodi.
I don't like this workaround because when a/v is forced to be in sync like that, you can only FFD up to 1.5x and that's annoying (especially to skip ads)
I have noticed that if I disable deinterlacing, I won't have any sync issues anymore but scrolling text (LTR to RTL) is unwatchable and unreadable.
I was wondering whether there is a different way of encoding the file instead of MPEG TS, which maybe Kodi player doesn't like too much.
Do you think that moving to Matroska would have any benefit? I don't think transcoding can be an option on a Raspberry4, especially because my main goal is to do chase-recording (I think it's called this way: I play the same recorded program, just one hour later, while it's still being recorded)
Any help is appreciated.
Thanks!
Replies (1)
RE: Interlaced content and out-of-sync audio - Added by Luca M over 1 year ago
Hi,
in the meantime I have upgraded LibreElec to 11 and deinterlacing has been fixed. Now it's all working fine.