3x Handbrake performance boost
-
- Posts: 8
- Joined: Thu Jan 07, 2010 12:48 am
3x Handbrake performance boost
Hello all,
I have been doing some encodings of my DV recordings with Handbrake 0.9.4.
I am on 2x QuadCore Xeon 2.66GHz / 8GB RAM / Windows 7 64bit.
I am cropping and resizing the image, using deinterlace (setting: slower) and denoising (setting: weak).
I was always getting around 20fps encoding speed. All 8 cores were used, but all only at about 30-40% utilization.
I was assuimng that this is because of the deinterlacing which, I heard, doesn't use multi-core so effectively.
So I have upgraded to the latest Snapshot release of Handbrake (svn3036) and was surpriced to see 3x performance boost with it!!!
Now all my cores are at 100% all the time and encoding speed is around 60fps!!!
Strange thing is, that after uninstalling Snapshot release and reinstalling 0.9.4 my performance didn't do down to what it used to be, but stayed on that high level. I wonder why. Perhaps x264 got upgraded and it wasn't downgraded with Snapshot release uninstall?
I have been doing some encodings of my DV recordings with Handbrake 0.9.4.
I am on 2x QuadCore Xeon 2.66GHz / 8GB RAM / Windows 7 64bit.
I am cropping and resizing the image, using deinterlace (setting: slower) and denoising (setting: weak).
I was always getting around 20fps encoding speed. All 8 cores were used, but all only at about 30-40% utilization.
I was assuimng that this is because of the deinterlacing which, I heard, doesn't use multi-core so effectively.
So I have upgraded to the latest Snapshot release of Handbrake (svn3036) and was surpriced to see 3x performance boost with it!!!
Now all my cores are at 100% all the time and encoding speed is around 60fps!!!
Strange thing is, that after uninstalling Snapshot release and reinstalling 0.9.4 my performance didn't do down to what it used to be, but stayed on that high level. I wonder why. Perhaps x264 got upgraded and it wasn't downgraded with Snapshot release uninstall?
Re: 3x Handbrake performance boost
Did you switch from deinterlace to decomb?
-
- Posts: 8
- Joined: Thu Jan 07, 2010 12:48 am
Re: 3x Handbrake performance boost
No, no, no. All settings remained exactly the same. I have double-checked - Interlace is on Slower, Denoise is on Weak, just as it was before. All the other setting are the same as well. I am using the same custom preset I had. But I have also created a new one from sratch, just to see if that would make any difference but it was the same speed as my old preset.
I would really like to know what might have caused this speed increase. I also didn't touch my system between both Handbrake releases. I was actually encoding my videos and was wondering if there might be some developments in the area of batch encoding support. So I have stopped my encoding. Downloaded the latest snapshot release. Unfortunately nothing has changed as far as the batch encoding support, but I was very surpriced to see this enormous performance boost!
I would really like to know what might have caused this speed increase. I also didn't touch my system between both Handbrake releases. I was actually encoding my videos and was wondering if there might be some developments in the area of batch encoding support. So I have stopped my encoding. Downloaded the latest snapshot release. Unfortunately nothing has changed as far as the batch encoding support, but I was very surpriced to see this enormous performance boost!
Re: 3x Handbrake performance boost
Are you copying the DV files to your hard drive now instead of having HB read them straight off the device? Was your hard drive very close to full or fragmented before?
x264 is baked into HandBrake, not installed seperately, so the version from the snapshot wouldn't "stick around."
x264 is baked into HandBrake, not installed seperately, so the version from the snapshot wouldn't "stick around."
Re: 3x Handbrake performance boost
Activity log and someone might be able to tell you why your speed boost remained after you went back to 0.9.4
-
- Posts: 8
- Joined: Thu Jan 07, 2010 12:48 am
Re: 3x Handbrake performance boost
My DV files are on a hard drive. And as I said - nothing changed between HB 0.9.4 and the latest snapshot release. I literally stopped the encoding queue, downloaded the snapshot, installed it and went on to encoding again - and from that moment it was 3x faster. I didn't even reboot in between, let alone any defragmenting or other fancy stuff.
What I will do, I will bring back by system drive ghost image on the weekend from before any Handbrake, install clean 0.9.4 and check the encoding speed. I will also save the logs. Then I will install the snapshot release and do the tests again. I am really curious what the results will be. I will post it here of course. But I cannot do it before the weekend - no time for playing around so much during the week
Cheers!
YS
What I will do, I will bring back by system drive ghost image on the weekend from before any Handbrake, install clean 0.9.4 and check the encoding speed. I will also save the logs. Then I will install the snapshot release and do the tests again. I am really curious what the results will be. I will post it here of course. But I cannot do it before the weekend - no time for playing around so much during the week
Cheers!
YS
Re: 3x Handbrake performance boost
Activity logs are all saved on your computer. Can you post an old one and a recent one?
-
- Posts: 8
- Joined: Thu Jan 07, 2010 12:48 am
Re: 3x Handbrake performance boost
OK, so here is the log from the slow encoding before upgrading to snapshot release:
And below, just 15 minutes later, a log from encoding after upgrading to the snapshot release:
I have noticed, that after the upgrade AC3 passthrough was not selected. Also, it was a different file that I have encoded. However the speed increase was permanent and for all files after that upgrade. But just to be sure, just few minues ago I have encoded the same file as the one from before the upgrade and I have selected AC3 passtrough (although there isn't any AC3 in that video, but just to have the same conditions). Encoding is still fast. Here is the log:
I don't see any significant differences in those logs.
Perhaps I should put verbosity level to 2, but it won't help too much as I won't be able to do that for the slow encoding. But anyway, I hope that after restoring system drive image and installing clean HB 0.9.4 encoding will be slow again so I can take a verbose log and perhaps check the encoding speed with and without deinterlacing. Then upgrade to the snapshot release and do the same. I just hope that I get my current speed back after those tests!!!
Code: Select all
### CLI Query: -i "F:\Video\Sony\Done\2006-03-30_17-31.00.avi" -t 1 -c 1 -o "D:\Video\2006-03-30_17-31.00-2.m4v" -f mp4 -w 624 -l 416 --crop 44:44:16:18 --deinterlace="slower" --denoise="weak" -e x264 -q 20 -a 1,1 -E faac,ac3 -6 dpl2,auto -R 48,Auto -B 160,auto -D 0.0,0.0 --markers="C:\Users\Tomek\AppData\Local\Temp\2006-03-30_17-31.00-2-1-chapters.csv" -x b-adapt=2:rc-lookahead=50 -v 1
### User Query: False
#########################################
[08:49:40] hb_init: checking cpu count
[08:49:40] hb_init: starting libhb thread
HandBrake 0.9.4 (2009112300) - MinGW i386 - http://handbrake.fr
8 CPUs detected
Opening F:\Video\Sony\Done\2006-03-30_17-31.00.avi...
[08:49:40] hb_scan: path=F:\Video\Sony\Done\2006-03-30_17-31.00.avi, title_index=1
[08:49:40] 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
[08:49:40] dvd: not a dvd - trying as a stream/file instead
Input #0, avi, from 'F:\Video\Sony\Done\2006-03-30_17-31.00.avi':
Duration: 00:28:20.36, start: 0.000000, bitrate: 30336 kb/s
Stream #0.0: Video: dvvideo, yuv420p, 720x576, 28800 kb/s, PAR 59:54 DAR 295:216, 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
[08:49:40] scan: decoding previews for title 1
[08:49:40] scan: 10 previews, 720x576, 25.000 fps, autocrop = 4/0/0/0, aspect 4:3, PAR 59:54
[08:49:40] Title is likely interlaced or telecined (7 out of 10 previews). You should do something about that.
[08:49:40] scan: title (0) job->width:720, job->height:528
[08:49:40] libhb: scan thread found 1 valid title(s)
+ title 1:
+ vts 0, ttn 0, cells 0->0 (0 blocks)
+ angle(s) 0
+ duration: 00:28:20
+ size: 720x576, pixel aspect: 59/54, display aspect: 1.37, 25.000 fps
+ autocrop: 4/0/0/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:28:20
+ audio tracks:
+ 1, Unknown (PCM_S16) (iso639-2: und)
+ subtitle tracks:
+ combing detected, may be interlaced or telecined
Reading chapter markers from file C:\Users\Tomek\AppData\Local\Temp\2006-03-30_17-31.00-2-1-chapters.csv
Invalid sample rate 0, using input rate 48000
[08:49:40] 1 job(s) to process
[08:49:40] starting job
[08:49:40] Passthru requested and input codec is not the same as output codec for track 2
[08:49:40] work: sanitizing track 0 mixdown Dolby Pro Logic II to Stereo
[08:49:40] job configuration:
[08:49:40] * source
[08:49:40] + F:\Video\Sony\Done\2006-03-30_17-31.00.avi
[08:49:40] + title 1, chapter(s) 1 to 1
[08:49:40] + container: avi
[08:49:40] + data rate: 30336 kbps
[08:49:40] * destination
[08:49:40] + D:\Video\2006-03-30_17-31.00-2.m4v
[08:49:40] + container: MPEG-4 (.mp4 and .m4v)
[08:49:40] + chapter markers
[08:49:40] * video track
[08:49:40] + decoder: dvvideo
[08:49:40] + bitrate 28800 kbps
[08:49:40] + frame rate: same as source (around 25.000 fps)
[08:49:40] + dimensions: 720 * 576 -> 624 * 416, crop 44/44/16/18
[08:49:40] + filters
[08:49:40] + Deinterlace (ffmpeg or yadif/mcdeint) (0)
[08:49:40] + Denoise (hqdn3d) (2:1:2:3)
[08:49:40] + encoder: x264
[08:49:40] + options: b-adapt=2:rc-lookahead=50
[08:49:40] + quality: 20.00 (RF)
[08:49:40] * audio track 0
[08:49:40] + decoder: Unknown (PCM_S16) (track 1, id 1)
[08:49:40] + mixdown: Stereo
[08:49:40] + encoder: faac
[08:49:40] + bitrate: 160 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
[08:49:40] dvd: not a dvd - trying as a stream/file instead
[08:49:40] Yadif Deinterlace thread started for segment 0
[08:49:40] Yadif Deinterlace thread started for segment 1
[08:49:40] Yadif Deinterlace thread started for segment 2
[08:49:40] Yadif Deinterlace thread started for segment 3
[08:49:40] Yadif Deinterlace thread started for segment 4
[08:49:40] Yadif Deinterlace thread started for segment 5
[08:49:40] Yadif Deinterlace thread started for segment 6
[08:49:40] Yadif Deinterlace thread started for segment 7
[08:49:40] encx264: Encoding at constant RF 20.000000
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
[08:49:40] reader: first SCR 0 id 0 DTS 0
x264 [info]: profile High, level 3.0
[08:49:40] sync: expecting 42534 video frames
Code: Select all
### CLI Query: -i "F:\Video\Sony\Done\2006-08-31_20-46.00.avi" -t 1 -c 1 -o "D:\Video\2006-08-31_20-46.00-1.m4v" -f mp4 -w 624 -l 416 --crop 44:44:16:18 --deinterlace="slower" --denoise="weak" -e x264 -q 20 -a 1 -E faac -6 auto -R 48 -B 160 -D 0.0 --markers="C:\Users\Tomek\AppData\Local\Temp\2006-08-31_20-46.00-1-1-chapters.csv" -x b-adapt=2:rc-lookahead=50 -v 1
### User Query: False
#########################################
[09:04:27] hb_init: checking cpu count
[09:04:27] hb_init: starting libhb thread
HandBrake svn3036 (2009121901) - MinGW i386 - http://handbrake.fr
8 CPUs detected
Opening F:\Video\Sony\Done\2006-08-31_20-46.00.avi...
[09:04:27] hb_scan: path=F:\Video\Sony\Done\2006-08-31_20-46.00.avi, title_index=1
[09:04:27] 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
[09:04:27] dvd: not a dvd - trying as a stream/file instead
Input #0, avi, from 'F:\Video\Sony\Done\2006-08-31_20-46.00.avi':
Duration: 00:18:29.40, start: 0.000000, bitrate: 30336 kb/s
Stream #0.0: Video: dvvideo, yuv420p, 720x576, 28800 kb/s, PAR 59:54 DAR 295:216, 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[09:04:27] scan: decoding previews for title 1
[09:04:27] scan: 10 previews, 720x576, 25.000 fps, autocrop = 2/0/0/0, aspect 4:3, PAR 59:54
[09:04:27] Title is likely interlaced or telecined (7 out of 10 previews). You should do something about that.
[09:04:27] scan: title (0) job->width:720, job->height:528
[09:04:27] libhb: scan thread found 1 valid title(s)
+ title 1:
+ stream: F:\Video\Sony\Done\2006-08-31_20-46.00.avi
+ angle(s) 0
+ duration: 00:18:29
+ size: 720x576, pixel aspect: 59/54, display aspect: 1.37, 25.000 fps
+ autocrop: 2/0/0/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:18:29
+ audio tracks:
+ 1, Unknown (PCM_S16) (iso639-2: und)
+ subtitle tracks:
+ combing detected, may be interlaced or telecined
Reading chapter markers from file C:\Users\Tomek\AppData\Local\Temp\2006-08-31_20-46.00-1-1-chapters.csv
[09:04:27] 1 job(s) to process
[09:04:27] starting job
[09:04:27] work: sanitizing track 0 mixdown Mono to Stereo
[09:04:27] sync: expecting 27760 video frames
[09:04:27] work: only 1 chapter, disabling chapter markers
[09:04:27] job configuration:
[09:04:27] * source
[09:04:27] + F:\Video\Sony\Done\2006-08-31_20-46.00.avi
[09:04:27] + title 1, chapter(s) 1 to 1
[09:04:27] + container: avi
[09:04:27] + data rate: 30336 kbps
[09:04:27] * destination
[09:04:27] + D:\Video\2006-08-31_20-46.00-1.m4v
[09:04:27] + container: MPEG-4 (.mp4 and .m4v)
[09:04:27] * video track
[09:04:27] + decoder: dvvideo
[09:04:27] + bitrate 28800 kbps
[09:04:27] + frame rate: same as source (around 25.000 fps)
[09:04:27] + dimensions: 720 * 576 -> 624 * 416, crop 44/44/16/18
[09:04:27] + filters
[09:04:27] + Deinterlace (ffmpeg or yadif/mcdeint) (0)
[09:04:27] + Denoise (hqdn3d) (2:1:2:3)
[09:04:27] + encoder: x264
[09:04:27] + options: b-adapt=2:rc-lookahead=50
[09:04:27] + quality: 20.00 (RF)
[09:04:27] * audio track 0
[09:04:27] + decoder: Unknown (PCM_S16) (track 1, id 1)
[09:04:27] + mixdown: Stereo
[09:04:27] + encoder: faac
[09:04:27] + bitrate: 160 kbps, samplerate: 48000 Hz
[09:04:27] Yadif Deinterlace thread started for segment 0
[09:04:27] Yadif Deinterlace thread started for segment 1
[09:04:27] Yadif Deinterlace thread started for segment 2
[09:04:27] Yadif Deinterlace thread started for segment 3
[09:04:27] Yadif Deinterlace thread started for segment 4
[09:04:27] Yadif Deinterlace thread started for segment 5
[09:04:27] Yadif Deinterlace thread started for segment 6
[09:04:27] Yadif Deinterlace thread started for segment 7
[09:04:27] reader: first SCR 0 id 0 DTS 0
[09:04:27] encx264: Encoding at constant RF 20.000000
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 3.0
Code: Select all
### CLI Query: -i "F:\Video\Sony\Done\2006-03-30_17-31.00.avi" -t 1 -c 1 -o "E:\2006-03-30_17-31.00-2.m4v" -f mp4 -w 624 -l 416 --crop 44:44:16:18 --deinterlace="slower" --denoise="weak" -e x264 -q 20 -a 1,1 -E faac,ac3 -6 dpl2,auto -R 48,Auto -B 160,auto -D 0.0,0.0 --markers="C:\Users\Tomek\AppData\Local\Temp\2006-03-30_17-31.00-2-1-chapters.csv" -x b-adapt=2:rc-lookahead=50 -v 1
### User Query: False
#########################################
[10:01:16] hb_init: checking cpu count
[10:01:16] hb_init: starting libhb thread
HandBrake svn3036 (2009121901) - MinGW i386 - http://handbrake.fr
8 CPUs detected
Opening F:\Video\Sony\Done\2006-03-30_17-31.00.avi...
[10:01:16] hb_scan: path=F:\Video\Sony\Done\2006-03-30_17-31.00.avi, title_index=1
[10:01:16] 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:01:16] dvd: not a dvd - trying as a stream/file instead
Input #0, avi, from 'F:\Video\Sony\Done\2006-03-30_17-31.00.avi':
Duration: 00:28:20.36, start: 0.000000, bitrate: 30336 kb/s
Stream #0.0: Video: dvvideo, yuv420p, 720x576, 28800 kb/s, PAR 59:54 DAR 295:216, 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[10:01:16] scan: decoding previews for title 1
[10:01:16] scan: 10 previews, 720x576, 25.000 fps, autocrop = 4/0/0/0, aspect 4:3, PAR 59:54
[10:01:16] Title is likely interlaced or telecined (7 out of 10 previews). You should do something about that.
[10:01:16] scan: title (0) job->width:720, job->height:528
Scanning title 1...
[10:01:16] libhb: scan thread found 1 valid title(s)
+ title 1:
+ stream: F:\Video\Sony\Done\2006-03-30_17-31.00.avi
+ angle(s) 0
+ duration: 00:28:20
+ size: 720x576, pixel aspect: 59/54, display aspect: 1.37, 25.000 fps
+ autocrop: 4/0/0/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:28:20
+ audio tracks:
+ 1, Unknown (PCM_S16) (iso639-2: und)
+ subtitle tracks:
+ combing detected, may be interlaced or telecined
Reading chapter markers from file C:\Users\Tomek\AppData\Local\Temp\2006-03-30_17-31.00-2-1-chapters.csv
Invalid sample rate 0, using input rate 48000
[10:01:16] 1 job(s) to process
[10:01:16] starting job
[10:01:16] Passthru requested and input codec is not the same as output codec for track 2
[10:01:16] work: sanitizing track 0 mixdown Dolby Pro Logic II to Stereo
[10:01:16] sync: expecting 42534 video frames
[10:01:16] work: only 1 chapter, disabling chapter markers
[10:01:16] job configuration:
[10:01:16] * source
[10:01:16] + F:\Video\Sony\Done\2006-03-30_17-31.00.avi
[10:01:16] + title 1, chapter(s) 1 to 1
[10:01:16] + container: avi
[10:01:16] + data rate: 30336 kbps
[10:01:16] * destination
[10:01:16] + E:\2006-03-30_17-31.00-2.m4v
[10:01:16] + container: MPEG-4 (.mp4 and .m4v)
[10:01:16] * video track
[10:01:16] + decoder: dvvideo
[10:01:16] + bitrate 28800 kbps
[10:01:16] + frame rate: same as source (around 25.000 fps)
[10:01:16] + dimensions: 720 * 576 -> 624 * 416, crop 44/44/16/18
[10:01:16] + filters
[10:01:16] + Deinterlace (ffmpeg or yadif/mcdeint) (0)
[10:01:16] + Denoise (hqdn3d) (2:1:2:3)
[10:01:16] + encoder: x264
[10:01:16] + options: b-adapt=2:rc-lookahead=50
[10:01:16] + quality: 20.00 (RF)
[10:01:16] * audio track 0
[10:01:16] + decoder: Unknown (PCM_S16) (track 1, id 1)
[10:01:16] + mixdown: Stereo
[10:01:16] + encoder: faac
[10:01:16] + bitrate: 160 kbps, samplerate: 48000 Hz
[10:01:16] Yadif Deinterlace thread started for segment 0
[10:01:16] Yadif Deinterlace thread started for segment 1
[10:01:16] Yadif Deinterlace thread started for segment 2
[10:01:16] Yadif Deinterlace thread started for segment 3
[10:01:16] Yadif Deinterlace thread started for segment 4
[10:01:16] Yadif Deinterlace thread started for segment 5
[10:01:16] Yadif Deinterlace thread started for segment 6
[10:01:16] Yadif Deinterlace thread started for segment 7
[10:01:16] encx264: Encoding at constant RF 20.000000
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
[10:01:16] reader: first SCR 0 id 0 DTS 0
x264 [info]: profile High, level 3.0
Perhaps I should put verbosity level to 2, but it won't help too much as I won't be able to do that for the slow encoding. But anyway, I hope that after restoring system drive image and installing clean HB 0.9.4 encoding will be slow again so I can take a verbose log and perhaps check the encoding speed with and without deinterlacing. Then upgrade to the snapshot release and do the same. I just hope that I get my current speed back after those tests!!!
-
- Posts: 8
- Joined: Thu Jan 07, 2010 12:48 am
Re: 3x Handbrake performance boost
Sorry for that!
I am just starting with HB and was not aware that these logs are not complete.
I have looked in the log folder for the one from HB 0.9.4 that is complete (ends with "Rip done. HandBrake has exited") and then have encoded the same file again with my current HB release (svn3036).
As you can see HB 0.9.4 encodes at average 22fps, and HB svn3036 at 56fps.
The CLI parameters are exactly the same in both cases, except that the second one outputs to a different HDD, but believe me - that's not affecting the encoding speed. I've checked.
That's really strange that HB was using only 30-40% of all of the 8-cores, and after going to svn3036 it is using 100% of all 8-cores. And also when I downgrade to 0.9.4.
I am just starting with HB and was not aware that these logs are not complete.
I have looked in the log folder for the one from HB 0.9.4 that is complete (ends with "Rip done. HandBrake has exited") and then have encoded the same file again with my current HB release (svn3036).
As you can see HB 0.9.4 encodes at average 22fps, and HB svn3036 at 56fps.
The CLI parameters are exactly the same in both cases, except that the second one outputs to a different HDD, but believe me - that's not affecting the encoding speed. I've checked.
That's really strange that HB was using only 30-40% of all of the 8-cores, and after going to svn3036 it is using 100% of all 8-cores. And also when I downgrade to 0.9.4.
Code: Select all
### CLI Query: -i "F:\Video\Sony\1996-11-01_17-00.02.avi" -t 1 -c 1 -o
"D:\Video\1996-11-01_17-00.02-1.m4v" -f mp4 -w 624 -l 416 --crop
44:44:16:18 --deinterlace="slower" --denoise="weak" -e x264 -q 20 -a 1 -E
faac -6 auto -R 48 -B 160 -D 0.0 --markers="C:\Users\Tomek\AppData\Local
\Temp\1996-11-01_17-00.02-1-1-chapters.csv" -x b-adapt=2:rc-lookahead=50
-v 1
### User Query: False
#########################################
[00:00:39] hb_init: checking cpu count
[00:00:39] hb_init: starting libhb thread
HandBrake 0.9.4 (2009112300) - MinGW i386 - http://handbrake.fr
8 CPUs detected
Opening F:\Video\Sony\1996-11-01_17-00.02.avi...
[00:00:39] hb_scan: path=F:\Video\Sony\1996-11-01_17-00.02.avi,
title_index=1
[00:00:39] 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
[00:00:39] dvd: not a dvd - trying as a stream/file instead
Input #0, avi, from 'F:\Video\Sony\1996-11-01_17-00.02.avi':
Duration: 00:10:22.44, start: 0.000000, bitrate: 30343 kb/s
Stream #0.0: Video: dvvideo, yuv420p, 720x576, 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
[00:00:39] scan: decoding previews for title 1
[00:00:39] scan: 10 previews, 720x576, 25.000 fps, autocrop = 2/0/2/0,
aspect 1.25:1, PAR 1:1
[00:00:39] Title is likely interlaced or telecined (6 out of 10
previews). You should do something about that.
[00:00:39] scan: title (0) job->width:720, job->height:576
[00:00:40] libhb: scan thread found 1 valid title(s)
+ title 1:
+ vts 0, ttn 0, cells 0->0 (0 blocks)
+ angle(s) 0
+ duration: 00:10:22
+ size: 720x576, pixel aspect: 1/1, display aspect: 1.25, 25.000 fps
+ autocrop: 2/0/2/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:10:22
+ audio tracks:
+ 1, Unknown (PCM_S16) (iso639-2: und)
+ subtitle tracks:
+ combing detected, may be interlaced or telecined
Reading chapter markers from file C:\Users\Tomek\AppData\Local\Temp\1996
-11-01_17-00.02-1-1-chapters.csv
[00:00:40] 1 job(s) to process
[00:00:40] starting job
[00:00:40] work: sanitizing track 0 mixdown Mono to Stereo
[00:00:40] job configuration:
[00:00:40] * source
[00:00:40] + F:\Video\Sony\1996-11-01_17-00.02.avi
[00:00:40] + title 1, chapter(s) 1 to 1
[00:00:40] + container: avi
[00:00:40] + data rate: 30343 kbps
[00:00:40] * destination
[00:00:40] + D:\Video\1996-11-01_17-00.02-1.m4v
[00:00:40] + container: MPEG-4 (.mp4 and .m4v)
[00:00:40] + chapter markers
[00:00:40] * video track
[00:00:40] + decoder: dvvideo
[00:00:40] + frame rate: same as source (around 25.000 fps)
[00:00:40] + dimensions: 720 * 576 -> 624 * 416, crop 44/44/16/18
[00:00:40] + filters
[00:00:40] + Deinterlace (ffmpeg or yadif/mcdeint) (0)
[00:00:40] + Denoise (hqdn3d) (2:1:2:3)
[00:00:40] + encoder: x264
[00:00:40] + options: b-adapt=2:rc-lookahead=50
[00:00:40] + quality: 20.00 (RF)
[00:00:40] * audio track 0
[00:00:40] + decoder: Unknown (PCM_S16) (track 1, id 1)
[00:00:40] + mixdown: Stereo
[00:00:40] + encoder: faac
[00:00:40] + bitrate: 160 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
[00:00:40] dvd: not a dvd - trying as a stream/file instead
[00:00:40] Yadif Deinterlace thread started for segment 0
[00:00:40] Yadif Deinterlace thread started for segment 1
[00:00:40] Yadif Deinterlace thread started for segment 2
[00:00:40] Yadif Deinterlace thread started for segment 3
[00:00:40] Yadif Deinterlace thread started for segment 4
[00:00:40] Yadif Deinterlace thread started for segment 5
[00:00:40] Yadif Deinterlace thread started for segment 6
[00:00:40] Yadif Deinterlace thread started for segment 7
[00:00:40] encx264: Encoding at constant RF 20.000000
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle
SSE4.1 Cache64
[00:00:40] reader: first SCR 0 id 1 DTS 0
x264 [info]: profile High, level 3.0
[00:00:40] sync: expecting 15586 video frames
[00:12:31] reader: done. 1 scr changes
[00:12:31] sync: got 15561 frames, 15586 expected
[00:12:31] work: average encoding speed for job is 21.864498 fps
[00:12:32] mux: track 0, 15560 frames, 237775461 bytes, 3055.06 kbps,
fifo 128
[00:12:32] mux: track 1, 29187 frames, 12450673 bytes, 159.97 kbps, fifo
256
[00:12:32] dvvideo-decoder done: 15562 frames, 1 decoder errors, 0 drops
[00:12:32] render: lost time: 0 (0 frames)
[00:12:32] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:67 Avg QP:19.80 size: 32020 PSNR Mean Y:44.04
U:48.94 V:50.18 Avg:45.23 Global:45.16
x264 [info]: frame P:4581 Avg QP:23.15 size: 18595 PSNR Mean Y:41.27
U:46.88 V:48.73 Avg:42.56 Global:42.49
x264 [info]: frame B:10912 Avg QP:24.29 size: 13788 PSNR Mean Y:39.85
U:45.19 V:47.52 Avg:41.13 Global:40.99
x264 [info]: consecutive B-frames: 0.3% 4.4% 39.2% 56.1%
x264 [info]: mb I I16..4: 0.4% 79.0% 20.6%
x264 [info]: mb P I16..4: 0.2% 38.7% 5.9% P16..4: 26.1% 21.9% 7.2%
0.0% 0.0% skip: 0.0%
x264 [info]: mb B I16..4: 0.1% 15.9% 1.8% B16..8: 50.6% 4.2% 5.3%
direct:19.7% skip: 2.5% L0:44.3% L1:44.9% BI:10.8%
x264 [info]: 8x8 transform intra:87.8% inter:64.1%
x264 [info]: coded y,uvDC,uvAC intra: 97.7% 93.5% 38.0% inter: 81.4%
88.7% 2.1%
x264 [info]: i16 v,h,dc,p: 6% 10% 2% 82%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 9% 19% 8% 12% 10% 11%
9% 11%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 11% 15% 9% 16% 10% 14%
7% 9%
x264 [info]: Weighted P-Frames: Y:8.4%
x264 [info]: ref P L0: 47.4% 17.7% 23.4% 9.3% 2.3%
x264 [info]: ref B L0: 82.3% 17.7%
x264 [info]: SSIM Mean Y:0.9529790
x264 [info]: PSNR Mean Y:40.284 U:45.704 V:47.887 Avg:41.565
Global:41.392 kb/s:3056.28
[00:12:32] pcm_s16le-decoder done: 0 frames, 0 decoder errors, 0 drops
[00:12:32] libhb: work result = 0
Rip done!
HandBrake has exited.
Code: Select all
### CLI Query: -i "F:\Video\Sony\1996-11-01_17-00.02.avi" -t 1 -c 1 -o "E:\1996-11-01_17-00.02-1.m4v" -f mp4 -w 624 -l 416 --crop 44:44:16:18 --deinterlace="slower" --denoise="weak" -e x264 -q 20 -a 1 -E faac -6 auto -R 48 -B 160 -D 0.0 --markers="C:\Users\Tomek\AppData\Local\Temp\1996-11-01_17-00.02-1-1-chapters.csv" -x b-adapt=2:rc-lookahead=50 -v 1
### User Query: False
#########################################
[12:57:56] hb_init: checking cpu count
[12:57:56] hb_init: starting libhb thread
HandBrake svn3036 (2009121901) - MinGW i386 - http://handbrake.fr
8 CPUs detected
Opening F:\Video\Sony\1996-11-01_17-00.02.avi...
[12:57:56] hb_scan: path=F:\Video\Sony\1996-11-01_17-00.02.avi, title_index=1
[12:57:56] 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
[12:57:56] dvd: not a dvd - trying as a stream/file instead
Input #0, avi, from 'F:\Video\Sony\1996-11-01_17-00.02.avi':
Duration: 00:10:22.44, start: 0.000000, bitrate: 30343 kb/s
Stream #0.0: Video: dvvideo, yuv420p, 720x576, 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[12:57:56] scan: decoding previews for title 1
[12:57:56] scan: 10 previews, 720x576, 25.000 fps, autocrop = 2/0/2/0, aspect 1.25:1, PAR 1:1
[12:57:56] Title is likely interlaced or telecined (6 out of 10 previews). You should do something about that.
[12:57:56] scan: title (0) job->width:720, job->height:576
[12:57:56] libhb: scan thread found 1 valid title(s)
+ title 1:
+ stream: F:\Video\Sony\1996-11-01_17-00.02.avi
+ angle(s) 0
+ duration: 00:10:22
+ size: 720x576, pixel aspect: 1/1, display aspect: 1.25, 25.000 fps
+ autocrop: 2/0/2/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:10:22
+ audio tracks:
+ 1, Unknown (PCM_S16) (iso639-2: und)
+ subtitle tracks:
+ combing detected, may be interlaced or telecined
Reading chapter markers from file C:\Users\Tomek\AppData\Local\Temp\1996-11-01_17-00.02-1-1-chapters.csv
[12:57:56] 1 job(s) to process
[12:57:56] starting job
[12:57:56] work: sanitizing track 0 mixdown Mono to Stereo
[12:57:56] sync: expecting 15586 video frames
[12:57:56] work: only 1 chapter, disabling chapter markers
[12:57:56] job configuration:
[12:57:56] * source
[12:57:56] + F:\Video\Sony\1996-11-01_17-00.02.avi
[12:57:56] + title 1, chapter(s) 1 to 1
[12:57:56] + container: avi
[12:57:56] + data rate: 30343 kbps
[12:57:56] * destination
[12:57:56] + E:\1996-11-01_17-00.02-1.m4v
[12:57:56] + container: MPEG-4 (.mp4 and .m4v)
[12:57:56] * video track
[12:57:56] + decoder: dvvideo
[12:57:56] + frame rate: same as source (around 25.000 fps)
[12:57:56] + dimensions: 720 * 576 -> 624 * 416, crop 44/44/16/18
[12:57:56] + filters
[12:57:56] + Deinterlace (ffmpeg or yadif/mcdeint) (0)
[12:57:56] + Denoise (hqdn3d) (2:1:2:3)
[12:57:56] + encoder: x264
[12:57:56] + options: b-adapt=2:rc-lookahead=50
[12:57:56] + quality: 20.00 (RF)
[12:57:56] * audio track 0
[12:57:56] + decoder: Unknown (PCM_S16) (track 1, id 1)
[12:57:56] + mixdown: Stereo
[12:57:56] + encoder: faac
[12:57:56] + bitrate: 160 kbps, samplerate: 48000 Hz
[12:57:56] Yadif Deinterlace thread started for segment 0
[12:57:56] Yadif Deinterlace thread started for segment 1
[12:57:56] Yadif Deinterlace thread started for segment 2
[12:57:56] Yadif Deinterlace thread started for segment 3
[12:57:56] Yadif Deinterlace thread started for segment 4
[12:57:56] Yadif Deinterlace thread started for segment 5
[12:57:56] Yadif Deinterlace thread started for segment 6
[12:57:56] Yadif Deinterlace thread started for segment 7
[12:57:56] encx264: Encoding at constant RF 20.000000
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
[12:57:56] reader: first SCR 0 id 1 DTS 0
x264 [info]: profile High, level 3.0
[13:02:34] reader: done. 1 scr changes
[13:02:35] sync: got 15560 frames, 15586 expected
[13:02:35] work: average encoding speed for job is 55.829369 fps
[13:02:36] dvvideo-decoder done: 15561 frames, 0 decoder errors, 0 drops
[13:02:36] render: lost time: 0 (0 frames)
[13:02:36] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:67 Avg QP:19.80 size: 32042 PSNR Mean Y:44.04 U:48.94 V:50.18 Avg:45.22 Global:45.16
x264 [info]: frame P:4581 Avg QP:23.15 size: 18590 PSNR Mean Y:41.27 U:46.89 V:48.73 Avg:42.56 Global:42.49
x264 [info]: frame B:10912 Avg QP:24.29 size: 13787 PSNR Mean Y:39.85 U:45.19 V:47.52 Avg:41.13 Global:40.99
x264 [info]: consecutive B-frames: 0.3% 4.4% 39.2% 56.1%
x264 [info]: mb I I16..4: 0.4% 78.9% 20.6%
x264 [info]: mb P I16..4: 0.2% 38.7% 5.9% P16..4: 26.1% 21.9% 7.2% 0.0% 0.0% skip: 0.0%
x264 [info]: mb B I16..4: 0.1% 15.9% 1.8% B16..8: 50.6% 4.2% 5.3% direct:19.7% skip: 2.5% L0:44.3% L1:44.9% BI:10.8%
x264 [info]: 8x8 transform intra:87.9% inter:64.1%
x264 [info]: coded y,uvDC,uvAC intra: 97.7% 93.5% 38.0% inter: 81.4% 88.7% 2.0%
x264 [info]: i16 v,h,dc,p: 6% 10% 2% 83%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 9% 19% 8% 12% 10% 11% 9% 11%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 11% 15% 9% 16% 10% 14% 7% 9%
x264 [info]: Weighted P-Frames: Y:8.2%
x264 [info]: ref P L0: 47.4% 17.7% 23.4% 9.3% 2.2%
x264 [info]: ref B L0: 82.3% 17.7%
x264 [info]: SSIM Mean Y:0.9529793
x264 [info]: PSNR Mean Y:40.284 U:45.705 V:47.888 Avg:41.566 Global:41.394 kb/s:3055.90
[13:02:36] pcm_s16le-decoder done: 0 frames, 0 decoder errors, 0 drops
[13:02:36] mux: track 0, 15560 frames, 237746416 bytes, 3055.67 kbps, fifo 8
[13:02:36] mux: track 1, 29177 frames, 12448164 bytes, 159.99 kbps, fifo 512
[13:02:36] libhb: work result = 0
Rip done!
HandBrake has exited.
Re: 3x Handbrake performance boost
Really strange: I'm encoding Harry Potter and the Chamber od Secrets (DVD PAL to MP4) with SVN3036 and is really really faster but the datas over the progress bar shows a 31/32 fps while was around 61/62 fps in HB 0.9.4 stable. I'll check the log at end.