Hi. Im using mkv2vob for a spanish movie I have. I try to mux it or whatever but the resulting video is out of sync with the audio. The original plays just fine though. Ive tried converting the video with Xilisoft HD converter and the same happens....This has NEVER happened to me with any other movie before either. I do this pretty regularly.... please help :-(
I've seen it before - sometimes the MKV has an audio delay that isn't transferred when it encoded. Use Avisynth and the delay audio function: http://avisynth.org/mediawiki/DelayAudio
Wait sorry im a bit confused. Do I o that to the resulting video or do I do that to the MKV. Cause it only shows the lag in the resulting video....
oh and now I feel like a total noob. I installed AVI synth but how do I go about using it....theres no UI?
Correct .. there's no UI. Create simple scripts in Notepad and save them with a .avs extension. Something to get you going, install AVStoDVD. This product creates the avs script for you and passes it to HCenc to do the encode. The script can be edited and you can manually enter the "delay audio" For example, here is a script generated by AVStoDVD with the last line manually inserted: Import("J:\appz38\AVStoDVD_214_NoInstall\Lib\A2DSource.avsi") Video = A2DVideoSource("J:\media 1\Hey Jude recording session RARE_track2 b.mkv", CacheFolder = "K:\Temp") Video = Video.ConvertToYV12 Video = Video.AddBorders(15,0,15,0) Video = Video.Lanczos4Resize(720,480) Audio = A2DAudioSource("J:\media 1\Hey Jude recording session RARE_track2 b.mkv", CacheFolder = "K:\Temp") Audio = Audio.SSRC(48000) AudioDub(Video, Audio) DelayAudio(0.75) # add this to delay audio 3/4 second
You lose resolution because you going from 1280*720 to 720*480 (720*576 PAL). So you do lose detail. However, if the MKV is good quality, you can get excellent results.
OK got an avs Import("C:\Program Files\AVStoDVD\Lib\A2DSource.avsi") Video = A2DVideoSource("C:\Users\Rico\Desktop\The orphanage\El Orfanato.mpg", CacheFolder = "C:\Users\Rico\AppData\Local\Temp") Video = Video.ConvertToYV12 Video = Video.AddBorders(0,88,0,88) Video = Video.Lanczos4Resize(720,576) Audio = GetChannel(A2DAudioSource("C:\Users\Rico\Desktop\The orphanage\El Orfanato.mpg", CacheFolder = "C:\Users\Rico\AppData\Local\Temp"), 1, 3, 2, 5, 6, 4) AudioDub(Video, Audio) DelayAudio(0.75) What do I do with it now? Thanks
My advice, initially, is to actually use AVStoDVD. (set it up as you want it, check the avs script and press the big START button) It will create the avs file, pass it to the encoder, encode, create the audio (with delay as specified), author, create the video_ts and even burn the disk if you ask it to. (HCenc can't handle the audio so it is done in a separate app. controlled by AVStoDVD) A 2nd option would be to open that avs in an encoder that can do the audio, such as Tmpgenc Xpress. It will create the mpeg-2 file for you. If you use Tmpgenc Authoring Works, it should do the whole thing (including the authoring). In your script below, you have specified an mpg as source. I though you were working from and MKV source? If you have a different process or apps in mind, please clarify.
oh sorry if I haven't been clear. The File: El Orfanato.mkv (SPA/ITA/audio tracks) I used mkv2vob to mux it into mpeg. The mpeg has lag (the source ie mkv does not.) Im trying to make an mpeg file out of the MKV with just the spanish language for my PS3.
I GOT IT!!!!!!! ^_^ Thanks for all your help. Though I actually used a program I already had. I used TsMUXER and opened my original MKV and Chose the Spanish language track and it's actually working. Pleasantly surprised. Thanks for your help ^_^