2780 Memory Leak and audio sample rate incorrect

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
mac_man_ad
Regular User
Posts: 75
Joined: Wed Aug 22, 2007 5:21 am

2780 Memory Leak and audio sample rate incorrect

Post by mac_man_ad »

Hi All,

After reading #handbrake and #handbrake-dev logs and not seeing this come up I thought it needed mentioning.

2780 introduces huge memory leaks, incorrect sample output rates with CoreAudio, and files with audio that doesnt play in vlc (1.01) or quicktime (7 or X).
Also other dvds from the same series result in a 1.2GB file, this didnt.

Andrew
Leopard 10.5.8 (also Snow Leop.) iMac C2D 2Ghz, 2.5GB RAM

log:

Code: Select all

HandBrake Activity Log for /Users/andrewdicker/Desktop/tmp tv shows/Gun x Sword v6-4.mkv: 2009-08-28 00:25:39 +1000
Handbrake Version: svn2780 x86_64 (2009082701)

[00:25:38] thread 115c02000 exited ("yadif_filter_segment")
[00:25:38] thread 115c02000 joined ("yadif_filter_segment")
[00:25:38] thread 115c85000 exited ("yadif_filter_segment")
[00:25:38] thread 115c85000 joined ("yadif_filter_segment")
[00:25:38] thread 115dac000 exited ("decomb_filter_segment")
[00:25:38] thread 115dac000 joined ("decomb_filter_segment")
[00:25:38] thread 115e2f000 exited ("decomb_filter_segment")
[00:25:38] thread 115e2f000 joined ("decomb_filter_segment")
[00:25:38] thread 115fb3000 exited ("eedi2_filter_segment")
[00:25:38] thread 115fb3000 joined ("eedi2_filter_segment")
[00:25:38] thread 116036000 exited ("eedi2_filter_segment")
[00:25:38] thread 116036000 joined ("eedi2_filter_segment")
[00:25:38] thread 116228000 exited ("eedi2_filter_segment")
[00:25:38] thread 116228000 joined ("eedi2_filter_segment")
[00:25:38] Freed 3 buffers of size 1024
[00:25:38] Freed 32 buffers of size 2048
[00:25:38] Freed 32 buffers of size 16384
[00:25:38] Freed 3 buffers of size 65536
[00:25:39] Freed 32 buffers of size 1048576
[00:25:39] Allocated 34343936 bytes of buffers on this pass and Freed 34343936 bytes, 0 bytes leaked
[00:25:39] thread 10ddff000 exited ("work")
[00:25:39] thread 10ddff000 joined ("work")
[00:25:39] libhb: work result = 0
[00:25:39] macgui: incrementQueueItemDone currentQueueEncodeIndex is incremented to: 2
[00:25:39] macgui: incrementQueueItemDone currentQueueEncodeIndex is incremented to: 2
[00:25:39] macgui: scanning specifically for title: 4
[00:25:39] macgui: performNewQueueScan currentQueueEncodeIndex is: 2
[00:25:39] hb_scan: path=/Users/andrewdicker/Desktop/tmp tv shows/Gun x Sword v6, title_index=4
[00:25:39] thread 10de4f000 started ("scan")
[00:25:39] scan: trying to open with libdvdread
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/Users/andrewdicker/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
[00:25:39] scan: DVD has 9 title(s)
[00:25:39] scan: scanning title 4
[00:25:39] scan: opening IFO for VTS 4
[00:25:39] pgc_id: 1, pgn: 1: pgc: 0x114c60db0
[00:25:39] scan: vts=4, ttn=1, cells=0->15, blocks=0->1889119, 1889120 blocks
[00:25:39] scan: duration is 01:13:42 (4422200 ms)
[00:25:39] scan: checking audio 1
[00:25:39] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[00:25:39] scan: checking audio 2
[00:25:39] scan: id=89bd, lang=Japanese (DTS), 3cc=jpn ext=0
[00:25:39] scan: checking audio 3
[00:25:39] scan: id=82bd, lang=Japanese (AC3), 3cc=jpn ext=0
[00:25:39] scan: checking subtitle 1
[00:25:39] scan: id=20bd, lang=English, 3cc=eng
[00:25:39] scan: checking subtitle 2
[00:25:39] scan: id=21bd, lang=English, 3cc=eng
[00:25:39] scan: title 4 has 16 chapters
[00:25:39] scan: chap 1 c=0->0, b=0->45136 (45137), 91268 ms
[00:25:39] scan: chap 2 c=1->1, b=45137->304296 (259160), 590042 ms
[00:25:39] scan: chap 3 c=2->2, b=304297->595319 (291023), 668303 ms
[00:25:39] scan: chap 4 c=3->3, b=595320->632228 (36909), 83247 ms
[00:25:39] scan: chap 5 c=4->4, b=632229->652119 (19891), 41138 ms
[00:25:39] scan: chap 6 c=5->5, b=652120->699746 (47627), 97507 ms
[00:25:39] scan: chap 7 c=6->6, b=699747->972773 (273027), 679008 ms
[00:25:39] scan: chap 8 c=7->7, b=972774->1191825 (219052), 548143 ms
[00:25:39] scan: chap 9 c=8->8, b=1191826->1239265 (47440), 108242 ms
[00:25:39] scan: chap 10 c=9->9, b=1239266->1257453 (18188), 42379 ms
[00:25:39] scan: chap 11 c=10->10, b=1257454->1302837 (45384), 91308 ms
[00:25:39] scan: chap 12 c=11->11, b=1302838->1539173 (236336), 591895 ms
[00:25:39] scan: chap 13 c=12->12, b=1539174->1834308 (295135), 669004 ms
[00:25:39] scan: chap 14 c=13->13, b=1834309->1870704 (36396), 80273 ms
[00:25:39] scan: chap 15 c=14->14, b=1870705->1888947 (18243), 40226 ms
[00:25:39] scan: chap 16 c=15->15, b=1888948->1889119 (172), 210 ms
[00:25:39] scan: aspect = 0
[00:25:39] scan: decoding previews for title 4
[00:25:39] scan: title angle(s) 1
[00:25:39] scan: preview 1
[00:25:39] scan: audio 0x89bd: DCA, rate=48000Hz, bitrate=768000 Japanese (DTS) (5.1 ch)
[00:25:39] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[00:25:39] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=224000 Japanese (AC3) (2.0 ch)
[00:25:39] Interlacing detected in preview frame 1
[00:25:39] scan: preview 2
[00:25:39] scan: preview 3
[00:25:39] scan: preview 4
[00:25:39] scan: preview 5
[00:25:39] scan: preview 6
[00:25:39] scan: preview 7
[00:25:39] scan: preview 8
[00:25:39] scan: preview 9
[00:25:39] scan: preview 10
[00:25:39] scan: preview 11
[00:25:39] Interlacing detected in preview frame 11
[00:25:39] scan: preview 12
[00:25:39] scan: preview 13
[00:25:39] scan: preview 14
[00:25:39] scan: preview 15
[00:25:39] Interlacing detected in preview frame 15
[00:25:39] scan: 15 previews, 720x576, 25.000 fps, autocrop = 2/2/0/0, aspect 16:9, PAR 64:45
[00:25:39] scan: title (0) job->width:720, job->height:400
[00:25:39] thread 10de4f000 exited ("scan")
[00:25:40] thread 10de4f000 joined ("scan")
[00:25:40] libhb: scan thread found 1 valid title(s)
[00:25:40] macgui: ScanDone state received from fQueueEncodeLibhb
[00:25:40] macgui: Preset: Mod Anime
[00:25:40] macgui: processNewQueueEncode number of passes expected is: 2
[00:25:40] macgui: Setting Subtitle: ½ 
[00:25:40] macgui: Setting Subtitle: ½!
[00:25:40] macgui: prepareJob audiotrack 2 is: 1
[00:25:40] macgui: prepareJob exiting
[00:25:40] thread 10de22000 started ("work")
[00:25:40] 2 job(s) to process
[00:25:40] starting job
[00:25:40] job configuration:
[00:25:40]  * source
[00:25:40]    + /Users/andrewdicker/Desktop/tmp tv shows/Gun x Sword v6
[00:25:40]    + title 4, chapter(s) 1 to 16
[00:25:40]  * destination
[00:25:40]    + /Users/andrewdicker/Desktop/tmp tv shows/Gun x Sword v6-4.mkv
[00:25:40]    + container: Matroska (.mkv)
[00:25:40]      + chapter markers
[00:25:40]  * video track
[00:25:40]    + decoder: mpeg2
[00:25:40]      + bitrate 9800 kbps
[00:25:40]    + frame rate: same as source (around 25.000 fps)
[00:25:40]    + strict anamorphic
[00:25:40]      + modulus: 0
[00:25:40]      + storage dimensions: 720 * 576 -> 704 * 560, crop 8/8/8/8
[00:25:40]      + pixel aspect ratio: 64 / 45
[00:25:40]      + display dimensions: 1001 * 560
[00:25:40]    + filters
[00:25:40]      + Detelecine (pullup) (default settings)
[00:25:40]      + Decomb (9)
[00:25:40]    + encoder: x264
[00:25:40]      + options: ref=5:mixed-refs=1:bframes=9:weightb=1:direct=auto:me=umh:analyse=all:8x8dct=1:trellis=1:nr=150:no-fast-pskip=1:deblock=2,2:psy-rd=1.0,0.1:subq=9:b-adapt=2:ref=1:subme=1:me=dia:analyse=none:trellis=0:no-fast-pskip=0:8x8dct=0:weightb=0
[00:25:40]      + bitrate: 1000 kbps, pass: 1
[00:25:40]  * audio track 0
[00:25:40]    + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[00:25:40]      + bitrate: 448 kbps, samplerate: 48000 Hz
[00:25:40]    + mixdown: 6-channel discrete
[00:25:40]    + dynamic range compression: 1.000000
[00:25:40]    + encoder: ca_aac
[00:25:40]      + bitrate: 384 kbps, samplerate: 48000 Hz
[00:25:40]  * audio track 1
[00:25:40]    + decoder: Japanese (DTS) (5.1 ch) (track 2, id 89bd)
[00:25:40]      + bitrate: 768 kbps, samplerate: 48000 Hz
[00:25:40]    + mixdown: 6-channel discrete
[00:25:40]    + dynamic range compression: 1.000000
[00:25:40]    + encoder: ca_aac
[00:25:40]      + bitrate: 384 kbps, samplerate: 48000 Hz
[00:25:40] thread 10dea5000 started ("reader")
[00:25:40] thread 114296000 started ("MPEG-2 decoder (libmpeg2)")
[00:25:40] yadif thread started for segment 0
[00:25:40] thread 115c70000 started ("yadif_filter_segment")
[00:25:40] yadif thread started for segment 1
[00:25:40] thread 115dac000 started ("yadif_filter_segment")
[00:25:40] decomb thread started for segment 0
[00:25:40] thread 115e2f000 started ("decomb_filter_segment")
[00:25:40] decomb thread started for segment 1
[00:25:40] thread 115fb3000 started ("decomb_filter_segment")
[00:25:40] eedi2 thread started for plane 0
[00:25:40] thread 116036000 started ("eedi2_filter_segment")
[00:25:40] eedi2 thread started for plane 1
[00:25:40] thread 116228000 started ("eedi2_filter_segment")
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
[00:25:40] eedi2 thread started for plane 2
[00:25:40] thread 1163a5000 started ("eedi2_filter_segment")
[00:25:40] thread 1176c4000 started ("Renderer")
[00:25:40] encx264: encoding with stored aspect 64/45
[00:25:40] encx264: opening libx264 (pass 1)
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
libdvdread: Couldn't find device name.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/Users/andrewdicker/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
x264 [info]: profile Main, level 3.0
[00:25:40] thread 119eff000 started ("H.264/AVC encoder (libx264)")
No accelerated IMDCT transform found
[00:25:40] thread 119f82000 started ("AC3 decoder")
[00:25:40] reader: first SCR 146
[00:25:40] mpeg2: "Chapter  1" (1) at frame 0 time 3600
[00:25:40] thread 11acbc000 started ("AAC encoder (Apple)")
[00:25:40] thread 11c222000 started ("DCA decoder")
[00:25:40] thread 11c317000 started ("AAC encoder (Apple)")
[00:25:40] thread 11c39a000 started ("muxer")
[00:25:40] sync: expecting 110580 video frames
[00:25:40] sync: first pts is 3600
Stream with high frequencies VQ coding
[00:32:39] mpeg2: "Chapter  2" (2) at frame 2298 time 8276400
[01:03:16] mpeg2: "Chapter  3" (3) at frame 17038 time 61340400
[01:37:11] mpeg2: "Chapter  4" (4) at frame 33722 time 121402800
[01:40:15] mpeg2: "Chapter  5" (5) at frame 35810 time 128919600
[01:41:52] mpeg2: "Chapter  6" (6) at frame 36837 time 132616800
[01:50:03] mpeg2: "Chapter  7" (7) at frame 39281 time 141415200
[02:21:21] mpeg2: "Chapter  8" (8) at frame 56242 time 202474800
[02:48:21] mpeg2: "Chapter  9" (9) at frame 69936 time 251773200
[02:55:08] mpeg2: "Chapter 10" (10) at frame 72648 time 261536400
[02:57:33] mpeg2: "Chapter 11" (11) at frame 73705 time 265341600
[03:06:30] mpeg2: "Chapter 12" (12) at frame 76005 time 273621600
[03:40:44] mpeg2: "Chapter 13" (13) at frame 90801 time 326887200
[04:32:44] mpeg2: "Chapter 14" (14) at frame 107522 time 387082800
[04:37:27] mpeg2: "Chapter 15" (15) at frame 109526 time 394297200
[04:40:18] reader: done. 0 scr changes
[04:40:18] thread 10dea5000 exited ("reader")
[04:40:20] mpeg2: "Chapter 16" (16) at frame 110539 time 397944000
[04:40:21] sync: got 110554 frames, 110580 expected
[04:40:21] work: average encoding speed for job is 7.234288 fps
[04:40:23] thread 11c39a000 exited ("muxer")
[04:40:23] thread 11c39a000 joined ("muxer")
[04:40:23] thread 119f82000 exited ("AC3 decoder")
[04:40:23] thread 119eff000 exited ("H.264/AVC encoder (libx264)")
[04:40:23] thread 1176c4000 exited ("Renderer")
[04:40:23] thread 114296000 exited ("MPEG-2 decoder (libmpeg2)")
[04:40:23] thread 11c222000 exited ("DCA decoder")
[04:40:23] thread 114296000 joined ("MPEG-2 decoder (libmpeg2)")
[04:40:23] thread 11c317000 exited ("AAC encoder (Apple)")
[04:40:23] thread 11acbc000 exited ("AAC encoder (Apple)")
[04:40:23] mpeg2 done: 110555 frames
[04:40:23] thread 1176c4000 joined ("Renderer")
[04:40:23] render: lost time: 56628000 (15730 frames)
[04:40:23] render: gained time: 56628000 (39934 frames) (0 not accounted for)
[04:40:23] render: average dropped frame duration: 3600
[04:40:23] fifo_close: trashing 1 buffer(s)
[04:40:23] fifo_close: trashing 0 buffer(s)
[04:40:23] thread 119eff000 joined ("H.264/AVC encoder (libx264)")
[04:40:23] encx264: 29 frames had to be split (94823 in, 94894 out)
x264 [info]: slice I:1219  Avg QP:17.12  size: 38721  PSNR Mean Y:47.43 U:49.40 V:49.75 Avg:47.91 Global:46.20
x264 [info]: slice P:44530 Avg QP:18.79  size:  7542  PSNR Mean Y:43.89 U:46.92 V:47.24 Avg:44.64 Global:43.41
x264 [info]: slice B:49103 Avg QP:21.31  size:  1942  PSNR Mean Y:43.12 U:46.73 V:46.99 Avg:43.97 Global:42.86
x264 [info]: consecutive B-frames: 16.0% 38.7% 23.1%  9.8%  4.8%  3.3%  1.3%  1.3%  0.7%  0.9%
x264 [info]: mb I  I16..4: 38.6%  0.0% 61.4%
x264 [info]: mb P  I16..4: 15.6%  0.0%  0.0%  P16..4: 53.2%  0.0%  0.0%  0.0%  0.0%    skip:31.2%
x264 [info]: mb B  I16..4:  2.8%  0.0%  0.0%  B16..8: 15.5%  0.0%  0.0%  direct:12.7%  skip:68.9%  L0:39.7% L1:51.2% BI: 9.1%
x264 [info]: final ratefactor: 20.07
x264 [info]: direct mvs  spatial:89.9%  temporal:10.1%
x264 [info]: coded y,uvDC,uvAC intra:42.0% 69.5% 40.5% inter:12.1% 24.5% 2.5%
x264 [info]: SSIM Mean Y:0.9819716
x264 [info]: PSNR Mean Y:43.537 U:46.852 V:47.142 Avg:44.337 Global:43.141 kb/s:1008.67
[04:40:25] thread 119f82000 joined ("AC3 decoder")
[04:40:25] thread 11acbc000 joined ("AAC encoder (Apple)")
[04:41:30] thread 11c222000 joined ("DCA decoder")
[04:41:30] thread 11c317000 joined ("AAC encoder (Apple)")
[04:49:51] thread 10dea5000 joined ("reader")
[04:49:51] fifo_close: trashing 0 buffer(s)
[04:49:51] fifo_close: trashing 1 buffer(s)
[04:49:51] fifo_close: trashing 0 buffer(s)
[04:49:51] fifo_close: trashing 0 buffer(s)
[04:49:51] fifo_close: trashing 0 buffer(s)
[04:49:51] fifo_close: trashing 0 buffer(s)
[04:49:51] fifo_close: trashing 0 buffer(s)
[04:49:51] fifo_close: trashing 0 buffer(s)
[04:49:51] fifo_close: trashing 1 buffer(s)
[04:49:51] fifo_close: trashing 0 buffer(s)
[04:49:51] fifo_close: trashing 0 buffer(s)
[04:49:51] fifo_close: trashing 0 buffer(s)
[04:49:51] fifo_close: trashing 1 buffer(s)
[04:49:51] decomb: deinterlaced 12700 | blended 0 | unfiltered 82123 | total 94823
[04:49:51] thread 115c70000 exited ("yadif_filter_segment")
[04:49:51] thread 115c70000 joined ("yadif_filter_segment")
[04:49:51] thread 115dac000 exited ("yadif_filter_segment")
[04:49:51] thread 115dac000 joined ("yadif_filter_segment")
[04:49:51] thread 115e2f000 exited ("decomb_filter_segment")
[04:49:51] thread 115e2f000 joined ("decomb_filter_segment")
[04:49:51] thread 115fb3000 exited ("decomb_filter_segment")
[04:49:51] thread 115fb3000 joined ("decomb_filter_segment")
[04:49:51] thread 116036000 exited ("eedi2_filter_segment")
[04:49:51] thread 116036000 joined ("eedi2_filter_segment")
[04:49:51] thread 116228000 exited ("eedi2_filter_segment")
[04:49:51] thread 116228000 joined ("eedi2_filter_segment")
[04:49:51] thread 1163a5000 exited ("eedi2_filter_segment")
[04:49:51] thread 1163a5000 joined ("eedi2_filter_segment")
[04:49:51] Freed 7 buffers of size 1024
[04:49:51] Freed 32 buffers of size 2048
[04:49:51] Freed 32 buffers of size 16384
[04:49:51] Freed 32 buffers of size 65536
[04:49:51] Freed 32 buffers of size 1048576
[04:49:51] Allocated 4564073472 bytes of buffers on this pass and Freed 36248576 bytes, 4527824896 bytes leaked
[04:49:51] starting job
[04:49:51] job configuration:
[04:49:51]  * source
[04:49:51]    + /Users/andrewdicker/Desktop/tmp tv shows/Gun x Sword v6
[04:49:51]    + title 4, chapter(s) 1 to 16
[04:49:51]  * destination
[04:49:51]    + /Users/andrewdicker/Desktop/tmp tv shows/Gun x Sword v6-4.mkv
[04:49:51]    + container: Matroska (.mkv)
[04:49:51]      + chapter markers
[04:49:51]  * video track
[04:49:51]    + decoder: mpeg2
[04:49:51]      + bitrate 9800 kbps
[04:49:51]    + frame rate: same as source (around 25.000 fps)
[04:49:51]    + strict anamorphic
[04:49:51]      + modulus: 0
[04:49:51]      + storage dimensions: 720 * 576 -> 704 * 560, crop 8/8/8/8
[04:49:51]      + pixel aspect ratio: 64 / 45
[04:49:51]      + display dimensions: 1001 * 560
[04:49:51]    + filters
[04:49:51]      + Detelecine (pullup) (default settings)
[04:49:51]      + Decomb (9)
[04:49:51]    + encoder: x264
[04:49:51]      + options: ref=5:mixed-refs=1:bframes=9:weightb=1:direct=auto:me=umh:analyse=all:8x8dct=1:trellis=1:nr=150:no-fast-pskip=1:deblock=2,2:psy-rd=1.0,0.1:subq=9:b-adapt=2
[04:49:51]      + bitrate: 1000 kbps, pass: 2
[04:49:51]  * subtitle track 1, English (id 20bd) Picture [VOBSUB] -> Pass-Through 
[04:49:51]  * subtitle track 2, English (id 21bd) Picture [VOBSUB] -> Pass-Through 
[04:49:51]  * audio track 0
[04:49:51]    + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[04:49:51]      + bitrate: 448 kbps, samplerate: 48000 Hz
[04:49:51]    + mixdown: 6-channel discrete
[04:49:51]    + dynamic range compression: 1.000000
[04:49:51]    + encoder: ca_aac
[04:49:51]      + bitrate: 384 kbps, samplerate: 48000 Hz
[04:49:51]  * audio track 1
[04:49:51]    + decoder: Japanese (DTS) (5.1 ch) (track 2, id 89bd)
[04:49:51]      + bitrate: 768 kbps, samplerate: 48000 Hz
[04:49:51]    + mixdown: 6-channel discrete
[04:49:51]    + dynamic range compression: 1.000000
[04:49:51]    + encoder: ca_aac
[04:49:51]      + bitrate: 384 kbps, samplerate: 48000 Hz
[04:49:51] thread 111f59000 started ("reader")
[04:49:51] thread 114296000 started ("MPEG-2 decoder (libmpeg2)")
libdvdnav: Using dvdnav version 4.1.3
[04:49:51] thread 115e00000 started ("yadif_filter_segment")
[04:49:51] yadif thread started for segment 0
[04:49:51] thread 115fb3000 started ("yadif_filter_segment")
[04:49:51] yadif thread started for segment 1
[04:49:51] thread 116036000 started ("decomb_filter_segment")
[04:49:51] decomb thread started for segment 0
[04:49:51] thread 116228000 started ("decomb_filter_segment")
[04:49:51] decomb thread started for segment 1
[04:49:51] thread 1163a5000 started ("eedi2_filter_segment")
[04:49:51] eedi2 thread started for plane 0
[04:49:51] thread 1176c4000 started ("eedi2_filter_segment")
[04:49:51] eedi2 thread started for plane 1
[04:49:51] thread 117747000 started ("eedi2_filter_segment")
[04:49:51] eedi2 thread started for plane 2
[04:49:51] thread 1177ca000 started ("Renderer")
[04:49:52] encx264: encoding with stored aspect 64/45
[04:49:52] encx264: opening libx264 (pass 2)
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/Users/andrewdicker/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
[04:49:54] reader: first SCR 146
[04:49:54] mpeg2: "Chapter  1" (1) at frame 0 time 3600
x264 [info]: profile High, level 3.0
[04:49:59] thread 11bf22000 started ("H.264/AVC encoder (libx264)")
[04:49:59] thread 11bfa5000 started ("VOBSUB decoder")
[04:49:59] thread 11c028000 started ("VOBSUB encoder")
[04:49:59] thread 11c0ab000 started ("VOBSUB decoder")
[04:49:59] thread 11c12e000 started ("VOBSUB encoder")
No accelerated IMDCT transform found
[04:49:59] thread 11c1b1000 started ("AC3 decoder")
[04:49:59] thread 11c292000 started ("AAC encoder (Apple)")
Stream with high frequencies VQ coding
[04:49:59] thread 11c315000 started ("DCA decoder")
[04:49:59] thread 11c433000 started ("AAC encoder (Apple)")
[04:49:59] thread 11c5eb000 started ("muxer")
[04:49:59] sync: expecting 110554 video frames
[04:50:00] sync: first pts is 3600
[04:59:07] mpeg2: "Chapter  2" (2) at frame 2298 time 8276400
[05:38:28] mpeg2: "Chapter  3" (3) at frame 17038 time 61340400
[06:23:36] mpeg2: "Chapter  4" (4) at frame 33722 time 121402800
[06:28:14] mpeg2: "Chapter  5" (5) at frame 35810 time 128919600
[06:30:24] mpeg2: "Chapter  6" (6) at frame 36837 time 132616800
[06:41:16] mpeg2: "Chapter  7" (7) at frame 39281 time 141415200
[07:25:29] mpeg2: "Chapter  8" (8) at frame 56242 time 202474800
[08:08:06] mpeg2: "Chapter  9" (9) at frame 69936 time 251773200
[08:17:38] mpeg2: "Chapter 10" (10) at frame 72648 time 261536400
[08:20:55] mpeg2: "Chapter 11" (11) at frame 73705 time 265341600
[08:32:31] mpeg2: "Chapter 12" (12) at frame 76005 time 273621600
[09:19:23] mpeg2: "Chapter 13" (13) at frame 90801 time 326887200
[10:26:52] mpeg2: "Chapter 14" (14) at frame 107522 time 387082800
[10:34:00] mpeg2: "Chapter 15" (15) at frame 109526 time 394297200
[10:37:49] mpeg2: "Chapter 16" (16) at frame 110539 time 397944000
[10:37:51] reader: done. 0 scr changes
[10:37:51] thread 111f59000 exited ("reader")
[10:37:52] sync: got 110554 frames, 110554 expected
[10:37:52] work: average encoding speed for job is 5.296813 fps
[10:37:53] mux: file size, 558181185 bytes
[10:37:53] mux: track 0, 94824 frames, 552897316 bytes, 1000.23 kbps, fifo 64
[10:37:53] mux: video bitrate error, +128133 bytes
[10:37:53] mux: track 1, 4 frames, 273 bytes, 0.00 kbps, fifo 8
[10:37:53] mux: track 2, 3 frames, 101 bytes, 0.00 kbps, fifo 8
[10:37:53] mux: track 3, 59 frames, 319206 bytes, 0.58 kbps, fifo 8
[10:37:53] mux: track 4, 1128 frames, 3656168 bytes, 6.61 kbps, fifo 8
[10:37:53] mux: overhead, 13.62 bytes per frame
[10:37:53] thread 11c5eb000 exited ("muxer")
[10:37:53] thread 11c5eb000 joined ("muxer")
[10:37:53] thread 11bfa5000 exited ("VOBSUB decoder")
[10:37:53] thread 11c028000 exited ("VOBSUB encoder")
[10:37:53] thread 11c12e000 exited ("VOBSUB encoder")
[10:37:53] thread 11c0ab000 exited ("VOBSUB decoder")
[10:37:53] thread 11c292000 exited ("AAC encoder (Apple)")
[10:37:53] thread 11bf22000 exited ("H.264/AVC encoder (libx264)")
[10:37:53] thread 1177ca000 exited ("Renderer")
[10:37:53] thread 11c1b1000 exited ("AC3 decoder")
[10:37:53] thread 11c433000 exited ("AAC encoder (Apple)")
[10:37:53] thread 11c315000 exited ("DCA decoder")
[10:37:53] thread 114296000 exited ("MPEG-2 decoder (libmpeg2)")
[10:37:53] thread 114296000 joined ("MPEG-2 decoder (libmpeg2)")
[10:37:53] mpeg2 done: 110555 frames
[10:37:53] thread 1177ca000 joined ("Renderer")
[10:37:53] render: lost time: 56628000 (15730 frames)
[10:37:53] render: gained time: 56628000 (39934 frames) (0 not accounted for)
[10:37:53] render: average dropped frame duration: 3600
[10:37:53] fifo_close: trashing 1 buffer(s)
[10:37:53] fifo_close: trashing 0 buffer(s)
[10:37:53] thread 11bf22000 joined ("H.264/AVC encoder (libx264)")
[10:37:53] encx264: 1 frames had to be split (94823 in, 94862 out)
x264 [info]: slice I:1218  Avg QP:20.22  size: 31494  PSNR Mean Y:47.31 U:50.26 V:50.83 Avg:47.88 Global:46.05
x264 [info]: slice P:44503 Avg QP:20.35  size:  9147  PSNR Mean Y:44.83 U:48.31 V:48.61 Avg:45.66 Global:44.83
x264 [info]: slice B:49103 Avg QP:23.54  size:  2189  PSNR Mean Y:43.86 U:47.88 V:48.14 Avg:44.78 Global:43.79
x264 [info]: consecutive B-frames: 16.0% 38.7% 23.1%  9.8%  4.8%  3.3%  1.3%  1.3%  0.7%  0.9%
x264 [info]: mb I  I16..4: 26.5% 57.0% 16.6%
x264 [info]: mb P  I16..4:  3.4%  7.3%  1.1%  P16..4: 49.5%  8.3% 12.8%  0.2%  0.3%    skip:17.1%
x264 [info]: mb B  I16..4:  0.6%  1.5%  0.2%  B16..8: 31.7%  0.6%  1.0%  direct: 3.6%  skip:60.7%  L0:41.3% L1:55.6% BI: 3.1%
x264 [info]: 8x8 transform  intra:61.1%  inter:78.7%
x264 [info]: direct mvs  spatial:81.0%  temporal:19.0%
x264 [info]: coded y,uvDC,uvAC intra:58.1% 77.1% 52.1% inter:15.0% 27.4% 4.0%
x264 [info]: ref P L0  70.4% 14.3%  8.9%  3.3%  3.0%
x264 [info]: ref B L0  76.4% 12.8%  7.2%  3.6%
x264 [info]: SSIM Mean Y:0.9838826
x264 [info]: PSNR Mean Y:44.360 U:48.116 V:48.398 Avg:45.235 Global:44.276 kb/s:1000.21
[10:37:57] thread 11bfa5000 joined ("VOBSUB decoder")
[10:37:57] thread 11c028000 joined ("VOBSUB encoder")
[10:37:57] thread 11c0ab000 joined ("VOBSUB decoder")
[10:37:57] thread 11c12e000 joined ("VOBSUB encoder")
[10:37:57] thread 11c1b1000 joined ("AC3 decoder")
[10:37:57] thread 11c292000 joined ("AAC encoder (Apple)")
[10:41:44] thread 11c315000 joined ("DCA decoder")
[10:41:44] thread 11c433000 joined ("AAC encoder (Apple)")
[10:49:55] thread 111f59000 joined ("reader")
[10:49:55] fifo_close: trashing 0 buffer(s)
[10:49:55] fifo_close: trashing 1 buffer(s)
[10:49:55] fifo_close: trashing 0 buffer(s)
[10:49:55] fifo_close: trashing 0 buffer(s)
[10:49:55] fifo_close: trashing 0 buffer(s)
[10:49:55] fifo_close: trashing 0 buffer(s)
[10:49:55] fifo_close: trashing 1 buffer(s)
[10:49:55] fifo_close: trashing 0 buffer(s)
[10:49:55] fifo_close: trashing 0 buffer(s)
[10:49:55] fifo_close: trashing 0 buffer(s)
[10:49:55] fifo_close: trashing 1 buffer(s)
[10:49:55] fifo_close: trashing 0 buffer(s)
[10:49:55] fifo_close: trashing 0 buffer(s)
[10:49:55] fifo_close: trashing 0 buffer(s)
[10:49:55] fifo_close: trashing 0 buffer(s)
[10:49:55] fifo_close: trashing 0 buffer(s)
[10:49:55] fifo_close: trashing 1 buffer(s)
[10:49:55] fifo_close: trashing 0 buffer(s)
[10:49:55] fifo_close: trashing 0 buffer(s)
[10:49:55] fifo_close: trashing 0 buffer(s)
[10:49:55] fifo_close: trashing 1 buffer(s)
[10:49:55] decomb: deinterlaced 12700 | blended 0 | unfiltered 82123 | total 94823
[10:49:55] thread 115e00000 exited ("yadif_filter_segment")
[10:49:55] thread 115e00000 joined ("yadif_filter_segment")
[10:49:55] thread 115fb3000 exited ("yadif_filter_segment")
[10:49:55] thread 115fb3000 joined ("yadif_filter_segment")
[10:49:55] thread 116036000 exited ("decomb_filter_segment")
[10:49:55] thread 116036000 joined ("decomb_filter_segment")
[10:49:55] thread 116228000 exited ("decomb_filter_segment")
[10:49:55] thread 116228000 joined ("decomb_filter_segment")
[10:49:55] thread 1163a5000 exited ("eedi2_filter_segment")
[10:49:55] thread 1163a5000 joined ("eedi2_filter_segment")
[10:49:55] thread 1176c4000 exited ("eedi2_filter_segment")
[10:49:55] thread 1176c4000 joined ("eedi2_filter_segment")
[10:49:55] thread 117747000 exited ("eedi2_filter_segment")
[10:49:55] thread 117747000 joined ("eedi2_filter_segment")
[10:49:55] Freed 3 buffers of size 1024
[10:49:55] Freed 32 buffers of size 2048
[10:49:55] Freed 32 buffers of size 16384
[10:49:55] Freed 32 buffers of size 65536
[10:49:55] Freed 32 buffers of size 1048576
[10:49:55] Allocated 4564069376 bytes of buffers on this pass and Freed 36244480 bytes, 4527824896 bytes leaked
[10:49:55] thread 10de22000 exited ("work")
[10:49:55] thread 10de22000 joined ("work")
[10:49:55] libhb: work result = 0
mediainfo output:

