I have another DVD that has been encoded in a very odd way. It plays very slowly, with a running time of 3 hours 27 minutes 41.082 seconds and the audio is at a normal pitch, but is matched to the frames of the audio and is therefore very stuttery.
I have demuxed the VOB file into M2V and AC3 and the AC3 file plays at normal speed on it's own and sounds absolutely fine, but the video obviously plays very slowly.
I loaded both into VDub and it's telling me I need the video to run at 69.316fps to match the length of the audio. The length becomes 1 hour 29 mins 47.793 secs and it runs perfectly, except it's jumpy and needs to be re-interlaced somehow. It's supposed to be an NTSC video and it seems like it has duplicate frames throughout, in a regular pattern. Something like 2-2-2-3-2-2-2-3.
Can someone help me fix this video, using AVISynth, please?A short excerpt will be uploaded shortly...
+ Reply to Thread
Results 1 to 20 of 20
-
-
Here is part of the video:
http://www.megaupload.com/?d=Z7V71MQX -
I have now loaded it up into TMPGEnc and gone into the "Inverse Telecine" section.
Other than the first 7 frames, it seems like 1 frame is interlaced and then the following three are not, then the next frame is interlaced and the following three are not...and it goes in a regular pattern:
100000-1000-1000-100000-1000-1000-100000-1000-1000-100000-1000-1000-1000
So, it's like - 1 interlace frame followed by 5 non-interlaced, then 1 interlaced and 3 non-interlaced, etc.
Anyone have any idea on the best way to fix this, it seems very complicated and I have no idea how the video ended up like this in the first place
-
Why send the AVI when the source is a DVD? Don't you know that we don't want to see something you've already processed when the chances are you don't know what you're doing?
Not quite.Something like 2-2-2-3-2-2-2-3.
The framerate of the AVI you uploaded is 12.987fps. To remove all the dupes, Load TIVTC and:
Tdecimate(Mode=1,Cycle=30,CycleR=17)
To get it back to normal speed add:
AssumeFPS(29.97)
after doing the decimation. But since I don't know what you did to the VOB to create that AVI, I can't tell you how to treat the interlaced VOB. Forgive me for not paying any attention to your description, Perhaps:
TFM()
Tdecimate(Mode=1,Cycle=30,CycleR=17)
I know how someone would do that, but I don't understand why, unless he wanted to watch race cars in stuttery, jerky slow motion. Did you pay for this one, too? How about a VOB sample if you can't figure out how to handle the VOB yourself. -
...because to send a portion of a VOB file, I either have to split it using a file splitter (which could cause problems with playing the file), or send an entire chapter, which would be 80MB in size and I wasn't sure whether people were prepared to download a file of that size. Not that it's anything more than a 2 minute wait with current broadband speeds being what they are...Originally Posted by manono
Nevertheless, I'll upload one of the chapters anyway. -
Nonsense. Open the VOB in DGIndex. Use the [ and ] buttons to isolate a 10 second or so section. Then File->Save Project and Demux Video. Upload the resulting M2V somewhere after confirming it's not too large. We don't need a chapter to tell what's going on. 10-15 seconds of steady movement will be plenty....I either have to split it using a file splitter (which could cause problems with playing the file), or send an entire chapter...
-
You'll need to scroll halfway down the page and hit the big, green Free Download button:
http://www.filefactory.com/file/6575ad/ -
I'm not sure why you were talking about interlacing. It was encoded as progressive 29.97fps and all frames are progressive, as near as I can tell. So, my original script still stands:
Tdecimate(Mode=1,Cycle=30,CycleR=17)
AssumeFPS(29.97)
I don't know for sure whether or not the audio will synch up when done. No way to know until reencoded and muxed, I guess. You can get a pretty good idea by comparing the lengths of the video and audio, if you know how to do it right. -
Many thanks
To re-encode this as a proper interlaced DVD, I'm assuming I need to add the following?
SeparateFields()
SelectOdd()
Weave() -
I thought interlace would be required for smoother movement on TV's?
And by the way, with the script manono suggested, the audio doesn't match up with the video. The video ends up 12 seconds longer than the audio. -
That's if it's interlaced to begin with. If shot on video, I suspect it probably was interlaced once upon a time. But what you showed me was progressive, and perhaps (probably?) deinterlaced. So, unless you want to fool around with MVTools and recreate the missing fields, reinterlacing it won't make any difference at all. Unless you use that script you posted. Then it'll really get messed up.I thought interlace would be required for smoother movement on TV's?
I was afraid that might be the case. However, that's not actually proof that they won't synch. Perhaps the audio is 12 seconds shorter than the video because it begins late or ends early. My suggestion is to go ahead and encode using that script and at 29.97fps and mux the resulting M2V with the audio. If they prove not to be in synch (and it's a progressive asynch, and not a constant one which can be fixed with the proper delay), then you can run the same M2V through DGPulldown set for whatever framerate makes it come out 12 seconds shorter.And by the way, with the script manono suggested, the audio doesn't match up with the video. The video ends up 12 seconds longer than the audio. -
If you had 60 progressive frames/sec then you could pull a field out of each and create 30 fps interlaced video for smoother playback. But you only have 30 frames per second.Originally Posted by PTRACER
Try changing the AssumeFPS(29.97) to AssumeFPS(30.0366) and then add a ChangeFPS(29.97) afterwards. The net result would be to throw out a frame every now and then to make the length match.Originally Posted by PTRACER
Or you could make the audio longer to match the video. -
Eeek, nevermind.
Thanks a lot for your help, I think I've got it sorted!
-
A couple of hours later I was watching TV and out of the blue it hit me; to shorten it by 12 seconds you don't lower the framerate and then run DGPulldown. You increase the framerate. Funny how your mind keeps working on things "below the surface" so-to-speak. So I was wondering if the source had once been 30fps, but a quick calculation told me that wasn't high enough. Yours is high enough, but I'm not convinced that can be correct, because that can't be the original framerate. PTRACER says he solved the problem (but without saying how), so I guess I can put it out of my mind now.Try changing the AssumeFPS(29.97) to AssumeFPS(30.0366) and then add a ChangeFPS(29.97) afterwards.
-
I solved it using the code I was given:
TFM()
Tdecimate(Mode=1,Cycle=30,CycleR=17)
AssumeFPS(30.0366)
ChangeFPS(29.97)
The audio was out in certain places, but then was "in" again at another place. I noticed there was actually a jump in the audio, so I just put a gap in and added some artificially created white noise. -
On a completely unrelated note...if I wanted to demux a VOB into M2V and AC3, edit the audio in Adobe Audition and then remux the M2V and AC3 into either a VOB, or an MPEG2 file, what software do I need?
I've already got the files demuxed and edited, it'll just save me from re-encoding the video AND the audio and losing quality. -
Lots of ways to do what you want.
For demuxing a VOB without an IFO, I use DGIndex. Open the VOB and File->Save Project and Demux Video. That will give you the M2V and AC3.
For remuxing into VOB/DVD, I use Muxman. For making an MPG, maybe ImagoMPEG-Muxer. Imago can also make VOBs.
Similar Threads
-
Strange Issue with Pinnacle 10.6 DVD Menus render strangely
By Kadji.Kahn in forum Authoring (DVD)Replies: 0Last Post: 26th Feb 2010, 15:47 -
Ripbot behaving strangely
By nikemouse in forum Blu-ray RippingReplies: 3Last Post: 6th Nov 2009, 01:08 -
How to fix MPEG encoded with wrong aspect ratio?
By Talayero in forum Video ConversionReplies: 2Last Post: 21st Oct 2008, 10:29 -
Can I fix an incorrectly encoded MPEG4 file?
By wiseant in forum Video ConversionReplies: 10Last Post: 16th Oct 2008, 19:57 -
x264 encoded mkv/mp4 transcode to xvid encoded avi
By graysky in forum Video ConversionReplies: 4Last Post: 9th Aug 2008, 19:55



Quote