.MOV to Xvid audio failure

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
DesmondVT
Posts: 2
Joined: Mon Dec 08, 2008 11:55 am

.MOV to Xvid audio failure

Post by DesmondVT » Mon Dec 08, 2008 12:12 pm

I record home videos using a compact digital camera that encodes to .MOV QuickTime files. I've been using a utility called MPEGtoAVI to convert and compress these videos for sometime, however that app is prone to crashes and the video quality is not great. I'd love to use Handbrake for this work, but an issue with audio output is vexing me. Specifically, when I try to encode to xvid, the resulting video (which looks great) produces a couple loud pops/noises and then simply plays silently. Again, good video, essentially no audio.

Based on a review of the log, it seems this digicam encodes to mono audio. Could this be the problem? The Handbrake log says, and I quote:
[07:02:24] ERROR - can't use lame mp3 audio output with mono audio stream 1 - output will be messed up
[07:02:24] work: sanitizing track 0 mixdown Dolby Pro Logic II to Stereo

I've tried encoding to AAC audio. That eliminates the pops, but results in just silence. No audio at all. Any thoughts on how I might work around this issue? I'm new to Handbrake (have used AVI.NET for DVD rips, assorted other mission-specific converters) and would love to move my work over to this promising looking utility. Below is the activity log. Thanks for any insight people can provide! DTV

