User User name Password  
   
Friday 17.1.2025 / 23:23
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > archived forums > mpeg-1 and mpeg-2 encoding (avi to dvd) > mkv to vob out of sync :-(
Show topics
 
Forums
Forums
MKV to VOB Out of Sync :-(
  Jump to:
 
Posted Message
Shinraboy
Member
_
27. May 2009 @ 21:18 _ Link to this message    Send private message to this user   
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 :-(
Advertisement
_
__
Senior Member
_
27. May 2009 @ 22:27 _ Link to this message    Send private message to this user   
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
Shinraboy
Member
_
28. May 2009 @ 12:28 _ Link to this message    Send private message to this user   
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....
Shinraboy
Member
_
28. May 2009 @ 12:32 _ Link to this message    Send private message to this user   
oh and now I feel like a total noob. I installed AVI synth but how do I go about using it....theres no UI?
Senior Member
_
28. May 2009 @ 13:06 _ Link to this message    Send private message to this user   
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
Shinraboy
Member
_
28. May 2009 @ 13:25 _ Link to this message    Send private message to this user   
...

This message has been edited since posting. Last time this message was edited on 28. May 2009 @ 13:52

Senior Member
_
28. May 2009 @ 13:47 _ Link to this message    Send private message to this user   
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.
Shinraboy
Member
_
28. May 2009 @ 13:52 _ Link to this message    Send private message to this user   
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
Senior Member
_
28. May 2009 @ 16:57 _ Link to this message    Send private message to this user   
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.
Shinraboy
Member
_
28. May 2009 @ 17:03 _ Link to this message    Send private message to this user   
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.
Advertisement
_
__
 
_
Shinraboy
Member
_
28. May 2009 @ 17:13 _ Link to this message    Send private message to this user   
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 ^_^
afterdawn.com > forums > archived forums > mpeg-1 and mpeg-2 encoding (avi to dvd) > mkv to vob out of sync :-(
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork