OpenCL Nightly Builds

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
plumbum
Posts: 2
Joined: Sat Jan 26, 2013 9:43 am

Re: OpenCL Nightly Builds

Post by plumbum »

I believe that handbrake crashes when you load a 10-bit video and try to enable UVD acceleration. OpenCL accelerates 10-bit video fine, but when you enable UVD, handbrake crashes.
LYY
Posts: 4
Joined: Fri Dec 28, 2012 7:15 am

Re: OpenCL Nightly Builds

Post by LYY »

plumbum wrote:I believe that handbrake crashes when you load a 10-bit video and try to enable UVD acceleration. OpenCL accelerates 10-bit video fine, but when you enable UVD, handbrake crashes.
Thanks for the heads-up. Hi10P isn't supported for hardware decoding yet for GPUs, so we'll disable the GUI for 10-bit videos.
wwinter86
Posts: 1
Joined: Thu Mar 21, 2013 2:38 am

Re: OpenCL Nightly Builds

Post by wwinter86 »

Mac support of OpenCL would be great, plus for it in GUI versions.
User avatar
Rodeo
HandBrake Team
Posts: 12755
Joined: Tue Mar 03, 2009 8:55 pm

Re: OpenCL Nightly Builds

Post by Rodeo »

It's planned, but I haven't gotten around to making sure it works and wiring it up in the GUI.
AAT
Posts: 34
Joined: Sun Dec 23, 2012 9:35 pm

Re: OpenCL Nightly Builds

Post by AAT »

I done a testrun again, but now with Dual core AMD A4 Llano APU + Handbrake Build x64 version #105;

1080p to 720p downscale
Regular run: 2:46
OpenCL run: 2:41
UVD run: 2:21
UVD + OpenCL run: 2:02

Finally UVD + OpenCL not slowing each other, good speed bump over regular run ....

UVD+OpenCL encode log:

Code: Select all

HandBrake NotSet 10101
OS: Microsoft Windows NT 6.2.9200.0
CPU: AMD A4-3300M APU with Radeon(tm) HD Graphics
Ram: 5609 MB, Screen: 1366x768
GPU: Microsoft Basic Render Driver
GPU driver version: 9.12.0.0
Temp Dir: C:\Users\Fusion\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Fusion\AppData\Roaming\HandBrake\HandBrake\0.9.9.5319

-------------------------------------------
CLI Query:  -i "D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4" -t 1 --angle 1 -c 1 -o "D:\Games\test 4.mkv"  -f mkv  -P  -U  -w 1280 --loose-anamorphic  --modulus 2 -e x264 -q 20 --vfr -a 1 -E faac -6 dpl2 -R Auto -B 160 -D 0 --gain 0 --audio-fallback ffac3 --markers="C:\Users\Fusion\AppData\Local\Temp\test 4-1-chapters.csv" --x264-preset=veryfast  --x264-profile=main  --h264-level="4.0"  --verbose=1
User Query: False

[08:31:41] hb_init: starting libhb thread
[08:31:41] GPU Device Name: BeaverCreek
[08:31:41] GPU Driver Version: 1084.4 (VM)
HandBrake svn5361 (2013032401) - MinGW x86_64 - http://handbrake.fr
2 CPUs detected
Opening D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4...
[08:31:41] hb_scan: path=D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4) failed (0000000001e03ec0)
[08:31:41] bd: not a bd - trying as a stream/file instead
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:31:41] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2013-01-08 00:23:10
  Duration: 00:02:36.41, start: 0.000000, bitrate: 3806 kb/s
    Stream #0.0(und): Video: h264 (High), yuv420p, 1920x1080, 3611 kb/s, 24 fps, 24 tbr, 48 tbn, 48 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
    Stream #0.1(und): Audio: aac, 44100 Hz, stereo, fltp, 191 kb/s
    Metadata:
      creation_time   : 2013-01-08 00:23:10
[08:31:41] scan: decoding previews for title 1
Scanning title 1 of 1, preview 2, 20.00 %
Scanning title 1 of 1, preview 7, 70.00 %[08:31:42] scan: 10 previews, 1920x1080, 24.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[08:31:42] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4
  + duration: 00:02:36
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 24.000 fps
  + autocrop: 0/0/0/0
  + support opencl: yes
  + support hwd: yes
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:02:36
  + audio tracks:
    + 1, Unknown (aac) (2.0 ch) (iso639-2: und)
  + subtitle tracks:
Reading chapter markers from file C:\Users\Fusion\AppData\Local\Temp\test 4-1-chapters.csv
[08:31:42] 1 job(s) to process
[08:31:42] starting job
[08:31:42] Using GPU : Yes.
[08:31:42] Notice: Unable to write opencl kernel, writing to temporary directory instead.
[08:31:42] work: sanitizing track 1 mixdown Dolby Pro Logic II to Stereo
[08:31:42] sync: expecting 3754 video frames
[08:31:42] work: only 1 chapter, disabling chapter markers
[08:31:42] job configuration:
[08:31:42]  * source
[08:31:42]    + D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4
[08:31:42]    + title 1, chapter(s) 1 to 1
[08:31:42]    + container: mov,mp4,m4a,3gp,3g2,mj2
[08:31:42]    + data rate: 3806 kbps
[08:31:42]  * destination
[08:31:42]    + D:\Games\test 4.mkv
[08:31:42]    + container: Matroska (.mkv)
[08:31:42]  * video track
[08:31:42]    + decoder: h264
[08:31:42]      + bitrate 3611 kbps
[08:31:42]    + frame rate: same as source (around 24.000 fps)
[08:31:42]    + filters
[08:31:42]      + Framerate Shaper (0:27000000:1125000)
[08:31:42]        + frame rate: same as source (around 24.000 fps)
[08:31:42]      + Crop and Scale (1280:720:0:0:0:0)
[08:31:42]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1280 * 720
[08:31:42]    + loose anamorphic
[08:31:42]      + storage dimensions: 1280 * 720, mod 2
[08:31:42]      + pixel aspect ratio: 1 / 1
[08:31:42]      + display dimensions: 1280 * 720
[08:31:42]    + encoder: H.264 (x264)
[08:31:42]      + x264 preset: veryfast
[08:31:42]      + h264 profile: main
[08:31:42]      + h264 level: 4.0
[08:31:42]      + quality: 20.00 (RF)
[08:31:42]  * audio track 1
[08:31:42]    + decoder: Unknown (aac) (2.0 ch) (track 1, id 0x1)
[08:31:42]      + bitrate: 191 kbps, samplerate: 44100 Hz
[08:31:42]    + mixdown: Stereo
[08:31:42]    + encoder: AAC (faac)
[08:31:42]      + bitrate: 160 kbps, samplerate: 44100 Hz
[08:31:42] reader: first SCR 0 id 0x0 DTS 0
[08:31:42] dxva2:CreateSurface succeed with 17, fmt (1920x1080) surfaces (1920x1088)
[08:31:42] dxva2:we got 2 decoder configurations
[08:31:42] dxva2:configuration[0] ConfigBitstreamRaw 2
[08:31:42] dxva2:configuration[1] ConfigBitstreamRaw 2
[08:31:42] dxva2:IDirectXVideoDecoderService_CreateVideoDecoder succeed
[08:31:42] dxva2:Using DXVA2 for hardware decoding
[08:31:42] encx264: min-keyint: 24, keyint: 240
[08:31:42] encx264: encoding with stored aspect 1/1
[08:31:42] encx264: Encoding at constant RF 20.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=1/1
[08:31:42] dxva2:Available decoder output format 61 (AV_PIX_FMT_DXVA2_VLD)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSEMisalign LZCNT
x264 [info]: profile Main, level 4.0
[08:33:42] reader: done. 1 scr changes
[08:33:43] work: average encoding speed for job is 31.254709 fps
[08:33:43] sync: got 3754 frames, 3754 expected
[08:33:43] render: lost time: 0 (0 frames)
[08:33:43] render: gained time: 0 (0 frames) (0 not accounted for)
[08:33:43] h264-decoder done: 3754 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:26    Avg QP:15.13  size: 52076  PSNR Mean Y:52.86 U:54.13 V:55.71 Avg:52.62 Global:49.04
x264 [info]: frame P:1989  Avg QP:19.20  size: 15227  PSNR Mean Y:46.02 U:47.30 V:48.94 Avg:46.47 Global:45.95
x264 [info]: frame B:1739  Avg QP:20.70  size:  4268  PSNR Mean Y:45.35 U:47.46 V:49.49 Avg:45.84 Global:45.08
x264 [info]: consecutive B-frames: 26.5% 31.8% 10.8% 31.0%
x264 [info]: mb I  I16..4: 52.1%  0.0% 47.9%
x264 [info]: mb P  I16..4: 18.5%  0.0%  2.2%  P16..4: 27.8% 14.4%  6.8%  0.0%  0.0%    skip:30.2%
x264 [info]: mb B  I16..4:  2.3%  0.0%  0.1%  B16..8: 21.5%  7.0%  0.4%  direct: 8.9%  skip:59.9%  L0:37.0% L1:49.0% BI:14.1%
x264 [info]: coded y,uvDC,uvAC intra: 16.7% 57.6% 23.2% inter: 9.3% 21.8% 2.2%
x264 [info]: i16 v,h,dc,p: 47% 35% 13%  4%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 27% 26%  1%  4%  3%  3%  3%  3%
x264 [info]: i8c dc,h,v,p: 48% 28% 19%  5%
x264 [info]: Weighted P-Frames: Y:3.2% UV:2.7%
x264 [info]: SSIM Mean Y:0.9915835 (20.749db)
x264 [info]: PSNR Mean Y:45.753 U:47.419 V:49.242 Avg:46.223 Global:45.540 kb/s:1997.80
[08:33:43] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
[08:33:43] mux: track 0, 3754 frames, 39060230 bytes, 1997.75 kbps, fifo 2048
[08:33:43] mux: track 1, 6737 frames, 2811273 bytes, 143.78 kbps, fifo 4096
[08:33:43] libhb: work result = 0
Encode done!
HandBrake has exited.
AAT
Posts: 34
Joined: Sun Dec 23, 2012 9:35 pm

