View Full Version : StaxRip Audio Desync
Sanic1239
14th November 2020, 02:30
Hello! I've been having an issue with StaxRip.
I have been ripping my DVDs recently with MakeMKV, and sending them to StaxRip for cleaning the video up.
This has been working well for the most part, but for some reason I am having trouble with a DVD set in particular.
I bought a SpongeBob SquarePants (Season 1) DVD set, and for some reason when I play/encode it in StaxRip it ends up desyncing the audio, but it doesn't do it on my other DVDs (so far).
The only thing I can think of currently is that the source seems to be interlaced.
Also, I made sure to disable all filters except for the source filter (just so there are no false results).
Heres the log file: 17552
Sanic1239
14th November 2020, 02:41
Also, here is the MediaInfo log for one of the episodes I am testing.17553
tebasuna51
14th November 2020, 13:22
Moved from AviSynth Usage subforum.
The AviSynth part seems work fine, maybe the problem is how use AviSynth StaxRip.
The source title_t00.mkv:
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:
Video...
Frame rate mode : Constant
Frame rate : 24.114 FPS...
Because the avs:
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:
Assumefps(24000,1001)
and when mux the output add the "title_t00_timestamps.txt" already extracted by Staxrip.
Sanic1239
14th November 2020, 20:49
Moved from AviSynth Usage subforum.
The AviSynth part seems work fine, maybe the problem is how use AviSynth StaxRip.
The source title_t00.mkv:
The output video title_t00_new.mkv:
Because the avs:
output a constant Frame rate, but 24.114 is the average fps, and the video can have localized short frames producing the async.
I recommend add to the script:
and when mux the output add the "title_t00_timestamps.txt" already extracted by Staxrip.
Thanks for the help! So, you want me to copy the timestamps that are indexed when I add the file, or after the encoding (does it even make one after encoding?)?
tebasuna51
14th November 2020, 22:04
I don't know Staxrip.
If you still have the file "title_t00_timestamps.txt" try to remux the "title_t00_new.mkv" adding it with MkvToolNixGUI
Sanic1239
14th November 2020, 22:28
I don't know Staxrip.
If you still have the file "title_t00_timestamps.txt" try to remux the "title_t00_new.mkv" adding it with MkvToolNixGUI
Hmm okay, thanks!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.