Code: Select all

General 
Complete name : 
/Users/andrewdicker/Desktop/tmp tv shows/Gun x Sword v6-4.mkv 
Format : 
Matroska 
File size : 
532 MiB 
Duration : 
1h 13mn 
Overall bit rate : 
1 010 Kbps 
Writing application : 
HandBrake svn2780 
Video 
ID : 
1 
Format : 
AVC 
Format/Info : 
Advanced Video Codec 
Format profile : 
High@L3.0 
Format settings, CABAC : 
Yes 
Format settings, ReFrames : 
5 frames 
Muxing mode : 
Container profile=Unknown@3.0 
Codec ID : 
V_MPEG4/ISO/AVC 
Duration : 
1h 15mn 
Nominal bit rate : 
1 000 Kbps 
Width : 
704 pixels 
Height : 
560 pixels 
Display aspect ratio : 
16/9 
Frame rate : 
21.443 fps 
Resolution : 
24 bits 
Colorimetry : 
4:2:0 
Scan type : 
Progressive 
Bits/(Pixel*Frame) : 
0.118 
Writing library : 
x264 core 72 r1217 5e9ae4c 
Encoding settings : 
cabac=1 / ref=5 / deblock=1:2:2 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.0:0.1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-3 / threads=3 / nr=150 / decimate=1 / mbaff=0 / bframes=9 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=1000 / 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 
Audio #1 
ID : 
2 
Format : 
AAC 
Format/Info : 
Advanced Audio Codec 
Format version : 
Version 4 
Format profile : 
LC 
Format settings, SBR : 
No 
Codec ID : 
A_AAC 
Duration : 
1h 13mn 
Channel(s) : 
6 channels 
Channel positions : 
Front: L C R, Rear: L R, LFE 
Sampling rate : 
32.0 KHz 
Resolution : 
16 bits 
Language : 
English 
Audio #2 
ID : 
3 
Format : 
AAC 
Format/Info : 
Advanced Audio Codec 
Format version : 
Version 4 
Format profile : 
LC 
Format settings, SBR : 
No 
Codec ID : 
A_AAC 
Duration : 
1h 13mn 
Channel(s) : 
6 channels 
Channel positions : 
Front: L C R, Rear: L R, LFE 
Sampling rate : 
32.0 KHz 
Resolution : 
16 bits 
Language : 
Japanese 
Text #1 
ID : 
4 
Format : 
VobSub 
Codec ID : 
S_VOBSUB 
Codec ID/Info : 
The same subtitle format used on DVDs 
Language : 
English 
Text #2 
ID : 
5 
Format : 
VobSub 
Codec ID : 
S_VOBSUB 
Codec ID/Info : 
The same subtitle format used on DVDs 
Language : 
English 
Menu 
00:00:00.000 : 
Chapter 1 
00:01:31.960 : 
Chapter 2 
00:11:21.880 : 
Chapter 3 
00:22:29.200 : 
Chapter 4 
00:23:52.720 : 
Chapter 5 
00:24:34.240 : 
Chapter 6 
00:26:11.300 : 
Chapter 7 
00:37:30.640 : 
Chapter 8 
00:46:38.320 : 
Chapter 9 
00:48:26.600 : 
Chapter 10 
00:49:09.200 : 
Chapter 11 
00:50:41.120 : 
Chapter 12 
01:00:33.150 : 
Chapter 13 
01:11:41.560 : 
Chapter 14 
01:13:01.080 : 
Chapter 15 
01:13:42.000 : 
Chapter 16 
User avatar
Ritsuka
HandBrake Team
Posts: 1207
Joined: Fri Jan 12, 2007 11:29 am

