[FFmpeg-devel] [PATCH] Avisynth seeking out of sync
arnaud.brochard at free.fr
Sat Oct 25 02:28:32 CEST 2008
Hi, I found an out of sync problem with the seeking option (-ss) on an AviSynth
(avs) input file: the more far is the video seeking position, the larger is the
out of sync.
So I checked out the code and found that a variable (chunk_samples) was of long
type and badly rounded by calculations, which led to the problem. I solved it
with a change of type to float, and a division operation with no rounding.
See attached patch !
More information about the ffmpeg-devel