Re: OpenCL Nightly Builds

Post by AAT »

I've done another testrun; now with Quad Core AMD A8 Llano APU + Handbrake Build x64 version #134;

1080p to 720p downscale
Regular run: 2:04
OpenCL run: 1:58
UVD run: 1:44
UVD + OpenCL run: 1:41


UVD+OpenCL encode log:

Code: Select all

HandBrake svn5386 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.2.9200.0
CPU: AMD A8-3500M APU with Radeon(tm) HD Graphics
Ram: 15849 MB, Screen: 1366x768
GPU: AMD Radeon HD 6620G
GPU driver version: 9.12.0.0
Temp Dir: C:\Users\Fusion\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Fusion\AppData\Roaming\HandBrake\HandBrake\0.0.0.5386

-------------------------------------------
CLI Query:  -i "D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4" -t 1 --angle 1 -c 1 -o "D:\4jghz.mkv"  -f mkv  -P  -U  -w 1280 --loose-anamorphic  --modulus 2 -e x264 -q 20 --vfr -a 1 -E faac -6 dpl2 -R Auto -B 160 -D 0 --gain 0 --audio-fallback ffac3 --markers="C:\Users\Fusion\AppData\Local\Temp\4jghz-1-chapters.csv" --x264-preset=veryfast  --x264-profile=main  --h264-level="4.0"  --verbose=1
User Query: False

[10:46:57] hb_init: starting libhb thread
[10:46:57] GPU Device Name: BeaverCreek
[10:46:57] GPU Driver Version: 1084.4 (VM)
HandBrake svn5401 (2013042001) - MinGW x86_64 - http://handbrake.fr
4 CPUs detected
Opening D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4...
[10:46:57] hb_scan: path=D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4) failed (00000000034c3e80)
[10:46:57] bd: not a bd - trying as a stream/file instead
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:46:57] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2013-01-08 00:23:10
  Duration: 00:02:36.41, start: 0.000000, bitrate: 3806 kb/s
    Stream #0.0(und): Video: h264 (High), yuv420p, 1920x1080, 3611 kb/s, 24 fps, 24 tbr, 48 tbn, 48 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
    Stream #0.1(und): Audio: aac, 44100 Hz, stereo, fltp, 191 kb/s
    Metadata:
      creation_time   : 2013-01-08 00:23:10
[10:46:58] scan: decoding previews for title 1
Scanning title 1 of 1, preview 1, 10.00 %
Scanning title 1 of 1, preview 5, 50.00 %
Scanning title 1 of 1, preview 9, 90.00 %[10:46:58] scan: 10 previews, 1920x1080, 24.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[10:46:58] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4
  + duration: 00:02:36
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 24.000 fps
  + autocrop: 0/0/0/0
  + support opencl: yes
  + support hwd: yes
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:02:36
  + audio tracks:
    + 1, Unknown (aac) (2.0 ch) (iso639-2: und)
  + subtitle tracks:
Reading chapter markers from file C:\Users\Fusion\AppData\Local\Temp\4jghz-1-chapters.csv
[10:46:58] 1 job(s) to process
[10:46:58] starting job
[10:46:58] Using GPU : Yes.
[10:46:59] Notice: Unable to write opencl kernel, writing to temporary directory instead.
[10:46:59] work: sanitizing track 1 mixdown Dolby Pro Logic II to Stereo
[10:46:59] sync: expecting 3754 video frames
[10:46:59] work: only 1 chapter, disabling chapter markers
[10:46:59] job configuration:
[10:46:59]  * source
[10:46:59]    + D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4
[10:46:59]    + title 1, chapter(s) 1 to 1
[10:46:59]    + container: mov,mp4,m4a,3gp,3g2,mj2
[10:46:59]    + data rate: 3806 kbps
[10:46:59]  * destination
[10:46:59]    + D:\4jghz.mkv
[10:46:59]    + container: Matroska (.mkv)
[10:46:59]  * video track
[10:46:59]    + decoder: h264
[10:46:59]      + bitrate 3611 kbps
[10:46:59]    + frame rate: same as source (around 24.000 fps)
[10:46:59]    + filters
[10:46:59]      + Framerate Shaper (0:27000000:1125000)
[10:46:59]        + frame rate: same as source (around 24.000 fps)
[10:46:59]      + Crop and Scale (1280:720:0:0:0:0)
[10:46:59]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1280 * 720
[10:46:59]    + loose anamorphic
[10:46:59]      + storage dimensions: 1280 * 720, mod 2
[10:46:59]      + pixel aspect ratio: 1 / 1
[10:46:59]      + display dimensions: 1280 * 720
[10:46:59]    + encoder: H.264 (x264)
[10:46:59]      + x264 preset: veryfast
[10:46:59]      + h264 profile: main
[10:46:59]      + h264 level: 4.0
[10:46:59]      + quality: 20.00 (RF)
[10:46:59]  * audio track 1
[10:46:59]    + decoder: Unknown (aac) (2.0 ch) (track 1, id 0x1)
[10:46:59]      + bitrate: 191 kbps, samplerate: 44100 Hz
[10:46:59]    + mixdown: Stereo
[10:46:59]    + encoder: AAC (faac)
[10:46:59]      + bitrate: 160 kbps, samplerate: 44100 Hz
[10:46:59] reader: first SCR 0 id 0x0 DTS 0
[10:46:59] dxva2:CreateSurface succeed with 17, fmt (1920x1080) surfaces (1920x1088)
[10:46:59] dxva2:we got 2 decoder configurations
[10:46:59] dxva2:configuration[0] ConfigBitstreamRaw 2
[10:46:59] dxva2:configuration[1] ConfigBitstreamRaw 2
[10:46:59] dxva2:IDirectXVideoDecoderService_CreateVideoDecoder succeed
[10:46:59] dxva2:Using DXVA2 for hardware decoding
[10:46:59] encx264: min-keyint: 24, keyint: 240
[10:46:59] encx264: encoding with stored aspect 1/1
[10:46:59] encx264: Encoding at constant RF 20.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=1/1
[10:46:59] dxva2:Available decoder output format 61 (AV_PIX_FMT_DXVA2_VLD)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSEMisalign LZCNT
x264 [info]: profile Main, level 4.0
[10:48:37] reader: done. 1 scr changes
[10:48:38] work: average encoding speed for job is 38.184784 fps
[10:48:38] sync: got 3754 frames, 3754 expected
[10:48:38] render: lost time: 0 (0 frames)
[10:48:38] render: gained time: 0 (0 frames) (0 not accounted for)
[10:48:38] h264-decoder done: 3754 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:25    Avg QP:15.08  size: 50164  PSNR Mean Y:52.37 U:54.27 V:55.80 Avg:52.69 Global:49.69
x264 [info]: frame P:2000  Avg QP:19.20  size: 15195  PSNR Mean Y:46.02 U:47.31 V:48.95 Avg:46.48 Global:45.94
x264 [info]: frame B:1729  Avg QP:20.70  size:  4265  PSNR Mean Y:45.34 U:47.46 V:49.48 Avg:45.85 Global:45.07
x264 [info]: consecutive B-frames: 27.0% 31.1% 10.9% 31.0%
x264 [info]: mb I  I16..4: 53.9%  0.0% 46.1%
x264 [info]: mb P  I16..4: 18.6%  0.0%  2.2%  P16..4: 27.8% 14.4%  6.8%  0.0%  0.0%    skip:30.2%
x264 [info]: mb B  I16..4:  2.3%  0.0%  0.1%  B16..8: 21.4%  6.9%  0.4%  direct: 8.9%  skip:60.0%  L0:36.9% L1:49.0% BI:14.1%
x264 [info]: coded y,uvDC,uvAC intra: 16.6% 57.3% 23.1% inter: 9.3% 21.8% 2.2%
x264 [info]: i16 v,h,dc,p: 47% 35% 13%  4%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 27% 27%  1%  4%  3%  3%  3%  3%
x264 [info]: i8c dc,h,v,p: 49% 28% 19%  5%
x264 [info]: Weighted P-Frames: Y:3.1% UV:2.6%
x264 [info]: SSIM Mean Y:0.9915738 (20.744db)
x264 [info]: PSNR Mean Y:45.751 U:47.426 V:49.241 Avg:46.231 Global:45.533 kb/s:1995.64
[10:48:38] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
[10:48:38] mux: track 0, 3754 frames, 39018060 bytes, 1995.60 kbps, fifo 2048
[10:48:38] mux: track 1, 6737 frames, 2811273 bytes, 143.78 kbps, fifo 4096
[10:48:38] libhb: work result = 0
Encode done!
HandBrake has exited.
AAT
Posts: 34
Joined: Sun Dec 23, 2012 9:35 pm

Re: OpenCL Nightly Builds

Post by AAT »

New test with Dual Core AMD A4 Trinity APU + Handbrake Build x64 version #5;

1080p to 720p downscale
Regular run: 3:46
OpenCL run: 3:29
UVD run: 3:01
UVD + OpenCL run: 2:44

More than a minute difference!


UVD+OpenCL encode log:

Code: Select all

HandBrake svn5418 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.2.9200.0
CPU: AMD A4-4300M APU with Radeon(tm) HD Graphics   
Ram: 15848 MB, Screen: 1366x768
GPU: AMD Radeon HD 7420G
GPU driver version: 12.104.0.0
Temp Dir: C:\Users\Fusion\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Fusion\AppData\Roaming\HandBrake\HandBrake\0.0.0.5418

