MKV Sound out of sync!

Download and discuss official beta builds here

MKV Sound out of sync!

Postby gate1975mlm » Sat Jun 26, 2010 2:08 pm

Hello I have a MKV file and the sound is always out of sync when playing it on my PS3 with my Denon home stereo.

I attached the debug file.

Also here is the MKV file info.

Code: Select all
General
Complete name                    : G:\Movies For PS3\Chloe.mkv
Format                           : Matroska
File size                        : 4.37 GiB
Duration                         : 1h 36mn
Overall bit rate                 : 6 515 Kbps
Encoded date                     : UTC 2010-05-04 13:44:58
Writing application              : mkvmerge v2.5.3 ('Boogie') built on Mar  7 2009 15:00:41
Writing library                  : libebml v0.7.7 + libmatroska v0.8.1

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 8 frames
Muxing mode                      : Container profile=Unknown@4.1
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 1h 36mn
Bit rate                         : 4 876 Kbps
Nominal bit rate                 : 5 061 Kbps
Width                            : 1 280 pixels
Height                           : 720 pixels
Display aspect ratio             : 16:9
Frame rate                       : 24.000 fps
Resolution                       : 8 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.220
Stream size                      : 3.27 GiB (75%)
Title                            : Chloe.2009.BluRay.720p.DTS.x264-CHD
Writing library                  : x264 core 88 r1471 1144615
Encoding settings                : cabac=1 / ref=8 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.05:0.10 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=2 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / mbaff=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / wpredp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=5061 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=50000 / ip_ratio=1.40 / aq=1:0.60
Language                         : English

Audio
ID                               : 2
Format                           : DTS
Format/Info                      : Digital Theater Systems
Codec ID                         : A_DTS
Duration                         : 1h 36mn
Bit rate mode                    : Constant
Bit rate                         : 1 510 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Resolution                       : 24 bits
Stream size                      : 1.01 GiB (23%)
Title                            : DTS 5.1CH 1536Kbps
Language                         : English


I am running the latest beta 1.20.409

I really hope this can be fixed.
Attachments
debug.zip
(35.55 KiB) Downloaded 132 times
gate1975mlm
 
Posts: 152
Joined: Mon Jan 19, 2009 3:40 am

Re: MKV Sound out of sync!

Postby devildog93 » Sat Jun 26, 2010 4:10 pm

With MEncoder engine try

* A/V sync alternative method: If video and audio get out of sync disabling this might help.

OR

* force framerate parsed from ffmpeg: If framerate isn’t recognized correctly (video is running too fast/slow) change this setting.

With tsMuxer engine, try checking, or unchecking "force framerate parsed from FFMpeg"


If you are using either "DTS/FLAC remux" or "Keep DTS in stream" depending on what your receiver is compatible with, you could try and uncheck them and see if it helps. It is possible the increase in network traffic that both these produce causes your network traffic to spike and this can sometimes cause out of sync issues. These choices may decrease the work your CPU has to do, but increase the data traversing the network.

I also enable "HTTP Engine V2"
According to guide (viewtopic.php?f=6&t=3507#p15408), it may help with network traffic.
On the other hand, if you use PMSencoder for web streaming, disabling "HTTP Engine V2" seems to decrease video population time in virtual folder as well as "wait-time" for playback.
User avatar
devildog93
 
Posts: 1301
Joined: Fri Mar 19, 2010 8:37 pm

Re: MKV Sound out of sync!

Postby gate1975mlm » Sat Jun 26, 2010 4:53 pm

I tried all the following and none worked.

A/V sync alternative method
unchecked "force framerate parsed from FFMpeg"
Unchecked "DTS/FLAC remux"

When playing this file on my PC the sound is in sync without any issues.

Also I redownloaded the same movie but from a different site and that one does not have any sync issues at all.

The strange thing is both files appear to be the same.

Here is info for the MKV without any sync issue.

Code: Select all
General
Complete name                    : C:\Users\Administrator-User\Desktop\Chloe.mkv
Format                           : Matroska
File size                        : 4.38 GiB
Duration                         : 1h 36mn
Overall bit rate                 : 6 521 Kbps
Encoded date                     : UTC 2010-06-25 14:21:38
Writing application              : mkvmerge v3.2.0 ('Beginnings') built on Feb 12 2010 16:46:17
Writing library                  : libebml v0.7.9 + libmatroska v0.8.1

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L3.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 5 frames
Muxing mode                      : Container profile=Unknown@3.1
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 1h 36mn
Bit rate                         : 5 014 Kbps
Width                            : 1 280 pixels
Height                           : 688 pixels
Display aspect ratio             : 1.860
Frame rate                       : 23.976 fps
Resolution                       : 8 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.237
Stream size                      : 3.28 GiB (75%)
Writing library                  : x264 core 100 r1659 57b2e56
Encoding settings                : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=5014 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language                         : English

Audio
ID                               : 2
Format                           : DTS
Format/Info                      : Digital Theater Systems
Codec ID                         : A_DTS
Duration                         : 1h 36mn
Bit rate mode                    : Constant
Bit rate                         : 1 510 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Resolution                       : 24 bits
Stream size                      : 1.01 GiB (23%)

Text
ID                               : 3
Format                           : UTF-8
Codec ID                         : S_TEXT/UTF8
Codec ID/Info                    : UTF-8 Plain Text


Do you see any difference betwwen this MKV and the other one in my first post?

Why would the one in my first post have a sync issue and this one does not?
gate1975mlm
 
Posts: 152
Joined: Mon Jan 19, 2009 3:40 am

Re: MKV Sound out of sync!

Postby devildog93 » Sat Jun 26, 2010 11:47 pm

I am not educated to say what is DEFINITELY the problem, but from what I have read

Re - Frame counts of 5 or higher ? can create problems with some playback. I notice the video giving you sync issues has a count of 8

Don't quote me on this as I have seen it both ways, meaning, I have had vids work with 8 re-frame count, and others not.


Video codecs are really tricky, and quite complicated.

Seeing that you are using MKV's and it seems to only be the one video, and you have tried all suggestions, you could try this:

1) try other engines

2) Download Mkv2Vob and install .............. http://www.mkv2vob.com/showthread.php?tid=1
Add the problem MKV
Start the transcode/remux

Watch the column {transcode} It will state what is being done to the video to make it into a PS3 playable file.
It will probably say (re - frames) or something like that. That answers what is giving the problem.
If you notice the progress bar moving along quite fast, just let it finish doing what it has to then you will have a PS3 compatible file when done.
Generally it doesn't take Mkv2Vob too long to do the "conversion", usually only if subs are hard coded and the video has to be completely re-encoded.

Another way is learning AviSynth scripting and maybe you can make AviSynth/MEncoder engine work for you. I have no idea how to do that, nor am I interested in doing so as the vast majority of my video media plays back fine, but searching the forums might help you with that.
User avatar
devildog93
 
Posts: 1301
Joined: Fri Mar 19, 2010 8:37 pm


Return to Beta Builds

Who is online

Users browsing this forum: No registered users and 2 guests