Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] Fix for [ffmpeg] spdif: Unusual frame timing 40 samples/frame is not implemented.
@ 2024-04-20 23:22 Adolfo Rodrigues
  0 siblings, 0 replies; only message in thread
From: Adolfo Rodrigues @ 2024-04-20 23:22 UTC (permalink / raw)
  To: ffmpeg-devel

Hello.

I'm new at this so please bare with me. I have created a sample file that
produces an audio drop at the same time it produces 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.

sample file -> https://tregosacloud.duckdns.org/s/HRWxz7oX7HCSSpD

The same message shows up when I seek but with the added side effect of
audio rarely recovering, becoming silent.

I found out that by editing the file 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;
   // }

All my issues went away.

I have opened a ffmpeg trac ticket:  https://trac.ffmpeg.org/ticket/10948

I'm no developer, my knowledge is very limited but I since I have yet to
find any negative symptom of my change I'm leaving here my findings.

Thank you for your time.

Adolfo
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-20 23:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-20 23:22 [FFmpeg-devel] Fix for [ffmpeg] spdif: Unusual frame timing 40 samples/frame is not implemented Adolfo Rodrigues

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git