error with 2.0 ac3 surround sound audio

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
tennisbgc
Posts: 19
Joined: Fri Feb 11, 2011 7:07 am

error with 2.0 ac3 surround sound audio

Post by tennisbgc »

Using build svn4897 handbrake fails when I try to encode the commentary track which is 2 channel ac3 sourround sound. if I don't add that track it encodes fine. The source Im using is a full bluray bdmv folder.

Code: Select all

HandBrake svn4897 2012081101
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i7-2960XM CPU @ 2.70GHz
Ram: 4077 MB, Screen: 1600x900
Temp Dir: C:\Users\workoutbgc\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\workoutbgc\AppData\Roaming\HandBrake\HandBrake\0.9.8.4895

-------------------------------------------

CLI Query:  -i "C:\Users\workoutbgc\Videos\BOURNE_SUPREM" -t 1 --angle 1 -c 1-25 -o "C:\Users\workoutbgc\Videos\BOURNE_SUPREM\Bourne Suprem 1.mkv"  -f mkv  --decomb -w 1920 --crop 0:0:0:0 --loose-anamorphic  --modulus 2 -e x264 -q 20 --cfr -a 1,2,5 -E faac,copy,faac -6 dpl2,auto,dpl2 -R Auto,Auto,48 -B 128,0,128 -D 0,0,0 --gain 0,0,0 --audio-copy-mask dtshd --audio-fallback ffac3 --subtitle 1 --subtitle-default=1 --markers="C:\Users\workoutbgc\AppData\Local\Temp\Bourne Suprem 1-1-chapters.csv" -x b-adapt=2:rc-lookahead=50 --verbose=1
User Query: False

[11:43:38] hb_init: starting libhb thread
HandBrake svn4897 (2012081101) - MinGW x86_64 - http://handbrake.fr
8 CPUs detected
Opening C:\Users\workoutbgc\Videos\BOURNE_SUPREM...
[11:43:38] hb_scan: path=C:\Users\workoutbgc\Videos\BOURNE_SUPREM, title_index=1
[11:43:38] scan: BD has 66 title(s)
[11:43:38] bd: scanning title 1
[11:43:38] bd: playlist 00000.MPLS
[11:43:38] bd: duration is 01:48:31 (6511505 ms)
[11:43:38] bd: video id=0x1011, stream type=VC-1, format 1080p
[11:43:38] bd: aspect = 1.77778
[11:43:38] bd: audio id=0x711100, lang=English (DTS), 3cc=eng
[11:43:38] bd: audio id=0x1100, lang=English (DTS-HD MA), 3cc=eng
[11:43:38] bd: audio id=0x1101, lang=Espanol (DTS), 3cc=spa
[11:43:38] bd: audio id=0x1102, lang=Francais (DTS), 3cc=fra
[11:43:38] bd: audio id=0x1103, lang=English (AC3), 3cc=eng
[11:43:38] bd: subtitle id=0x1200, lang=English, 3cc=eng
[11:43:38] bd: subtitle id=0x1201, lang=Espanol, 3cc=spa
[11:43:38] bd: subtitle id=0x1202, lang=Francais, 3cc=fra
[11:43:38] bd: subtitle id=0x1203, lang=Espanol, 3cc=spa
[11:43:38] bd: subtitle id=0x1204, lang=Francais, 3cc=fra
[11:43:38] bd: chap 1 packet=768, 271771 ms
[11:43:38] bd: chap 2 packet=1210149696, 314022 ms
[11:43:38] bd: chap 3 packet=2713621440, 338546 ms
[11:43:38] bd: chap 4 packet=4472337408, 398481 ms
[11:43:38] bd: chap 5 packet=6487962816, 92801 ms
[11:43:38] bd: chap 6 packet=6952897152, 338421 ms
[11:43:38] bd: chap 7 packet=8645734848, 360276 ms
[11:43:38] bd: chap 8 packet=10444512768, 171921 ms
[11:43:38] bd: chap 9 packet=11321632128, 412495 ms
[11:43:38] bd: chap 10 packet=13406016000, 182557 ms
[11:43:38] bd: chap 11 packet=14342572032, 291124 ms
[11:43:38] bd: chap 12 packet=15780394752, 154612 ms
[11:43:38] bd: chap 13 packet=16582053504, 335752 ms
[11:43:38] bd: chap 14 packet=18216145344, 97514 ms
[11:43:38] bd: chap 15 packet=18669192768, 252252 ms
[11:43:38] bd: chap 16 packet=19790827584, 421587 ms
[11:43:38] bd: chap 17 packet=21879242496, 259717 ms
[11:43:38] bd: chap 18 packet=23066831424, 399190 ms
[11:43:38] bd: chap 19 packet=25065405888, 170336 ms
[11:43:38] bd: chap 20 packet=25939341504, 323489 ms
[11:43:38] bd: chap 21 packet=27611886144, 104687 ms
[11:43:38] bd: chap 22 packet=28133355648, 323781 ms
[11:43:38] bd: chap 23 packet=29736803328, 105688 ms
[11:43:38] bd: chap 24 packet=30253358208, 390223 ms
[11:43:38] bd: chap 25 packet=31365140160, 250 ms
[11:43:38] bd: title 1 has 25 chapters
[11:43:38] scan: decoding previews for title 1
[11:43:38] scan: title angle(s) 1
[11:43:38] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[11:43:38] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1536000 English (DTS-HD MA) (5.1 ch)
[11:43:38] scan: audio 0x1101: dca, rate=48000Hz, bitrate=768000 Espanol (DTS) (5.1 ch)
[11:43:38] scan: audio 0x1102: dca, rate=48000Hz, bitrate=768000 Francais (DTS) (5.1 ch)
[11:43:38] scan: audio 0x1103: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
Scanning title 1...
Scanning title 1...
[11:43:38] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 132/132/0/0, aspect 16:9, PAR 1:1
[11:43:38] stream: 5 good frames, 0 errors (0%)
[11:43:38] scan: title (0) job->width:1920, job->height:816
[11:43:38] libhb: scan thread found 1 valid title(s)
+ title 1:
  + playlist: 00000.MPLS
  + duration: 01:48:31
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 132/132/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:04:32
    + 2: cells 0->0, 0 blocks, duration 00:05:14
    + 3: cells 0->0, 0 blocks, duration 00:05:39
    + 4: cells 0->0, 0 blocks, duration 00:06:38
    + 5: cells 0->0, 0 blocks, duration 00:01:33
    + 6: cells 0->0, 0 blocks, duration 00:05:38
    + 7: cells 0->0, 0 blocks, duration 00:06:00
    + 8: cells 0->0, 0 blocks, duration 00:02:52
    + 9: cells 0->0, 0 blocks, duration 00:06:52
    + 10: cells 0->0, 0 blocks, duration 00:03:03
    + 11: cells 0->0, 0 blocks, duration 00:04:51
    + 12: cells 0->0, 0 blocks, duration 00:02:35
    + 13: cells 0->0, 0 blocks, duration 00:05:36
    + 14: cells 0->0, 0 blocks, duration 00:01:38
    + 15: cells 0->0, 0 blocks, duration 00:04:12
    + 16: cells 0->0, 0 blocks, duration 00:07:02
    + 17: cells 0->0, 0 blocks, duration 00:04:20
    + 18: cells 0->0, 0 blocks, duration 00:06:39
    + 19: cells 0->0, 0 blocks, duration 00:02:50
    + 20: cells 0->0, 0 blocks, duration 00:05:23
    + 21: cells 0->0, 0 blocks, duration 00:01:45
    + 22: cells 0->0, 0 blocks, duration 00:05:24
    + 23: cells 0->0, 0 blocks, duration 00:01:46
    + 24: cells 0->0, 0 blocks, duration 00:06:30
    + 25: cells 0->0, 0 blocks, duration 00:00:00
  + audio tracks:
    + 1, English (DTS) (5.1 ch) (iso639-2: eng), 48000Hz, 1536000bps
    + 2, English (DTS-HD MA) (5.1 ch) (iso639-2: eng)
    + 3, Espanol (DTS) (5.1 ch) (iso639-2: spa), 48000Hz, 768000bps
    + 4, Francais (DTS) (5.1 ch) (iso639-2: fra), 48000Hz, 768000bps
    + 5, English (AC3) (Dolby Surround) (iso639-2: eng), 48000Hz, 192000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(PGS)
    + 2, Espanol (iso639-2: spa) (Bitmap)(PGS)
    + 3, Francais (iso639-2: fra) (Bitmap)(PGS)
    + 4, Espanol (iso639-2: spa) (Bitmap)(PGS)
    + 5, Francais (iso639-2: fra) (Bitmap)(PGS)
Reading chapter markers from file C:\Users\workoutbgc\AppData\Local\Temp\Bourne Suprem 1-1-chapters.csv
[11:43:38] 1 job(s) to process
[11:43:38] starting job
[11:43:38] yadif thread started for segment 0
[11:43:38] yadif thread started for segment 1
[11:43:38] yadif thread started for segment 2
[11:43:38] yadif thread started for segment 3
[11:43:38] yadif thread started for segment 4
[11:43:38] yadif thread started for segment 5
[11:43:38] yadif thread started for segment 6
[11:43:38] yadif thread started for segment 7
[11:43:38] decomb thread started for segment 0
[11:43:38] decomb thread started for segment 1
[11:43:38] decomb thread started for segment 2
[11:43:38] decomb thread started for segment 3
[11:43:38] decomb thread started for segment 4
[11:43:38] decomb thread started for segment 5
[11:43:38] decomb thread started for segment 6
[11:43:38] decomb thread started for segment 7
[11:43:38] Auto Passthru: allowed codecs are DTS-HD
[11:43:38] Auto Passthru: fallback is AC3 (ffmpeg)
[11:43:38] Auto Passthru: using DTS-HD Passthru for track 2
[11:43:38] work: sanitizing track 3 mixdown Dolby Pro Logic II to Dolby Surround
[11:43:38] sync: expecting 156120 video frames
[11:43:38] job configuration:
[11:43:38]  * source
[11:43:38]    + C:\Users\workoutbgc\Videos\BOURNE_SUPREM
[11:43:38]    + title 1, chapter(s) 1 to 25
[11:43:38]  * destination
[11:43:38]    + C:\Users\workoutbgc\Videos\BOURNE_SUPREM\Bourne Suprem 1.mkv
[11:43:38]    + container: Matroska (.mkv)
[11:43:38]      + chapter markers
[11:43:38]  * video track
[11:43:38]    + decoder: vc1
[11:43:38]      + bitrate 200 kbps
[11:43:38]    + frame rate: 23.976 fps -> constant 23.976 fps
[11:43:38]    + filters
[11:43:38]      + Decomb (default settings)
[11:43:38]      + Framerate Shaper (1:27000000:1126125)
[11:43:38]        + frame rate: 23.976 fps -> constant 23.976 fps
[11:43:38]      + Crop and Scale (1920:1080:0:0:0:0)
[11:43:38]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[11:43:38]    + loose anamorphic
[11:43:38]      + storage dimensions: 1920 * 1080, mod 2
[11:43:38]      + pixel aspect ratio: 1 / 1
[11:43:38]      + display dimensions: 1920 * 1080
[11:43:38]    + encoder: H.264 (x264)
[11:43:38]      + options: b-adapt=2:rc-lookahead=50
[11:43:38]      + quality: 20.00 (RF)
[11:43:38]  * subtitle track 1, English (track 0, id 0x1200) Picture [PGS] -> Passthrough, Default
[11:43:38]  * audio track 1
[11:43:38]    + decoder: English (DTS) (5.1 ch) (track 1, id 0x711100)
[11:43:38]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[11:43:38]    + mixdown: Dolby Pro Logic II
[11:43:38]    + encoder: AAC (faac)
[11:43:38]      + bitrate: 128 kbps, samplerate: 48000 Hz
[11:43:38]  * audio track 2
[11:43:38]    + decoder: English (DTS-HD MA) (5.1 ch) (track 2, id 0x1100)
[11:43:38]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[11:43:38]    + DTS-HD Passthru
[11:43:38]  * audio track 3
[11:43:38]    + decoder: English (AC3) (Dolby Surround) (track 5, id 0x1103)
[11:43:38]      + bitrate: 192 kbps, samplerate: 48000 Hz
[11:43:38]    + mixdown: Dolby Surround
[11:43:38]    + encoder: AAC (faac)
[11:43:38]      + bitrate: 128 kbps, samplerate: 48000 Hz
[11:43:38] encx264: min-keyint: 24, keyint: 240
[11:43:38] encx264: encoding with stored aspect 1/1
[11:43:38] encx264: Encoding at constant RF 20.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264 [info]: profile High, level 4.0
[11:43:38] reader: first SCR 1044806 id 0x1011 DTS 1044806
[11:43:38] vc1: "Chapter 1" (1) at frame 0 time 3754
[11:43:39] sync: first pts is 3754
Last edited by Anonymous on Wed Aug 15, 2012 4:20 pm, edited 1 time in total.
Reason: Logs should be placed in between [code] [/code] blocks
mithrandir
Enlightened
Posts: 101
Joined: Sun Nov 30, 2008 2:24 pm

Re: error with 2.0 ac3 surround sound audio

Post by mithrandir »

I've been experiencing the same issue and we've been trying to diagnose the root cause in this thread:

viewtopic.php?f=12&t=25003
Deleted User 11865

Re: error with 2.0 ac3 surround sound audio

Post by Deleted User 11865 »

So it just crashes?

I think this should be fixed in the next nightly build: https://trac.handbrake.fr/changeset/4903
mithrandir
Enlightened
Posts: 101
Joined: Sun Nov 30, 2008 2:24 pm

Re: error with 2.0 ac3 surround sound audio

Post by mithrandir »

It's a "soft" crash, if you want to call it that.

The encode process starts, the output file is created, but within say 10 seconds, the encode process stops suddenly, the GUI displays "Queue Completed" or "Encode Complete" on the status bar (no error message) and you're left with both a 4KB video file and a log file where the last line reads "sync: first pts is [some number]".

And then sometimes (but not always) all you have to do is click "Start" again, say "yes" to overwrite existing file and the encode process will start and finish as desired.

But I will try the 4903 build when jenkins produces it tomorrow.
tennisbgc
Posts: 19
Joined: Fri Feb 11, 2011 7:07 am

Re: error with 2.0 ac3 surround sound audio

Post by tennisbgc »

Actually I did bourne identity before this one and it actually finished but the commentary track was blank.I could of swarn I did a bluray awhile back with one of the nightly builds and this type of audio track encoded ok. Hope the new one will work.
mithrandir
Enlightened
Posts: 101
Joined: Sun Nov 30, 2008 2:24 pm

Re: error with 2.0 ac3 surround sound audio

Post by mithrandir »

Try the latest nightly, SVN 4907. It fixes this problem for 2 different sources of mine.
Post Reply