Re: 2780 Memory Leak and audio sample rate incorrect

Post by Ritsuka »

I can't reproduce it.Does it happens only with a specific file or always?
mac_man_ad
Regular User
Posts: 75
Joined: Wed Aug 22, 2007 5:21 am

Re: 2780 Memory Leak and audio sample rate incorrect

Post by mac_man_ad »

Will get back to you on that one, It happens on the same file when encoding 6ch aac with coreaudio, but sound works and doesnt leak for DPLII and stereo mixdown.
User avatar
Ritsuka
HandBrake Team
Posts: 1207
Joined: Fri Jan 12, 2007 11:29 am

Re: 2780 Memory Leak and audio sample rate incorrect

Post by Ritsuka »

Does it happens only for mkv or if you export to mp4 too?
mac_man_ad
Regular User
Posts: 75
Joined: Wed Aug 22, 2007 5:21 am

Re: 2780 Memory Leak and audio sample rate incorrect

Post by mac_man_ad »

Also happens for mp4, normal preset

Code: Select all

[10:15:09] hb_init: checking cpu count
[10:15:09] hb_init: starting libhb thread
[10:15:09] thread 10c581000 started ("libhb")
[10:15:09] macgui: Handbrake Version: svn2783 x86_64 (2009082801)
[10:15:09] hb_init: checking cpu count
[10:15:09] hb_init: starting libhb thread
[10:15:09] thread 10dcac000 started ("libhb")
[10:15:09] hb_init: checking cpu count
[10:15:09] hb_init: starting libhb thread
[10:15:09] thread 10dd2f000 started ("libhb")
[10:15:25] macgui: trying to open video_ts folder (parent directory chosen)
[10:15:25] hb_scan: path=/Users/andrewdicker/Desktop/tmp tv shows/Gun_X_Sword_v62/t02_Gun_X_Sword_v6.mkv, title_index=0
[10:15:25] thread 110289000 started ("scan")
[10:15:25] scan: trying to open with libdvdread
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[10:15:25] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska, from '/Users/andrewdicker/Desktop/tmp tv shows/Gun_X_Sword_v62/t02_Gun_X_Sword_v6.mkv':
  Duration: 01:13:41.60, start: 0.000000, bitrate: 9800 kb/s
    Stream #0.0(eng): Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 9800 kb/s, 25 tbr, 1k tbn, 50 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16
    Stream #0.2(jpn): Audio: dca, 48000 Hz, 5.1, s16
    Stream #0.3(eng): Subtitle: dvdsub
    Stream #0.4(eng): Subtitle: dvdsub
