Video playback issues since 08-01 update

I’ve had playback issues with ts files (recorded by mythtv) ever since installing the 08-01 update.
The audio runs too fast, and pauses every few seconds for the video to catch up. The hardware is an rpi2. The issue occurs when audio is played over hdmi. It does not occur when audio output is directed to the analog jack. More info:

  • The files played without issue before the 08-01 upgrade was installed
  • The files play without issue on other devices (OSMC on an rpi3, kodi on a linux desktop)
    Logs are here: https://paste.osmc.tv/kurotapaxa

Thanks in advance for any suggestions.
Frank

1 Like

Please paste full logs and a MediaInfo output for the file you are trying to play.

Cheers

Sam

Logs are here:
https://paste.osmc.tv/ocogozoxup

Mediainfo:
General
ID : 2501 (0x9C5)
Complete name : /mediafiles/Movies/20201_20210820033500.ts
Format : MPEG-TS
File size : 5.35 GiB
Duration : 1 h 1 min
Overall bit rate mode : Variable
Overall bit rate : 12.4 Mb/s
Movie name : The Late Show
Law rating : TV-14

Video
ID : 49 (0x31)
Menu ID : 1 (0x1)
Format : MPEG Video
Format version : Version 2
Format profile : Main@High
Format settings : CustomMatrix / BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : Variable
Format settings, picture structure : Frame
Codec ID : 2
Duration : 1 h 1 min
Bit rate mode : Variable
Bit rate : 11.2 Mb/s
Maximum bit rate : 80.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.181
Stream size : 4.86 GiB (91%)
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio #1
ID : 52 (0x34)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : 129
Duration : 1 h 1 min
Bit rate mode : Constant
Bit rate : 384 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : -445 ms
Stream size : 170 MiB (3%)
Language : English
Service kind : Complete Main

Audio #2
ID : 53 (0x35)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : 129
Duration : 1 h 1 min
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : -437 ms
Stream size : 56.7 MiB (1%)
Language : Spanish
Service kind : Complete Main

Text #1
ID : 49 (0x31)-CC1
Menu ID : 1 (0x1)
Format : EIA-608
Muxing mode : A/53 / DTVCC Transport
Muxing mode, more info : Muxed in Video #1
Duration : 1 h 1 min
Bit rate mode : Constant
Stream size : 0.00 Byte (0%)
CaptionServiceName : CC1

Text #2
ID : 49 (0x31)-1
Menu ID : 1 (0x1)
Format : EIA-708
Muxing mode : A/53 / DTVCC Transport
Muxing mode, more info : Muxed in Video #1
Duration : 1 h 1 min
Bit rate mode : Constant
Stream size : 0.00 Byte (0%)

Text #3
ID : 49 (0x31)-2
Menu ID : 1 (0x1)
Format : EIA-708
Muxing mode : A/53 / DTVCC Transport
Muxing mode, more info : Muxed in Video #1
Duration : 1 h 1 min
Bit rate mode : Constant
Stream size : 0.00 Byte (0%)

Text #4
ID : 49 (0x31)-3
Menu ID : 1 (0x1)
Format : EIA-708
Muxing mode : A/53 / DTVCC Transport
Muxing mode, more info : Muxed in Video #1
Duration : 1 h 1 min
Bit rate mode : Constant
Stream size : 0.00 Byte (0%)

Text #5
ID : 49 (0x31)-4
Menu ID : 1 (0x1)
Format : EIA-708
Muxing mode : A/53 / DTVCC Transport
Muxing mode, more info : Muxed in Video #1
Duration : 1 h 1 min
Bit rate mode : Constant
Stream size : 0.00 Byte (0%)

Text #6
ID : 49 (0x31)-5
Menu ID : 1 (0x1)
Format : EIA-708
Muxing mode : A/53 / DTVCC Transport
Muxing mode, more info : Muxed in Video #1
Duration : 1 h 1 min
Bit rate mode : Constant
Stream size : 0.00 Byte (0%)

Text #7
ID : 49 (0x31)-6
Menu ID : 1 (0x1)
Format : EIA-708
Muxing mode : A/53 / DTVCC Transport
Muxing mode, more info : Muxed in Video #1
Duration : 1 h 1 min
Bit rate mode : Constant
Stream size : 0.00 Byte (0%)

Hi,

I can confirm this issue. Somehow the audio-speed does not match the video-speed. German sound goes kind of immediately out of sync with the video. skipping 10s back fixes it, but after some seconds playback the de-sync becomes clearly visible / audible.

I played around with these settings:

  • whitelisted resolutions
  • adjust display refresh rate
  • sync playback to display

I found some szenarios where the sound was played slower (with that lowish voice-frequency).

All very strange.

Hardware:

  • RaspberryPi 2
  • connected to hdmi-arc tv port
  • audio-pass-through disabled
General
Unique ID                                : 123
Complete name                            : schalalalalala.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 325 MiB
Duration                                 : 20 min 11 s
Overall bit rate                         : 2 247 kb/s
Movie name                               : lala
Writing application                      : Lavf54.20.4
Writing library                          : Lavf54.20.4

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 8 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 8 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 20 min 11 s
Bit rate                                 : 1 626 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.071
Stream size                              : 235 MiB (72%)
Title                                    : tvp-tbbt-s06e11-1080p
Writing library                          : x264 core 142 r2389 956c8d8
Encoding settings                        : cabac=1 / ref=8 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=21.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.25 / aq=1:1.00
Language                                 : German
Default                                  : Yes
Forced                                   : No

Audio #1
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 20 min 11 s
Bit rate mode                            : Constant
Bit rate                                 : 192 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 27.7 MiB (9%)
Language                                 : German
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 20 min 11 s
Bit rate mode                            : Constant
Bit rate                                 : 384 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 55.5 MiB (17%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No

I’m having similar issues after the big update too. Audio is out of sync on multiple video files, including videos played through the Netflix app. I’ll try and post some logs shortly

Nothing? I really do not want to go back to 18 :confused:

Might be related with Vero 4k iptv issues after August update which makes me a bit more hopeful that this is a problem in kodi rather than in the vero 4k kernel. Let’s see if the update to 19.2 solves this… There’s also this fix that gives me some hope…

  • Nuno Sá

That newer version of FFMPEG should be in the next Kodi build.

1 Like