As many of us I have problems when tried to encode AVI to DVD. I tried with DIKO. Original AVI is OK. After encoding video is longer than audio.
I tried what someone in some other forum said, put original AVI through VirtualDub (audio and video as "direct stream copy") and as result got (again)AVI with NOT synchronized video and audio. So, I tried with video as "direct stream copy" and audio as "full process". The result of that was FULLY synchronized AVI. OH, how happy I was... Then I tried encode new AVI with DIKO. After DIKO finished created DVD was again NOT synchronized... Hmmmm.
Then I noticed next: original AVI was 1hour 31minutes and 30second long. Audio, after all my tryings, remain that long, but I got video 1hour 49minutes and 39seconds long. So, DIKO and VirtualDub left AUDIO AS LONG AS IN ORIGINAL, but both softwares made VIDEO 18minutes 9seconds LONGER than original. So, it is not problem with audio, problem is with video. That happened when encode original AVI only with DIKO, or put it only through VirtualDub, or when put it first through VirtualDub, and then encoded it with DIKO. Hmmm.......
So, what I find is next:
1. Put original AVI through VirtualDUb, both video and audio as "direct stream copy", is way to find out if original AVI is synchronized or not. As process is long about minute and half(in my case) it is much faster than encode it with DIKO and only after few hours to find out that original AVI is not synchronized...
2. Try next: Encode original AVI with DIKO. Then, if video is longer than audio, take MP2 audio which DIKO created, and import it in good(pro) audio software. In audio software use tool "time strech" to make audio as long as video. Export that new audio as Wav. Import video and new audio in some audio/video editing software, and replace original audio with new Wav audio. Export that new audio/video as AVI. I don't know if VirtalDub can do that, didn't try. After that try to encode that new AVI with DIKO.
I don't have pro audio software, so I didn't try that, so this is only in theory.
Why to use "time strech" and not to add some "blank" audio at beginning of original audio? Well, in my case audio and video starts synchronized, but during time they get out of synchronisation. That way adding will not help and streching (maybe) will. And streching is(as I know, maybe I am wrong) complicated process which keeps original bitrate and frequency...
3. I have InterVideo WinProducer3, I got it included when I bought my graphic card. I will try to import original AVI in WinProducer. Then I will export that AVI as new AVI. I hope that WinProducer will "fix" problem of synchronization. Then I will encode that new AVI with DIKO. I will tell you what happened when finish that.
Maybe if someone has Premiere Pro or other pro software can try simillar. I have only WinProducer...
Is someone has proven working solution of audio/video out of sync problem, what I just said is just experiment...
Regards.
+ Reply to Thread
Results 1 to 7 of 7
-
-
If your original is 1:31:30 and the audio produced by virtualdub is 1:31:30 and your video is 1:49.39 then yes, you have a video problem.
Just to make sure, try saving a wav file and play it after to see if it's actually 1:31:30. (File, sav wav)
Try saving the video with no audio and play it after to see how long it makes it. (Video: full processing, Audio: no audio)
When you play the 1:49:39 movie with sound, does it lose sinc gradually or only after one certain point? That's an 18 minute difference from the original so it's either repeating 18 minutes worth of a still frame, or it jumps backward 18 minutes on the original. (Trying to stretch it so it comes out 1:49:39 will produce a piece of unwatchable garbage)
Try this: File, open, and check the Popup extended open options" box. Then check "Re-derive keyframe flags" and open. Once it's done that, set Video: full processing, Audio: full processing and try it again.
You're making it into a dvd and using DIKO to do it. Perhaps it's that programs error? Look into TmpgEnc for turning avi's into mpgs. Lots of tutorials and feedback on here about it.
Also check the settings on this DIKO thingy. Maybe your framerate is off? -
Did you match input and output framerates? Not trying to convert NTSC to PAL are you?
"Art is making something out of nothing and selling it." - Frank Zappa -
Yes I am trying to convert NTSC to PAL.
This is what I did last night(copy from other forum):
Well, I put original AVI through WinProducer. Original was 750MB, new is 1,5GB. I changed AVI settings in WinProducer, tonight will try with original WinProducer AVI settings. New AVI works OK after WinProducer finished. So, with big hopes I encoded new AVI with DIKO. After DIKO finished I got NOTHING... Well, there are ISO image, MP2, this and that, even audio_ts and video_ts folders, but EMPTY folders. And ISO image has 540MB... Follows log from that work:
01:09:07 - DIKO Free 0.77
01:09:07 - -----------------------------------------------------
01:09:07 - *************************
01:09:07 - * Getting movie info... *
01:09:07 - *************************
01:09:07 - -----------------
01:09:07 - Processing Movie 0:C:\film\night1.avi+
01:09:07 - Script Template: scripts\avi\DialhotV4.avs
01:09:07 - Progressive Width: 720 Height 576 A.R.: 1.250000 Framerate: 25.000000 Dest. Framerate: 25.000000 Frames: 140740
01:09:07 - Audio type: 1 (PCM), channels: 2 Frequency: 44100 Hz Bitrate 1411 kbps
01:09:07 - Audio will be reencoded.
01:09:07 - Calculated Audio size: 109.953125 Mb
01:09:08 - ***************************
01:09:08 - * Processing Subtitles... *
01:09:08 - ***************************
01:09:08 - Subs for movie 0 already processed, skipping
01:09:08 - *******************
01:09:08 - * Calculations... *
01:09:08 - *******************
01:09:08 - Total audio space: 109.953125 Mb
01:09:08 - Media Size: 4482 Mb
01:09:08 - Mux Overhead: 180 Mb
01:09:08 - Remaining space for video: 4192.046875 Mb
01:09:08 - Total length: 93.826667 minutes
01:09:08 - *********************
01:09:08 - * Encoding Video... *
01:09:08 - *********************
01:09:08 - Average Bitrate: 6246.525144 kbps
01:09:08 - This movie video has already been encoded.
01:09:08 - ********************
01:09:08 - * Audio extraction *
01:09:08 - ********************
01:09:08 - Audio Extraction Already done: skipping
01:09:08 - ---------------------------------------
01:09:08 - ********************************
01:09:08 - * Initiating audio encoding... *
01:09:08 - ********************************
01:09:08 - Processing Movie 0:C:\film\night1.avi+
01:09:08 - ------------------
01:09:08 - Audio for this movie has already been encoded. Skipping...
01:09:09 - Renaming movie 0 files to its final name...
01:09:09 - Muxing audio, video and subs...
01:09:09 - Processing Movie 0
01:09:09 - This movie has already been muxed.
01:09:09 - ****************************
01:09:09 - * Initiating authoring ... *
01:09:09 - ****************************
01:09:09 - creating dvdauthor xml file...
01:09:09 - Author using DVDAuthor. Command-line:
01:09:09 - dvdauthor\dvdauthor.exe -x "C:\Program Files\DIKO\Temp\dvd.xml"
01:09:09 -
01:09:09 - Removing temporary muxed files
01:09:09 - Creating image for burning using mkisofs... Command-line:
01:09:09 - "dvdauthor\mkisofs.exe" -dvd-video -V "MOVIES" -o "C:\Program Files\DIKO\Temp\disc.iso" "C:\Program Files\DIKO\Temp\author"
01:09:09 -
Hmmmmm....
So what is recommended software to break audio from video, separatelly work with them, after that put it together to try to encode it with DIKO. DIKO is great software when works, especially as it is free (thank you vmesquita), but when it has problems, it has REAL problems)))))
Regards.
This is issue. My stand alone DVD player can play MPG files, so I can only conver AVI to MPG without problems and wach it on player. But, when DVD plays MPG files it shows annoying timer on upper left corner. That is only reason to convert AVI to DVD. If there is not that timer, I would wach MPG files on DVD without problems, and not trying to convert AVI to DVD...
I am not shure if audio/video sync goes graduatly off or in one point, because it happens in first few seconds of movie, and it seems that lag is constant. But I am not shure...
Thanks for all help I will try all suggestions. -
Originally Posted by hrsdo"Art is making something out of nothing and selling it." - Frank Zappa
-
Well, basically yes. Never the less, something to play with in long winter nights...
-
I read through this thread pretty quick like so excuse me if this was mentioned and I just missed it but to offer help here I would need to know:
1.) Framerate of the original AVI (since you said NTSC it must be either 23.976fps or 29.970fps) and frame size wouldn't hurt either so less important.
2.) What type of audio ... MP3 or AC-3 or something else?
If the framerate is 23.976fps then conversion to 25fps PAL is fairly simple and I will be happy to explain but please answer these 2 questions first.
- John "FulciLives" Coleman"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
Similar Threads
-
Converting VFR FLV (H264/AAC) to AVI (other) w/o sync issue
By kwondra34 in forum Video Streaming DownloadingReplies: 43Last Post: 11th Apr 2012, 00:54 -
Quicktime to AVI sync issue
By peter tron in forum Video ConversionReplies: 20Last Post: 4th Jan 2012, 16:50 -
FLV to DVD sync issue
By littleroot in forum Video ConversionReplies: 8Last Post: 6th Nov 2010, 21:36 -
Avi to DVD and Audio Sync Issue
By macbuz in forum MacReplies: 21Last Post: 11th Jan 2009, 19:04 -
MKV to AVI, audio sync issue, not on PC, but on HDD media player
By danowat in forum Video ConversionReplies: 1Last Post: 12th Nov 2008, 04:53