-------------------------------------------
CLI Query:  -i "D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4" -t 1 --angle 1 -c 1 -o "D:\tesffdt.mkv"  -f mkv  -P  -U  -w 1280 --loose-anamorphic  --modulus 2 -e x264 -q 20 --vfr -a 1 -E faac -6 dpl2 -R Auto -B 160 -D 0 --gain 0 --audio-fallback ffac3 --markers="C:\Users\Fusion\AppData\Local\Temp\tesffdt-1-chapters.csv" --x264-preset=veryfast  --x264-profile=main  --h264-level="4.0"  --verbose=1
User Query: False

[21:38:58] hb_init: starting libhb thread
[21:38:58] GPU Device Name: Scrapper
[21:38:58] GPU Driver Version: 1124.2 (VM)
HandBrake svn5435 (2013050201) - MinGW x86_64 - http://handbrake.fr
2 CPUs detected
Opening D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4...
[21:38:58] hb_scan: path=D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4) failed (0000000003463dc0)
[21:38:58] bd: not a bd - trying as a stream/file instead
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
[21:38:58] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2013-01-08 00:23:10
  Duration: 00:02:36.41, start: 0.000000, bitrate: 3806 kb/s
    Stream #0.0(und): Video: h264 (High), yuv420p, 1920x1080, 3611 kb/s, 24 fps, 24 tbr, 48 tbn, 48 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
    Stream #0.1(und): Audio: aac, 44100 Hz, stereo, fltp, 191 kb/s
    Metadata:
      creation_time   : 2013-01-08 00:23:10
[21:38:58] scan: decoding previews for title 1
Scanning title 1 of 1, preview 1, 10.00 %
Scanning title 1 of 1, preview 6, 60.00 %
Scanning title 1 of 1, preview 10, 100.00 %[21:38:58] scan: 10 previews, 1920x1080, 24.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[21:38:59] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4
  + duration: 00:02:36
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 24.000 fps
  + autocrop: 0/0/0/0
  + support opencl: yes
  + support hwd: yes
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:02:36
  + audio tracks:
    + 1, Unknown (aac) (2.0 ch) (iso639-2: und)
  + subtitle tracks:
Reading chapter markers from file C:\Users\Fusion\AppData\Local\Temp\tesffdt-1-chapters.csv
[21:38:59] 1 job(s) to process
[21:38:59] starting job
[21:38:59] Using GPU : Yes.
[21:38:59] Notice: Unable to write opencl kernel, writing to temporary directory instead.
[21:38:59] work: sanitizing track 1 mixdown Dolby Pro Logic II to Stereo
[21:38:59] sync: expecting 3754 video frames
[21:38:59] work: only 1 chapter, disabling chapter markers
[21:38:59] job configuration:
[21:38:59]  * source
[21:38:59]    + D:\Games\AMD at CES 2013 -- AMD and VIZIO's Showcase New Lineup.mp4
[21:38:59]    + title 1, chapter(s) 1 to 1
[21:38:59]    + container: mov,mp4,m4a,3gp,3g2,mj2
[21:38:59]    + data rate: 3806 kbps
[21:38:59]  * destination
[21:38:59]    + D:\tesffdt.mkv
[21:38:59]    + container: Matroska (.mkv)
[21:38:59]  * video track
[21:38:59]    + decoder: h264
[21:38:59]      + bitrate 3611 kbps
[21:38:59]    + frame rate: same as source (around 24.000 fps)
[21:38:59]    + filters
[21:38:59]      + Framerate Shaper (0:27000000:1125000)
[21:38:59]        + frame rate: same as source (around 24.000 fps)
[21:38:59]      + Crop and Scale (1280:720:0:0:0:0)
[21:38:59]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1280 * 720
[21:38:59]    + loose anamorphic
[21:38:59]      + storage dimensions: 1280 * 720, mod 2
[21:38:59]      + pixel aspect ratio: 1 / 1
[21:38:59]      + display dimensions: 1280 * 720
[21:38:59]    + encoder: H.264 (x264)
[21:38:59]      + x264 preset: veryfast
[21:38:59]      + h264 profile: main
[21:38:59]      + h264 level: 4.0
[21:38:59]      + quality: 20.00 (RF)
[21:38:59]  * audio track 1
[21:38:59]    + decoder: Unknown (aac) (2.0 ch) (track 1, id 0x1)
[21:38:59]      + bitrate: 191 kbps, samplerate: 44100 Hz
[21:38:59]    + mixdown: Stereo
[21:38:59]    + encoder: AAC (faac)
[21:38:59]      + bitrate: 160 kbps, samplerate: 44100 Hz
[21:38:59] reader: first SCR 0 id 0x0 DTS 0
[21:38:59] dxva2:CreateSurface succeed with 17, fmt (1920x1080) surfaces (1920x1088)
[21:38:59] dxva2:we got 2 decoder configurations
[21:38:59] dxva2:configuration[0] ConfigBitstreamRaw 2
[21:38:59] dxva2:configuration[1] ConfigBitstreamRaw 2
[21:38:59] dxva2:IDirectXVideoDecoderService_CreateVideoDecoder succeed
[21:38:59] dxva2:Using DXVA2 for hardware decoding
[21:38:59] encx264: min-keyint: 24, keyint: 240
[21:38:59] encx264: encoding with stored aspect 1/1
[21:38:59] encx264: Encoding at constant RF 20.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=1/1
[21:38:59] dxva2:Available decoder output format 61 (AV_PIX_FMT_DXVA2_VLD)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 SSEMisalign LZCNT BMI1
x264 [info]: profile Main, level 4.0
[21:41:40] reader: done. 1 scr changes
[21:41:42] work: average encoding speed for job is 23.152718 fps
[21:41:42] sync: got 3754 frames, 3754 expected
[21:41:42] render: lost time: 0 (0 frames)
[21:41:42] render: gained time: 0 (0 frames) (0 not accounted for)
[21:41:42] h264-decoder done: 3754 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:26    Avg QP:15.13  size: 51437  PSNR Mean Y:52.88 U:54.13 V:55.71 Avg:52.64 Global:49.05
x264 [info]: frame P:1989  Avg QP:19.20  size: 15218  PSNR Mean Y:46.02 U:47.30 V:48.94 Avg:46.47 Global:45.95
x264 [info]: frame B:1739  Avg QP:20.70  size:  4266  PSNR Mean Y:45.35 U:47.46 V:49.48 Avg:45.85 Global:45.08
x264 [info]: consecutive B-frames: 26.5% 31.8% 10.8% 31.0%
x264 [info]: mb I  I16..4: 51.6%  0.0% 48.4%
x264 [info]: mb P  I16..4: 18.5%  0.0%  2.3%  P16..4: 27.8% 14.4%  6.8%  0.0%  0.0%    skip:30.2%
x264 [info]: mb B  I16..4:  2.3%  0.0%  0.1%  B16..8: 21.5%  7.0%  0.4%  direct: 8.9%  skip:59.9%  L0:36.9% L1:49.0% BI:14.1%
x264 [info]: coded y,uvDC,uvAC intra: 16.7% 57.6% 23.2% inter: 9.3% 21.8% 2.2%
x264 [info]: i16 v,h,dc,p: 47% 35% 13%  4%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 27% 22%  3%  4%  4%  4%  4%  3%
x264 [info]: i8c dc,h,v,p: 48% 28% 19%  5%
x264 [info]: Weighted P-Frames: Y:3.2% UV:2.7%
x264 [info]: SSIM Mean Y:0.9915895 (20.752db)
x264 [info]: PSNR Mean Y:45.755 U:47.421 V:49.240 Avg:46.225 Global:45.542 kb/s:1995.93
[21:41:42] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
[21:41:42] mux: track 0, 3754 frames, 39023758 bytes, 1995.89 kbps, fifo 2048
[21:41:42] mux: track 1, 6737 frames, 2811273 bytes, 143.78 kbps, fifo 4096
[21:41:42] libhb: work result = 0
Encode done!
HandBrake has exited.
Smithcraft
Veteran User
Posts: 2695
Joined: Thu Jan 22, 2009 8:04 pm

Re: OpenCL Nightly Builds

Post by Smithcraft »

Now that the main problem I had with the RC is done, and I remembered before shutting it down, I gave the OpenCL version a go.

Using the GUI versions and comparing with the current nightly-
Current nightly -

Code: Select all

HandBrake svn5456 (Nightly Build) - 32bit Version
OS: Microsoft Windows NT 6.1.7600.0
CPU: Intel(R) Core(TM) i5 CPU         660  @ 3.33GHz
Ram: 1982 MB, Screen: 1920x1080
Temp Dir: C:\Users\Transcoder\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Transcoder\AppData\Roaming\HandBrake\HandBrake\0.0.0.5456

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

CLI Query:  -i "H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv" -t 1 --angle 1 -c 1-8 -o "G:\Transcodes\Game Of Thrones - s02e05.mkv"  -f mkv  -w 720 --loose-anamorphic  --modulus 2 -e x264 -q 20 --vfr -a none  --audio-fallback ffac3 --srt-file "H:\Subtitles\Game Of Thrones - s02e05.srt" --srt-codeset UTF-8 --srt-offset 0 --srt-lang eng --srt-default=1 --markers="C:\Users\Transcoder\AppData\Local\Temp\Game Of Thrones - s02e05-1-chapters.csv" --x264-preset=ultrafast  --verbose=2
User Query: False

