OpenCL Nightly Builds

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
olli
Posts: 3
Joined: Sat Feb 02, 2013 9:44 am

Re: OpenCL Nightly Builds

Post by olli »

dmance wrote:Both Windows GUI-32 and GUI-64: The checkboxes for OpenCL Support and HWD Support vanish when you load a source file.
I have same problem.

Code: Select all

HandBrake svn5243 2013020801
OS: Microsoft Windows NT 6.2.9200.0
CPU: AMD A8-3800 APU with Radeon(tm) HD Graphics
Ram: 3511 MB, Screen: 1920x1080
GPU: AMD Radeon HD 6550D
GPU driver version: 9.12.0.0
Temp Dir: C:\Users\olli\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake.5236
Data Dir: C:\Users\olli\AppData\Roaming\HandBrake\HandBrake\0.9.8.5236

-------------------------------------------
 -i "J:\\" -t0  --min-duration=10 -v 
[12:17:58] hb_init: starting libhb thread
HandBrake svn5243 (2013020801) - MinGW x86_64 - http://handbrake.fr
4 CPUs detected
Opening J:\...
[12:17:58] hb_scan: path=J:\, title_index=0
[12:17:58] scan: BD has 5 title(s)
[12:17:58] bd: scanning title 1
[12:17:58] bd: playlist 00000.MPLS
[12:17:58] bd: duration is 01:34:45 (5685721 ms)
[12:17:58] bd: video id=0x1011, stream type=H.264, format 1080p
[12:17:58] bd: aspect = 1.77778
[12:17:58] bd: audio id=0x711100, lang=Deutsch (DTS), 3cc=deu
[12:17:58] bd: audio id=0x1100, lang=Deutsch (DTS-HD MA), 3cc=deu
[12:17:58] bd: audio id=0x711101, lang=English (DTS), 3cc=eng
[12:17:58] bd: audio id=0x1101, lang=English (DTS-HD MA), 3cc=eng
[12:17:58] bd: subtitle id=0x1200, lang=Deutsch, 3cc=deu
[12:17:58] bd: chap 1 packet=768, 404487 ms
[12:17:58] bd: chap 2 packet=1401538368, 433391 ms
[12:17:58] bd: chap 3 packet=2863433856, 433641 ms
[12:17:58] bd: chap 4 packet=4294859136, 441023 ms
[12:17:58] bd: chap 5 packet=5751404928, 469802 ms
[12:17:58] bd: chap 6 packet=7501039296, 485651 ms
[12:17:58] bd: chap 7 packet=9228962112, 427552 ms
[12:17:58] bd: chap 8 packet=10784786688, 453077 ms
[12:17:58] bd: chap 9 packet=12156318144, 496871 ms
[12:17:58] bd: chap 10 packet=13732546176, 432557 ms
[12:17:58] bd: chap 11 packet=15377451648, 372205 ms
[12:17:58] bd: chap 12 packet=16493121024, 835417 ms
[12:17:58] bd: chap 13 packet=18162964992, 41 ms
[12:17:58] bd: title 1 has 13 chapters
[12:17:58] bd: scanning title 2
[12:17:58] bd: playlist 00001.MPLS
[12:17:58] bd: duration is 00:00:42 (42208 ms)
[12:17:58] bd: video id=0x1011, stream type=VC-1, format 1080p
[12:17:58] bd: aspect = 1.77778
[12:17:58] bd: audio id=0x711100, lang=English (DTS), 3cc=eng
[12:17:58] bd: audio id=0x1100, lang=English (DTS-HD MA), 3cc=eng
[12:17:58] bd: chap 1 packet=768, 11928 ms
[12:17:58] bd: chap 2 packet=17750784, 19811 ms
[12:17:58] bd: chap 3 packet=49938432, 10468 ms
[12:17:58] bd: title 2 has 3 chapters
[12:17:58] bd: scanning title 3
[12:17:58] bd: playlist 00003.MPLS
[12:17:58] bd: duration is 00:02:26 (146229 ms)
[12:17:58] bd: video id=0x1011, stream type=H.264, format 1080p
[12:17:58] bd: aspect = 1.77778
[12:17:58] bd: audio id=0x711100, lang=Deutsch (DTS), 3cc=deu
[12:17:58] bd: audio id=0x1100, lang=Deutsch (DTS-HD MA), 3cc=deu
[12:17:58] bd: chap 1 packet=768, 145770 ms
[12:17:58] bd: chap 2 packet=321305088, 458 ms
[12:17:58] bd: title 3 has 2 chapters
[12:17:58] bd: scanning title 4
[12:17:58] bd: playlist 00004.MPLS
[12:17:58] bd: duration is 00:01:28 (88960 ms)
[12:17:58] bd: video id=0x1011, stream type=H.264, format 1080i
[12:17:58] bd: aspect = 1.77778
[12:17:58] bd: audio id=0x1100, lang=Deutsch (DTS), 3cc=deu
[12:17:58] bd: chap 1 packet=768, 88520 ms
[12:17:58] bd: chap 2 packet=65799168, 440 ms
[12:17:58] bd: title 4 has 2 chapters
[12:17:58] bd: scanning title 5
[12:17:58] bd: playlist 00005.MPLS
[12:17:58] bd: duration is 00:02:28 (148982 ms)
[12:17:58] bd: video id=0x1011, stream type=H.264, format 1080p
[12:17:58] bd: aspect = 1.77778
[12:17:58] bd: audio id=0x711100, lang=Deutsch (DTS), 3cc=deu
[12:17:58] bd: audio id=0x1100, lang=Deutsch (DTS-HD MA), 3cc=deu
[12:17:58] bd: chap 1 packet=768, 148523 ms
[12:17:58] bd: chap 2 packet=388946688, 458 ms
[12:17:58] bd: title 5 has 2 chapters
[12:17:58] scan: decoding previews for title 1
[12:17:58] scan: title angle(s) 1
[12:17:58] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS) (5.1 ch)
[12:17:58] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS-HD MA) (5.1 ch)
[12:17:58] scan: audio 0x711101: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[12:17:58] scan: audio 0x1101: dca, rate=48000Hz, bitrate=1536000 English (DTS-HD MA) (5.1 ch)
Scanning title 1 of 5...
Scanning title 1 of 5...
Scanning title 1 of 5...
Scanning title 1 of 5...
Scanning title 1 of 5...
Scanning title 1 of 5...
Scanning title 1 of 5...
Scanning title 1 of 5...
[12:18:00] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 130/132/0/0, aspect 16:9, PAR 1:1
[12:18:00] stream: 25 good frames, 0 errors (0%)
[12:18:00] scan: decoding previews for title 2
[12:18:00] scan: title angle(s) 1
[12:18:00] scan: audio 0x711100: dca, rate=48000Hz, bitrate=384000 English (DTS) (2.0 ch)
[dca @ 000000000366e080] Not a valid DCA frame
[dca @ 000000000366e080] Not a valid DCA frame
[dca @ 000000000366e480] Not a valid DCA frame
[12:18:00] scan: audio 0x1100: dca, rate=48000Hz, bitrate=384000 English (DTS-HD MA) (2.0 ch)
Scanning title 2 of 5...
Scanning title 2 of 5...
Scanning title 2 of 5...
Scanning title 2 of 5...
Scanning title 2 of 5...
[12:18:01] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 2/2/26/24, aspect 16:9, PAR 1:1
[12:18:01] stream: 3 good frames, 0 errors (0%)
[12:18:01] scan: decoding previews for title 3
[12:18:01] scan: title angle(s) 1
[12:18:01] scan: audio 0x711100: dca, rate=48000Hz, bitrate=768000 Deutsch (DTS) (2.0 ch)
[12:18:01] scan: audio 0x1100: dca, rate=48000Hz, bitrate=768000 Deutsch (DTS-HD MA) (2.0 ch)
Scanning title 3 of 5...
Scanning title 3 of 5...
Scanning title 3 of 5...
Scanning title 3 of 5...
Scanning title 3 of 5...
Scanning title 3 of 5...
Scanning title 3 of 5...
Scanning title 3 of 5...
[12:18:02] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 8/8/0/2, aspect 16:9, PAR 1:1
[12:18:02] stream: 26 good frames, 0 errors (0%)
[12:18:02] scan: decoding previews for title 4
[12:18:02] scan: title angle(s) 1
[12:18:03] scan: audio 0x1100: dca, rate=48000Hz, bitrate=768000 Deutsch (DTS) (5.1 ch)
Scanning title 4 of 5...
Scanning title 4 of 5...
Scanning title 4 of 5...
Scanning title 4 of 5...
Scanning title 4 of 5...
Scanning title 4 of 5...
Scanning title 4 of 5...
Scanning title 4 of 5...
Scanning title 4 of 5...
[12:18:04] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 138/138/0/0, aspect 16:9, PAR 1:1
[12:18:04] stream: 30 good frames, 0 errors (0%)
[12:18:04] scan: decoding previews for title 5
[12:18:04] scan: title angle(s) 1
[12:18:04] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS) (5.1 ch)
[12:18:04] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS-HD MA) (5.1 ch)
Scanning title 5 of 5...
Scanning title 5 of 5...
Scanning title 5 of 5...
Scanning title 5 of 5...
Scanning title 5 of 5...
[12:18:05] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/0/0, aspect 16:9, PAR 1:1
[12:18:05] stream: 12 good frames, 0 errors (0%)
Scanning title 5 of 5...
[12:18:05] libhb: scan thread found 5 valid title(s)
+ title 1:
  + Main Feature
  + playlist: 00000.MPLS
  + duration: 01:34:45
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 130/132/0/0
  + support opencl: no
  + support hwd: no
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:06:44
    + 2: cells 0->0, 0 blocks, duration 00:07:13
    + 3: cells 0->0, 0 blocks, duration 00:07:14
    + 4: cells 0->0, 0 blocks, duration 00:07:21
    + 5: cells 0->0, 0 blocks, duration 00:07:50
    + 6: cells 0->0, 0 blocks, duration 00:08:06
    + 7: cells 0->0, 0 blocks, duration 00:07:08
    + 8: cells 0->0, 0 blocks, duration 00:07:33
    + 9: cells 0->0, 0 blocks, duration 00:08:17
    + 10: cells 0->0, 0 blocks, duration 00:07:13
    + 11: cells 0->0, 0 blocks, duration 00:06:12
    + 12: cells 0->0, 0 blocks, duration 00:13:55
    + 13: cells 0->0, 0 blocks, duration 00:00:00
  + audio tracks:
    + 1, Deutsch (DTS) (5.1 ch) (iso639-2: deu), 48000Hz, 1536000bps
    + 2, Deutsch (DTS-HD MA) (5.1 ch) (iso639-2: deu)
    + 3, English (DTS) (5.1 ch) (iso639-2: eng), 48000Hz, 1536000bps
    + 4, English (DTS-HD MA) (5.1 ch) (iso639-2: eng)
  + subtitle tracks:
    + 1, Deutsch (iso639-2: deu) (Bitmap)(PGS)
