#10948: [ffmpeg] spdif: Unusual frame timing 40 samples/frame is not
implemented.
-------------------------------------+-------------------------------------
Reporter: | Owner: (none)
adolfotregosa |
Type: defect | Status: new
Priority: critical | Component: ffmpeg
Version: git-master | Resolution:
Keywords: spdif audio | Blocked By:
cuts truehd atmos |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by adolfotregosa):
editing ffmpeg spdifenc.c and commenting out:
{{{
/* sanity check */
//if (padding_remaining < 0 || padding_remaining >= MAT_FRAME_SIZE
/ 2) {
// avpriv_request_sample(s, "Unusual frame timing: %"PRIu16" =>
%"PRIu16", %d samples/frame",
// ctx->truehd_prev_time, input_timing,
ctx->truehd_samples_per_frame);
// padding_remaining = 0;
// }
}}}
Afterwards compiling ffmpeg and mpv with that change to ffmpeg seams to be
fixing two issues for me. Spdif/passtrough 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.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10948#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".