Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th November 2020, 02:30   #1  |  Link
Sanic1239
Registered User
 
Sanic1239's Avatar
 
Join Date: May 2020
Location: Cave Junction, Oregon
Posts: 4
StaxRip Audio Desync

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: title_t00_new_staxrip.txt
Sanic1239 is offline   Reply With Quote
Old 14th November 2020, 02:41   #2  |  Link
Sanic1239
Registered User
 
Sanic1239's Avatar
 
Join Date: May 2020
Location: Cave Junction, Oregon
Posts: 4
Also, here is the MediaInfo log for one of the episodes I am testing.Mediainfo.txt
Sanic1239 is offline   Reply With Quote
Old 14th November 2020, 13:22   #3  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,012
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:
Quote:
Assumefps(24000,1001)
and when mux the output add the "title_t00_timestamps.txt" already extracted by Staxrip.
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 17th November 2020 at 12:26. Reason: Add info
tebasuna51 is offline   Reply With Quote
Old 14th November 2020, 20:49   #4  |  Link
Sanic1239
Registered User
 
Sanic1239's Avatar
 
Join Date: May 2020
Location: Cave Junction, Oregon
Posts: 4
Quote:
Originally Posted by tebasuna51 View Post
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?)?
Sanic1239 is offline   Reply With Quote
Old 14th November 2020, 22:04   #5  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,012
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
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 14th November 2020, 22:28   #6  |  Link
Sanic1239
Registered User
 
Sanic1239's Avatar
 
Join Date: May 2020
Location: Cave Junction, Oregon
Posts: 4
Quote:
Originally Posted by tebasuna51 View Post
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!
Sanic1239 is offline   Reply With Quote
Reply

Tags
staxrip

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 13:22.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.