[07:02:24] hb_init: checking cpu count
[07:02:24] hb_init: starting libhb thread
HandBrake 0.9.3 (2008112300) - http://handbrake.fr/
2 CPUs detected
Opening C:\Documents and Settings\HP_Administrator\My Documents\My Pictures\2008\2008.12\P1040556.MOV...
[07:02:24] hb_scan: path=C:\Documents and Settings\HP_Administrator\My Documents\My Pictures\2008\2008.12\P1040556.MOV, title_index=1
[07:02:24] scan: trying to open with libdvdread
[07:02:24] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Documents and Settings\HP_Administrator\My Documents\My Pictures\2008\2008.12\P1040556.MOV':
Duration: 00:00:11.00, start: 0.000000, bitrate: 11457 kb/s
Stream #0.0(eng): Video: mjpeg, yuvj420p, 640x480, 30.00 tb(r)
Stream #0.1(eng): Audio: pcm_u8, 8000 Hz, mono, s16, 64 kb/s
[07:02:24] scan: decoding previews for title 1
[07:02:24] scan: 10 previews, 640x480, 30.000 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[07:02:24] scan: title (0) job->width:640, job->height:480
[07:02:24] libhb: scan thread found 1 valid title(s)
+ title 1:
+ vts 0, ttn 0, cells 0->0 (0 blocks)
+ duration: 00:00:11
+ size: 640x480, aspect: 1.33, 30.000 fps
+ autocrop: 0/0/0/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:00:11
+ audio tracks:
+ 1, English (PCM_U8)
+ subtitle tracks:
Invalid sample rate 0, using input rate 8000
[07:02:24] 1 job(s) to process
[07:02:24] starting job
[07:02:24] ERROR - can't use lame mp3 audio output with mono audio stream 1 - output will be messed up
[07:02:24] work: sanitizing track 0 mixdown Dolby Pro Logic II to Stereo
[07:02:24] job configuration:
[07:02:24] * source
[07:02:24] + C:\Documents and Settings\HP_Administrator\My Documents\My Pictures\2008\2008.12\P1040556.MOV
[07:02:24] + title 1, chapter(s) 1 to 1
[07:02:24] + container: mov,mp4,m4a,3gp,3g2,mj2
[07:02:24] + data rate: 11457 kbps
[07:02:24] * destination
[07:02:24] + C:\Documents and Settings\HP_Administrator\My Documents\My Pictures\2008\2008.12\P1040556-mp3.avi
[07:02:24] + container: AVI
[07:02:24] * video track
[07:02:24] + decoder: mjpeg
[07:02:24] + frame rate: same as source (around 30.000 fps)
[07:02:24] + strict anamorphic
[07:02:24] + storage dimensions: 640 * 480 -> 640 * 480, crop 0/0/0/0
[07:02:24] + pixel aspect ratio: 1 / 1
[07:02:24] + display dimensions: 640 * 480
[07:02:24] + encoder: XviD
[07:02:24] + quality: 0.80
[07:02:24] * audio track 0
[07:02:24] + decoder: English (PCM_U8) (track 1, id 1)
[07:02:24] + mixdown: Stereo
[07:02:24] + encoder: lame
[07:02:24] + bitrate: 128 kbps, samplerate: 8000 Hz
[07:02:24] dvd: not a dvd - trying as a stream/file instead
[07:02:24] encxvid: encoding at constant quantizer 6
[07:02:25] enclame: opening libmp3lame
[07:02:25] reader: first SCR 0
[07:02:25] muxavi: opening C:\Documents and Settings\HP_Administrator\My Documents\My Pictures\2008\2008.12\P1040556-mp3.avi
[07:02:25] sync: expecting 360 video frames
[07:02:25] sync: adding 500 ms of silence to audio 0 start 45000, next 0
[07:02:25] sync: audio 0 time went backwards 0 ms, dropped 1 frames (next 51840, current 51840)
[07:02:25] sync: adding 250 ms of silence to audio 0 start 135000, next 112500
[07:02:25] sync: adding 308 ms of silence to audio 0 start 180000, next 152280
[07:02:25] sync: adding 250 ms of silence to audio 0 start 225000, next 202500
[07:02:25] sync: adding 308 ms of silence to audio 0 start 270000, next 242280
[07:02:25] sync: adding 250 ms of silence to audio 0 start 315000, next 292500
[07:02:25] sync: adding 308 ms of silence to audio 0 start 360000, next 332280
[07:02:25] sync: adding 250 ms of silence to audio 0 start 405000, next 382500
[07:02:25] sync: adding 308 ms of silence to audio 0 start 450000, next 422280
[07:02:25] sync: adding 250 ms of silence to audio 0 start 495000, next 472500
[07:02:25] sync: adding 308 ms of silence to audio 0 start 540000, next 512280
[07:02:25] sync: adding 250 ms of silence to audio 0 start 585000, next 562500
[07:02:25] sync: adding 308 ms of silence to audio 0 start 630000, next 602280
[07:02:25] sync: audio 0 time went backwards 0 ms, dropped 1 frames (next 636840, current 636840)
[07:02:25] sync: adding 250 ms of silence to audio 0 start 720000, next 697500
[07:02:25] sync: adding 308 ms of silence to audio 0 start 765000, next 737280
[07:02:25] sync: adding 250 ms of silence to audio 0 start 810000, next 787500
[07:02:25] sync: adding 308 ms of silence to audio 0 start 855000, next 827280
[07:02:25] sync: adding 250 ms of silence to audio 0 start 900000, next 877500
[07:02:25] sync: adding 308 ms of silence to audio 0 start 945000, next 917280
[07:02:25] reader: done. 1 scr changes

DesmondVT
Posts: 2
Joined: Mon Dec 08, 2008 11:55 am

Re: .MOV to Xvid audio failure

Post by DesmondVT » Mon Dec 08, 2008 1:55 pm

Not to bump my own thread, but it looks like this issue (and a possible fix in progress) are addressed in the Mac support forum, here:
http://forum.handbrake.fr/viewtopic.php?f=5&t=7779

Looks like the problem is with HB's inability to support 8-bit audio.

DVT

TedJ
Veteran User
Posts: 5388
Joined: Wed Feb 20, 2008 11:25 pm

Re: .MOV to Xvid audio failure

Post by TedJ » Tue Dec 09, 2008 1:06 am

Quite correct, a fix for this problem was recently checked into SVN and will be included in the next development snapshot.

...and before you ask, it should be happening Real Soon Now(tm). :)

Post Reply