Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Zhao Zhili <quinkblack-at-foxmail.com@ffmpeg.org>
To: ffmpeg-devel@ffmpeg.org
Cc: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] 24 FPS to 23.975 Conversion with Audio
Date: Thu, 20 Mar 2025 09:04:32 +0800
Message-ID: <tencent_AB5A94348D80E434AD3EF756B79D80E02E09@qq.com> (raw)
In-Reply-To: <PH7P220MB15685A42AA85CF2FF7BB724BD6D92@PH7P220MB1568.NAMP220.PROD.OUTLOOK.COM>


> 在 2025年3月20日,上午3:35,Steve Rance <steverance@outlook.com> 写道:
> 
> 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.

This mailing list is for ffmpeg development, not user support.

There is no such framerate 23.986, it’s 24 * 1000/1001.

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

_______________________________________________
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-20  1:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-19 19:35 Steve Rance
2025-03-20  1:04 ` Zhao Zhili [this message]
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=tencent_AB5A94348D80E434AD3EF756B79D80E02E09@qq.com \
    --to=quinkblack-at-foxmail.com@ffmpeg.org \
    --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