User User name Password  
   
Wednesday 13.8.2025 / 23:48
Search AfterDawn Forums:        In English   Suomeksi   Pĺ svenska
afterdawn.com > forums > digital video > video - everything else > my newly encoded mkv's audio is out of sync. how can i make it in sync?
Show topics
 
Forums
Forums
My newly encoded mkv's audio is out of sync. how can i make it in sync?
  Jump to:
 
Posted Message
BluRayLvr
Junior Member
_
19. January 2009 @ 20:31 _ Link to this message    Send private message to this user   
hi,

if there is already a thread that discusses this please point me in that direction. anyway on to the problem at hand:

i demuxed the blu-ray movie stream (from the blu-ray i own) i wanted and got the 264 file and AC3 file using TSmuXer. then i used ripbot to make them into a mkv file. it took several hours last night but it worked. but now the mkv when i play it is out of sync with the video and audio half way thru. keep in mind i skipped ahead to find out. but the weird thing is when i play mkv's i downloaded it doesn't get out of sync even when i skip ahead.

here is my specs:

Windows Vista Premium
Intel® Core? 2 Quad CPU @2.40 GHz
2.00 GB RAM
NVIDIA GeForce 8800 GTS
Service Pack 1
32-Bit Operating System
Hard Drive (New Internal I Just Got - The One I Ripped The Files To) - 1.36 TB capacity - 959 GB currently left

i tried playing these files in media player classic. and when i played it in that player i tried changing the priority in task manager higher (heard it worked for someone else on another forum) but that didn't change anything.

My plan is to use these files on my XBOX360 thru TVersity program. I was able to stream mkv's thru that.

please help. thanks in advance! :D
Advertisement
_
__
AfterDawn Addict
_
20. January 2009 @ 15:47 _ Link to this message    Send private message to this user   
If the async is not caused by a slow PC (I cannot play large MKV files) and the async is constant through the movie - play it back with VLC and use the Ctrl-l or Ctrl-k keys to adjust and note the setting where it plays properly (you can play it with MPC and use the keypad + or - keys).

Demux the file with MKVExtract and Mux them with MKVMerge.

In MKVMerge, enter the delay (+ or -) that you read from VLC or MPC.


http://www.videohelp.com/tools/MKVExtractGUI
http://www.videohelp.com/tools/MKVtoolnix


BluRayLvr
Junior Member
_
20. January 2009 @ 19:06 _ Link to this message    Send private message to this user   
Originally posted by attar:
If the async is not caused by a slow PC (I cannot play large MKV files) and the async is constant through the movie - play it back with VLC and use the Ctrl-l or Ctrl-k keys to adjust and note the setting where it plays properly (you can play it with MPC and use the keypad + or - keys).

Demux the file with MKVExtract and Mux them with MKVMerge.

In MKVMerge, enter the delay (+ or -) that you read from VLC or MPC.


http://www.videohelp.com/tools/MKVExtractGUI
http://www.videohelp.com/tools/MKVtoolnix
------

i tried the MPC method of "audio delay" (the keypad + or - keys) and i couldn't get it to work. but i have found further info regarding this problem. here is info i noted from MPC at the moment it happens

Frame-rate 24.38 (1x)
Sync Offset avg: 0ms, dev: 0 ms
Frames drawn: 12385, dropped 949
Jitter -59 ms
Buffers [0]: 201/7678 KB [1]: 201/502 KB (p0)
Bitrate [0]: 887/944 KB/s [1]: 79/80 Kb/s (avg/cur)

(changes)

Frame Rate: 28.091 (83416 us)
Refresh rate: 60 Hz
Buffer USed: 4, free :1
Jitter: Min = -67328us Max
Video Size: 1920 x 1080 (AR=1)
DirectX SDK: 35
DXVA: Not Using DXVA

Mixer output: RGB32

00:17:11-00:17:12 i notice a glitch and a second of video distortion
this where it starts it's audio lag. before this it plays perfectly. now i seem to recall a error of sorts in tsmuxer when making the files. i can't remember what it said unfortunately. but it allowed to make the files regardless. i can try making the rip again and note what it says if need be. but there is a smudge on the blu-ray surface. not deep but could that be the cause? but i just checked and when i play the blu-ray directly on the pc it plays flawlessly at that lag point in the mkv and throughout the entire film. so it may not be the smudge. now that i think of it i think it said missing frames in tsmuxer. what does that mean?

what should i do? should i try ripping another blu-ray of mine and see if this lag problem occurs again?

please let me know anyone. thanks!
BluRayLvr
Junior Member
_
20. January 2009 @ 21:37 _ Link to this message    Send private message to this user   
hey, i got more info. i just demuxed another blu-ray to see if i can figure out the problem in tsmuxer and here is what i saw after i finished demuxing:

SmartLabs tsMuxeR. Version 1.8.8(b) http://www.smlabs.net
Decoding H264 stream (track 1): Profile: High@4.1 Resolution: 1920:1080p Frame rate: 23.976
H.264 muxing fps not set. Get fps from stream.
Decoding TRUE-HD stream (track 2): Bitrate: 640Kbps AC3 core + HD data. Sample Rate: 48KHz Channels: 6
TRUE-HD bad frame detected. Resync stream.
Decoding TRUE-HD stream (track 2): Bitrate: 640Kbps AC3 core + HD data. Sample Rate: 48KHz Channels: 6
TRUE-HD bad frame detected. Resync stream.
Decoding TRUE-HD stream (track 2): Bitrate: 640Kbps AC3 core + HD data. Sample Rate: 48KHz Channels: 6
Processed 181298 video frames
Demux complete.
Demuxing time: 74 min 23 sec

here's what i had it set in options prior to demuxing:

(downconvert TRUE-HD to AC3 option clicked on
Under General -
Mux VBR - on
Use async I/O - clicked on)

i clicked downconvert TRUE-HD to AC3 on cause i am eventually going to run these on xbox360 so that i can play it on my HDTV. i guess there's something set up regarding that that's causing the audio lag in the encoded mkv's.

anyone know what i can do to fix this? thanks!
Advertisement
_
__
 
_
BluRayLvr
Junior Member
_
21. January 2009 @ 01:53 _ Link to this message    Send private message to this user   
never mind. i tried another program called eac3to (latest stable version) and the mkv's i'm making with it are flawless. i use mkvtools to mux the audio afterwards. no audio lag problems. thanks anyway guys.
afterdawn.com > forums > digital video > video - everything else > my newly encoded mkv's audio is out of sync. how can i make it in 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