+ title 2:
  + playlist: 00001.MPLS
  + duration: 00:00:42
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 2/2/26/24
  + support opencl: no
  + support hwd: no
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:00:12
    + 2: cells 0->0, 0 blocks, duration 00:00:20
    + 3: cells 0->0, 0 blocks, duration 00:00:10
  + audio tracks:
    + 1, English (DTS) (2.0 ch) (iso639-2: eng), 48000Hz, 384000bps
    + 2, English (DTS-HD MA) (2.0 ch) (iso639-2: eng)
  + subtitle tracks:
+ title 3:
  + playlist: 00003.MPLS
  + duration: 00:02:26
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 8/8/0/2
  + support opencl: no
  + support hwd: no
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:02:26
    + 2: cells 0->0, 0 blocks, duration 00:00:00
  + audio tracks:
    + 1, Deutsch (DTS) (2.0 ch) (iso639-2: deu), 48000Hz, 768000bps
    + 2, Deutsch (DTS-HD MA) (2.0 ch) (iso639-2: deu)
  + subtitle tracks:
+ title 4:
  + playlist: 00004.MPLS
  + duration: 00:01:28
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 25.000 fps
  + autocrop: 138/138/0/0
  + support opencl: no
  + support hwd: no
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:01:29
    + 2: cells 0->0, 0 blocks, duration 00:00:00
  + audio tracks:
    + 1, Deutsch (DTS) (5.1 ch) (iso639-2: deu), 48000Hz, 768000bps
  + subtitle tracks:
+ title 5:
  + playlist: 00005.MPLS
  + duration: 00:02:28
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 140/140/0/0
  + support opencl: no
  + support hwd: no
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:02:29
    + 2: cells 0->0, 0 blocks, duration 00:00:00
  + audio tracks:
    + 1, Deutsch (DTS) (5.1 ch) (iso639-2: deu), 48000Hz, 1536000bps
    + 2, Deutsch (DTS-HD MA) (5.1 ch) (iso639-2: deu)
  + subtitle tracks:
HandBrake has exited.


dmance
Posts: 10
Joined: Sun Jun 24, 2012 1:44 pm