[01:38:31] hb_init: starting libhb thread
[01:38:31] thread 1bdfbc0 started ("libhb")
HandBrake svn5456 (2013051501) - MinGW i686 - http://handbrake.fr
4 CPUs detected
Opening H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv...
[01:38:31] hb_scan: path=H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv, title_index=1
[01:38:31] thread 1bdfef8 started ("scan")
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv) failed (01BE03D0)
[01:38:31] bd: not a bd - trying as a stream/file instead
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
[01:38:31] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv':
  Duration: 00:54:10.24, start: 0.000000, bitrate: N/A
    Chapter #0.0: start 0.000000, end 114.114000
    Metadata:
      title           : Chapter 01
    Chapter #0.1: start 114.114000, end 683.783100
    Metadata:
      title           : Chapter 02
    Chapter #0.2: start 683.783100, end 1167.833333
    Metadata:
      title           : Chapter 03
    Chapter #0.3: start 1167.833333, end 1696.528167
    Metadata:
      title           : Chapter 04
    Chapter #0.4: start 1696.528167, end 2209.340467
    Metadata:
      title           : Chapter 05
    Chapter #0.5: start 2209.340467, end 2771.635533
    Metadata:
      title           : Chapter 06
    Chapter #0.6: start 2771.635533, end 3170.500667
    Metadata:
      title           : Chapter 07
    Chapter #0.7: start 3170.500667, end 3250.247000
    Metadata:
      title           : Chapter 08
    Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x480 [PAR 32:27 DAR 16:9], 9800 kb/s, PAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s (default)
    Metadata:
      title           : 3/2+1
    Stream #0.2(eng): Subtitle: dvdsub (default)
[01:38:31] Found ffmpeg 8 chapters, container=matroska,webm
[01:38:31] Added chapter 1, name='Chapter 1', dur=10270260, (00:01:54)
[01:38:31] Added chapter 2, name='Chapter 2', dur=51270219, (00:09:30)
[01:38:31] Added chapter 3, name='Chapter 3', dur=43564520, (00:08:04)
[01:38:31] Added chapter 4, name='Chapter 4', dur=47582535, (00:08:49)
[01:38:31] Added chapter 5, name='Chapter 5', dur=46153107, (00:08:33)
[01:38:31] Added chapter 6, name='Chapter 6', dur=50606556, (00:09:22)
[01:38:31] Added chapter 7, name='Chapter 7', dur=35897862, (00:06:39)
[01:38:31] Added chapter 8, name='Chapter 8', dur=7177171, (00:01:20)
[01:38:31] scan: decoding previews for title 1
[01:38:31] scan: preview 1
[01:38:31] fifo_close: trashing 0 buffer(s)
[01:38:31] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[01:38:31] scan: preview 2
[01:38:31] scan: preview 3
[01:38:31] scan: preview 4
[01:38:31] scan: preview 5
[01:38:31] scan: preview 6
[01:38:31] scan: preview 7
[01:38:31] scan: preview 8
[01:38:31] scan: preview 9
[01:38:31] scan: preview 10
[01:38:31] Pulldown detected, setting fps to 23.976
[01:38:31] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27
[01:38:31] thread 1bdfef8 exited ("scan")
[01:38:31] thread 1bdfef8 joined ("scan")
[01:38:31] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv
  + duration: 00:54:10
  + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:01:54
    + 2: cells 0->0, 0 blocks, duration 00:09:30
    + 3: cells 0->0, 0 blocks, duration 00:08:04
    + 4: cells 0->0, 0 blocks, duration 00:08:49
    + 5: cells 0->0, 0 blocks, duration 00:08:33
    + 6: cells 0->0, 0 blocks, duration 00:09:22
    + 7: cells 0->0, 0 blocks, duration 00:06:39
    + 8: cells 0->0, 0 blocks, duration 00:01:20
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(VOBSUB)
Reading chapter markers from file C:\Users\Transcoder\AppData\Local\Temp\Game Of Thrones - s02e05-1-chapters.csv
[01:38:31] thread 1bdfef8 started ("work")
[01:38:31] 1 job(s) to process
[01:38:31] starting job
[01:38:31] sync: expecting 77928 video frames
[01:38:31] job configuration:
[01:38:31]  * source
[01:38:31]    + H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv
[01:38:31]    + title 1, chapter(s) 1 to 8
[01:38:31]    + container: matroska,webm
[01:38:31]  * destination
[01:38:31]    + G:\Transcodes\Game Of Thrones - s02e05.mkv
[01:38:31]    + container: Matroska (.mkv)
[01:38:31]      + chapter markers
[01:38:31]  * video track
[01:38:31]    + decoder: mpeg2video
[01:38:31]      + bitrate 9800 kbps
[01:38:31]    + frame rate: same as source (around 23.976 fps)
[01:38:31]    + filters
[01:38:31]      + Framerate Shaper (0:27000000:1126125)
[01:38:31]        + frame rate: same as source (around 23.976 fps)
[01:38:31]      + Crop and Scale (720:480:0:0:0:0)
[01:38:31]        + source: 720 * 480, crop (0/0/0/0): 720 * 480, scale: 720 * 480
[01:38:31]    + loose anamorphic
[01:38:31]      + storage dimensions: 720 * 480, mod 2
[01:38:31]      + pixel aspect ratio: 32 / 27
[01:38:31]      + display dimensions: 853 * 480
[01:38:31]    + encoder: H.264 (x264)
[01:38:31]      + x264 preset: ultrafast
[01:38:31]      + quality: 20.00 (RF)
[01:38:31]  * subtitle track 1, English (track 0, id 0xff) Text [SRT] -> Passthrough, Default, offset: 0, charset: UTF-8
[01:38:31] thread 1c139d0 started ("Reader")
[01:38:31] Seeking to chapter 1: starts 0, ends 10270260, AV pos 0
[01:38:31] reader: first SCR -2970 id 0x0 DTS -2970
[01:38:31] thread 1bfdad0 started ("Framerate Shaper")
[01:38:31] thread 1caaaf0 started ("Crop and Scale")
[01:38:31] thread 1be8248 started ("Video decoder (libavcodec)")
[01:38:31] thread 1bf1a48 started ("SRT Subtitle Decoder")
[01:38:31] encx264: min-keyint: 24, keyint: 240
[01:38:31] encx264: encoding with stored aspect 32/27
[01:38:31] encx264: Encoding at constant RF 20.000000
[01:38:31] encx264: opening libx264 (pass 0)
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x264 [info]: profile Constrained Baseline, level 3.0
[01:38:31] thread 1cac920 started ("H.264/AVC encoder (libx264)")
[01:38:31] thread 1cac9b8 started ("Video Synchronization")
[01:38:31] thread 5c054b8 started ("Muxer")
[01:38:39] ffmpeg_read starting chapter 2 at 10270260
[01:38:39] mpeg2video: "Chapter 2" (2) at frame 2744 time 10273230
[01:39:11] ffmpeg_read starting chapter 3 at 61546500
[01:39:11] mpeg2video: "Chapter 3" (3) at frame 16404 time 61549470
[01:39:40] ffmpeg_read starting chapter 4 at 105108030
[01:39:40] mpeg2video: "Chapter 4" (4) at frame 28009 time 105111000
[01:40:10] ffmpeg_read starting chapter 5 at 152695080
[01:40:10] mpeg2video: "Chapter 5" (5) at frame 40686 time 152698050
[01:40:40] ffmpeg_read starting chapter 6 at 198846630
[01:40:40] mpeg2video: "Chapter 6" (6) at frame 52981 time 198849600
[01:41:13] ffmpeg_read starting chapter 7 at 249447240
[01:41:13] mpeg2video: "Chapter 7" (7) at frame 66461 time 249450210
[01:41:37] ffmpeg_read starting chapter 8 at 285345090
[01:41:37] mpeg2video: "Chapter 8" (8) at frame 76024 time 285348060
[01:41:39] reader: done. 1 scr changes
[01:41:39] thread 1c139d0 exited ("Reader")
[01:41:39] work: average encoding speed for job is 414.745331 fps
[01:41:39] thread 1be8248 exited ("Video decoder (libavcodec)")
[01:41:40] thread 5c054b8 exited ("Muxer")
[01:41:40] thread 1cac9b8 exited ("Video Synchronization")
[01:41:40] thread 1cac9b8 joined ("Video Synchronization")
[01:41:40] sync: got 77928 frames, 77928 expected
[01:41:40] thread 1bfdad0 exited ("Framerate Shaper")
[01:41:40] thread 1bfdad0 joined ("Framerate Shaper")
[01:41:40] render: lost time: 0 (0 frames)
[01:41:40] render: gained time: 0 (0 frames) (0 not accounted for)
[01:41:40] fifo_close: trashing 0 buffer(s)
[01:41:40] thread 1caaaf0 exited ("Crop and Scale")
[01:41:40] thread 1caaaf0 joined ("Crop and Scale")
[01:41:40] thread 1be8248 joined ("Video decoder (libavcodec)")
[01:41:40] mpeg2video-decoder done: 77928 frames, 0 decoder errors, 0 drops
[01:41:40] thread 1cac920 exited ("H.264/AVC encoder (libx264)")
[01:41:40] thread 1bf1a48 exited ("SRT Subtitle Decoder")
[01:41:40] thread 1bf1a48 joined ("SRT Subtitle Decoder")
[01:41:40] thread 1cac920 joined ("H.264/AVC encoder (libx264)")
x264 [info]: frame I:328   Avg QP:15.40  size: 48863  PSNR Mean Y:49.45 U:50.74 V:51.15 Avg:49.73 Global:48.75
x264 [info]: frame P:77600 Avg QP:18.36  size: 10627  PSNR Mean Y:45.69 U:48.38 V:48.91 Avg:46.25 Global:45.35
x264 [info]: mb I  I16..4: 100.0%  0.0%  0.0%
x264 [info]: mb P  I16..4:  6.1%  0.0%  0.0%  P16..4: 64.1%  0.0%  0.0%  0.0%  0.0%    skip:29.8%
x264 [info]: coded y,uvDC,uvAC intra: 39.9% 63.5% 27.3% inter: 33.3% 36.1% 4.0%
x264 [info]: i16 v,h,dc,p: 44% 20% 23% 13%
x264 [info]: i8c dc,h,v,p: 44% 19% 29%  9%
x264 [info]: SSIM Mean Y:0.9807646 (17.159db)
x264 [info]: PSNR Mean Y:45.710 U:48.389 V:48.923 Avg:46.266 Global:45.363 kb/s:2069.24
[01:41:40] thread 5c054b8 joined ("Muxer")
[01:41:40] Writing Metadata to output file...
[01:41:40] mux: file size, 841736683 bytes
[01:41:40] mux: track 0, 77928 frames, 840683991 bytes, 2069.22 kbps, fifo 4096
[01:41:40] mux: track 1, 12 frames, 371 bytes, 0.00 kbps, fifo 16
[01:41:40] mux: overhead, 13.50 bytes per frame
[01:41:40] thread 1c139d0 joined ("Reader")
[01:41:40] fifo_close: trashing 0 buffer(s)
[01:41:40] fifo_close: trashing 0 buffer(s)
[01:41:40] fifo_close: trashing 0 buffer(s)
[01:41:40] fifo_close: trashing 0 buffer(s)
[01:41:40] fifo_close: trashing 0 buffer(s)
[01:41:40] fifo_close: trashing 0 buffer(s)
[01:41:40] fifo_close: trashing 0 buffer(s)
[01:41:40] fifo_close: trashing 0 buffer(s)
[01:41:40] fifo_close: trashing 0 buffer(s)
[01:41:40] fifo_close: trashing 0 buffer(s)
[01:41:40] Freed 32 buffers of size 1024
[01:41:40] Freed 32 buffers of size 2048
[01:41:40] Freed 32 buffers of size 4096
[01:41:40] Freed 32 buffers of size 8192
[01:41:40] Freed 32 buffers of size 16384
[01:41:40] Freed 32 buffers of size 32768
[01:41:40] Freed 32 buffers of size 65536
[01:41:40] Freed 32 buffers of size 131072
[01:41:40] Freed 1 buffers of size 262144
[01:41:40] Freed 32 buffers of size 1048576
[01:41:40] Allocated 42172416 bytes of buffers on this pass and Freed 42172416 bytes, 0 bytes leaked
[01:41:40] thread 1bdfef8 exited ("work")
[01:41:40] thread 1bdfef8 joined ("work")
[01:41:40] libhb: work result = 0
Encode done!
[01:41:40] thread 1bdfbc0 exited ("libhb")
[01:41:40] thread 1bdfbc0 joined ("libhb")
HandBrake has exited.
OpenCL nightly without OpenCL-

