Audio Drifting

Hello fellas, today I had my frist handbrake encoded movie that has the audio (5.1 AC3) drifting on the WD TV Live’s optical output. I have not checked if this is happening on the analog stereo outputs yet.

I used the latest handbrake official release, matroska container, high profile, kept the same framerate as the source (DVD), which according to media info is 25 fps.

On my computer, VLC plays the file without problems, so there must be something going on with the WD TV Live Plus.

Another note, If I push the rewind button and playback afterwards the audio gets in sync, and after a couple of minutes it will drift again, which makes me think its not a fps missmatch issue, otherwise this wouldn’t be possible.

I have the Beta firmware installed.

Has anyone experienced this issue? This is the first time for me, didn’t do anything different on handbreak’s side than what I usually do…

Thanks in advance!

First, do NOT use HB 0.9.4.   If you are, try upgrading to a nightly build instead.

(   0.9.4 gave me all kinds of fits with content that was VARIABLE framerate, and there’s a surprising amount of that out there.

If that alone doesn’t resolve your issue, then in Handbrake, select a SPECIFIC framerate instead of Same-as-Source.

Here’s the media info:

Complete name                    : G:\Movies\Adults\As Good As it Gets (1997)\As Good As It Gets.mkv
Format                           : Matroska
File size                        : 1.42 GiB
Duration                         : 2h 12mn
Overall bit rate                 : 1 526 Kbps
Writing application              : HandBrake 0.9.4

ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L3.0
Format settings, CABAC           : Yes
Format settings, ReFrames        : 3 frames
Muxing mode                      : Container profile=Unknown@3.0
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 2h 12mn
Bit rate                         : 1 111 Kbps
Width                            : 720 pixels
Height                           : 560 pixels
Display aspect ratio             : 16:9
Original display aspect ratio    : 16:9
Frame rate                       : 25.000 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.110
Stream size                      : 1.03 GiB (73%)
Writing library                  : x264 core 79
Encoding settings                : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=1 / mbaff=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=1 / wpredb=1 / wpredp=2 / keyint=250 / keyint_min=25 / scenecut=40 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                         : English
Color primaries                  : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Transfer characteristics         : BT.709-5, BT.1361
Matrix coefficients              : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M

ID                               : 2
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Codec ID                         : A_AC3
Duration                         : 2h 12mn
Bit rate mode                    : Constant
Bit rate                         : 384 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Stream size                      : 365 MiB (25%)
Language                         : English

ID                               : 3
Format                           : VobSub
Codec ID                         : S_VOBSUB
Codec ID/Info                    : The same subtitle format used on DVDs
Language                         : English

That FPS for that particular movie is odd – why wouldn’t it be 23.97 as it is for all other films? 

I actually have never gotten around to encoding that film (I own it only on DVD and have been converting almost exclusively my blu-ray collection).  Maybe I’ll dig it up and see what the frame rate is for me.

In PAL Land, 25fps is the norm for lots of stuff.

For movies?  Why would that be the case?  It’s not like it’s 29.97 (which would be the NTSC norm).

If it’s a PAL issue then I would try not using “Use Original Framerate” but force a framerate.

My understanding is that ALL PAL DVDs are 25fps.

That’s why PAL has a 4% audio pitch increase; they just play 24fps material 4% faster to get to 25fps.

Well, that would play havoc with any audio sync stuff – I can see why Handbrake could get confused.

I’d try forcing the frame rate as I said – might even have to remux the container’s audio tracks separately (IOW, after running Handbrake go back and add the audio tracks back in on their own).