[10:15:26] Found ffmpeg 15 chapters, container=matroska
[10:15:26] Added chapter 1, name='Ep 1 Start', dur=8272800, (00:01:31)
[10:15:26] Added chapter 2, name='Ep 1 Ch 2', dur=53064000, (00:09:49)
[10:15:26] Added chapter 3, name='Ep 1 Ch 3', dur=60062400, (00:11:07)
[10:15:26] Added chapter 4, name='Ep 1 Ch 4', dur=7516800, (00:01:23)
[10:15:26] Added chapter 5, name='Ep 1 Ch 5', dur=3697200, (00:00:41)
[10:15:26] Added chapter 6, name='Ep 2 Start', dur=8798400, (00:01:37)
[10:15:26] Added chapter 7, name='Ep 2 Ch 2', dur=61059600, (00:11:18)
[10:15:26] Added chapter 8, name='Ep 2 Ch 3', dur=49298400, (00:09:07)
[10:15:26] Added chapter 9, name='Ep 2 Ch 4', dur=9763200, (00:01:48)
[10:15:26] Added chapter 10, name='Ep 2 Ch 5', dur=3805199, (00:00:42)
[10:15:26] Added chapter 11, name='Ep 3 Start', dur=8280001, (00:01:32)
[10:15:26] Added chapter 12, name='Ep 3 Ch 2', dur=53265600, (00:09:51)
[10:15:26] Added chapter 13, name='Ep 3 Ch 3', dur=60195600, (00:11:08)
[10:15:26] Added chapter 14, name='Ep 3 Ch 4', dur=7214400, (00:01:20)
[10:15:26] Added chapter 15, name='Ep 3 Ch 5', dur=3650400, (00:00:40)
[10:15:26] scan: decoding previews for title 1
[10:15:26] scan: preview 1
[10:15:26] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[10:15:26] scan: audio 0x2: DCA, rate=48000Hz, bitrate=768000 Japanese (DTS) (5.1 ch)
[10:15:26] scan: preview 2
[10:15:26] scan: preview 3
[10:15:26] scan: preview 4
[10:15:26] scan: preview 5
[10:15:26] Interlacing detected in preview frame 5
[10:15:26] scan: preview 6
[10:15:26] Interlacing detected in preview frame 6
[10:15:26] scan: preview 7
[10:15:26] scan: preview 8
[10:15:26] scan: preview 9
[10:15:26] scan: preview 10
[10:15:26] scan: preview 11
[10:15:26] scan: preview 12
[10:15:27] scan: preview 13
[10:15:27] scan: preview 14
[10:15:27] scan: preview 15
[10:15:27] scan: 15 previews, 720x576, 25.000 fps, autocrop = 2/2/0/0, aspect 16:9, PAR 64:45
[10:15:27] scan: title (0) job->width:720, job->height:400
[10:15:27] thread 110289000 exited ("scan")
[10:15:27] thread 110289000 joined ("scan")
[10:15:27] libhb: scan thread found 1 valid title(s)
[10:15:27] macgui: ScanDone state received from fHandle
[10:15:36] macgui: Resize by Decomb box
[10:15:54] macgui: Resize by Decomb box
[10:16:10] macgui: Rip: Pending queue count is 0
[10:16:10] macgui: scanning specifically for title: 1
[10:16:10] macgui: performNewQueueScan currentQueueEncodeIndex is: 0
[10:16:10] hb_scan: path=/Users/andrewdicker/Desktop/tmp tv shows/Gun_X_Sword_v62/t02_Gun_X_Sword_v6.mkv, title_index=1
[10:16:10] thread 111fb3000 started ("scan")
[10:16:10] scan: trying to open with libdvdread
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[10:16:10] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska, from '/Users/andrewdicker/Desktop/tmp tv shows/Gun_X_Sword_v62/t02_Gun_X_Sword_v6.mkv':
  Duration: 01:13:41.60, start: 0.000000, bitrate: 9800 kb/s
    Stream #0.0(eng): Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 9800 kb/s, 25 tbr, 1k tbn, 50 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16
    Stream #0.2(jpn): Audio: dca, 48000 Hz, 5.1, s16
    Stream #0.3(eng): Subtitle: dvdsub
    Stream #0.4(eng): Subtitle: dvdsub
[10:16:10] Found ffmpeg 15 chapters, container=matroska
[10:16:10] Added chapter 1, name='Ep 1 Start', dur=8272800, (00:01:31)
[10:16:10] Added chapter 2, name='Ep 1 Ch 2', dur=53064000, (00:09:49)
[10:16:10] Added chapter 3, name='Ep 1 Ch 3', dur=60062400, (00:11:07)
[10:16:10] Added chapter 4, name='Ep 1 Ch 4', dur=7516800, (00:01:23)
[10:16:10] Added chapter 5, name='Ep 1 Ch 5', dur=3697200, (00:00:41)
[10:16:10] Added chapter 6, name='Ep 2 Start', dur=8798400, (00:01:37)
[10:16:10] Added chapter 7, name='Ep 2 Ch 2', dur=61059600, (00:11:18)
[10:16:10] Added chapter 8, name='Ep 2 Ch 3', dur=49298400, (00:09:07)
[10:16:10] Added chapter 9, name='Ep 2 Ch 4', dur=9763200, (00:01:48)
[10:16:10] Added chapter 10, name='Ep 2 Ch 5', dur=3805199, (00:00:42)
[10:16:10] Added chapter 11, name='Ep 3 Start', dur=8280001, (00:01:32)
[10:16:10] Added chapter 12, name='Ep 3 Ch 2', dur=53265600, (00:09:51)
[10:16:10] Added chapter 13, name='Ep 3 Ch 3', dur=60195600, (00:11:08)
[10:16:10] Added chapter 14, name='Ep 3 Ch 4', dur=7214400, (00:01:20)
[10:16:10] Added chapter 15, name='Ep 3 Ch 5', dur=3650400, (00:00:40)
[10:16:10] scan: decoding previews for title 1
[10:16:10] scan: preview 1
[10:16:10] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[10:16:10] scan: audio 0x2: DCA, rate=48000Hz, bitrate=768000 Japanese (DTS) (5.1 ch)
[10:16:10] scan: preview 2
[10:16:10] scan: preview 3
[10:16:10] scan: preview 4
[10:16:10] scan: preview 5
[10:16:10] Interlacing detected in preview frame 5
[10:16:10] scan: preview 6
[10:16:10] Interlacing detected in preview frame 6
[10:16:10] scan: preview 7
[10:16:10] scan: preview 8
[10:16:10] scan: preview 9
[10:16:10] scan: preview 10
[10:16:10] scan: preview 11
[10:16:10] scan: preview 12
[10:16:10] scan: preview 13
[10:16:10] scan: preview 14
[10:16:10] scan: preview 15
[10:16:10] scan: 15 previews, 720x576, 25.000 fps, autocrop = 2/2/0/0, aspect 16:9, PAR 64:45
[10:16:10] scan: title (0) job->width:720, job->height:400
[10:16:10] thread 111fb3000 exited ("scan")
[10:16:10] thread 111fb3000 joined ("scan")
[10:16:10] libhb: scan thread found 1 valid title(s)
[10:16:10] macgui: ScanDone state received from fQueueEncodeLibhb
[10:16:10] macgui: Preset: Normal (Default)
[10:16:10] macgui: processNewQueueEncode number of passes expected is: 1
[10:16:10] macgui: prepareJob exiting
[10:16:10] thread 111fb3000 started ("work")
[10:16:10] 1 job(s) to process
[10:16:10] starting job
[10:16:10] job configuration:
[10:16:10]  * source
[10:16:10]    + /Users/andrewdicker/Desktop/tmp tv shows/Gun_X_Sword_v62/t02_Gun_X_Sword_v6.mkv
[10:16:10]    + title 1, chapter(s) 1 to 1
[10:16:10]    + container: matroska
[10:16:10]    + data rate: 9800 kbps
[10:16:10]  * destination
[10:16:10]    + /Users/andrewdicker/Desktop/tmp tv shows/t02_Gun_X_Sword_v6.m4v
[10:16:10]    + container: MPEG-4 (.mp4 and .m4v)
[10:16:10]  * video track
[10:16:10]    + decoder: mpeg2video
[10:16:10]      + bitrate 9800 kbps
[10:16:10]    + frame rate: same as source (around 25.000 fps)
[10:16:10]    + strict anamorphic
[10:16:10]      + modulus: 0
[10:16:10]      + storage dimensions: 720 * 576 -> 720 * 572, crop 2/2/0/0
[10:16:10]      + pixel aspect ratio: 64 / 45
[10:16:10]      + display dimensions: 1024 * 572
[10:16:10]    + encoder: x264
[10:16:10]      + options: ref=2:bframes=2:me=umh:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0
[10:16:10]      + quality: 20.00 (RF)
[10:16:10]  * audio track 0
[10:16:10]    + decoder: English (AC3) (5.1 ch) (track 1, id 1)
[10:16:10]      + bitrate: 448 kbps, samplerate: 48000 Hz
[10:16:10]    + mixdown: 6-channel discrete
[10:16:10]    + encoder: ca_aac
[10:16:10]      + bitrate: 384 kbps, samplerate: 48000 Hz
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[10:16:10] dvd: not a dvd - trying as a stream/file instead
[10:16:10] thread 112036000 started ("reader")
[10:16:10] thread 1120b9000 started ("Video decoder (ffmpeg streams)")
[10:16:10] thread 11213c000 started ("Renderer")
[10:16:10] Seeking to chapter 1: starts 0, ends 8272800, AV pos 0
[10:16:10] encx264: encoding with stored aspect 64/45
[10:16:10] reader: first SCR 0
[10:16:10] encx264: Encoding at constant RF 20.000000
[10:16:10] encx264: opening libx264 (pass 0)
x264 [warning]: width or height not divisible by 16 (720x572), compression will suffer.
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile Main, level 3.0
[10:16:10] thread 112af5000 started ("H.264/AVC encoder (libx264)")
No accelerated IMDCT transform found
[10:16:10] thread 112b78000 started ("AC3 decoder")
[10:16:11] thread 112ffb000 started ("AAC encoder (Apple)")
[10:16:11] thread 114e07000 started ("muxer")
[10:16:11] sync: expecting 2323 video frames
[10:16:11] sync: adding 104 ms of silence to audio 0  start 9360, next 0
[10:16:11] muxmp4: track 0, chunk duration 14400
[10:16:11] muxmp4: track 1, chunk duration 7680
[10:18:10] ffmpeg_read starting chapter 2 at 8272800
[10:18:10] reader: end of chapter 1 (media 1) reached at media chapter 2
[10:18:10] reader: done. 1 scr changes
[10:18:10] thread 112036000 exited ("reader")
[10:18:25] sync: got 2298 frames, 2323 expected
[10:18:25] work: average encoding speed for job is 17.023623 fps
[10:18:26] mux: file size, 32639149 bytes
[10:18:26] mux: track 0, 2298 frames, 32617807 bytes, 2837.56 kbps, fifo 64
[10:18:26] mux: video bitrate error, +32617807 bytes
[10:18:26] mux: track 1, 4 frames, 76 bytes, 0.01 kbps, fifo 8
[10:18:26] mux: overhead, 9.24 bytes per frame
[10:18:26] thread 114e07000 exited ("muxer")
[10:18:26] thread 114e07000 joined ("muxer")
[10:18:26] thread 1120b9000 exited ("Video decoder (ffmpeg streams)")
[10:18:26] thread 1120b9000 joined ("Video decoder (ffmpeg streams)")
[10:18:26] mpeg2video-decoder done: 2299 frames, 0 decoder errors, 0 drops
[10:18:26] thread 112b78000 exited ("AC3 decoder")
[10:18:26] thread 11213c000 exited ("Renderer")
[10:18:26] thread 11213c000 joined ("Renderer")
[10:18:26] render: lost time: 0 (0 frames)
[10:18:26] render: gained time: 0 (0 frames) (0 not accounted for)
[10:18:26] fifo_close: trashing 0 buffer(s)
[10:18:26] fifo_close: trashing 0 buffer(s)
[10:18:26] thread 112af5000 exited ("H.264/AVC encoder (libx264)")
[10:18:26] thread 112af5000 joined ("H.264/AVC encoder (libx264)")
x264 [info]: slice I:37    Avg QP:18.82  size: 26638  PSNR Mean Y:48.27 U:49.63 V:50.77 Avg:48.76 Global:45.67
x264 [info]: slice P:1926  Avg QP:22.23  size: 15455  PSNR Mean Y:42.88 U:44.70 V:45.59 Avg:43.44 Global:42.55
[10:18:26] thread 112ffb000 exited ("AAC encoder (Apple)")
x264 [info]: slice B:335   Avg QP:23.00  size:  5563  PSNR Mean Y:43.49 U:46.24 V:46.26 Avg:44.17 Global:41.79
x264 [info]: consecutive B-frames: 72.0% 23.3%  4.8%
x264 [info]: mb I  I16..4: 55.2%  0.0% 44.8%
x264 [info]: mb P  I16..4: 12.6%  0.0% 14.5%  P16..4: 46.3%  9.9%  6.9%  0.0%  0.0%    skip: 9.7%
x264 [info]: mb B  I16..4:  8.7%  0.0%  0.0%  B16..8: 22.1%  1.9%  1.5%  direct:19.1%  skip:46.8%  L0:34.4% L1:48.1% BI:17.5%
x264 [info]: coded y,uvDC,uvAC intra:53.7% 89.1% 66.7% inter:23.0% 61.8% 12.8%
x264 [info]: ref P L0  77.3% 22.7%
x264 [info]: SSIM Mean Y:0.9776428
x264 [info]: PSNR Mean Y:43.052 U:45.004 V:45.770 Avg:43.633 Global:42.463 kb/s:2838.69
[10:18:27] thread 112b78000 joined ("AC3 decoder")
[10:18:27] thread 112ffb000 joined ("AAC encoder (Apple)")
[10:18:27] thread 112036000 joined ("reader")
[10:18:27] fifo_close: trashing 0 buffer(s)
[10:18:27] fifo_close: trashing 1 buffer(s)
[10:18:27] fifo_close: trashing 0 buffer(s)
[10:18:27] fifo_close: trashing 0 buffer(s)
[10:18:27] fifo_close: trashing 0 buffer(s)
[10:18:27] fifo_close: trashing 0 buffer(s)
[10:18:27] fifo_close: trashing 0 buffer(s)
[10:18:27] fifo_close: trashing 0 buffer(s)
[10:18:27] fifo_close: trashing 1 buffer(s)
[10:18:27] Freed 1 buffers of size 2048
[10:18:27] Freed 24 buffers of size 16384
[10:18:27] Freed 32 buffers of size 65536
[10:18:27] Freed 32 buffers of size 131072
[10:18:27] Freed 32 buffers of size 1048576
[10:18:27] Allocated 63793152 bytes of buffers on this pass and Freed 40241152 bytes, 23552000 bytes leaked
[10:18:27] thread 111fb3000 exited ("work")
[10:18:27] thread 111fb3000 joined ("work")
[10:18:27] libhb: work result = 0
[10:18:27] macgui: incrementQueueItemDone currentQueueEncodeIndex is incremented to: 1
[10:18:27] macgui: incrementQueueItemDone the 0 item queue is complete
mixed down to stereo