Code: Select all

HandBrake svn5436 (Nightly Build) - 32bit Version
OS: Microsoft Windows NT 6.1.7600.0
CPU: Intel(R) Core(TM) i5 CPU         660  @ 3.33GHz
Ram: 1982 MB, Screen: 1920x1080
GPU: AMD Radeon HD 6670
GPU driver version: 8.982.0.0
Temp Dir: C:\Users\Transcoder\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Transcoder\AppData\Roaming\HandBrake\HandBrake\0.0.0.5436

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

CLI Query:  -i "H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv" -t 1 --angle 1 -c 1-8 -o "G:\Transcodes\Game Of Thrones(NoOpenCL) - s02e05.mkv"  -f mkv  -w 720 --loose-anamorphic  --modulus 2 -e x264 -q 20 --vfr -a none  --audio-fallback ffac3 --markers="C:\Users\Transcoder\AppData\Local\Temp\Game Of Thrones(NoOpenCL) - s02e05-1-chapters.csv" --x264-preset=ultrafast  --h264-level="4.0"  --verbose=2
User Query: False

[02:10:50] hb_init: starting libhb thread
[02:10:50] thread 29dc830 started ("libhb")
HandBrake svn5456 (2013051501) - MinGW i686 - http://handbrake.fr
4 CPUs detected
Opening H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv...
[02:10:50] hb_scan: path=H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv, title_index=1
[02:10:50] thread 29dcf28 started ("scan")
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv) failed (029dd400)
[02:10:50] bd: not a bd - trying as a stream/file instead
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
[02:10:50] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv':
  Duration: 00:54:10.24, start: 0.000000, bitrate: N/A
    Chapter #0.0: start 0.000000, end 114.114000
    Metadata:
      title           : Chapter 01
    Chapter #0.1: start 114.114000, end 683.783100
    Metadata:
      title           : Chapter 02
    Chapter #0.2: start 683.783100, end 1167.833333
    Metadata:
      title           : Chapter 03
    Chapter #0.3: start 1167.833333, end 1696.528167
    Metadata:
      title           : Chapter 04
    Chapter #0.4: start 1696.528167, end 2209.340467
    Metadata:
      title           : Chapter 05
    Chapter #0.5: start 2209.340467, end 2771.635533
    Metadata:
      title           : Chapter 06
    Chapter #0.6: start 2771.635533, end 3170.500667
    Metadata:
      title           : Chapter 07
    Chapter #0.7: start 3170.500667, end 3250.247000
    Metadata:
      title           : Chapter 08
    Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x480 [PAR 32:27 DAR 16:9], 9800 kb/s, PAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s (default)
    Metadata:
      title           : 3/2+1
    Stream #0.2(eng): Subtitle: dvdsub (default)
