Moved from AviSynth Usage subforum.
The AviSynth part seems work fine, maybe the problem is how use AviSynth StaxRip.
The source title_t00.mkv:
Quote:
Video...
Frame rate mode : Variable
Frame rate : 24.114 FPS
Original frame rate : 23.976 (24000/1001) FPS...
|
The output video title_t00_new.mkv:
Quote:
Video...
Frame rate mode : Constant
Frame rate : 24.114 FPS...
|
Because the avs:
Quote:
FFVideoSource("C:\Conversion Kit\StaxRip-x64-2.1.4.2-Beta\test\title_t00_temp\title_t00.mpg", cachefile="C:\Conversion Kit\StaxRip-x64-2.1.4.2-Beta\test\title_t00_temp\title_t00.ffindex")
|
output a constant Frame rate, but 24.114 is the average fps, and the video can have localized short frames producing the async.
[EDIT]For instance, if your video of 5197 frames have a intro of 148 frames than must be played at 29.97 fps (and the rest at 23.976) the average fps is 24.114
The first 148 fr. at 29.97 have a duration of 4.95 sec., but played at 24.114 the duration is 6.15 sec.
You have an async of 1.2 seconds with the audio.[EDIT]
I recommend add to the script:
and when mux the output add the "title_t00_timestamps.txt" already extracted by Staxrip.