Code: Select all

HandBrake Activity Log for /Users/andrewdicker/Desktop/tmp tv shows/t02_Gun_X_Sword_v62.m4v: 2009-08-30 10:20:19 +1000
Handbrake Version: svn2783 x86_64 (2009082801)

[10:20:19] macgui: Rip: Pending queue count is 0
[10:20:19] macgui: scanning specifically for title: 1
[10:20:19] macgui: performNewQueueScan currentQueueEncodeIndex is: 1
[10:20:19] hb_scan: path=/Users/andrewdicker/Desktop/tmp tv shows/Gun_X_Sword_v62/t02_Gun_X_Sword_v6.mkv, title_index=1
[10:20:19] thread 11085a000 started ("scan")
[10:20:19] scan: trying to open with libdvdread
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[10:20:19] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska, from '/Users/andrewdicker/Desktop/tmp tv shows/Gun_X_Sword_v62/t02_Gun_X_Sword_v6.mkv':
  Duration: 01:13:41.60, start: 0.000000, bitrate: 9800 kb/s
    Stream #0.0(eng): Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 9800 kb/s, 25 tbr, 1k tbn, 50 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16
    Stream #0.2(jpn): Audio: dca, 48000 Hz, 5.1, s16
    Stream #0.3(eng): Subtitle: dvdsub
    Stream #0.4(eng): Subtitle: dvdsub
[10:20:19] Found ffmpeg 15 chapters, container=matroska
[10:20:19] Added chapter 1, name='Ep 1 Start', dur=8272800, (00:01:31)
[10:20:19] Added chapter 2, name='Ep 1 Ch 2', dur=53064000, (00:09:49)
[10:20:19] Added chapter 3, name='Ep 1 Ch 3', dur=60062400, (00:11:07)
[10:20:19] Added chapter 4, name='Ep 1 Ch 4', dur=7516800, (00:01:23)
[10:20:19] Added chapter 5, name='Ep 1 Ch 5', dur=3697200, (00:00:41)
[10:20:19] Added chapter 6, name='Ep 2 Start', dur=8798400, (00:01:37)
[10:20:19] Added chapter 7, name='Ep 2 Ch 2', dur=61059600, (00:11:18)
[10:20:19] Added chapter 8, name='Ep 2 Ch 3', dur=49298400, (00:09:07)
[10:20:19] Added chapter 9, name='Ep 2 Ch 4', dur=9763200, (00:01:48)
[10:20:19] Added chapter 10, name='Ep 2 Ch 5', dur=3805199, (00:00:42)
[10:20:19] Added chapter 11, name='Ep 3 Start', dur=8280001, (00:01:32)
[10:20:19] Added chapter 12, name='Ep 3 Ch 2', dur=53265600, (00:09:51)
[10:20:19] Added chapter 13, name='Ep 3 Ch 3', dur=60195600, (00:11:08)
[10:20:19] Added chapter 14, name='Ep 3 Ch 4', dur=7214400, (00:01:20)
[10:20:19] Added chapter 15, name='Ep 3 Ch 5', dur=3650400, (00:00:40)
[10:20:19] scan: decoding previews for title 1
[10:20:19] scan: preview 1
[10:20:19] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[10:20:19] scan: audio 0x2: DCA, rate=48000Hz, bitrate=768000 Japanese (DTS) (5.1 ch)
[10:20:19] scan: preview 2
[10:20:19] scan: preview 3
[10:20:19] scan: preview 4
[10:20:19] scan: preview 5
[10:20:19] Interlacing detected in preview frame 5
[10:20:19] scan: preview 6
[10:20:19] Interlacing detected in preview frame 6
[10:20:19] scan: preview 7
[10:20:19] scan: preview 8
[10:20:19] scan: preview 9
[10:20:19] scan: preview 10
[10:20:19] scan: preview 11
[10:20:19] scan: preview 12
[10:20:19] scan: preview 13
[10:20:19] scan: preview 14
[10:20:19] scan: preview 15
[10:20:19] scan: 15 previews, 720x576, 25.000 fps, autocrop = 2/2/0/0, aspect 16:9, PAR 64:45
[10:20:19] scan: title (0) job->width:720, job->height:400
[10:20:19] thread 11085a000 exited ("scan")
[10:20:19] thread 11085a000 joined ("scan")
[10:20:19] libhb: scan thread found 1 valid title(s)
[10:20:19] macgui: ScanDone state received from fQueueEncodeLibhb
[10:20:19] macgui: Preset: Normal (Default)
[10:20:19] macgui: processNewQueueEncode number of passes expected is: 1
[10:20:19] macgui: prepareJob exiting
[10:20:19] thread 11085a000 started ("work")
[10:20:19] 1 job(s) to process
[10:20:19] starting job
[10:20:19] job configuration:
[10:20:19]  * source
[10:20:19]    + /Users/andrewdicker/Desktop/tmp tv shows/Gun_X_Sword_v62/t02_Gun_X_Sword_v6.mkv
[10:20:19]    + title 1, chapter(s) 1 to 1
[10:20:19]    + container: matroska
[10:20:19]    + data rate: 9800 kbps
[10:20:19]  * destination
[10:20:19]    + /Users/andrewdicker/Desktop/tmp tv shows/t02_Gun_X_Sword_v62.m4v
[10:20:19]    + container: MPEG-4 (.mp4 and .m4v)
[10:20:19]  * video track
[10:20:19]    + decoder: mpeg2video
[10:20:19]      + bitrate 9800 kbps
[10:20:19]    + frame rate: same as source (around 25.000 fps)
[10:20:19]    + strict anamorphic
[10:20:19]      + modulus: 0
[10:20:19]      + storage dimensions: 720 * 576 -> 720 * 572, crop 2/2/0/0
[10:20:19]      + pixel aspect ratio: 64 / 45
[10:20:19]      + display dimensions: 1024 * 572
[10:20:19]    + encoder: x264
[10:20:19]      + options: ref=2:bframes=2:me=umh:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0
[10:20:19]      + quality: 20.00 (RF)
[10:20:19]  * audio track 0
[10:20:19]    + decoder: English (AC3) (5.1 ch) (track 1, id 1)
[10:20:19]      + bitrate: 448 kbps, samplerate: 48000 Hz
[10:20:19]    + mixdown: Stereo
[10:20:19]    + encoder: ca_aac
[10:20:19]      + bitrate: 128 kbps, samplerate: 48000 Hz
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[10:20:19] dvd: not a dvd - trying as a stream/file instead
[10:20:19] thread 110aa4000 started ("reader")
[10:20:19] thread 111081000 started ("Video decoder (ffmpeg streams)")
[10:20:19] thread 111104000 started ("Renderer")
[10:20:19] encx264: encoding with stored aspect 64/45
[10:20:19] encx264: Encoding at constant RF 20.000000
[10:20:19] encx264: opening libx264 (pass 0)
x264 [warning]: width or height not divisible by 16 (720x572), compression will suffer.
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile Main, level 3.0
[10:20:19] thread 111187000 started ("H.264/AVC encoder (libx264)")
No accelerated IMDCT transform found
[10:20:19] thread 11120a000 started ("AC3 decoder")
[10:20:19] Seeking to chapter 1: starts 0, ends 8272800, AV pos 0
[10:20:19] reader: first SCR 0
[10:20:19] thread 1123c3000 started ("AAC encoder (Apple)")
[10:20:19] thread 112446000 started ("muxer")
[10:20:19] sync: expecting 2323 video frames
[10:20:19] muxmp4: track 0, chunk duration 14400
[10:20:19] muxmp4: track 1, chunk duration 7680
[10:20:19] sync: adding 104 ms of silence to audio 0  start 9360, next 0
[10:22:14] ffmpeg_read starting chapter 2 at 8272800
[10:22:14] reader: end of chapter 1 (media 1) reached at media chapter 2
[10:22:14] reader: done. 1 scr changes
[10:22:14] thread 110aa4000 exited ("reader")
[10:22:29] sync: got 2298 frames, 2323 expected
[10:22:29] work: average encoding speed for job is 17.684589 fps
[10:22:30] mux: file size, 34241901 bytes
[10:22:30] mux: track 0, 2298 frames, 32617807 bytes, 2835.10 kbps, fifo 64
[10:22:30] mux: video bitrate error, +32617807 bytes
[10:22:30] mux: track 1, 4314 frames, 1583404 bytes, 137.63 kbps, fifo 1024
[10:22:30] mux: overhead, 6.15 bytes per frame
[10:22:30] thread 112446000 exited ("muxer")
[10:22:30] thread 112446000 joined ("muxer")
[10:22:30] thread 111081000 exited ("Video decoder (ffmpeg streams)")
[10:22:30] thread 111081000 joined ("Video decoder (ffmpeg streams)")
[10:22:30] mpeg2video-decoder done: 2299 frames, 0 decoder errors, 0 drops
[10:22:30] thread 111104000 exited ("Renderer")
[10:22:30] thread 111104000 joined ("Renderer")
[10:22:30] render: lost time: 0 (0 frames)
[10:22:30] render: gained time: 0 (0 frames) (0 not accounted for)
[10:22:30] fifo_close: trashing 0 buffer(s)
[10:22:30] fifo_close: trashing 0 buffer(s)
[10:22:30] thread 1123c3000 exited ("AAC encoder (Apple)")
[10:22:30] thread 11120a000 exited ("AC3 decoder")
[10:22:30] thread 111187000 exited ("H.264/AVC encoder (libx264)")
[10:22:30] thread 111187000 joined ("H.264/AVC encoder (libx264)")
x264 [info]: slice I:37    Avg QP:18.82  size: 26638  PSNR Mean Y:48.27 U:49.63 V:50.77 Avg:48.76 Global:45.67
x264 [info]: slice P:1926  Avg QP:22.23  size: 15455  PSNR Mean Y:42.88 U:44.70 V:45.59 Avg:43.44 Global:42.55
x264 [info]: slice B:335   Avg QP:23.00  size:  5563  PSNR Mean Y:43.49 U:46.24 V:46.26 Avg:44.17 Global:41.79
x264 [info]: consecutive B-frames: 72.0% 23.3%  4.8%
x264 [info]: mb I  I16..4: 55.2%  0.0% 44.8%
x264 [info]: mb P  I16..4: 12.6%  0.0% 14.5%  P16..4: 46.3%  9.9%  6.9%  0.0%  0.0%    skip: 9.7%
x264 [info]: mb B  I16..4:  8.7%  0.0%  0.0%  B16..8: 22.1%  1.9%  1.5%  direct:19.1%  skip:46.8%  L0:34.4% L1:48.1% BI:17.5%
x264 [info]: coded y,uvDC,uvAC intra:53.7% 89.1% 66.7% inter:23.0% 61.8% 12.8%
x264 [info]: ref P L0  77.3% 22.7%
x264 [info]: SSIM Mean Y:0.9776428
x264 [info]: PSNR Mean Y:43.052 U:45.004 V:45.770 Avg:43.633 Global:42.463 kb/s:2838.69
[10:22:31] thread 11120a000 joined ("AC3 decoder")
[10:22:31] thread 1123c3000 joined ("AAC encoder (Apple)")
[10:22:31] thread 110aa4000 joined ("reader")
[10:22:31] fifo_close: trashing 0 buffer(s)
[10:22:31] fifo_close: trashing 1 buffer(s)
[10:22:31] fifo_close: trashing 0 buffer(s)
[10:22:31] fifo_close: trashing 0 buffer(s)
[10:22:31] fifo_close: trashing 0 buffer(s)
[10:22:31] fifo_close: trashing 0 buffer(s)
[10:22:31] fifo_close: trashing 0 buffer(s)
[10:22:31] fifo_close: trashing 0 buffer(s)
[10:22:31] fifo_close: trashing 0 buffer(s)
[10:22:31] Freed 32 buffers of size 2048
[10:22:31] Freed 32 buffers of size 16384
[10:22:31] Freed 32 buffers of size 65536
[10:22:31] Freed 32 buffers of size 131072
[10:22:31] Freed 32 buffers of size 1048576
[10:22:31] Allocated 40435712 bytes of buffers on this pass and Freed 40435712 bytes, 0 bytes leaked
[10:22:31] thread 11085a000 exited ("work")
[10:22:31] thread 11085a000 joined ("work")
[10:22:31] libhb: work result = 0
User avatar
Rodeo
HandBrake Team
Posts: 12677
Joined: Tue Mar 03, 2009 8:55 pm