NVIDIA GeForce issue?

Post by dmance »

s55: Regarding crashing of the CLI ... and the lack of detection of 'support-opencl' - well it appears to be a NVIDIA GeForce issue. When I switched to an AMD (Radeon HD GTX-5XXX or HD GT 7750) the problem goes away. I tested on Windows 7,8,Server 2008, Server 2012 - all good. I tried the latest GeForce beta (313.96) but the problem still remains. Curiously, all the normal GPU detection and demo-test software (CLBenchmark, GPU-Z) finds and exercises OpenCL with no errors.
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: OpenCL Nightly Builds

Post by s55 »

@dmance, can you provide a log from the nvidia system. Also, what GPU is it you have ? (Sorry, having trouble keeping track of all the issues in this thread :()


@olli what about if you open a m2ts, mkv, avi, mp4 or something along those lines rather than a bluray directly.
dmance
Posts: 10
Joined: Sun Jun 24, 2012 1:44 pm

S55: Log from NVIDIA Crash...

Post by dmance »

S55: Log from the crash below: (HandbrakeCLI displays: Encoding task 1 of 1, 0.00% ... then crashes with a windows dialog: HandbrakeCLI has Stopped Working). I am converting MKV (1080p) to MP4 (540p). The option arguments have been pruned down ih the snipped below ... but It does not seem to matter what resolution/settings I choose - same result.

Code: Select all


"C:\Program Files\Handbrake\HandBrakeCLI.exe" -i "E:\TEST.mkv" -o "C:\TEST.mp4" -v 0 -t 1 -P -U -f mp4 -X 960 -Y 544 -e x264 -q 20 --verbose=2
[14:28:56] hb_init: starting libhb thread
[14:28:56] thread 396e8c0 started ("libhb")
[14:28:56] GPU Device Name: GeForce GT 640
[14:28:56] GPU Driver Version: 313.96
HandBrake svn5235 (2013020301) - MinGW x86_64 - http://handbrake.fr
24 CPUs detected
Opening E:\TEST.mkv...
[14:28:56] hb_scan: path=E:\TEST.mkv, title_index=1
[14:28:56] thread 3970dc0 started ("scan")
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening E:\TEST.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening E:\TEST.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(E:\TEST.mkv) failed (0000000003971520)
[14:28:56] 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
[14:28:56] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'E:\TEST.mkv':
  Metadata:
    title           : TEST.Title4
  Duration: 01:49:16.27, start: 0.000000, bitrate: 28156 kb/s
    Chapter #0.0: start 0.000000, end 360.818000
    Metadata:
      title           : (01)00:00:00:000
    Chapter #0.1: start 360.818000, end 809.475000
    Metadata:
      title           : (02)00:06:00:818
    Chapter #0.2: start 809.475000, end 1187.186000
    Metadata:
      title           : (03)00:13:29:475
    Chapter #0.3: start 1187.186000, end 1659.658000
    Metadata:
      title           : (04)00:19:47:186
    Chapter #0.4: start 1659.658000, end 2158.739000
    Metadata:
      title           : (05)00:27:39:658
    Chapter #0.5: start 2158.739000, end 2518.140000
    Metadata:
      title           : (06)00:35:58:739
    Chapter #0.6: start 2518.140000, end 2977.599000
    Metadata:
      title           : (07)00:41:58:140
    Chapter #0.7: start 2977.599000, end 3276.731000
    Metadata:
      title           : (08)00:49:37:599
    Chapter #0.8: start 3276.731000, end 3682.178000
    Metadata:
      title           : (09)00:54:36:731
    Chapter #0.9: start 3682.178000, end 4058.888000
    Metadata:
      title           : (10)01:01:22:178
    Chapter #0.10: start 4058.888000, end 4584.246000
    Metadata:
      title           : (11)01:07:38:888
    Chapter #0.11: start 4584.246000, end 4886.840000
    Metadata:
      title           : (12)01:16:24:246
    Chapter #0.12: start 4886.840000, end 5259.170000
    Metadata:
      title           : (13)01:21:26:840
    Chapter #0.13: start 5259.170000, end 5731.142000
    Metadata:
      title           : (14)01:27:39:170
    Chapter #0.14: start 5731.142000, end 6198.192000
    Metadata:
      title           : (15)01:35:31:142
    Chapter #0.15: start 6198.192000, end 6556.277333
    Metadata:
      title           : (16)01:43:18:192
    Chapter #0.16: start 6556.508000, end 6556.277333
    Metadata:
      title           : (17)01:49:16:508
    Stream #0.0: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 48003.07 tbn, 47.95 tbc (default)
    Stream #0.1(eng): Audio: dca (DTS-HD MA), 48000 Hz, 5.1, fltp, 1536 kb/s (default)
    Stream #0.2: Attachment: mjpeg
    Metadata:
      filename        : COVER_ART
      mimetype        : image/jpeg
[14:28:56] Found ffmpeg 17 chapters, container=matroska,webm
[14:28:56] Added chapter 1, name='(01)00:00:00:000', dur=32473620, (00:06:01)
[14:28:56] Added chapter 2, name='(02)00:06:00:818', dur=40379130, (00:07:29)
[14:28:56] Added chapter 3, name='(03)00:13:29:475', dur=33993990, (00:06:18)
[14:28:56] Added chapter 4, name='(04)00:19:47:186', dur=42522480, (00:07:52)
[14:28:56] Added chapter 5, name='(05)00:27:39:658', dur=44917290, (00:08:19)
[14:28:56] Added chapter 6, name='(06)00:35:58:739', dur=32346090, (00:05:59)
[14:28:56] Added chapter 7, name='(07)00:41:58:140', dur=41351310, (00:07:39)
[14:28:56] Added chapter 8, name='(08)00:49:37:599', dur=26921880, (00:04:59)
[14:28:56] Added chapter 9, name='(09)00:54:36:731', dur=36490230, (00:06:45)
[14:28:56] Added chapter 10, name='(10)01:01:22:178', dur=33903900, (00:06:17)
[14:28:56] Added chapter 11, name='(11)01:07:38:888', dur=47282220, (00:08:45)
[14:28:56] Added chapter 12, name='(12)01:16:24:246', dur=27233460, (00:05:03)
[14:28:56] Added chapter 13, name='(13)01:21:26:840', dur=33509700, (00:06:12)
[14:28:56] Added chapter 14, name='(14)01:27:39:170', dur=42477480, (00:07:52)
[14:28:56] Added chapter 15, name='(15)01:35:31:142', dur=42034500, (00:07:47)
[14:28:56] Added chapter 16, name='(16)01:43:18:192', dur=32227679, (00:05:58)
[14:28:56] Added chapter 17, name='(17)01:49:16:508', dur=0, (00:00:00)
[14:28:56] scan: decoding previews for title 1
[14:28:56] scan: preview 1
[14:28:56] scan: preview 2
Scanning title 1...
[14:28:57] scan: preview 3
Scanning title 1...
[14:28:57] scan: preview 4
[14:28:57] scan: preview 5
Scanning title 1...
[14:28:57] scan: preview 6
Scanning title 1...
[14:28:57] scan: preview 7
Scanning title 1...
[14:28:57] scan: preview 8
[14:28:57] scan: preview 9
Scanning title 1...
[14:28:58] scan: preview 10
Scanning title 1...
[14:28:58] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 22/22/0/0, aspect 16:9, PAR 1:1
[14:28:58] thread 3970dc0 exited ("scan")
[14:28:58] thread 3970dc0 joined ("scan")
[14:28:58] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: E:\TEST.mkv
  + duration: 01:49:16
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 22/22/0/0
  + support opencl: no
  + support hwd: yes
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:06:01
    + 2: cells 0->0, 0 blocks, duration 00:07:29
    + 3: cells 0->0, 0 blocks, duration 00:06:18
    + 4: cells 0->0, 0 blocks, duration 00:07:52
    + 5: cells 0->0, 0 blocks, duration 00:08:19
    + 6: cells 0->0, 0 blocks, duration 00:05:59
    + 7: cells 0->0, 0 blocks, duration 00:07:39
    + 8: cells 0->0, 0 blocks, duration 00:04:59
    + 9: cells 0->0, 0 blocks, duration 00:06:45
    + 10: cells 0->0, 0 blocks, duration 00:06:17
    + 11: cells 0->0, 0 blocks, duration 00:08:45
    + 12: cells 0->0, 0 blocks, duration 00:05:03
    + 13: cells 0->0, 0 blocks, duration 00:06:12
    + 14: cells 0->0, 0 blocks, duration 00:07:52
    + 15: cells 0->0, 0 blocks, duration 00:07:47
    + 16: cells 0->0, 0 blocks, duration 00:05:58
    + 17: cells 0->0, 0 blocks, duration 00:00:00
  + audio tracks:
    + 1, English (DTS-HD MA) (5.1 ch) (iso639-2: eng)
  + subtitle tracks:
[14:28:58] Height out of bounds, scaling down to 544
[14:28:58] New dimensions 1008 * 544
[14:28:58] Width out of bounds, scaling down to 960
[14:28:58] New dimensions 960 * 512
[14:28:58] thread 3970dc0 started ("work")
[14:28:58] 1 job(s) to process
[14:28:58] starting job
[14:28:58] Using GPU : Yes.

Encoding: task 1 of 1, 0.00 %[14:28:59] work: mixdown not specified, track 1 setting mixdown Dolby Pro Logic II
[14:28:59] work: bitrate not specified, track 1 setting bitrate 160 Kbps
[14:28:59] sync: expecting 157193 video frames
[14:28:59] job configuration:
[14:28:59]  * source
[14:28:59]    + E:\TEST.mkv
[14:28:59]    + title 1, chapter(s) 1 to 17
[14:28:59]    + container: matroska,webm
[14:28:59]    + data rate: 28156 kbps
[14:28:59]  * destination
[14:28:59]    + C:\TEST.mp4
[14:28:59]    + container: MPEG-4 (.mp4 and .m4v)
[14:28:59]  * video track
[14:28:59]    + decoder: h264
[14:28:59]    + frame rate: same as source (around 23.976 fps)
[14:28:59]    + filters
[14:28:59]      + Framerate Shaper (0:27000000:1126125)
[14:28:59]        + frame rate: same as source (around 23.976 fps)
[14:28:59]      + Crop and Scale (960:512:22:22:0:0)
[14:28:59]        + source: 1920 * 1080, crop (22/22/0/0): 1920 * 1036, scale: 960 * 512
[14:28:59]    + dimensions: 960 * 512, mod 0
[14:28:59]    + encoder: H.264 (x264)
[14:28:59]      + quality: 20.00 (RF)
[14:28:59]  * audio track 1
[14:28:59]    + decoder: English (DTS-HD MA) (5.1 ch) (track 1, id 0x1)
[14:28:59]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[14:28:59]    + mixdown: Dolby Pro Logic II
[14:28:59]    + encoder: AAC (faac)
[14:28:59]      + bitrate: 160 kbps, samplerate: 48000 Hz
[14:28:59] thread 6eb4b90 started ("Reader")
[14:28:59] Seeking to chapter 1: starts 0, ends 32473620, AV pos 0
[14:28:59] thread 39c7f70 started ("Framerate Shaper")
[14:28:59] reader: first SCR 0 id 0x0 DTS 0
[14:28:59] thread 39c8110 started ("Crop and Scale")
[14:28:59] thread 39c82b0 started ("AudioSynchronization")
[14:28:59] dxva2:CreateSurface succeed with 17, fmt (1920x1080) surfaces (1920x1088)

[14:28:59] dxva2:we got 2 decoder configurations

[14:28:59] dxva2:configuration[0] ConfigBitstreamRaw 1

[14:28:59] dxva2:configuration[1] ConfigBitstreamRaw 2

[14:28:59] dxva2:IDirectXVideoDecoderService_CreateVideoDecoder succeed

[14:28:59] dxva2:Using DXVA2 for hardware decoding

[14:28:59] thread 39c8450 started ("Video decoder (libavcodec)")
[14:28:59] encx264: min-keyint: 24, keyint: 240
[14:28:59] encx264: Encoding at constant RF 20.000000
[14:28:59] 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!
[14:28:59] dxva2:Available decoder output format 61 (AV_PIX_FMT_DXVA2_VLD)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: OpenCL Nightly Builds

Post by s55 »

It's hardware decode that's crashing. (On a system like that, you shouldn't use it anyway. It'll be a massive bottleneck. It's really only useful for low end/power cpus)

Incidentally, I've found HWD to be unreliable. I keep getting crashes inside the AMD GFX drivers. Annoyingly though I can reproduce it, MCW guys can't.

I was going over the code, it kind of looks like they've now limited OpenCL support to AMD only. I'm going to query that as I'm not happy about that.
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: OpenCL Nightly Builds

Post by s55 »

Further investigation is leading me to think that something is really off here. It says supported = no on an ivy brige laptop I have access to, yet it still creates the kernel binary file successfully. However it fails badly during the encode :/

I wonder if they are testing on non AMD gpus
olli
Posts: 3
Joined: Sat Feb 02, 2013 9:44 am

Re: OpenCL Nightly Builds

Post by olli »

s55 wrote:@olli what about if you open a m2ts, mkv, avi, mp4 or something along those lines rather than a bluray directly.
m2ts:
+ support opencl: yes
+ support hwd: yes

Code: Select all

HandBrake svn5243 2013020801
OS: Microsoft Windows NT 6.2.9200.0
CPU: AMD A8-3800 APU with Radeon(tm) HD Graphics
Ram: 3511 MB, Screen: 1920x1080
GPU: AMD Radeon HD 6550D
GPU driver version: 9.12.0.0
Temp Dir: C:\Users\olli\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake.5227\Handbrake
Data Dir: C:\Users\olli\AppData\Roaming\HandBrake\HandBrake\0.9.8.5236

-------------------------------------------
 -i "C:\Test.m2ts" -t0  --min-duration=10 -v 
[22:07:34] hb_init: starting libhb thread
HandBrake svn5243 (2013020801) - MinGW x86_64 - http://handbrake.fr
4 CPUs detected
Opening C:\Test.m2ts...
[22:07:34] hb_scan: path=C:\Test.m2ts, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Test.m2ts/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Test.m2ts/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(C:\Test.m2ts) failed (0000000001e24fd0)
[22:07:34] 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
[22:07:34] dvd: not a dvd - trying as a stream/file instead
[22:07:34] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[22:07:34] Found the following PIDS
[22:07:34]     Video PIDS : 
[22:07:34]       0x1011 type H.264 (0x1b)
[22:07:34]     Audio PIDS : 
[22:07:34]       0x1100 type DTS-HD MA (0x86)
[22:07:34]       0x1101 type DTS-HD MA (0x86)
[22:07:34]     Subtitle PIDS : 
[22:07:34]       0x1200 type PGS Subtitle (0x90)
[22:07:34]     Other PIDS : 
[22:07:34]       0x1001 type Unknown (0xff) (PCR)
[22:07:34] stream id 0x1100 (type 0x86 substream 0x71) audio 0x711100
[22:07:34] stream id 0x1100 (type 0x86 substream 0x0) audio 0x1100
[22:07:34] stream id 0x1101 (type 0x86 substream 0x71) audio 0x711101
[22:07:34] stream id 0x1101 (type 0x86 substream 0x0) audio 0x1101
[22:07:34] stream id 0x1200 (type 0x90 substream 0x0) subtitle 0x1200
[22:07:35] scan: decoding previews for title 1
[22:07:35] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS) (5.1 ch)
[22:07:35] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS-HD MA) (5.1 ch)
[22:07:35] scan: audio 0x711101: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[22:07:35] scan: audio 0x1101: dca, rate=48000Hz, bitrate=1536000 English (DTS-HD MA) (5.1 ch)
Scanning title 1 of 1...
Scanning title 1 of 1...
Scanning title 1 of 1...
Scanning title 1 of 1...
[22:07:35] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 130/132/0/0, aspect 16:9, PAR 1:1
[22:07:35] stream: 4 good frames, 0 errors (0%)
[22:07:35] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: C:\Test.m2ts
  + duration: 01:29:40
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 130/132/0/0
  + support opencl: yes
  + support hwd: yes
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 01:29:40
  + audio tracks:
    + 1, Deutsch (DTS) (5.1 ch) (iso639-2: deu), 48000Hz, 1536000bps
    + 2, Deutsch (DTS-HD MA) (5.1 ch) (iso639-2: deu)
    + 3, English (DTS) (5.1 ch) (iso639-2: eng), 48000Hz, 1536000bps
    + 4, English (DTS-HD MA) (5.1 ch) (iso639-2: eng)
  + subtitle tracks:
    + 1, Deutsch (iso639-2: deu) (Bitmap)(PGS)
HandBrake has exited.


mp4:
+ support opencl: yes
+ support hwd: yes

Code: Select all

HandBrake svn5243 2013020801
OS: Microsoft Windows NT 6.2.9200.0
CPU: AMD A8-3800 APU with Radeon(tm) HD Graphics
Ram: 3511 MB, Screen: 1920x1080
GPU: AMD Radeon HD 6550D
GPU driver version: 9.12.0.0
Temp Dir: C:\Users\olli\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake.5227\Handbrake
Data Dir: C:\Users\olli\AppData\Roaming\HandBrake\HandBrake\0.9.8.5236

-------------------------------------------
 -i "C:\Test.mp4" -t0  --min-duration=10 -v 
[22:11:48] hb_init: starting libhb thread
HandBrake svn5243 (2013020801) - MinGW x86_64 - http://handbrake.fr
4 CPUs detected
Opening C:\Test.mp4...
[22:11:48] hb_scan: path=C:\Test.mp4, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Test.mp4/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Test.mp4/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(C:\Test.mp4) failed (00000000033f4fd0)
[22:11:48] 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
[22:11:48] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Test.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    creation_time   : 2013-02-08 15:59:02
    encoder         : HandBrake 5243svn 2013020801
  Duration: 02:03:46.43, start: 0.000000, bitrate: 5724 kb/s
    Chapter #0.0: start -0.083411, end 312.746100
    Metadata:
      title           : Chapter 1
    Chapter #0.1: start 312.746100, end 464.105644
    Metadata:
      title           : Chapter 2
    Chapter #0.2: start 464.105644, end 691.541189
    Metadata:
      title           : Chapter 3
    Chapter #0.3: start 691.541189, end 909.425522
    Metadata:
      title           : Chapter 4
    Chapter #0.4: start 909.425522, end 1204.929056
    Metadata:
      title           : Chapter 5
    Chapter #0.5: start 1204.929056, end 1352.826811
    Metadata:
      title           : Chapter 6
    Chapter #0.6: start 1352.826811, end 1663.136811
    Metadata:
      title           : Chapter 7
    Chapter #0.7: start 1663.136811, end 1917.849600
    Metadata:
      title           : Chapter 8
    Chapter #0.8: start 1917.849600, end 2050.857478
    Metadata:
      title           : Chapter 9
    Chapter #0.9: start 2050.857478, end 2272.787522
    Metadata:
      title           : Chapter 10
    Chapter #0.10: start 2272.787522, end 2445.376600
    Metadata:
      title           : Chapter 11
    Chapter #0.11: start 2445.376600, end 2749.346933
    Metadata:
      title           : Chapter 12
    Chapter #0.12: start 2749.346933, end 2927.942022
    Metadata:
      title           : Chapter 13
    Chapter #0.13: start 2927.942022, end 3023.078722
    Metadata:
      title           : Chapter 14
    Chapter #0.14: start 3023.078722, end 3236.416856
    Metadata:
      title           : Chapter 15
    Chapter #0.15: start 3236.416856, end 3392.239189
    Metadata:
      title           : Chapter 16
    Chapter #0.16: start 3392.239189, end 3571.626722
    Metadata:
      title           : Chapter 17
    Chapter #0.17: start 3571.626722, end 3689.202522
    Metadata:
      title           : Chapter 18
    Chapter #0.18: start 3689.202522, end 3857.579056
    Metadata:
      title           : Chapter 19
    Chapter #0.19: start 3857.579056, end 3961.474522
    Metadata:
      title           : Chapter 20
    Chapter #0.20: start 3961.474522, end 4137.900767
    Metadata:
      title           : Chapter 21
    Chapter #0.21: start 4137.900767, end 4273.327722
    Metadata:
      title           : Chapter 22
    Chapter #0.22: start 4273.327722, end 4510.648144
    Metadata:
      title           : Chapter 23
    Chapter #0.23: start 4510.648144, end 4625.888267
    Metadata:
      title           : Chapter 24
    Chapter #0.24: start 4625.888267, end 5102.322556
    Metadata:
      title           : Chapter 25
    Chapter #0.25: start 5102.322556, end 5229.366144
    Metadata:
      title           : Chapter 26
    Chapter #0.26: start 5229.366144, end 5410.380311
    Metadata:
      title           : Chapter 27
    Chapter #0.27: start 5410.380311, end 5563.741856
    Metadata:
      title           : Chapter 28
    Chapter #0.28: start 5563.741856, end 5723.151100
    Metadata:
      title           : Chapter 29
    Chapter #0.29: start 5723.151100, end 5866.669478
    Metadata:
      title           : Chapter 30
    Chapter #0.30: start 5866.669478, end 6046.390689
    Metadata:
      title           : Chapter 31
    Chapter #0.31: start 6046.390689, end 6226.237022
    Metadata:
      title           : Chapter 32
    Chapter #0.32: start 6226.237022, end 6508.810978
    Metadata:
      title           : Chapter 33
    Chapter #0.33: start 6508.810978, end 6728.113389
    Metadata:
      title           : Chapter 34
    Chapter #0.34: start 6728.113389, end 7085.929189
    Metadata:
      title           : Chapter 35
    Chapter #0.35: start 7085.929189, end 7426.269178
    Metadata:
      title           : Chapter 36
    Stream #0.0(und): Video: h264 (High), yuv420p, 1920x800 [PAR 1:1 DAR 12:5], 4116 kb/s, 23.98 fps, 90k tbn, 180k tbc
    Metadata:
      creation_time   : 2013-02-08 15:59:02
    Stream #0.1(deu): Audio: aac, 48000 Hz, stereo, fltp, 159 kb/s
    Metadata:
      creation_time   : 2013-02-08 15:59:02
    Stream #0.2(eng): Audio: aac, 48000 Hz, stereo, fltp, 159 kb/s
    Metadata:
      creation_time   : 2013-02-08 15:59:02
    Stream #0.3(deu): Audio: ac3, 48000 Hz, 5.1, fltp, 640 kb/s
    Metadata:
      creation_time   : 2013-02-08 15:59:02
    Stream #0.4(eng): Audio: ac3, 48000 Hz, 5.1, fltp, 640 kb/s
    Metadata:
      creation_time   : 2013-02-08 15:59:02
    Stream #0.5(deu): Subtitle: tx3g / 0x67337874, 0 kb/s
    Metadata:
      creation_time   : 2013-02-08 15:59:02
    Stream #0.6(eng): Subtitle: tx3g / 0x67337874, 0 kb/s
    Metadata:
      creation_time   : 2013-02-08 15:59:02
    Stream #0.7(und): Subtitle: text / 0x74786574
    Metadata:
      creation_time   : 2013-02-08 15:59:02
[22:11:52] scan: decoding previews for title 1
[22:11:52] scan: audio 0x3: AC-3, rate=48000Hz, bitrate=640000 Deutsch (AC3) (5.1 ch)
[22:11:52] scan: audio 0x4: AC-3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
Scanning title 1 of 1...
Scanning title 1 of 1...
[22:11:52] scan: 10 previews, 1920x800, 23.976 fps, autocrop = 0/0/0/0, aspect 2.40:1, PAR 1:1
Scanning title 1 of 1...
[22:11:52] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: C:\Test.mp4
  + duration: 02:03:46
  + size: 1920x800, pixel aspect: 1/1, display aspect: 2.40, 23.976 fps
  + autocrop: 0/0/0/0
  + support opencl: yes
  + support hwd: yes
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:05:13
    + 2: cells 0->0, 0 blocks, duration 00:02:31
    + 3: cells 0->0, 0 blocks, duration 00:03:47
    + 4: cells 0->0, 0 blocks, duration 00:03:38
    + 5: cells 0->0, 0 blocks, duration 00:04:56
    + 6: cells 0->0, 0 blocks, duration 00:02:28
    + 7: cells 0->0, 0 blocks, duration 00:05:10
    + 8: cells 0->0, 0 blocks, duration 00:04:15
    + 9: cells 0->0, 0 blocks, duration 00:02:13
    + 10: cells 0->0, 0 blocks, duration 00:03:42
    + 11: cells 0->0, 0 blocks, duration 00:02:53
    + 12: cells 0->0, 0 blocks, duration 00:05:04
    + 13: cells 0->0, 0 blocks, duration 00:02:59
    + 14: cells 0->0, 0 blocks, duration 00:01:35
    + 15: cells 0->0, 0 blocks, duration 00:03:33
    + 16: cells 0->0, 0 blocks, duration 00:02:36
    + 17: cells 0->0, 0 blocks, duration 00:02:59
    + 18: cells 0->0, 0 blocks, duration 00:01:58
    + 19: cells 0->0, 0 blocks, duration 00:02:48
    + 20: cells 0->0, 0 blocks, duration 00:01:44
    + 21: cells 0->0, 0 blocks, duration 00:02:56
    + 22: cells 0->0, 0 blocks, duration 00:02:15
    + 23: cells 0->0, 0 blocks, duration 00:03:57
    + 24: cells 0->0, 0 blocks, duration 00:01:55
    + 25: cells 0->0, 0 blocks, duration 00:07:56
    + 26: cells 0->0, 0 blocks, duration 00:02:07
    + 27: cells 0->0, 0 blocks, duration 00:03:01
    + 28: cells 0->0, 0 blocks, duration 00:02:33
    + 29: cells 0->0, 0 blocks, duration 00:02:39
    + 30: cells 0->0, 0 blocks, duration 00:02:24
    + 31: cells 0->0, 0 blocks, duration 00:03:00
    + 32: cells 0->0, 0 blocks, duration 00:03:00
    + 33: cells 0->0, 0 blocks, duration 00:04:43
    + 34: cells 0->0, 0 blocks, duration 00:03:39
    + 35: cells 0->0, 0 blocks, duration 00:05:58
    + 36: cells 0->0, 0 blocks, duration 00:05:40
  + audio tracks:
    + 1, Deutsch (aac) (2.0 ch) (iso639-2: deu)
    + 2, English (aac) (2.0 ch) (iso639-2: eng)
    + 3, Deutsch (AC3) (5.1 ch) (iso639-2: deu), 48000Hz, 640000bps
    + 4, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 640000bps
  + subtitle tracks:
    + 1, German (iso639-2: deu) (Text)(TX3G)
    + 2, English (iso639-2: eng) (Text)(TX3G)
    + 3, Unknown (iso639-2: und) (Text)(TX3G)
HandBrake has exited.


HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: OpenCL Nightly Builds

Post by HandyMan »

s55 wrote:I think subtitles will be back in 5240. You won't be able to use hardware decode though if you select them, as the hardware path doesn't support closed captions.
Yup they are up ... but HWD vanishes :!:
I disabled the subtitle in Options, I load a file, no subtitles get selected and HWD disappears.

Code: Select all

HandBrake svn5239 2013020501
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Ram: 8089 MB, Screen: 1920x1080
GPU: Intel(R) HD Graphics 3000
GPU driver version: 9.17.10.2932
Temp Dir: C:\Users\Simon\AppData\Local\Temp\
Install Dir: C:\Program Files\HandbrakeOpenCL
Data Dir: C:\Users\Simon\AppData\Roaming\HandBrake\HandBrake\0.9.8.5236

-------------------------------------------
 -i "M:\TV\TVA\J.E\Redo Interlace\J.E_20130201_19002000.ts" -t0  --previews 30 --no-dvdnav --min-duration=60 -v 
[02:32:16] hb_init: starting libhb thread
HandBrake svn5244 (2013021001) - MinGW x86_64 - http://handbrake.fr
8 CPUs detected
Opening M:\TV\TVA\J.E\Redo Interlace\J.E_20130201_19002000.ts...
[02:32:16] hb_scan: path=M:\TV\TVA\J.E\Redo Interlace\J.E_20130201_19002000.ts, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening M:\TV\TVA\J.E\Redo Interlace\J.E_20130201_19002000.ts/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening M:\TV\TVA\J.E\Redo Interlace\J.E_20130201_19002000.ts/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(M:\TV\TVA\J.E\Redo Interlace\J.E_20130201_19002000.ts) failed (0000000000355d10)
[02:32:16] bd: not a bd - trying as a stream/file instead
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.
ERROR: dvd: ifoOpen failed
[02:32:16] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[02:32:16] Found the following PIDS
[02:32:16]     Video PIDS : 
[02:32:16]       0x31 type MPEG2 (0x2) (PCR)
[02:32:16]     Audio PIDS : 
[02:32:16]       0x34 type AC3 (0x81)
[02:32:16]     Subtitle PIDS : 
[02:32:16]     Other PIDS : 
[02:32:16] stream id 0x34 (type 0x81 substream 0x0) audio 0x34
[02:32:16] dxva2:DxFindVideoServiceConversion failed
[02:32:16] scan: decoding previews for title 1
[02:32:16] scan: audio 0x34: AC-3, rate=48000Hz, bitrate=384000 Francais (AC3) (5.1 ch)
Scanning title 1 of 1...
Scanning title 1 of 1...
Scanning title 1 of 1...
Scanning title 1 of 1...
Scanning title 1 of 1...
Scanning title 1 of 1...
Scanning title 1 of 1...
Scanning title 1 of 1...
[02:32:17] scan: 30 previews, 1920x1080, 29.970 fps, autocrop = 8/0/0/0, aspect 16:9, PAR 1:1
[02:32:17] stream: 34 good frames, 0 errors (0%)
[02:32:17] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: M:\TV\TVA\J.E\Redo Interlace\J.E_20130201_19002000.ts
  + duration: 00:42:16
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 29.970 fps
  + autocrop: 8/0/0/0
  + support opencl: yes
  + support hwd: no
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:42:16
  + audio tracks:
    + 1, Francais (AC3) (5.1 ch) (iso639-2: fra), 48000Hz, 384000bps
  + subtitle tracks:
    + 1, Closed Captions (iso639-2: fra) (Text)(CC)
HandBrake has exited.
as for OpenCL ... 1fps difference on a 5min ts is not impressive :?

Did some tests with SVN 5244 CLI adding the -U to enable UHW and it works.
Did a deinterlace slower and the result is fine with OpenCL bad with UHW
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: OpenCL Nightly Builds

Post by s55 »

HWD will only work when libavcodec is being used. Your TS files will no longer be using that path so it is correct that the HWD checkbox disappears.

You'll only get an improvement in speed if your actually downscaling. i.e 1080 -> 720p

For closed captions, you have to manually select the tracks you want (or have it automatically include them all. The "Add closed captions when available" perfernce). Your log shows 1 CC track was detected so it'll be available for selection in the subs tab.

The HWD deinterlace problem hasn't been resolved. I've mentioned it to them but they've not got back to me. It's basically gettiong pre-deinterlaced before it even hits HandBrake at the moment.
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: OpenCL Nightly Builds

Post by s55 »

I've added a warning to the first post in this thread and on the nightly build page.

It seems hardware decode has the potential to cause BSOD / spontaneous reboots and/or crashes inside the graphics driver which it may or may not be able to recover from.

Given my Raid array is currently rebuilding as a result of this, I feel it's necessary to highlight that this can happen :(
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: OpenCL Nightly Builds

Post by HandyMan »

s55 wrote:I've added a warning to the first post in this thread and on the nightly build page.

It seems hardware decode has the potential to cause BSOD / spontaneous reboots and/or crashes inside the graphics driver which it may or may not be able to recover from.

Given my Raid array is currently rebuilding as a result of this, I feel it's necessary to highlight that this can happen :(
Guess what my Raid is rebuilding . .... 10 hours to go :cry:

Computer started behaving during the day ... I haven't use HB OpenCL since yesterday ... and voila
it just freeze while using the Nightly ... first time in about 3 months ... :?
so OpenCL is not for me :evil:

I would even recommend a power cycle after using OpenCL oups, I meant Hardware AMD acceleration.
Last edited by HandyMan on Tue Feb 12, 2013 12:43 am, edited 1 time in total.
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: OpenCL Nightly Builds

Post by s55 »

The opencl side seems to be ok, but hardware decode triggered it for me. Opencl seems to be better protected against it.

Raid arrays don't like being power cycled much. A safe reboot is better. Just to be clear to everyone in case it's not obvious.

Have a look in the event viewer to see if there is any crash information in there. It may be useful.
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: OpenCL Nightly Builds

Post by HandyMan »

I ran into problem when rebooting after system update before.
Until I figure out that I had to wait for restore point to finish !

Last night it just froze, Had to reset, power down, power up, it came back ok.
Nothing much to see except the power faillure in event log.

Yes OpenCL seems ok but no FPS improvement, so it not worth the trouble.
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: OpenCL Nightly Builds

Post by s55 »

Strange. You were downscaling in the logs a few pages back, so I would have expected to see an improvement although it could just be that opencl just runs too slowly on the 6xxx series GPUs. Either that or you have lucid logic or some other mutli-GPU environment which isn't supported. (Last I saw, the x264 version of the patch disables opencl in those scenarios since driver bugs/problems make it too slow)
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: OpenCL Nightly Builds

Post by HandyMan »

24.766872 fps vs 26.192163 fps OpenCL
I7-2600K HD3000 but Lucid Logic software is NOT installed as only 2 applications were supported.
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: OpenCL Nightly Builds

Post by s55 »

@HandyMan any chance you could upload a sample that trips up the deinterlacing please? I'm gather samples for various problems to send off to them and I don't have one to hand that produces that.

I'm assuming it was the J.E_20130201_19002000.ts one?
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: OpenCL Nightly Builds

Post by HandyMan »

s55 wrote:@HandyMan any chance you could upload a sample that trips up the deinterlacing please? I'm gather samples for various problems to send off to them and I don't have one to hand that produces that.

I'm assuming it was the J.E_20130201_19002000.ts one?
here is 99mb of it : http://gfile.ru/d/tf/1b805aff1259145305 ... 201_99m.ts

With lots of movement to detect combed frames ;-)
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: OpenCL Nightly Builds

Post by s55 »

Thank you
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: OpenCL Nightly Builds

Post by s55 »

Does the problem still exist in that file now that you've cut it? I'm not seeing the problem locally with that file.
Wondering if the file had an interlaced flag and now it doesn't?


Edit: Seems Media Info still says:

Scan type : Interlaced
Scan order : Top Field First
Deleted User 11865

Re: OpenCL Nightly Builds

Post by Deleted User 11865 »

s55 wrote:Does the problem still exist in that file now that you've cut it? I'm not seeing the problem locally with that file.
Wondering if the file had an interlaced flag and now it doesn't?


Edit: Seems Media Info still says:

Scan type : Interlaced
Scan order : Top Field First
Interlacing is usually stored per-frame and at the video stream level anyway.
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: OpenCL Nightly Builds

Post by HandyMan »

s55 wrote:Does the problem still exist in that file now that you've cut it? I'm not seeing the problem locally with that file.
Wondering if the file had an interlaced flag and now it doesn't?


Edit: Seems Media Info still says:

Scan type : Interlaced
Scan order : Top Field First
The ts source is interlaced, I used to apply Decomb default, but latelay I've been using Deinterlace slower with Nightly, or yadif mode=0 in avisynth.

As for the OpenCL, I haven't done any testing since Febuary 10 when it hang during a recording :cry: :shock: and not really planning to do any OpenCL testing on my "only" computer.
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: OpenCL Nightly Builds

Post by s55 »

No worries. They've re-created that issue atleast. No news on the crashing issues with DXVA. MCW have not been able to reproduce it. I'm having to setup a spare system without anything vital on it so I can test without fear of killing my poor arrays. See if we can't track it down, but if that fails, then it may be that that part of the patch will get dropped.

OpenCL side is moving closer to acceptance though.
LYY
Posts: 4
Joined: Fri Dec 28, 2012 7:15 am

Re: OpenCL Nightly Builds

Post by LYY »

Hi, may I know what GPUs and drivers you were using when the crash happened for hardware decoding? We're trying to reproduce it. The build number would be great too.
From what I see from the logs, dmance is using GT640 with driver version 313.96, Handyman is using HD6000 series (exact number unknown) with Catalyst 13.1.

Leow Yuan Yeow @ MCW
dmance
Posts: 10
Joined: Sun Jun 24, 2012 1:44 pm

Re: OpenCL Nightly Builds

Post by dmance »

Regarding UVD - I have never seen the UVD crash on GeForce GT640 hardware using the most recent CLI-64 builds. I cycled through a few dozen files for testing. However, i've stopped using UVD because of the occasional (and not predictable) green flashes and skewing of the image in horizontal sections of the output. I cant reproduce this enough to send more info.

Regarding OPENCL - I do keep the "-P" OPENCL option set during my testing and all encodes look okay ... apart from slightly larger output filesize and negligible improvement in encoding time (hmm). I watch GPU-Z during encodes and only see nominal (10-15%) usage of GPU - yet the CPU usage increases disproportionately (I have to think) as well. The OPENCL option definitely uses GPU cycles... but curiously also more CPU cycles! Bus transfer across PCIe shows this not to be a limiting factor.

I have a beefy 24-core Opteron system and I tried experimenting by reducing the processor-affinity for the handbrakeCLI processes to see if the relative GPU benefit would increase. Not so. Even doing encodes with one, four or eight CPUs - I manage to 100% saturate the CPUs while still only seeing ~25% usage of the GPU cores - and performance is CPU bound. So, either the GT640 cores are not fast enough (hard to imagine since they are a fairly new Kepler design) - or the division of workload does not benefit my configuration.

Good news is that pure-CPU encodes of the latest CLI-64 builds are definitely faster than the release 0.98 software. And i suppose the newest (just announced) x264 drop, when integrated, will advance that further.

dmance
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: OpenCL Nightly Builds

Post by HandyMan »

LYY wrote:Hi, may I know what GPUs and drivers you were using when the crash happened for hardware decoding? We're trying to reproduce it. The build number would be great too.
From what I see from the logs, dmance is using GT640 with driver version 313.96, Handyman is using HD6000 series (exact number unknown) with Catalyst 13.1.

Leow Yuan Yeow @ MCW
Got another freeze last night ... but really not related to OpenCL built ... Haven't use it since Feb 10th :|
So the freeze on Feb 10th was probably not related to OpenCl built.

I installed the H.264 Microsoft update http://support.microsoft.com/kb/2670838 February 27th which cause a few display driver hangs after the update.
I guess there will be an Intel and AMD driver release soon :twisted:
Post Reply