Opened 4 weeks ago
Last modified 4 weeks ago
#10948 new defect
[ffmpeg] spdif: Unusual frame timing 40 samples/frame is not implemented.
Reported by: | adolfotregosa | Owned by: | |
---|---|---|---|
Priority: | critical | Component: | ffmpeg |
Version: | git-master | Keywords: | spdif audio cuts truehd atmos |
Cc: | adolfotregosa | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
Summary of the bug:
mpv sample.mkv -ao=pulse -audio-spdif=truehd
While playing this video file with truehd atmos audio, audio cuts always on the same spot, 100% reproducible every time giving the following message.
[ffmpeg] spdif: Unusual frame timing: 10248 => 12042, 40 samples/frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
I compiled and tried latest ffmpeg git and mpv git with same results.
sample file -> https://tregosacloud.duckdns.org/s/HRWxz7oX7HCSSpD
editing ffmpeg spdifenc.c and commenting out:
Afterwards compiling ffmpeg and mpv with that change to ffmpeg seams to be fixing two issues for me. Spdif/passthrough to the AVR audio no longer cuts on the problematic spot and when seeking movie, audio is not going silent whereas it was becoming silent most of the time having one to keep seeking until audio eventually recovered.
Since I know very little of what am I doing hopefully someone who actually knows what they are doing has a look at this and implements a proper fix.