Re: 2780 Memory Leak and audio sample rate incorrect

Post by Rodeo »

I see this too, even in MP4. It works when I set the bitrate to 320 Kbps, however.

svn 2779, 6-channel AAC @ 384 Kbps (works):

Code: Select all

HandBrake Activity Log for /Users/tim/excluded/HIMYM - 3x20 - Miracles - 2779@384.mp4: 2009-08-30 03:47:52 +0200
Handbrake Version: svn2779 i386 (2009083001)

[03:47:52] macgui: Rip: Pending queue count is 0
[03:47:52] macgui: scanning specifically for title: 1
[03:47:52] macgui: performNewQueueScan currentQueueEncodeIndex is: 1
[03:47:52] hb_scan: path=/Volumes/LaCieDisk/excluded/DVD rips/mbtree/HIMYM - 3x20 - Miracles.dvdmedia, title_index=1
[03:47:52] thread b0557000 started ("scan")
[03:47:52] scan: trying to open with libdvdread
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Couldn't find device name.
[03:47:52] scan: DVD has 1 title(s)
[03:47:52] scan: scanning title 1
[03:47:52] scan: opening IFO for VTS 1
[03:47:52] pgc_id: 1, pgn: 1: pgc: 0x183553f0
[03:47:52] scan: vts=1, ttn=1, cells=0->6, blocks=0->375784, 375785 blocks
[03:47:52] scan: duration is 00:20:53 (1253280 ms)
[03:47:52] scan: checking audio 1
[03:47:52] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[03:47:52] scan: title 1 has 6 chapters
[03:47:52] scan: chap 1 c=0->0, b=0->93555 (93556), 289751 ms
[03:47:52] scan: chap 2 c=1->1, b=93556->176804 (83249), 280523 ms
[03:47:52] scan: chap 3 c=2->2, b=176805->263304 (86500), 280694 ms
[03:47:52] scan: chap 4 c=3->3, b=263305->350501 (87197), 310750 ms
[03:47:52] scan: chap 5 c=4->5, b=350502->375732 (25231), 91470 ms
[03:47:52] scan: chap 6 c=6->6, b=375733->375784 (52), 90 ms
[03:47:52] scan: aspect = 0
[03:47:52] scan: decoding previews for title 1
[03:47:52] scan: title angle(s) 1
[03:47:52] scan: preview 1
[03:47:52] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[03:47:52] scan: preview 2
[03:47:52] scan: preview 3
[03:47:52] scan: preview 4
[03:47:52] scan: preview 5
[03:47:52] scan: preview 6
[03:47:52] scan: preview 7
[03:47:52] scan: preview 8
[03:47:52] scan: preview 9
[03:47:52] scan: preview 10
[03:47:52] scan: preview 11
[03:47:52] scan: preview 12
[03:47:52] scan: preview 13
[03:47:52] scan: preview 14
[03:47:52] scan: preview 15
[03:47:52] scan: preview 16
[03:47:52] scan: preview 17
[03:47:52] scan: preview 18
[03:47:52] scan: preview 19
[03:47:52] scan: preview 20
[03:47:52] scan: preview 21
[03:47:52] scan: preview 22
[03:47:52] scan: preview 23
[03:47:52] scan: preview 24
[03:47:52] scan: preview 25
[03:47:52] scan: preview 26
[03:47:52] scan: preview 27
[03:47:52] scan: preview 28
[03:47:52] scan: preview 29
[03:47:52] scan: preview 30
[03:47:52] scan: 30 previews, 720x576, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 64:45
[03:47:52] scan: title (0) job->width:720, job->height:400
[03:47:52] thread b0557000 exited ("scan")
[03:47:52] thread b0557000 joined ("scan")
[03:47:52] libhb: scan thread found 1 valid title(s)
[03:47:52] macgui: ScanDone state received from fQueueEncodeLibhb
[03:47:52] macgui: Preset: 6-channel AAC
[03:47:52] macgui: processNewQueueEncode number of passes expected is: 1
[03:47:52] macgui: prepareJob exiting
[03:47:52] thread b0557000 started ("work")
[03:47:52] 1 job(s) to process
[03:47:52] starting job
[03:47:52] job configuration:
[03:47:52]  * source
[03:47:52]    + /Volumes/LaCieDisk/excluded/DVD rips/mbtree/HIMYM - 3x20 - Miracles.dvdmedia
[03:47:52]    + title 1, chapter(s) 1 to 1
[03:47:52]  * destination
[03:47:52]    + /Users/tim/excluded/HIMYM - 3x20 - Miracles - 2779@384.mp4
[03:47:52]    + container: MPEG-4 (.mp4 and .m4v)
[03:47:52]  * video track
[03:47:52]    + decoder: mpeg2
[03:47:52]      + bitrate 7500 kbps
[03:47:52]    + frame rate: same as source (around 25.000 fps)
[03:47:52]    + loose anamorphic
[03:47:52]      + modulus: 0
[03:47:52]      + storage dimensions: 720 * 576 -> 720 * 576, crop 0/0/0/0
[03:47:52]      + pixel aspect ratio: 64 / 45
[03:47:52]      + display dimensions: 1024 * 576
[03:47:52]    + encoder: x264
[03:47:52]      + options: ref=2:mixed-refs=0:subq=4
[03:47:52]      + quality: 23.00 (RF)
[03:47:52]  * audio track 0
[03:47:52]    + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[03:47:52]      + bitrate: 448 kbps, samplerate: 48000 Hz
[03:47:52]    + mixdown: 6-channel discrete
[03:47:52]    + encoder: ca_aac
[03:47:52]      + bitrate: 384 kbps, samplerate: 48000 Hz
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Couldn't find device name.
[03:47:52] reader: first SCR 146
[03:47:52] thread b067d000 started ("reader")
[03:47:52] thread b0781000 started ("MPEG-2 decoder (libmpeg2)")
[03:47:52] thread b08b4000 started ("Renderer")
[03:47:52] encx264: encoding with stored aspect 64/45
[03:47:52] encx264: Encoding at constant RF 23.000000
[03:47:52] encx264: opening libx264 (pass 0)
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 3.0
[03:47:52] thread b094a000 started ("H.264/AVC encoder (libx264)")
No accelerated IMDCT transform found
[03:47:52] thread b09cc000 started ("AC3 decoder")
[03:47:52] thread b0a4f000 started ("AAC encoder (Apple)")
[03:47:52] muxmp4: track 0, chunk duration 14400
[03:47:52] thread b0b32000 started ("muxer")
[03:47:52] sync: expecting 7268 video frames
[03:47:52] muxmp4: track 1, chunk duration 7680
[03:47:52] mpeg2: "" (1) at frame 0 time 10800
[03:47:52] sync: first pts is 10800
[03:50:21] reader: end of chapter 1 (media 1) reached at media chapter 2
[03:50:21] reader: done. 0 scr changes
[03:50:21] thread b067d000 exited ("reader")
[03:50:22] sync: got 7235 frames, 7268 expected
[03:50:22] work: average encoding speed for job is 48.231876 fps
[03:50:22] mux: file size, 49786481 bytes
[03:50:22] mux: track 0, 7236 frames, 34974271 bytes, 966.27 kbps, fifo 32
[03:50:22] mux: video bitrate error, +34974271 bytes
[03:50:22] mux: track 1, 13573 frames, 14667199 bytes, 405.23 kbps, fifo 256
[03:50:22] mux: overhead, 6.97 bytes per frame
[03:50:22] thread b0b32000 exited ("muxer")
[03:50:22] thread b0b32000 joined ("muxer")
[03:50:22] thread b094a000 exited ("H.264/AVC encoder (libx264)")
[03:50:22] thread b09cc000 exited ("AC3 decoder")
[03:50:22] thread b08b4000 exited ("Renderer")
[03:50:22] thread b0a4f000 exited ("AAC encoder (Apple)")
[03:50:22] thread b0781000 exited ("MPEG-2 decoder (libmpeg2)")
[03:50:22] thread b0781000 joined ("MPEG-2 decoder (libmpeg2)")
[03:50:22] mpeg2 done: 7236 frames
[03:50:22] thread b08b4000 joined ("Renderer")
[03:50:22] render: lost time: 0 (0 frames)
[03:50:22] render: gained time: 0 (0 frames) (0 not accounted for)
[03:50:22] fifo_close: trashing 0 buffer(s)
[03:50:22] fifo_close: trashing 0 buffer(s)
[03:50:22] thread b094a000 joined ("H.264/AVC encoder (libx264)")
[03:50:22] encx264: 1 frames had to be split (7235 in, 7239 out)
x264 [info]: slice I:101   Avg QP:20.98  size: 28486  PSNR Mean Y:45.06 U:47.03 V:46.97 Avg:45.54 Global:44.44
x264 [info]: slice P:2679  Avg QP:23.19  size:  8793  PSNR Mean Y:42.52 U:44.37 V:44.48 Avg:42.99 Global:42.23
x264 [info]: slice B:4456  Avg QP:24.75  size:  1916  PSNR Mean Y:42.10 U:44.49 V:44.58 Avg:42.69 Global:41.90
x264 [info]: consecutive B-frames:  5.7% 24.6% 25.1% 44.5%
x264 [info]: mb I  I16..4: 10.8% 50.7% 38.4%
x264 [info]: mb P  I16..4:  3.5% 14.8%  3.7%  P16..4: 36.7% 12.0%  2.3%  0.0%  0.0%    skip:27.0%
x264 [info]: mb B  I16..4:  1.2%  0.0%  0.0%  B16..8: 17.0%  1.4%  0.7%  direct: 7.0%  skip:72.8%  L0:34.2% L1:46.9% BI:19.0%
x264 [info]: 8x8 transform  intra:60.2%  inter:64.1%
x264 [info]: coded y,uvDC,uvAC intra:70.4% 75.6% 35.0% inter:14.1% 15.5% 0.8%
x264 [info]: ref P L0  80.5% 19.5%
x264 [info]: SSIM Mean Y:0.9766890
x264 [info]: PSNR Mean Y:42.297 U:44.480 V:44.575 Avg:42.840 Global:42.050 kb/s:966.65
[03:50:22] thread b09cc000 joined ("AC3 decoder")
[03:50:22] thread b0a4f000 joined ("AAC encoder (Apple)")
[03:50:22] thread b067d000 joined ("reader")
[03:50:22] fifo_close: trashing 0 buffer(s)
[03:50:22] fifo_close: trashing 1 buffer(s)
[03:50:22] fifo_close: trashing 0 buffer(s)
[03:50:22] fifo_close: trashing 0 buffer(s)
[03:50:22] fifo_close: trashing 0 buffer(s)
[03:50:22] fifo_close: trashing 0 buffer(s)
[03:50:22] fifo_close: trashing 0 buffer(s)
[03:50:22] fifo_close: trashing 0 buffer(s)
[03:50:22] fifo_close: trashing 0 buffer(s)
[03:50:22] Freed 4 buffers of size 1024
[03:50:22] Freed 32 buffers of size 2048
[03:50:22] Freed 32 buffers of size 8192
[03:50:22] Freed 32 buffers of size 65536
[03:50:22] Freed 32 buffers of size 1048576
[03:50:22] Allocated 35983360 bytes of buffers on this pass and Freed 35983360 bytes, 0 bytes leaked
[03:50:22] thread b0557000 exited ("work")
[03:50:22] thread b0557000 joined ("work")
[03:50:22] libhb: work result = 0
svn 2780, 6-channel AAC @ 320 Kbps (works):

Code: Select all

HandBrake Activity Log for /Users/tim/excluded/HIMYM - 3x20 - Miracles - 2780@320.mp4: 2009-08-30 03:52:06 +0200
Handbrake Version: svn2780 i386 (2009083001)

[03:52:06] macgui: Rip: Pending queue count is 2
[03:52:06] macgui: scanning specifically for title: 1
[03:52:06] macgui: performNewQueueScan currentQueueEncodeIndex is: 0
[03:52:06] hb_scan: path=/Volumes/LaCieDisk/excluded/DVD rips/mbtree/HIMYM - 3x20 - Miracles.dvdmedia, title_index=1
[03:52:06] thread b05d9000 started ("scan")
[03:52:06] scan: trying to open with libdvdread
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Couldn't find device name.
[03:52:06] scan: DVD has 1 title(s)
[03:52:06] scan: scanning title 1
[03:52:06] scan: opening IFO for VTS 1
[03:52:06] pgc_id: 1, pgn: 1: pgc: 0x1834ec70
[03:52:06] scan: vts=1, ttn=1, cells=0->6, blocks=0->375784, 375785 blocks
[03:52:06] scan: duration is 00:20:53 (1253280 ms)
[03:52:06] scan: checking audio 1
[03:52:06] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[03:52:06] scan: title 1 has 6 chapters
[03:52:06] scan: chap 1 c=0->0, b=0->93555 (93556), 289751 ms
[03:52:06] scan: chap 2 c=1->1, b=93556->176804 (83249), 280523 ms
[03:52:06] scan: chap 3 c=2->2, b=176805->263304 (86500), 280694 ms
[03:52:06] scan: chap 4 c=3->3, b=263305->350501 (87197), 310750 ms
[03:52:06] scan: chap 5 c=4->5, b=350502->375732 (25231), 91470 ms
[03:52:06] scan: chap 6 c=6->6, b=375733->375784 (52), 90 ms
[03:52:06] scan: aspect = 0
[03:52:06] scan: decoding previews for title 1
[03:52:06] scan: title angle(s) 1
[03:52:06] scan: preview 1
[03:52:06] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[03:52:06] scan: preview 2
[03:52:06] scan: preview 3
[03:52:06] scan: preview 4
[03:52:06] scan: preview 5
[03:52:06] scan: preview 6
[03:52:06] scan: preview 7
[03:52:06] scan: preview 8
[03:52:06] scan: preview 9
[03:52:06] scan: preview 10
[03:52:06] scan: preview 11
[03:52:06] scan: preview 12
[03:52:06] scan: preview 13
[03:52:06] scan: preview 14
[03:52:07] scan: preview 15
[03:52:07] scan: preview 16
[03:52:07] scan: preview 17
[03:52:07] scan: preview 18
[03:52:07] scan: preview 19
[03:52:07] scan: preview 20
[03:52:07] scan: preview 21
[03:52:07] scan: preview 22
[03:52:07] scan: preview 23
[03:52:07] scan: preview 24
[03:52:07] scan: preview 25
[03:52:07] scan: preview 26
[03:52:07] scan: preview 27
[03:52:07] scan: preview 28
[03:52:07] scan: preview 29
[03:52:07] scan: preview 30
[03:52:07] scan: 30 previews, 720x576, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 64:45
[03:52:07] scan: title (0) job->width:720, job->height:400
[03:52:07] thread b05d9000 exited ("scan")
[03:52:07] thread b05d9000 joined ("scan")
[03:52:07] libhb: scan thread found 1 valid title(s)
[03:52:07] macgui: ScanDone state received from fQueueEncodeLibhb
[03:52:07] macgui: Preset: 6-channel AAC
[03:52:07] macgui: processNewQueueEncode number of passes expected is: 1
[03:52:07] macgui: prepareJob exiting
[03:52:07] thread b05d9000 started ("work")
[03:52:07] 1 job(s) to process
[03:52:07] starting job
[03:52:07] job configuration:
[03:52:07]  * source
[03:52:07]    + /Volumes/LaCieDisk/excluded/DVD rips/mbtree/HIMYM - 3x20 - Miracles.dvdmedia
[03:52:07]    + title 1, chapter(s) 1 to 1
[03:52:07]  * destination
[03:52:07]    + /Users/tim/excluded/HIMYM - 3x20 - Miracles - 2780@320.mp4
[03:52:07]    + container: MPEG-4 (.mp4 and .m4v)
[03:52:07]  * video track
[03:52:07]    + decoder: mpeg2
[03:52:07]      + bitrate 7500 kbps
[03:52:07]    + frame rate: same as source (around 25.000 fps)
[03:52:07]    + loose anamorphic
[03:52:07]      + modulus: 0
[03:52:07]      + storage dimensions: 720 * 576 -> 720 * 576, crop 0/0/0/0
[03:52:07]      + pixel aspect ratio: 64 / 45
[03:52:07]      + display dimensions: 1024 * 576
[03:52:07]    + encoder: x264
[03:52:07]      + options: ref=2:mixed-refs=0:subq=4
[03:52:07]      + quality: 23.00 (RF)
[03:52:07]  * audio track 0
[03:52:07]    + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[03:52:07]      + bitrate: 448 kbps, samplerate: 48000 Hz
[03:52:07]    + mixdown: 6-channel discrete
[03:52:07]    + encoder: ca_aac
[03:52:07]      + bitrate: 320 kbps, samplerate: 48000 Hz
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Couldn't find device name.
[03:52:07] thread b065b000 started ("reader")
[03:52:07] thread b06ff000 started ("MPEG-2 decoder (libmpeg2)")
[03:52:07] thread b08a6000 started ("Renderer")
[03:52:07] encx264: encoding with stored aspect 64/45
[03:52:07] encx264: Encoding at constant RF 23.000000
[03:52:07] encx264: opening libx264 (pass 0)
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 3.0
[03:52:07] thread b094b000 started ("H.264/AVC encoder (libx264)")
No accelerated IMDCT transform found
[03:52:07] thread b0a4f000 started ("AC3 decoder")
[03:52:07] reader: first SCR 146
[03:52:07] mpeg2: "" (1) at frame 0 time 10800
[03:52:07] thread b0b3f000 started ("AAC encoder (Apple)")
[03:52:07] thread b0bcb000 started ("muxer")
[03:52:07] sync: expecting 7268 video frames
[03:52:07] sync: first pts is 10800
[03:52:07] muxmp4: track 0, chunk duration 14400
[03:52:07] muxmp4: track 1, chunk duration 7680
[03:54:29] reader: end of chapter 1 (media 1) reached at media chapter 2
[03:54:29] reader: done. 0 scr changes
[03:54:29] thread b065b000 exited ("reader")
[03:54:30] sync: got 7235 frames, 7268 expected
[03:54:30] work: average encoding speed for job is 50.532700 fps
[03:54:30] mux: file size, 47322176 bytes
[03:54:30] mux: track 0, 7236 frames, 34974271 bytes, 966.27 kbps, fifo 32
[03:54:30] mux: video bitrate error, +34974271 bytes
[03:54:30] mux: track 1, 13573 frames, 12202894 bytes, 337.14 kbps, fifo 256
[03:54:30] mux: overhead, 6.97 bytes per frame
[03:54:30] thread b0bcb000 exited ("muxer")
[03:54:30] thread b0bcb000 joined ("muxer")
[03:54:30] thread b08a6000 exited ("Renderer")
[03:54:30] thread b0b3f000 exited ("AAC encoder (Apple)")
[03:54:30] thread b0a4f000 exited ("AC3 decoder")
[03:54:30] thread b06ff000 exited ("MPEG-2 decoder (libmpeg2)")
[03:54:30] thread b06ff000 joined ("MPEG-2 decoder (libmpeg2)")
[03:54:30] mpeg2 done: 7236 frames
[03:54:30] thread b08a6000 joined ("Renderer")
[03:54:30] render: lost time: 0 (0 frames)
[03:54:30] render: gained time: 0 (0 frames) (0 not accounted for)
[03:54:30] fifo_close: trashing 0 buffer(s)
[03:54:30] fifo_close: trashing 0 buffer(s)
[03:54:30] thread b094b000 exited ("H.264/AVC encoder (libx264)")
[03:54:30] thread b094b000 joined ("H.264/AVC encoder (libx264)")
[03:54:30] encx264: 1 frames had to be split (7235 in, 7239 out)
x264 [info]: slice I:101   Avg QP:20.98  size: 28486  PSNR Mean Y:45.06 U:47.03 V:46.97 Avg:45.54 Global:44.44
x264 [info]: slice P:2679  Avg QP:23.19  size:  8793  PSNR Mean Y:42.52 U:44.37 V:44.48 Avg:42.99 Global:42.23
x264 [info]: slice B:4456  Avg QP:24.75  size:  1916  PSNR Mean Y:42.10 U:44.49 V:44.58 Avg:42.69 Global:41.90
x264 [info]: consecutive B-frames:  5.7% 24.6% 25.1% 44.5%
x264 [info]: mb I  I16..4: 10.8% 50.7% 38.4%
x264 [info]: mb P  I16..4:  3.5% 14.8%  3.7%  P16..4: 36.7% 12.0%  2.3%  0.0%  0.0%    skip:27.0%
x264 [info]: mb B  I16..4:  1.2%  0.0%  0.0%  B16..8: 17.0%  1.4%  0.7%  direct: 7.0%  skip:72.8%  L0:34.2% L1:46.9% BI:19.0%
x264 [info]: 8x8 transform  intra:60.2%  inter:64.1%
x264 [info]: coded y,uvDC,uvAC intra:70.4% 75.6% 35.0% inter:14.1% 15.5% 0.8%
x264 [info]: ref P L0  80.5% 19.5%
x264 [info]: SSIM Mean Y:0.9766890
x264 [info]: PSNR Mean Y:42.297 U:44.480 V:44.575 Avg:42.840 Global:42.050 kb/s:966.65
[03:54:30] thread b0a4f000 joined ("AC3 decoder")
[03:54:30] thread b0b3f000 joined ("AAC encoder (Apple)")
[03:54:30] thread b065b000 joined ("reader")
[03:54:30] fifo_close: trashing 0 buffer(s)
[03:54:30] fifo_close: trashing 1 buffer(s)
[03:54:30] fifo_close: trashing 0 buffer(s)
[03:54:30] fifo_close: trashing 0 buffer(s)
[03:54:30] fifo_close: trashing 0 buffer(s)
[03:54:30] fifo_close: trashing 0 buffer(s)
[03:54:30] fifo_close: trashing 0 buffer(s)
[03:54:30] fifo_close: trashing 0 buffer(s)
[03:54:30] fifo_close: trashing 0 buffer(s)
[03:54:30] Freed 4 buffers of size 1024
[03:54:30] Freed 32 buffers of size 2048
[03:54:30] Freed 32 buffers of size 8192
[03:54:30] Freed 32 buffers of size 65536
[03:54:30] Freed 32 buffers of size 1048576
[03:54:30] Allocated 35983360 bytes of buffers on this pass and Freed 35983360 bytes, 0 bytes leaked
[03:54:30] thread b05d9000 exited ("work")
[03:54:30] thread b05d9000 joined ("work")
[03:54:30] libhb: work result = 0
svn 2780, 6-channel AAC @ 384 Kbps (wrong sample rate, no sound):

Code: Select all

HandBrake Activity Log for /Users/tim/excluded/HIMYM - 3x20 - Miracles - 2780@384.mp4: 2009-08-30 03:54:31 +0200
Handbrake Version: svn2780 i386 (2009083001)

[03:54:31] macgui: incrementQueueItemDone currentQueueEncodeIndex is incremented to: 1
[03:54:31] macgui: incrementQueueItemDone currentQueueEncodeIndex is incremented to: 1
[03:54:31] macgui: scanning specifically for title: 1
[03:54:31] macgui: performNewQueueScan currentQueueEncodeIndex is: 1
[03:54:31] hb_scan: path=/Volumes/LaCieDisk/excluded/DVD rips/mbtree/HIMYM - 3x20 - Miracles.dvdmedia, title_index=1
[03:54:31] thread b0557000 started ("scan")
[03:54:31] scan: trying to open with libdvdread
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Couldn't find device name.
[03:54:31] scan: DVD has 1 title(s)
[03:54:31] scan: scanning title 1
[03:54:31] scan: opening IFO for VTS 1
[03:54:31] pgc_id: 1, pgn: 1: pgc: 0x1838bfd0
[03:54:31] scan: vts=1, ttn=1, cells=0->6, blocks=0->375784, 375785 blocks
[03:54:31] scan: duration is 00:20:53 (1253280 ms)
[03:54:31] scan: checking audio 1
[03:54:31] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[03:54:31] scan: title 1 has 6 chapters
[03:54:31] scan: chap 1 c=0->0, b=0->93555 (93556), 289751 ms
[03:54:31] scan: chap 2 c=1->1, b=93556->176804 (83249), 280523 ms
[03:54:31] scan: chap 3 c=2->2, b=176805->263304 (86500), 280694 ms
[03:54:31] scan: chap 4 c=3->3, b=263305->350501 (87197), 310750 ms
[03:54:31] scan: chap 5 c=4->5, b=350502->375732 (25231), 91470 ms
[03:54:31] scan: chap 6 c=6->6, b=375733->375784 (52), 90 ms
[03:54:31] scan: aspect = 0
[03:54:31] scan: decoding previews for title 1
[03:54:31] scan: title angle(s) 1
[03:54:31] scan: preview 1
[03:54:31] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[03:54:31] scan: preview 2
[03:54:31] scan: preview 3
[03:54:31] scan: preview 4
[03:54:31] scan: preview 5
[03:54:31] scan: preview 6
[03:54:31] scan: preview 7
[03:54:31] scan: preview 8
[03:54:31] scan: preview 9
[03:54:31] scan: preview 10
[03:54:31] scan: preview 11
[03:54:31] scan: preview 12
[03:54:31] scan: preview 13
[03:54:31] scan: preview 14
[03:54:31] scan: preview 15
[03:54:31] scan: preview 16
[03:54:31] scan: preview 17
[03:54:31] scan: preview 18
[03:54:31] scan: preview 19
[03:54:31] scan: preview 20
[03:54:31] scan: preview 21
[03:54:31] scan: preview 22
[03:54:31] scan: preview 23
[03:54:31] scan: preview 24
[03:54:31] scan: preview 25
[03:54:31] scan: preview 26
[03:54:31] scan: preview 27
[03:54:31] scan: preview 28
[03:54:31] scan: preview 29
[03:54:31] scan: preview 30
[03:54:31] scan: 30 previews, 720x576, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 64:45
[03:54:31] scan: title (0) job->width:720, job->height:400
[03:54:31] thread b0557000 exited ("scan")
[03:54:31] thread b0557000 joined ("scan")
[03:54:31] libhb: scan thread found 1 valid title(s)
[03:54:32] macgui: ScanDone state received from fQueueEncodeLibhb
[03:54:32] macgui: Preset: 6-channel AAC
[03:54:32] macgui: processNewQueueEncode number of passes expected is: 1
[03:54:32] macgui: prepareJob exiting
[03:54:32] thread b0557000 started ("work")
[03:54:32] 1 job(s) to process
[03:54:32] starting job
[03:54:32] job configuration:
[03:54:32]  * source
[03:54:32]    + /Volumes/LaCieDisk/excluded/DVD rips/mbtree/HIMYM - 3x20 - Miracles.dvdmedia
[03:54:32]    + title 1, chapter(s) 1 to 1
[03:54:32]  * destination
[03:54:32]    + /Users/tim/excluded/HIMYM - 3x20 - Miracles - 2780@384.mp4
[03:54:32]    + container: MPEG-4 (.mp4 and .m4v)
[03:54:32]  * video track
[03:54:32]    + decoder: mpeg2
[03:54:32]      + bitrate 7500 kbps
[03:54:32]    + frame rate: same as source (around 25.000 fps)
[03:54:32]    + loose anamorphic
[03:54:32]      + modulus: 0
[03:54:32]      + storage dimensions: 720 * 576 -> 720 * 576, crop 0/0/0/0
[03:54:32]      + pixel aspect ratio: 64 / 45
[03:54:32]      + display dimensions: 1024 * 576
[03:54:32]    + encoder: x264
[03:54:32]      + options: ref=2:mixed-refs=0:subq=4
[03:54:32]      + quality: 23.00 (RF)
[03:54:32]  * audio track 0
[03:54:32]    + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[03:54:32]      + bitrate: 448 kbps, samplerate: 48000 Hz
[03:54:32]    + mixdown: 6-channel discrete
[03:54:32]    + encoder: ca_aac
[03:54:32]      + bitrate: 384 kbps, samplerate: 48000 Hz
libdvdread: Using libdvdcss version 1.2.10 for DVD access
[03:54:32] thread b05d9000 started ("reader")
libdvdread: Couldn't find device name.
[03:54:32] thread b065b000 started ("MPEG-2 decoder (libmpeg2)")
[03:54:32] thread b06ff000 started ("Renderer")
[03:54:32] encx264: encoding with stored aspect 64/45
[03:54:32] encx264: Encoding at constant RF 23.000000
[03:54:32] encx264: opening libx264 (pass 0)
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 3.0
[03:54:32] thread b08a6000 started ("H.264/AVC encoder (libx264)")
No accelerated IMDCT transform found
[03:54:32] thread b0928000 started ("AC3 decoder")
[03:54:32] thread b09aa000 started ("AAC encoder (Apple)")
[03:54:32] thread b0a4f000 started ("muxer")
[03:54:32] sync: expecting 7268 video frames
[03:54:32] muxmp4: track 0, chunk duration 14400
[03:54:32] muxmp4: track 1, chunk duration 7680
[03:54:32] reader: first SCR 146
[03:54:32] mpeg2: "" (1) at frame 0 time 10800
[03:54:32] sync: first pts is 10800
[03:56:43] reader: end of chapter 1 (media 1) reached at media chapter 2
[03:56:43] reader: done. 0 scr changes
[03:56:43] thread b05d9000 exited ("reader")
[03:56:44] sync: got 7235 frames, 7268 expected
[03:56:44] work: average encoding speed for job is 54.507671 fps
[03:56:45] mux: file size, 35058382 bytes
[03:56:45] mux: track 0, 7236 frames, 34974271 bytes, 966.41 kbps, fifo 32
[03:56:45] mux: video bitrate error, +34974271 bytes
[03:56:45] mux: track 1, 4 frames, 172 bytes, 0.00 kbps, fifo 8
[03:56:45] mux: overhead, 11.59 bytes per frame
[03:56:45] thread b0a4f000 exited ("muxer")
[03:56:45] thread b0a4f000 joined ("muxer")
[03:56:45] thread b08a6000 exited ("H.264/AVC encoder (libx264)")
[03:56:45] thread b09aa000 exited ("AAC encoder (Apple)")
[03:56:45] thread b06ff000 exited ("Renderer")
[03:56:45] thread b0928000 exited ("AC3 decoder")
[03:56:45] thread b065b000 exited ("MPEG-2 decoder (libmpeg2)")
[03:56:45] thread b065b000 joined ("MPEG-2 decoder (libmpeg2)")
[03:56:45] mpeg2 done: 7236 frames
[03:56:45] thread b06ff000 joined ("Renderer")
[03:56:45] render: lost time: 0 (0 frames)
[03:56:45] render: gained time: 0 (0 frames) (0 not accounted for)
[03:56:45] fifo_close: trashing 0 buffer(s)
[03:56:45] fifo_close: trashing 0 buffer(s)
[03:56:45] thread b08a6000 joined ("H.264/AVC encoder (libx264)")
[03:56:45] encx264: 1 frames had to be split (7235 in, 7239 out)
x264 [info]: slice I:101   Avg QP:20.98  size: 28486  PSNR Mean Y:45.06 U:47.03 V:46.97 Avg:45.54 Global:44.44
x264 [info]: slice P:2679  Avg QP:23.19  size:  8793  PSNR Mean Y:42.52 U:44.37 V:44.48 Avg:42.99 Global:42.23
x264 [info]: slice B:4456  Avg QP:24.75  size:  1916  PSNR Mean Y:42.10 U:44.49 V:44.58 Avg:42.69 Global:41.90
x264 [info]: consecutive B-frames:  5.7% 24.6% 25.1% 44.5%
x264 [info]: mb I  I16..4: 10.8% 50.7% 38.4%
x264 [info]: mb P  I16..4:  3.5% 14.8%  3.7%  P16..4: 36.7% 12.0%  2.3%  0.0%  0.0%    skip:27.0%
x264 [info]: mb B  I16..4:  1.2%  0.0%  0.0%  B16..8: 17.0%  1.4%  0.7%  direct: 7.0%  skip:72.8%  L0:34.2% L1:46.9% BI:19.0%
x264 [info]: 8x8 transform  intra:60.2%  inter:64.1%
x264 [info]: coded y,uvDC,uvAC intra:70.4% 75.6% 35.0% inter:14.1% 15.5% 0.8%
x264 [info]: ref P L0  80.5% 19.5%
x264 [info]: SSIM Mean Y:0.9766890
x264 [info]: PSNR Mean Y:42.297 U:44.480 V:44.575 Avg:42.840 Global:42.050 kb/s:966.65
[03:56:45] thread b0928000 joined ("AC3 decoder")
[03:56:45] thread b09aa000 joined ("AAC encoder (Apple)")
[03:56:45] thread b05d9000 joined ("reader")
[03:56:45] fifo_close: trashing 0 buffer(s)
[03:56:45] fifo_close: trashing 1 buffer(s)
[03:56:45] fifo_close: trashing 0 buffer(s)
[03:56:45] fifo_close: trashing 0 buffer(s)
[03:56:45] fifo_close: trashing 0 buffer(s)
[03:56:45] fifo_close: trashing 0 buffer(s)
[03:56:45] fifo_close: trashing 0 buffer(s)
[03:56:45] fifo_close: trashing 0 buffer(s)
[03:56:45] fifo_close: trashing 1 buffer(s)
[03:56:45] Freed 4 buffers of size 1024
[03:56:45] Freed 32 buffers of size 2048
[03:56:45] Freed 32 buffers of size 65536
[03:56:45] Freed 32 buffers of size 1048576
[03:56:45] Allocated 109842432 bytes of buffers on this pass and Freed 35721216 bytes, 74121216 bytes leaked
[03:56:45] thread b0557000 exited ("work")
[03:56:45] thread b0557000 joined ("work")
[03:56:45] libhb: work result = 0
User avatar
Ritsuka
HandBrake Team
Posts: 1207
Joined: Fri Jan 12, 2007 11:29 am

Re: 2780 Memory Leak and audio sample rate incorrect

Post by Ritsuka »

I reverted the way it creates the AudioConverter to the previous one, if that fails it tries without the sample rate.
mac_man_ad
Regular User
Posts: 75
Joined: Wed Aug 22, 2007 5:21 am

Re: 2780 Memory Leak and audio sample rate incorrect

Post by mac_man_ad »

Seems to have fixed it, thanks Ristuka.
Post Reply