LockoNH
13th November 2006, 05:24
Hi, kinda new to AVIsynth, so hopefully I can express my problem coherently.
I recorded ABC's 'Lost' at 720P, 60 fps. I am planning on reducing it back to it's original 24 fps.
I use VideoRedo to edit out commercials, output it as an MPEG2 file, AC3 audio, direct copy,no re-rendering.
From there is DVD2AVI-->VFAPIconv-->AVIsynth-->Virtualdub (for now--eventually I might use Nero's Recode H.264 in place of Virtualdub/X.264)
It's not a nice neat 3/2 pattern, so I was forced to use FDecimate.
I used the FDecimate plugin pretty successfully except I noticed an occasion stutter in the video.
I stepped through VFAPI avi with Virtualdub and noted each original frame.
My problem is that I am finding that the source seems to be actually yielding 24.281 fps instead of 24 (or 23.976). I basically counted unique frames until the time indicated 20 plus seconds, divided number of unique frames by exact time and got 24.281 FPS.
If I go back into the script set it up for FDecimate(rate=24.281,threshold=3) I get pretty good video, no repeating frames, no missed unique frames. I can then use AssumeFPS() to set it up for 24 fps. I guess I'll have to monkey around with the sound to make it fit (for some reason it doesn't seem to be set for 23.976 or 24 fps either).
At this point I'm trying to understand why I'm getting such oddball results. What's causing this desync? I assume it's just a timebase issue (if that's the right word for it)
Also, does anyone have a tip to stretch or shrink AC3 5.1 channel audio? My only convoluted thought right now is to take the AC3 and convert it to wav 5.1, and then use WavSource() and adjust it in AVIsynth, then mux it with the video (Nero needs the audio and video to be muxed)
I recorded ABC's 'Lost' at 720P, 60 fps. I am planning on reducing it back to it's original 24 fps.
I use VideoRedo to edit out commercials, output it as an MPEG2 file, AC3 audio, direct copy,no re-rendering.
From there is DVD2AVI-->VFAPIconv-->AVIsynth-->Virtualdub (for now--eventually I might use Nero's Recode H.264 in place of Virtualdub/X.264)
It's not a nice neat 3/2 pattern, so I was forced to use FDecimate.
I used the FDecimate plugin pretty successfully except I noticed an occasion stutter in the video.
I stepped through VFAPI avi with Virtualdub and noted each original frame.
My problem is that I am finding that the source seems to be actually yielding 24.281 fps instead of 24 (or 23.976). I basically counted unique frames until the time indicated 20 plus seconds, divided number of unique frames by exact time and got 24.281 FPS.
If I go back into the script set it up for FDecimate(rate=24.281,threshold=3) I get pretty good video, no repeating frames, no missed unique frames. I can then use AssumeFPS() to set it up for 24 fps. I guess I'll have to monkey around with the sound to make it fit (for some reason it doesn't seem to be set for 23.976 or 24 fps either).
At this point I'm trying to understand why I'm getting such oddball results. What's causing this desync? I assume it's just a timebase issue (if that's the right word for it)
Also, does anyone have a tip to stretch or shrink AC3 5.1 channel audio? My only convoluted thought right now is to take the AC3 and convert it to wav 5.1, and then use WavSource() and adjust it in AVIsynth, then mux it with the video (Nero needs the audio and video to be muxed)