lordreign
11th July 2008, 15:37
Hey guys, I'm not really a newbie to this but honestly I don't know where else to post this question (maybe in the subtitles subforum but I am more concerned about the chapters. Subtitles I can hardcode into the video and allow them to be slowed down in the script below if necessary).
Basically I'm ripping some PAL dvd's to mkv/mp4 and a few of them I can definately notice the higher pitch audio in places so I'm using a simple script like below to slow down the video to 24fps, apply whatever video processing, then resample the audio to 48khz. (I'm using 24fps rather than 23.976 because SSRC doesn't seem to like to resample from the frequency generated when slowing to 23.976).
video = DGDecode_mpeg2source("VTS_01_1.d2v",info=3)
audio = NicAC3Source("VTS_01_1.ac3")
Audiodub(video,audio)
ColorMatrix(hints=true)
#deinterlace
crop( 2, 2, -2, -2)
LanczosResize(624,352) # Lanczos (Sharp)
DeGrainMedian(mode=3)
AssumeFPS(24,true)
SSRC(48000)
The only downside to this is the out of sync chapters and subtitles that come as a result of the slowing process (obviously the subtitles and chapters appear earlier than expected). So I basically wanna know if there is any tool that can automatically edit the timecodes of chapter files (say a DVD Decypter generated OGG file) or subtitles files to a different fps? Or would I have to go through and multiply each one by a factor of 0.96? (24fps/25fps)
Cheers, Andrew.
Basically I'm ripping some PAL dvd's to mkv/mp4 and a few of them I can definately notice the higher pitch audio in places so I'm using a simple script like below to slow down the video to 24fps, apply whatever video processing, then resample the audio to 48khz. (I'm using 24fps rather than 23.976 because SSRC doesn't seem to like to resample from the frequency generated when slowing to 23.976).
video = DGDecode_mpeg2source("VTS_01_1.d2v",info=3)
audio = NicAC3Source("VTS_01_1.ac3")
Audiodub(video,audio)
ColorMatrix(hints=true)
#deinterlace
crop( 2, 2, -2, -2)
LanczosResize(624,352) # Lanczos (Sharp)
DeGrainMedian(mode=3)
AssumeFPS(24,true)
SSRC(48000)
The only downside to this is the out of sync chapters and subtitles that come as a result of the slowing process (obviously the subtitles and chapters appear earlier than expected). So I basically wanna know if there is any tool that can automatically edit the timecodes of chapter files (say a DVD Decypter generated OGG file) or subtitles files to a different fps? Or would I have to go through and multiply each one by a factor of 0.96? (24fps/25fps)
Cheers, Andrew.