Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Steve Rance <steverance@outlook.com>
To: "ffmpeg-devel@ffmpeg.org" <ffmpeg-devel@ffmpeg.org>
Subject: [FFmpeg-devel] 24 FPS to 23.975 Conversion with Audio
Date: Wed, 19 Mar 2025 19:35:38 +0000
Message-ID: <PH7P220MB15685A42AA85CF2FF7BB724BD6D92@PH7P220MB1568.NAMP220.PROD.OUTLOOK.COM> (raw)

Hello developers, my first post, if I have posted to the wrong place please point me in the right direction

I'm attempting to use ffmpeg to convert 24FPS media to 23.986 - Video is good but the audio slips.

From my research I need a fractional sample rate for the audio. To be precise I need 48000 × (23.976/24) ≈ 47952.047952 Hz. However, since FFmpeg’s asetrate only accepts an integer value, ffmpeg ends up using 47952 exactly. I have tried many if not all of the options available and the result remains the same.

Here are the slippage rates ...
Approximately 172.63 samples error per hour
Approximately 2.88 samples error per minute.
Approximately 20.85 seconds must elapse for each 1 sample error.
Approximately 11 hours and 35 minutes before the audio is one full frame off.

I'm using Windows and need advice on how I could try to acheive perfect audio sync.

Thank you for reading.
Steve



_______________________________________________
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".

             reply	other threads:[~2025-03-19 19:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-19 19:35 Steve Rance [this message]
2025-03-20  1:04 ` Zhao Zhili
2025-03-20  1:10   ` Steve Rance

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PH7P220MB15685A42AA85CF2FF7BB724BD6D92@PH7P220MB1568.NAMP220.PROD.OUTLOOK.COM \
    --to=steverance@outlook.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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