[02:10:50] Found ffmpeg 8 chapters, container=matroska,webm
[02:10:50] Added chapter 1, name='Chapter 1', dur=10270260, (00:01:54)
[02:10:50] Added chapter 2, name='Chapter 2', dur=51270219, (00:09:30)
[02:10:50] Added chapter 3, name='Chapter 3', dur=43564520, (00:08:04)
[02:10:50] Added chapter 4, name='Chapter 4', dur=47582535, (00:08:49)
[02:10:50] Added chapter 5, name='Chapter 5', dur=46153107, (00:08:33)
[02:10:50] Added chapter 6, name='Chapter 6', dur=50606556, (00:09:22)
[02:10:50] Added chapter 7, name='Chapter 7', dur=35897862, (00:06:39)
[02:10:50] Added chapter 8, name='Chapter 8', dur=7177171, (00:01:20)
[02:10:50] scan: decoding previews for title 1
[02:10:50] scan: preview 1
[02:10:50] fifo_close: trashing 0 buffer(s)
[02:10:50] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[02:10:50] scan: preview 2
[02:10:50] scan: preview 3
[02:10:50] scan: preview 4
[02:10:50] scan: preview 5
[02:10:50] scan: preview 6
[02:10:50] scan: preview 7
[02:10:50] scan: preview 8
[02:10:50] scan: preview 9
[02:10:50] scan: preview 10
[02:10:50] Pulldown detected, setting fps to 23.976
[02:10:50] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27
[02:10:50] thread 29dcf28 exited ("scan")
[02:10:50] thread 29dcf28 joined ("scan")
[02:10:50] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv
  + duration: 00:54:10
  + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
  + autocrop: 0/0/0/0
  + support opencl: yes
  + support hwd: yes
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:01:54
    + 2: cells 0->0, 0 blocks, duration 00:09:30
    + 3: cells 0->0, 0 blocks, duration 00:08:04
    + 4: cells 0->0, 0 blocks, duration 00:08:49
    + 5: cells 0->0, 0 blocks, duration 00:08:33
    + 6: cells 0->0, 0 blocks, duration 00:09:22
    + 7: cells 0->0, 0 blocks, duration 00:06:39
    + 8: cells 0->0, 0 blocks, duration 00:01:20
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(VOBSUB)
Reading chapter markers from file C:\Users\Transcoder\AppData\Local\Temp\Game Of Thrones(NoOpenCL) - s02e05-1-chapters.csv
[02:10:50] thread 29dcf28 started ("work")
[02:10:50] 1 job(s) to process
[02:10:50] starting job
[02:10:50] Using GPU : NO.
[02:10:50] sync: expecting 77928 video frames
[02:10:50] job configuration:
[02:10:50]  * source
[02:10:50]    + H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv
[02:10:50]    + title 1, chapter(s) 1 to 8
[02:10:50]    + container: matroska,webm
[02:10:50]  * destination
[02:10:50]    + G:\Transcodes\Game Of Thrones(NoOpenCL) - s02e05.mkv
[02:10:50]    + container: Matroska (.mkv)
[02:10:50]      + chapter markers
[02:10:50]  * video track
[02:10:50]    + decoder: mpeg2video
[02:10:50]      + bitrate 9800 kbps
[02:10:50]    + frame rate: same as source (around 23.976 fps)
[02:10:50]    + filters
[02:10:50]      + Framerate Shaper (0:27000000:1126125)
[02:10:50]        + frame rate: same as source (around 23.976 fps)
[02:10:50]      + Crop and Scale (720:480:0:0:0:0)
[02:10:50]        + source: 720 * 480, crop (0/0/0/0): 720 * 480, scale: 720 * 480
[02:10:50]    + loose anamorphic
[02:10:50]      + storage dimensions: 720 * 480, mod 2
[02:10:50]      + pixel aspect ratio: 32 / 27
[02:10:50]      + display dimensions: 853 * 480
[02:10:50]    + encoder: H.264 (x264)
[02:10:50]      + x264 preset: ultrafast
[02:10:50]      + h264 level: 4.0
[02:10:50]      + quality: 20.00 (RF)
[02:10:50] thread 32a4aa0 started ("Reader")
[02:10:50] Seeking to chapter 1: starts 0, ends 10270260, AV pos 0
[02:10:50] thread 32a4b38 started ("Framerate Shaper")
[02:10:50] reader: first SCR -2970 id 0x0 DTS -2970
[02:10:50] thread 32a4bd0 started ("Crop and Scale")
[02:10:50] thread 32a4d00 started ("Video decoder (libavcodec)")
[02:10:50] encx264: min-keyint: 24, keyint: 240
[02:10:50] encx264: encoding with stored aspect 32/27
[02:10:50] encx264: Encoding at constant RF 20.000000
[02:10:50] encx264: opening libx264 (pass 0)
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x264 [info]: profile Constrained Baseline, level 4.0
[02:10:50] thread 759bfb0 started ("H.264/AVC encoder (libx264)")
[02:10:50] thread 759c048 started ("Video Synchronization")
[02:10:58] ffmpeg_read starting chapter 2 at 10270260
[02:10:58] mpeg2video: "Chapter 2" (2) at frame 2744 time 10273230
[02:11:35] ffmpeg_read starting chapter 3 at 61546500
[02:11:35] mpeg2video: "Chapter 3" (3) at frame 16404 time 61549470
[02:12:07] ffmpeg_read starting chapter 4 at 105108030
[02:12:07] mpeg2video: "Chapter 4" (4) at frame 28009 time 105111000
[02:12:40] ffmpeg_read starting chapter 5 at 152695080
[02:12:40] mpeg2video: "Chapter 5" (5) at frame 40686 time 152698050
[02:13:11] ffmpeg_read starting chapter 6 at 198846630
[02:13:12] mpeg2video: "Chapter 6" (6) at frame 52981 time 198849600
[02:13:46] ffmpeg_read starting chapter 7 at 249447240
[02:13:46] mpeg2video: "Chapter 7" (7) at frame 66461 time 249450210
[02:14:12] ffmpeg_read starting chapter 8 at 285345090
[02:14:12] mpeg2video: "Chapter 8" (8) at frame 76024 time 285348060
[02:14:14] reader: done. 1 scr changes
[02:14:14] thread 32a4aa0 exited ("Reader")
[02:14:14] work: average encoding speed for job is 381.012695 fps
[02:14:14] Writing Metadata to output file...
[02:14:14] thread 32a4d00 exited ("Video decoder (libavcodec)")
[02:14:14] mux: file size, 842900414 bytes
[02:14:14] mux: track 0, 77928 frames, 841848187 bytes, 2072.08 kbps, fifo 4096
[02:14:14] mux: overhead, 13.50 bytes per frame
[02:14:14] thread 759c048 exited ("Video Synchronization")
[02:14:14] thread 759c048 joined ("Video Synchronization")
[02:14:14] sync: got 77928 frames, 77928 expected
[02:14:14] thread 32a4b38 exited ("Framerate Shaper")
[02:14:14] thread 32a4b38 joined ("Framerate Shaper")
[02:14:14] render: lost time: 0 (0 frames)
[02:14:14] render: gained time: 0 (0 frames) (0 not accounted for)
[02:14:14] fifo_close: trashing 0 buffer(s)
[02:14:14] thread 32a4bd0 exited ("Crop and Scale")
[02:14:14] thread 32a4bd0 joined ("Crop and Scale")
[02:14:14] thread 32a4d00 joined ("Video decoder (libavcodec)")
[02:14:14] mpeg2video-decoder done: 77928 frames, 0 decoder errors, 0 drops
[02:14:14] thread 759bfb0 exited ("H.264/AVC encoder (libx264)")
[02:14:14] thread 759bfb0 joined ("H.264/AVC encoder (libx264)")
x264 [info]: frame I:328   Avg QP:15.38  size: 48989  PSNR Mean Y:49.46 U:50.75 V:51.16 Avg:49.74 Global:48.77
x264 [info]: frame P:77600 Avg QP:18.35  size: 10642  PSNR Mean Y:45.70 U:48.38 V:48.92 Avg:46.26 Global:45.36
x264 [info]: mb I  I16..4: 100.0%  0.0%  0.0%
x264 [info]: mb P  I16..4:  6.1%  0.0%  0.0%  P16..4: 64.1%  0.0%  0.0%  0.0%  0.0%    skip:29.8%
x264 [info]: coded y,uvDC,uvAC intra: 39.8% 63.6% 27.3% inter: 33.4% 36.1% 4.1%
x264 [info]: i16 v,h,dc,p: 44% 20% 23% 13%
x264 [info]: i8c dc,h,v,p: 43% 19% 29%  9%
x264 [info]: SSIM Mean Y:0.9807750 (17.161db)
x264 [info]: PSNR Mean Y:45.713 U:48.394 V:48.927 Avg:46.271 Global:45.366 kb/s:2072.11
[02:14:15] thread 32a4aa0 joined ("Reader")
[02:14:15] fifo_close: trashing 0 buffer(s)
[02:14:15] fifo_close: trashing 0 buffer(s)
[02:14:15] fifo_close: trashing 0 buffer(s)
[02:14:15] fifo_close: trashing 0 buffer(s)
[02:14:15] fifo_close: trashing 0 buffer(s)
[02:14:15] fifo_close: trashing 0 buffer(s)
[02:14:15] Freed 32 buffers of size 1024
[02:14:15] Freed 32 buffers of size 2048
[02:14:15] Freed 32 buffers of size 4096
[02:14:15] Freed 32 buffers of size 8192
[02:14:15] Freed 32 buffers of size 16384
[02:14:15] Freed 32 buffers of size 32768
[02:14:15] Freed 32 buffers of size 65536
[02:14:15] Freed 32 buffers of size 131072
[02:14:15] Freed 1 buffers of size 262144
[02:14:15] Freed 32 buffers of size 1048576
[02:14:15] Allocated 42172416 bytes of buffers on this pass and Freed 42172416 bytes, 0 bytes leaked
[02:14:15] thread 29dcf28 exited ("work")
[02:14:15] thread 29dcf28 joined ("work")
[02:14:15] libhb: work result = 0
Encode done!
[02:14:15] thread 29dc830 exited ("libhb")
[02:14:15] thread 29dc830 joined ("libhb")
HandBrake has exited.
OpenCL nightly with OpenCL

Code: Select all

HandBrake svn5436 (Nightly Build) - 32bit Version
OS: Microsoft Windows NT 6.1.7600.0
CPU: Intel(R) Core(TM) i5 CPU         660  @ 3.33GHz
Ram: 1982 MB, Screen: 1920x1080
GPU: AMD Radeon HD 6670
GPU driver version: 8.982.0.0
Temp Dir: C:\Users\Transcoder\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Transcoder\AppData\Roaming\HandBrake\HandBrake\0.0.0.5436

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

CLI Query:  -i "H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv" -t 1 --angle 1 -c 1-8 -o "G:\Transcodes\Game Of Thrones(OpenCL) - s02e05.mkv"  -f mkv  -P  -U  -w 720 --loose-anamorphic  --modulus 2 -e x264 -q 20 --vfr -a none  --audio-fallback ffac3 --markers="C:\Users\Transcoder\AppData\Local\Temp\Game Of Thrones(OpenCL) - s02e05-1-chapters.csv" --x264-preset=ultrafast  --h264-level="4.0"  --verbose=2
User Query: False

[01:48:21] hb_init: starting libhb thread
[01:48:21] thread 2b0c848 started ("libhb")
[01:48:21] GPU Device Name: Turks
[01:48:21] GPU Driver Version: CAL 1.4.1741 (VM)
HandBrake svn5456 (2013051501) - MinGW i686 - http://handbrake.fr
4 CPUs detected
Opening H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv...
[01:48:21] hb_scan: path=H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv, title_index=1
[01:48:21] thread 2b153c0 started ("scan")
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv) failed (02b16c28)
[01:48:21] bd: not a bd - trying as a stream/file instead
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
[01:48:21] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv':
  Duration: 00:54:10.24, start: 0.000000, bitrate: N/A
    Chapter #0.0: start 0.000000, end 114.114000
    Metadata:
      title           : Chapter 01
    Chapter #0.1: start 114.114000, end 683.783100
    Metadata:
      title           : Chapter 02
    Chapter #0.2: start 683.783100, end 1167.833333
    Metadata:
      title           : Chapter 03
    Chapter #0.3: start 1167.833333, end 1696.528167
    Metadata:
      title           : Chapter 04
    Chapter #0.4: start 1696.528167, end 2209.340467
    Metadata:
      title           : Chapter 05
    Chapter #0.5: start 2209.340467, end 2771.635533
    Metadata:
      title           : Chapter 06
    Chapter #0.6: start 2771.635533, end 3170.500667
    Metadata:
      title           : Chapter 07
    Chapter #0.7: start 3170.500667, end 3250.247000
    Metadata:
      title           : Chapter 08
    Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x480 [PAR 32:27 DAR 16:9], 9800 kb/s, PAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s (default)
    Metadata:
      title           : 3/2+1
    Stream #0.2(eng): Subtitle: dvdsub (default)
[01:48:21] Found ffmpeg 8 chapters, container=matroska,webm
[01:48:21] Added chapter 1, name='Chapter 1', dur=10270260, (00:01:54)
[01:48:21] Added chapter 2, name='Chapter 2', dur=51270219, (00:09:30)
[01:48:21] Added chapter 3, name='Chapter 3', dur=43564520, (00:08:04)
[01:48:21] Added chapter 4, name='Chapter 4', dur=47582535, (00:08:49)
[01:48:21] Added chapter 5, name='Chapter 5', dur=46153107, (00:08:33)
[01:48:21] Added chapter 6, name='Chapter 6', dur=50606556, (00:09:22)
[01:48:21] Added chapter 7, name='Chapter 7', dur=35897862, (00:06:39)
[01:48:21] Added chapter 8, name='Chapter 8', dur=7177171, (00:01:20)
[01:48:21] scan: decoding previews for title 1
[01:48:21] scan: preview 1
[01:48:21] fifo_close: trashing 0 buffer(s)
[01:48:21] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[01:48:21] scan: preview 2
[01:48:21] scan: preview 3
[01:48:21] scan: preview 4
[01:48:21] scan: preview 5
[01:48:21] scan: preview 6
[01:48:21] scan: preview 7
[01:48:21] scan: preview 8
[01:48:21] scan: preview 9
Scanning title 1 of 1, preview 9, 90.00 %[01:48:21] scan: preview 10
[01:48:21] Pulldown detected, setting fps to 23.976
[01:48:21] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27
[01:48:21] thread 2b153c0 exited ("scan")
[01:48:21] thread 2b153c0 joined ("scan")
[01:48:21] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv
  + duration: 00:54:10
  + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
  + autocrop: 0/0/0/0
  + support opencl: yes
  + support hwd: yes
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:01:54
    + 2: cells 0->0, 0 blocks, duration 00:09:30
    + 3: cells 0->0, 0 blocks, duration 00:08:04
    + 4: cells 0->0, 0 blocks, duration 00:08:49
    + 5: cells 0->0, 0 blocks, duration 00:08:33
    + 6: cells 0->0, 0 blocks, duration 00:09:22
    + 7: cells 0->0, 0 blocks, duration 00:06:39
    + 8: cells 0->0, 0 blocks, duration 00:01:20
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(VOBSUB)
Reading chapter markers from file C:\Users\Transcoder\AppData\Local\Temp\Game Of Thrones(OpenCL) - s02e05-1-chapters.csv
[01:48:21] thread 2b153c0 started ("work")
[01:48:21] 1 job(s) to process
[01:48:21] starting job
[01:48:21] Using GPU : Yes.
[01:48:22] sync: expecting 77928 video frames
[01:48:22] job configuration:
[01:48:22]  * source
[01:48:22]    + H:\Game Of Thrones s02\Game Of Thrones - s02e05.mkv
[01:48:22]    + title 1, chapter(s) 1 to 8
[01:48:22]    + container: matroska,webm
[01:48:22]  * destination
[01:48:22]    + G:\Transcodes\Game Of Thrones(OpenCL) - s02e05.mkv
[01:48:22]    + container: Matroska (.mkv)
[01:48:22]      + chapter markers
[01:48:22]  * video track
[01:48:22]    + decoder: mpeg2video
[01:48:22]      + bitrate 9800 kbps
[01:48:22]    + frame rate: same as source (around 23.976 fps)
[01:48:22]    + filters
[01:48:22]      + Framerate Shaper (0:27000000:1126125)
[01:48:22]        + frame rate: same as source (around 23.976 fps)
[01:48:22]      + Crop and Scale (720:480:0:0:0:0)
[01:48:22]        + source: 720 * 480, crop (0/0/0/0): 720 * 480, scale: 720 * 480
[01:48:22]    + loose anamorphic
[01:48:22]      + storage dimensions: 720 * 480, mod 2
[01:48:22]      + pixel aspect ratio: 32 / 27
[01:48:22]      + display dimensions: 853 * 480
[01:48:22]    + encoder: H.264 (x264)
[01:48:22]      + x264 preset: ultrafast
[01:48:22]      + h264 level: 4.0
[01:48:22]      + quality: 20.00 (RF)
[01:48:22] thread 2b3b938 started ("Reader")
[01:48:22] Seeking to chapter 1: starts 0, ends 10270260, AV pos 0
[01:48:22] reader: first SCR -2970 id 0x0 DTS -2970
[01:48:22] thread 2b3b9d0 started ("Framerate Shaper")
[01:48:22] thread 2b3ba68 started ("Crop and Scale")
[01:48:22] dxva2:CreateSurface succeed with 3, fmt (720x480) surfaces (720x480)
[01:48:22] dxva2:we got 2 decoder configurations
[01:48:22] dxva2:configuration[0] ConfigBitstreamRaw 1
[01:48:22] dxva2:configuration[1] ConfigBitstreamRaw 1
[01:48:22] dxva2:IDirectXVideoDecoderService_CreateVideoDecoder succeed
[01:48:22] dxva2:Using DXVA2 for hardware decoding
[01:48:22] thread 2b3bb00 started ("Video decoder (libavcodec)")
[01:48:22] encx264: min-keyint: 24, keyint: 240
[01:48:22] encx264: encoding with stored aspect 32/27
[01:48:22] encx264: Encoding at constant RF 20.000000
[01:48:22] dxva2:Available decoder output format 61 (AV_PIX_FMT_DXVA2_VLD)
[01:48:22] encx264: opening libx264 (pass 0)
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x264 [info]: profile Constrained Baseline, level 4.0
[01:48:22] thread 2b83588 started ("H.264/AVC encoder (libx264)")
[01:48:22] thread 2b83620 started ("Video Synchronization")
[01:48:29] ffmpeg_read starting chapter 2 at 10270260
[01:48:29] mpeg2video: "Chapter 2" (2) at frame 2745 time 10273263
[01:48:59] ffmpeg_read starting chapter 3 at 61546500
[01:48:59] mpeg2video: "Chapter 3" (3) at frame 16405 time 61549488
[01:49:25] ffmpeg_read starting chapter 4 at 105108030
[01:49:25] mpeg2video: "Chapter 4" (4) at frame 28010 time 105112507
[01:49:53] ffmpeg_read starting chapter 5 at 152695080
[01:49:53] mpeg2video: "Chapter 5" (5) at frame 40688 time 152702550
[01:50:20] ffmpeg_read starting chapter 6 at 198846630
[01:50:20] mpeg2video: "Chapter 6" (6) at frame 52982 time 198851152
[01:50:50] ffmpeg_read starting chapter 7 at 249447240
[01:50:50] mpeg2video: "Chapter 7" (7) at frame 66462 time 249451702
[01:51:11] ffmpeg_read starting chapter 8 at 285345090
[01:51:11] mpeg2video: "Chapter 8" (8) at frame 76025 time 285348063
[01:51:15] reader: done. 1 scr changes
[01:51:15] thread 2b3b938 exited ("Reader")
[01:51:15] work: average encoding speed for job is 451.636780 fps
[01:51:15] Writing Metadata to output file...
[01:51:15] mux: file size, 842895849 bytes
[01:51:15] mux: track 0, 77928 frames, 841843598 bytes, 2072.08 kbps, fifo 4096
[01:51:15] mux: overhead, 13.50 bytes per frame
[01:51:15] thread 2b3bb00 exited ("Video decoder (libavcodec)")
[01:51:15] thread 2b83620 exited ("Video Synchronization")
[01:51:15] thread 2b83620 joined ("Video Synchronization")
[01:51:15] sync: got 77928 frames, 77928 expected
[01:51:15] thread 2b3b9d0 exited ("Framerate Shaper")
[01:51:15] thread 2b3b9d0 joined ("Framerate Shaper")
[01:51:15] render: lost time: 0 (0 frames)
[01:51:15] render: gained time: 0 (0 frames) (0 not accounted for)
[01:51:15] fifo_close: trashing 0 buffer(s)
[01:51:15] thread 2b3ba68 exited ("Crop and Scale")
[01:51:15] thread 2b3ba68 joined ("Crop and Scale")
[01:51:15] thread 2b3bb00 joined ("Video decoder (libavcodec)")
[01:51:15] mpeg2video-decoder done: 77928 frames, 0 decoder errors, 0 drops
[01:51:15] thread 2b83588 exited ("H.264/AVC encoder (libx264)")
[01:51:15] thread 2b83588 joined ("H.264/AVC encoder (libx264)")
x264 [info]: frame I:328   Avg QP:15.40  size: 48727  PSNR Mean Y:49.56 U:51.20 V:51.58 Avg:49.85 Global:48.72
x264 [info]: frame P:77600 Avg QP:18.35  size: 10643  PSNR Mean Y:45.69 U:48.38 V:48.91 Avg:46.25 Global:45.35
x264 [info]: mb I  I16..4: 100.0%  0.0%  0.0%
x264 [info]: mb P  I16..4:  6.1%  0.0%  0.0%  P16..4: 64.1%  0.0%  0.0%  0.0%  0.0%    skip:29.8%
x264 [info]: coded y,uvDC,uvAC intra: 39.8% 63.4% 27.3% inter: 33.4% 36.1% 4.1%
x264 [info]: i16 v,h,dc,p: 44% 20% 23% 13%
x264 [info]: i8c dc,h,v,p: 44% 19% 29%  9%
x264 [info]: SSIM Mean Y:0.9807544 (17.157db)
x264 [info]: PSNR Mean Y:45.708 U:48.395 V:48.925 Avg:46.269 Global:45.362 kb/s:2072.12
[01:51:15] thread 2b3b938 joined ("Reader")
[01:51:15] fifo_close: trashing 0 buffer(s)
[01:51:15] fifo_close: trashing 0 buffer(s)
[01:51:15] fifo_close: trashing 0 buffer(s)
[01:51:15] fifo_close: trashing 0 buffer(s)
[01:51:15] fifo_close: trashing 0 buffer(s)
[01:51:15] fifo_close: trashing 0 buffer(s)
[01:51:15] Freed 32 buffers of size 1024
[01:51:15] Freed 32 buffers of size 2048
[01:51:15] Freed 32 buffers of size 4096
[01:51:15] Freed 32 buffers of size 8192
[01:51:15] Freed 32 buffers of size 16384
[01:51:15] Freed 32 buffers of size 32768
[01:51:15] Freed 32 buffers of size 65536
[01:51:15] Freed 32 buffers of size 131072
[01:51:15] Freed 1 buffers of size 262144
[01:51:15] Freed 32 buffers of size 1048576
[01:51:15] Allocated 42172416 bytes of buffers on this pass and Freed 42172416 bytes, 0 bytes leaked
[01:51:15] thread 2b153c0 exited ("work")
[01:51:15] thread 2b153c0 joined ("work")
[01:51:15] libhb: work result = 0
Encode done!
[01:51:15] thread 2b0c848 exited ("libhb")
[01:51:15] thread 2b0c848 joined ("libhb")
HandBrake has exited.
Or the Cliff Notes version-
Current nightly - work: average encoding speed for job is 414.745331 fps
OpenCL nightly w/o OpenCL - work: average encoding speed for job is 381.012695 fps
OpenCL nightly with OpenCL - work: average encoding speed for job is 451.636780 fps

Looks like a nice bump over the current nightly. I'm testing a couple of other things with it now, and I'll post the results after the queue has finished which might be in two days!

SC
Smithcraft
Veteran User
Posts: 2695
Joined: Thu Jan 22, 2009 8:04 pm

Re: OpenCL Nightly Builds

Post by Smithcraft »

Change from a whole episode, to just the first chapter and it goes much quicker! I never knew Placebo was sooo slow.

Cliff Notes version for the first chapter of GoT s02e05 -
OpenCL nightly w/o OpenCL - Placebo - work: average encoding speed for job is 2.230764 fps
OpenCL nightly with OpenCL - Placebo - work: average encoding speed for job is 2.172116 fps
Current nightly - Placebo - work: average encoding speed for job is 2.153497 fps

OpenCL nightly w/o OpenCL - Ultra - work: average encoding speed for job is 361.613342 fps
OpenCL nightly with OpenCL - Ultra - work: average encoding speed for job is 399.867706 fps
Current nightly - Ultrafast - work: average encoding speed for job is 356.973663 fps

Of note might be the file sizes. Of course one expects Placebo to have smaller files and it did, but I wasn't expecting them to be half the size of Ultrafast.

Whole episode -
Current nightly - Ultrafast - 822,009 KB (including a 1 KB srt file)
OpenCL nightly - Ultrafast with OpenCL - 823,141 KB
OpenCL nightly - Ultrafast w/o OpenCL - 823,145 KB

First chapter
OpenCL nightly - Placebo w/o OpenCL - 19,945 KB
OpenCL nightly - Placebo with OpenCL - 20,112 KB
OpenCL nightly - Ultrafast w/o OpenCL - 43,488 KB
OpenCL nightly - Ultrafast with OpenCL - 43,496 KB
Current nightly - Placebo - 20,179 KB
Current nightly - Ultrafast - 43,440 KB

SC
JDKnows
Posts: 16
Joined: Thu May 24, 2012 11:37 am

Re: OpenCL Nightly Builds

Post by JDKnows »

- x264 lookahead acceleration if the patch is accepted by x264
Any hope that is gonna happen?
User avatar
Rodeo
HandBrake Team
Posts: 12755
Joined: Tue Mar 03, 2009 8:55 pm

Re: OpenCL Nightly Builds

Post by Rodeo »

JDKnows wrote:
- x264 lookahead acceleration if the patch is accepted by x264
Any hope that is gonna happen?
Yes, it's been accepted. We're waiting on x264 refactoring it a bit before integrating.
gmb
Bright Spark User
Posts: 348
Joined: Thu Mar 28, 2013 12:49 pm

Re: OpenCL Nightly Builds

Post by gmb »

Any modern AMD or NVIDIA GPU that supports OpenCL 1.2 or later

No Intel support. Thanks :roll:
gmb
Bright Spark User
Posts: 348
Joined: Thu Mar 28, 2013 12:49 pm

Re: OpenCL Nightly Builds

Post by gmb »

Oh and btw OpenCL 1.2 rules out any Nvidia GPU since Nvidia doesn't support this. Is this patch made by AMD? I have to say well done AMD, mission accomplished. No wonder every other GPU vendor is blocked for marketing reasons, nice.
User avatar
Rodeo
HandBrake Team
Posts: 12755
Joined: Tue Mar 03, 2009 8:55 pm

Re: OpenCL Nightly Builds

Post by Rodeo »

gmb wrote:Oh and btw OpenCL 1.2 rules out any Nvidia GPU since Nvidia doesn't support this. Is this patch made by AMD? I have to say well done AMD, mission accomplished. No wonder every other GPU vendor is blocked for marketing reasons, nice.
Actually it should work with OpenCL 1.1 (1.0 is known not to work, however). As for Intel support, we'll see about enabling it when Haswell comes out. I know x264's OpenCL-accelerated lookahead had abysmal performance under Sandy Bridge… not sure what the story is with Ivy Bridge.

Anyway, this is very much a work in progress.
User avatar
s55
HandBrake Team
Posts: 9969
Joined: Sun Dec 24, 2006 1:05 pm

Re: OpenCL Nightly Builds

Post by s55 »

Nvidia current gen cards work, although I'm not sure how good the performance is.
Intel's OpenCL hardware won't be ready for prime time until at least haswell. There much of a question mark around that currently though. Intel's OpenCL hardware being unoptimised is Intel's fault, not AMD's
gmb
Bright Spark User
Posts: 348
Joined: Thu Mar 28, 2013 12:49 pm

Re: OpenCL Nightly Builds

Post by gmb »

Rodeo wrote:
gmb wrote:Oh and btw OpenCL 1.2 rules out any Nvidia GPU since Nvidia doesn't support this. Is this patch made by AMD? I have to say well done AMD, mission accomplished. No wonder every other GPU vendor is blocked for marketing reasons, nice.
Actually it should work with OpenCL 1.1 (1.0 is known not to work, however). As for Intel support, we'll see about enabling it when Haswell comes out. I know x264's OpenCL-accelerated lookahead had abysmal performance under Sandy Bridge… not sure what the story is with Ivy Bridge.

Anyway, this is very much a work in progress.

Sandy Bridge GPU doesn't support OpenCL.
s55 wrote:Nvidia current gen cards work, although I'm not sure how good the performance is.
Intel's OpenCL hardware won't be ready for prime time until at least haswell. There much of a question mark around that currently though. Intel's OpenCL hardware being unoptimised is Intel's fault, not AMD's
Actually Intels implementation is better since 15.31. Despite having the slower iGPU Ivy Bridge outperforms Trinity in a couple of OpenCL benchmarks. For a better Luxmark performance AMD users should install Intels CPU OpenCL driver and they get a better performance.
Last edited by gmb on Wed May 22, 2013 4:17 pm, edited 2 times in total.
User avatar
Rodeo
HandBrake Team
Posts: 12755
Joined: Tue Mar 03, 2009 8:55 pm

Re: OpenCL Nightly Builds

Post by Rodeo »

Yeah, I guess it was running on the CPU or something.

My first priority is to make sure the OpenCL scaling works under OS X (not quite there yet). Then I'll see about benchmarking stuff on Intel GPUs and enabling it where it makes sense.
rahulwebtech
Posts: 2
Joined: Mon Jun 03, 2013 12:05 pm

Re: OpenCL Nightly Builds

Post by rahulwebtech »

I'll be happy to test the OpenCL build on AMD A8-3550MX
thehunterofshadows
Posts: 1
Joined: Sun Jun 16, 2013 4:02 am

Re: OpenCL Nightly Builds

Post by thehunterofshadows »

I have a GTX 570, for best results with open cl do i need to install anything other then the nvidia driver and the nightly handbrake? Or is there some opencl driver i need? i'm new to opencl. Not new to handbrake.
User avatar
s55
HandBrake Team
Posts: 9969
Joined: Sun Dec 24, 2006 1:05 pm

Re: OpenCL Nightly Builds

Post by s55 »

I'd hold off using the OpenCL nightly for a bit. There are some problems with the code right now that are hopefully getting patched pretty soon.


Yes, if you have the latest drivers, you should be fine.
AAT
Posts: 34
Joined: Sun Dec 23, 2012 9:35 pm

Re: OpenCL Nightly Builds

Post by AAT »

Just let us know when it is available again with a link, I can run benchmarks now with AMD Richland A10-5750M and Intel Ivy Bridge + GCN 2.0 Radeon discrete graphics.
User avatar
s55
HandBrake Team
Posts: 9969
Joined: Sun Dec 24, 2006 1:05 pm

Re: OpenCL Nightly Builds

Post by s55 »

There are no updates at this point. Someone from AMD is having a look at trying to cut down all the unnecessary memory copying and improve things and fix hardware acceleration.

One of the problems with the hardware acceleration was it was hooked in in the wrong place, so it caused a lot of breakage we didn't detect until we started testing features like subtitles.
The second issue is the performance improvement was almost non-existent when we switch handbrakes software scaling to use the same algorithm as opencl.

As for the OpenCL x264, that code is in the trunk branch, but disabled by default right now. Hopefully enable that soon so it can be turned on with the "opencl" x264 option. Sadly though in my testing, I really didn't see much, if any improvement and infact really really slowed things down for fast settings.

Hopefully in a few weeks if we get a new patch, it'll turn things around a bit.
JDKnows
Posts: 16
Joined: Thu May 24, 2012 11:37 am

Re: OpenCL Nightly Builds

Post by JDKnows »

Any news of OpenCL project or is it dead?
User avatar
s55
HandBrake Team
Posts: 9969
Joined: Sun Dec 24, 2006 1:05 pm

Re: OpenCL Nightly Builds

Post by s55 »

All the code is in the nightly builds. Still refactoring work going on though. Currently only works on AMD and Intel, no Nvidia support currently.
AAT
Posts: 34
Joined: Sun Dec 23, 2012 9:35 pm

Re: OpenCL Nightly Builds

Post by AAT »

Hello Guys, it is been a year when OpenCL project started. Good to see all the codes is in the build now, but curios if it performs as supposed to or still slow?
Post Reply