can I use hardware acceleration with HandbrakeCLI

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

can I use hardware acceleration with HandbrakeCLI

Post by AlBundy »

I'm working on Windows 7 x64 with the latest nightly of HanbdrakeCLI but qsv_h264 is not shown as encoder.

My CPU is a Intel Core i7-4770K and my GPU an AMD Radeon R9 2xxX.

Can I use hardware acceleration with this components?

Al
Deleted User 11865

Re: can I use hardware acceleration with HandbrakeCLI

Post by Deleted User 11865 »

Scan log please:

Code: Select all

HandBrakeCLI -i /path/to/some/file --scan
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: can I use hardware acceleration with HandbrakeCLI

Post by AlBundy »

No problem.

Code: Select all

[18:49:05] hb_init: starting libhb thread
HandBrake svn6031 (2014021401) - MinGW x86_64 - http://handbrake.fr
8 CPUs detected
Opening d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO...
[18:49:05] CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[18:49:05]  - Intel microarchitecture Haswell
[18:49:05]  - logical processor count: 8
[18:49:05] OpenCL device #1: Advanced Micro Devices, Inc. Tahiti
[18:49:05]  - OpenCL version: 1.2 AMD-APP (1311.2)
[18:49:05]  - driver version: 1311.2 (VM)
[18:49:05]  - device type:    GPU
[18:49:05]  - supported:      YES
[18:49:05] Intel Quick Sync Video support: no
[18:49:05] hb_scan: path=d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO) failed
[18:49:05] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD Title: PROMETHEUS
libdvdnav: DVD Serial Number: 412d02db
libdvdnav: DVD Title (Alternative): 
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
[18:49:05] scan: DVD has 36 title(s)
[18:49:05] scan: scanning title 1
[18:49:05] scan: opening IFO for VTS 1
[18:49:05] scan: duration is 00:00:00 (520 ms)
[18:49:05] pgc_id: 1, pgn: 1: pgc: 00000000003393B0
[18:49:05] scan: vts=1, ttn=1, cells=0->0, blocks=0->147, 148 blocks
[18:49:05] scan: title 1 has 1 chapters
[18:49:05] scan: chap 1 c=0->0, b=0->147 (148), 520 ms
[18:49:05] scan: aspect = 1.77778
[18:49:05] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[18:49:05] scan: title angle(s) 1
[18:49:05] scan: 10 previews, 720x576, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 64:45
[18:49:05] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 1, ttn 1, cells 0->0 (148 blocks)
  + duration: 00:00:00
  + size: 720x576, pixel aspect: 64/45, display aspect: 1.78, 25.000 fps
  + autocrop: 0/0/0/0
  + support opencl: yes
  + support hwd: no
  + chapters:
    + 1: cells 0->0, 148 blocks, duration 00:00:01
  + audio tracks:
  + subtitle tracks:
HandBrake has exited.

Deleted User 11865

Re: can I use hardware acceleration with HandbrakeCLI

Post by Deleted User 11865 »

AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: can I use hardware acceleration with HandbrakeCLI

Post by AlBundy »

Code: Select all

[19:03:09] hb_init: starting libhb thread
HandBrake rev0 (2014021599) - MinGW x86_64 - http://handbrake.fr
8 CPUs detected
Opening d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO...
[19:03:09] CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[19:03:09]  - Intel microarchitecture Haswell
[19:03:09]  - logical processor count: 8
[19:03:09] OpenCL device #1: Advanced Micro Devices, Inc. Tahiti
[19:03:09]  - OpenCL version: 1.2 AMD-APP (1311.2)
[19:03:09]  - driver version: 1311.2 (VM)
[19:03:09]  - device type:    GPU
[19:03:09]  - supported:      YES
[19:03:09] Intel Quick Sync Video support: no
[19:03:09]  - AVC encoder: no
[19:03:09]  - HEVC encoder: no
[19:03:09] hb_scan: path=d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO) failed
[19:03:09] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD Title: PROMETHEUS
libdvdnav: DVD Serial Number: 412d02db
libdvdnav: DVD Title (Alternative): 
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
[19:03:09] scan: DVD has 36 title(s)
[19:03:09] scan: scanning title 1
[19:03:09] scan: opening IFO for VTS 1
[19:03:09] scan: duration is 00:00:00 (520 ms)
[19:03:09] pgc_id: 1, pgn: 1: pgc: 0000000001ED0F20
[19:03:09] scan: vts=1, ttn=1, cells=0->0, blocks=0->147, 148 blocks
[19:03:09] scan: title 1 has 1 chapters
[19:03:09] scan: chap 1 c=0->0, b=0->147 (148), 520 ms
[19:03:09] scan: aspect = 1.77778
[19:03:09] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[19:03:09] scan: title angle(s) 1
[19:03:09] scan: 10 previews, 720x576, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 64:45
[19:03:09] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 1, ttn 1, cells 0->0 (148 blocks)
  + duration: 00:00:00
  + size: 720x576, pixel aspect: 64/45, display aspect: 1.78, 25.000 fps
  + autocrop: 0/0/0/0
  + support opencl: yes
  + support hwd: no
  + chapters:
    + 1: cells 0->0, 148 blocks, duration 00:00:01
  + audio tracks:
  + subtitle tracks:
HandBrake has exited.

Deleted User 11865

Re: can I use hardware acceleration with HandbrakeCLI

Post by Deleted User 11865 »

OK. It looks like your integrated graphics card is either disabled or not connected to any output. There are various tricks to get it to work.

Some examples of similar issues:

viewtopic.php?f=11&t=28704
viewtopic.php?f=11&t=29086
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: can I use hardware acceleration with HandbrakeCLI

Post by AlBundy »

Of course my integrated card is not connected to any display - therfore I have my Radeon. :-)
I'll check if setting up a fake monitor will help.
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: can I use hardware acceleration with HandbrakeCLI

Post by AlBundy »

I've enabled the integrated GPU in BIOS and installed the intel graphic driver - now windows shows an Intel HD Graphics 4600 in device manager.
I've also added a fak screen but output still says that Quick Sync is not supported. :-(

Code: Select all

[22:24:48] hb_init: starting libhb thread
HandBrake rev0 (2014021599) - MinGW x86_64 - http://handbrake.fr
8 CPUs detected
Opening d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO...
[22:24:48] CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[22:24:48]  - Intel microarchitecture Haswell
[22:24:48]  - logical processor count: 8
[22:24:48] OpenCL device #1: Advanced Micro Devices, Inc. Tahiti
[22:24:48]  - OpenCL version: 1.2 AMD-APP (1311.2)
[22:24:48]  - driver version: 1311.2 (VM)
[22:24:48]  - device type:    GPU
[22:24:48]  - supported:      YES
[22:24:48] Intel Quick Sync Video support: no
[22:24:48]  - AVC encoder: no
[22:24:48]  - HEVC encoder: no
[22:24:48] hb_scan: path=d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO) failed
[22:24:48] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD Title: PROMETHEUS
libdvdnav: DVD Serial Number: 412d02db
libdvdnav: DVD Title (Alternative): 
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
[22:24:48] scan: DVD has 36 title(s)
[22:24:48] scan: scanning title 1
[22:24:48] scan: opening IFO for VTS 1
[22:24:48] scan: duration is 00:00:00 (520 ms)
[22:24:48] pgc_id: 1, pgn: 1: pgc: 0000000001ED3040
[22:24:48] scan: vts=1, ttn=1, cells=0->0, blocks=0->147, 148 blocks
[22:24:48] scan: title 1 has 1 chapters
[22:24:48] scan: chap 1 c=0->0, b=0->147 (148), 520 ms
[22:24:48] scan: aspect = 1.77778
[22:24:48] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[22:24:48] scan: title angle(s) 1
[22:24:48] scan: 10 previews, 720x576, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 64:45
[22:24:48] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 1, ttn 1, cells 0->0 (148 blocks)
  + duration: 00:00:00
  + size: 720x576, pixel aspect: 64/45, display aspect: 1.78, 25.000 fps
  + autocrop: 0/0/0/0
  + support opencl: yes
  + support hwd: no
  + chapters:
    + 1: cells 0->0, 148 blocks, duration 00:00:01
  + audio tracks:
  + subtitle tracks:
HandBrake has exited.

AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: can I use hardware acceleration with HandbrakeCLI

Post by AlBundy »

I've forgott to extend the display now my output looks like this.
Last encoding (without quick sync) took 15min...
Does qsv_h264 has the same quality as x264 encoder?
Currently I there are only 64MB assigned to the iGPU do I have to assign more?

Code: Select all

-------------------
MBBRC:         0x10
ExtBRC:        0x10
Trellis:       0x0E
RepeatPPS:     0x10
BRefType:         2
AdaptiveI:     0x10
AdaptiveB:     0x10
LookAheadDS:      3
-------------------
[22:27:57] hb_init: starting libhb thread
HandBrake rev0 (2014021599) - MinGW x86_64 - http://handbrake.fr
8 CPUs detected
Opening d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO...
[22:27:57] CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[22:27:57]  - Intel microarchitecture Haswell
[22:27:57]  - logical processor count: 8
[22:27:57] OpenCL device #1: Advanced Micro Devices, Inc. Tahiti
[22:27:57]  - OpenCL version: 1.2 AMD-APP (1311.2)
[22:27:57]  - driver version: 1311.2 (VM)
[22:27:57]  - device type:    GPU
[22:27:57]  - supported:      YES
[22:27:57] OpenCL device #2: Intel(R) Corporation Intel(R) HD Graphics 4600
[22:27:57]  - OpenCL version: 1.2 
[22:27:57]  - driver version: 10.18.10.3277
[22:27:57]  - device type:    GPU
[22:27:57]  - supported:      YES
[22:27:57] Intel Quick Sync Video support: yes
[22:27:57]  - Intel Media SDK hardware: API 1.7 (minimum: 1.3)
[22:27:57]  - AVC encoder: yes
[22:27:57]     - preferred implementation: hardware (any)
[22:27:57]  - HEVC encoder: no
[22:27:57] hb_scan: path=d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(d:\Video_fertig\Rips\Prometheus - Dunkle Zeichen.ISO) failed
[22:27:57] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD Title: PROMETHEUS
libdvdnav: DVD Serial Number: 412d02db
libdvdnav: DVD Title (Alternative): 
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
[22:27:57] scan: DVD has 36 title(s)
[22:27:57] scan: scanning title 1
[22:27:57] scan: opening IFO for VTS 1
[22:27:57] scan: duration is 00:00:00 (520 ms)
[22:27:57] pgc_id: 1, pgn: 1: pgc: 0000000001ED5B90
[22:27:57] scan: vts=1, ttn=1, cells=0->0, blocks=0->147, 148 blocks
[22:27:57] scan: title 1 has 1 chapters
[22:27:57] scan: chap 1 c=0->0, b=0->147 (148), 520 ms
[22:27:57] scan: aspect = 1.77778
[22:27:57] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[22:27:57] scan: title angle(s) 1
[22:27:57] scan: 10 previews, 720x576, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 64:45
[22:27:57] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 1, ttn 1, cells 0->0 (148 blocks)
  + duration: 00:00:00
  + size: 720x576, pixel aspect: 64/45, display aspect: 1.78, 25.000 fps
  + autocrop: 0/0/0/0
  + support opencl: yes
  + support hwd: no
  + chapters:
    + 1: cells 0->0, 148 blocks, duration 00:00:01
  + audio tracks:
  + subtitle tracks:
HandBrake has exited.

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

Re: can I use hardware acceleration with HandbrakeCLI

Post by s55 »

Does qsv_h264 has the same quality as x264 encoder?
It can't match x264's quality or efficiency at it's slower settings but it's more than good enough for many use cases although it really depends on how sensitive you are to quality.
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: can I use hardware acceleration with HandbrakeCLI

Post by AlBundy »

Whhoooo - encoding of a whole DVD (locally as iso) with x264 takes ~15min with ~130fps.
Now with qsv_h264 ~5min with ~480fps. :-)

So there is a real speed advantage.
But are there some disadvantages in useing qsv_h264?

And still my questions from previous post:
Is there something I can do to get the same quality with qsv_h264 as with x264?
E.g. use a better qf?

Currently I there are only 64MB assigned to the iGPU do I have to assign more?
Deleted User 11865

Re: can I use hardware acceleration with HandbrakeCLI

Post by Deleted User 11865 »

Please go back to the normal build. This test build I provided wasn't really meant for anything that checking for presence of a compatible Media SDK implementation (it contains a lot of other semi-untested code).

QSV cannot compete against x264's slowest presets. It may or may not compare favorably to x264's fastest presets, usually with similar or better speed.

As long as the log doesn't complain, it probably doesn't matter how much memory the iGPU uses. IIRC, if the encoder runs out of memory, encoding will just hang.
mduell
Veteran User
Posts: 8202
Joined: Sat Apr 21, 2007 8:54 pm

Re: can I use hardware acceleration with HandbrakeCLI

Post by mduell »

Efficiency (quality for size) mostly.

To match x264 quality you'll need a higher bitrate with qsv.
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: can I use hardware acceleration with HandbrakeCLI

Post by AlBundy »

What encoder do you prefer/suggest?
qsv_h264 or x264?
I'm currently using x264 with qf20 for DVDs and BDs.

Is this a bug that with qsv subtitles will be burned in?

Code: Select all

"E:/DVD-Rips/hb/tools/handbrake/windows/HandBrakeCLI" --input "d:/Video_fertig/Rips/Prometheus - Dunkle Zeichen.ISO" --output "d:/PROMETHEUS.m4v" --encoder qsv_h264 --quality 20.0 --decomb --detelecine --crop 0:0:0:0 --loose-anamorphic --format mp4 --optimize --markers --title 2 --audio 3,1 --aencoder copy,copy --mixdown auto,auto --ab auto,auto --drc 0.0,0.0 --aname "Deutsch (AC3) (5.1 ch)","English (AC3) (5.1 ch)" --audio-fallback faac --subtitle 4,5,1

-------------------
MBBRC:         0x10
ExtBRC:        0x10
Trellis:       0x0E
RepeatPPS:     0x10
BRefType:         2
AdaptiveI:     0x10
AdaptiveB:     0x10
LookAheadDS:      3
-------------------
[22:40:33] hb_init: starting libhb thread
HandBrake rev0 (2014021599) - MinGW x86_64 - http://handbrake.fr
8 CPUs detected
Opening d:/Video_fertig/Rips/Prometheus - Dunkle Zeichen.ISO...
[22:40:33] CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[22:40:33]  - Intel microarchitecture Haswell
[22:40:33]  - logical processor count: 8
[22:40:33] OpenCL device #1: Advanced Micro Devices, Inc. Tahiti
[22:40:33]  - OpenCL version: 1.2 AMD-APP (1311.2)
[22:40:33]  - driver version: 1311.2 (VM)
[22:40:33]  - device type:    GPU
[22:40:33]  - supported:      YES
[22:40:33] OpenCL device #2: Intel(R) Corporation Intel(R) HD Graphics 4600
[22:40:33]  - OpenCL version: 1.2 
[22:40:33]  - driver version: 10.18.10.3277
[22:40:33]  - device type:    GPU
[22:40:33]  - supported:      YES
[22:40:33] Intel Quick Sync Video support: yes
[22:40:33]  - Intel Media SDK hardware: API 1.7 (minimum: 1.3)
[22:40:33]  - AVC encoder: yes
[22:40:33]     - preferred implementation: hardware (any)
[22:40:33]  - HEVC encoder: no
[22:40:33] hb_scan: path=d:/Video_fertig/Rips/Prometheus - Dunkle Zeichen.ISO, title_index=2
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening d:/Video_fertig/Rips/Prometheus - Dunkle Zeichen.ISO/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening d:/Video_fertig/Rips/Prometheus - Dunkle Zeichen.ISO/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(d:/Video_fertig/Rips/Prometheus - Dunkle Zeichen.ISO) failed
[22:40:33] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD Title: PROMETHEUS
libdvdnav: DVD Serial Number: 412d02db
libdvdnav: DVD Title (Alternative): 
libdvdnav: Unable to find map file 'C:/Users/Markus/.dvdnav/PROMETHEUS.map'
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
[22:40:33] scan: DVD has 36 title(s)
[22:40:33] scan: scanning title 2
[22:40:33] scan: opening IFO for VTS 2
[22:40:33] scan: duration is 01:58:42 (7122520 ms)
[22:40:33] pgc_id: 1, pgn: 1: pgc: 0000000001F46D60
[22:40:33] scan: vts=2, ttn=1, cells=0->37, blocks=148->3156117, 3155970 blocks
[22:40:33] scan: checking audio 1
[22:40:33] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[22:40:33] scan: checking audio 2
[22:40:33] scan: id=0x81bd, lang=Espanol (AC3), 3cc=spa ext=0
[22:40:33] scan: checking audio 3
[22:40:33] scan: id=0x82bd, lang=Deutsch (AC3), 3cc=deu ext=0
[22:40:33] scan: checking audio 4
[22:40:33] scan: id=0x83bd, lang=Italiano (AC3), 3cc=ita ext=0
[22:40:33] scan: checking subtitle 1
[22:40:33] scan: id=0x20bd, lang=English, 3cc=eng ext=1
[22:40:33] scan: checking subtitle 2
[22:40:33] scan: id=0x21bd, lang=Espanol, 3cc=spa ext=1
[22:40:33] scan: checking subtitle 3
[22:40:33] scan: id=0x22bd, lang=Espanol (Forced Caption), 3cc=spa ext=9
[22:40:33] scan: checking subtitle 4
[22:40:33] scan: id=0x23bd, lang=Deutsch, 3cc=deu ext=1
[22:40:33] scan: checking subtitle 5
[22:40:33] scan: id=0x24bd, lang=Deutsch (Forced Caption), 3cc=deu ext=9
[22:40:33] scan: checking subtitle 6
[22:40:33] scan: id=0x25bd, lang=Italiano, 3cc=ita ext=1
[22:40:33] scan: checking subtitle 7
[22:40:33] scan: id=0x26bd, lang=Italiano (Forced Caption), 3cc=ita ext=9
[22:40:33] scan: checking subtitle 8
[22:40:33] scan: id=0x27bd, lang=Turkish, 3cc=tur ext=1
[22:40:33] scan: title 2 has 37 chapters
[22:40:33] scan: chap 1 c=0->0, b=148->133815 (133668), 299920 ms
[22:40:33] scan: chap 2 c=1->1, b=133816->202529 (68714), 146520 ms
[22:40:33] scan: chap 3 c=2->2, b=202530->302102 (99573), 216840 ms
[22:40:33] scan: chap 4 c=3->3, b=302103->386582 (84480), 209320 ms
[22:40:33] scan: chap 5 c=4->4, b=386583->502939 (116357), 283040 ms
[22:40:33] scan: chap 6 c=5->5, b=502940->557991 (55052), 141840 ms
[22:40:33] scan: chap 7 c=6->6, b=557992->689890 (131899), 297600 ms
[22:40:33] scan: chap 8 c=7->7, b=689891->800613 (110723), 244280 ms
[22:40:33] scan: chap 9 c=8->8, b=800614->859665 (59052), 127560 ms
[22:40:33] scan: chap 10 c=9->9, b=859666->958756 (99091), 213280 ms
[22:40:33] scan: chap 11 c=10->10, b=958757->1034554 (75798), 165080 ms
[22:40:33] scan: chap 12 c=11->11, b=1034555->1178515 (143961), 291520 ms
[22:40:33] scan: chap 13 c=12->12, b=1178516->1245977 (67462), 171280 ms
[22:40:33] scan: chap 14 c=13->13, b=1245978->1286084 (40107), 91240 ms
[22:40:33] scan: chap 15 c=14->14, b=1286085->1364151 (78067), 204600 ms
[22:40:33] scan: chap 16 c=15->15, b=1364152->1435576 (71425), 149440 ms
[22:40:33] scan: chap 17 c=16->16, b=1435577->1510609 (75033), 172040 ms
[22:40:33] scan: chap 18 c=17->17, b=1510610->1559872 (49263), 112760 ms
[22:40:33] scan: chap 19 c=18->18, b=1559873->1636568 (76696), 161480 ms
[22:40:33] scan: chap 20 c=19->19, b=1636569->1678574 (42006), 99640 ms
[22:40:33] scan: chap 21 c=20->20, b=1678575->1760466 (81892), 169200 ms
[22:40:33] scan: chap 22 c=21->21, b=1760467->1823439 (62973), 131520 ms
[22:40:33] scan: chap 23 c=22->23, b=1823440->1940265 (116826), 225960 ms
[22:40:33] scan: chap 24 c=24->24, b=1940266->1993745 (53480), 114040 ms
[22:40:33] scan: chap 25 c=25->25, b=1993746->2171513 (177768), 453400 ms
[22:40:33] scan: chap 26 c=26->26, b=2171514->2230067 (58554), 121840 ms
[22:40:33] scan: chap 27 c=27->27, b=2230068->2302602 (72535), 173600 ms
[22:40:33] scan: chap 28 c=28->28, b=2302603->2367076 (64474), 147160 ms
[22:40:33] scan: chap 29 c=29->29, b=2367077->2427887 (60811), 152800 ms
[22:40:33] scan: chap 30 c=30->30, b=2427888->2494035 (66148), 137720 ms
[22:40:33] scan: chap 31 c=31->31, b=2494036->2572653 (78618), 172280 ms
[22:40:33] scan: chap 32 c=32->32, b=2572654->2657869 (85216), 172480 ms
[22:40:33] scan: chap 33 c=33->33, b=2657870->2783022 (125153), 271000 ms
[22:40:33] scan: chap 34 c=34->34, b=2783023->2890773 (107751), 210320 ms
[22:40:33] scan: chap 35 c=35->35, b=2890774->3054447 (163674), 342400 ms
[22:40:33] scan: chap 36 c=36->36, b=3054448->3155969 (101522), 327000 ms
[22:40:33] scan: chap 37 c=37->37, b=3155970->3156117 (148), 520 ms
[22:40:33] scan: aspect = 1.77778
[22:40:33] scan: decoding previews for title 2
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[22:40:33] scan: title angle(s) 1
[22:40:33] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[22:40:33] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=384000 Espanol (AC3) (5.1 ch)
[22:40:33] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=384000 Deutsch (AC3) (5.1 ch)
[22:40:33] scan: audio 0x83bd: AC-3, rate=48000Hz, bitrate=384000 Italiano (AC3) (5.1 ch)
[22:40:33] scan: 10 previews, 720x576, 25.000 fps, autocrop = 76/76/0/6, aspect 16:9, PAR 64:45
[22:40:33] libhb: scan thread found 1 valid title(s)
+ title 2:
  + vts 2, ttn 1, cells 0->37 (3155970 blocks)
  + duration: 01:58:42
  + size: 720x576, pixel aspect: 64/45, display aspect: 1.78, 25.000 fps
  + autocrop: 76/76/0/6
  + support opencl: yes
  + support hwd: no
  + chapters:
    + 1: cells 0->0, 133668 blocks, duration 00:05:00
    + 2: cells 1->1, 68714 blocks, duration 00:02:27
    + 3: cells 2->2, 99573 blocks, duration 00:03:37
    + 4: cells 3->3, 84480 blocks, duration 00:03:29
    + 5: cells 4->4, 116357 blocks, duration 00:04:43
    + 6: cells 5->5, 55052 blocks, duration 00:02:22
    + 7: cells 6->6, 131899 blocks, duration 00:04:58
    + 8: cells 7->7, 110723 blocks, duration 00:04:04
    + 9: cells 8->8, 59052 blocks, duration 00:02:08
    + 10: cells 9->9, 99091 blocks, duration 00:03:33
    + 11: cells 10->10, 75798 blocks, duration 00:02:45
    + 12: cells 11->11, 143961 blocks, duration 00:04:52
    + 13: cells 12->12, 67462 blocks, duration 00:02:51
    + 14: cells 13->13, 40107 blocks, duration 00:01:31
    + 15: cells 14->14, 78067 blocks, duration 00:03:25
    + 16: cells 15->15, 71425 blocks, duration 00:02:29
    + 17: cells 16->16, 75033 blocks, duration 00:02:52
    + 18: cells 17->17, 49263 blocks, duration 00:01:53
    + 19: cells 18->18, 76696 blocks, duration 00:02:41
    + 20: cells 19->19, 42006 blocks, duration 00:01:40
    + 21: cells 20->20, 81892 blocks, duration 00:02:49
    + 22: cells 21->21, 62973 blocks, duration 00:02:12
    + 23: cells 22->23, 116826 blocks, duration 00:03:46
    + 24: cells 24->24, 53480 blocks, duration 00:01:54
    + 25: cells 25->25, 177768 blocks, duration 00:07:33
    + 26: cells 26->26, 58554 blocks, duration 00:02:02
    + 27: cells 27->27, 72535 blocks, duration 00:02:54
    + 28: cells 28->28, 64474 blocks, duration 00:02:27
    + 29: cells 29->29, 60811 blocks, duration 00:02:33
    + 30: cells 30->30, 66148 blocks, duration 00:02:18
    + 31: cells 31->31, 78618 blocks, duration 00:02:52
    + 32: cells 32->32, 85216 blocks, duration 00:02:52
    + 33: cells 33->33, 125153 blocks, duration 00:04:31
    + 34: cells 34->34, 107751 blocks, duration 00:03:30
    + 35: cells 35->35, 163674 blocks, duration 00:05:42
    + 36: cells 36->36, 101522 blocks, duration 00:05:27
    + 37: cells 37->37, 148 blocks, duration 00:00:01
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
    + 2, Espanol (AC3) (5.1 ch) (iso639-2: spa), 48000Hz, 384000bps
    + 3, Deutsch (AC3) (5.1 ch) (iso639-2: deu), 48000Hz, 384000bps
    + 4, Italiano (AC3) (5.1 ch) (iso639-2: ita), 48000Hz, 384000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(VOBSUB)
    + 2, Espanol (iso639-2: spa) (Bitmap)(VOBSUB)
    + 3, Espanol (Forced Caption) (iso639-2: spa) (Bitmap)(VOBSUB)
    + 4, Deutsch (iso639-2: deu) (Bitmap)(VOBSUB)
    + 5, Deutsch (Forced Caption) (iso639-2: deu) (Bitmap)(VOBSUB)
    + 6, Italiano (iso639-2: ita) (Bitmap)(VOBSUB)
    + 7, Italiano (Forced Caption) (iso639-2: ita) (Bitmap)(VOBSUB)
    + 8, Turkish (iso639-2: tur) (Bitmap)(VOBSUB)
Warning: Skipping subtitle track 5, can't have more than one track burnt in
Warning: Skipping subtitle track 1, can't have more than one track burnt in
[22:40:33] 1 job(s) to process
[22:40:33] starting job
[22:40:33] yadif thread started for segment 0
[22:40:33] yadif thread started for segment 1
[22:40:33] yadif thread started for segment 2
[22:40:33] yadif thread started for segment 3
[22:40:33] yadif thread started for segment 4
[22:40:33] yadif thread started for segment 5
[22:40:33] yadif thread started for segment 6
[22:40:33] yadif thread started for segment 7
[22:40:33] decomb filter thread started for segment 0
[22:40:33] decomb filter thread started for segment 1
[22:40:33] decomb filter thread started for segment 2
[22:40:33] decomb filter thread started for segment 3
[22:40:33] decomb filter thread started for segment 4
[22:40:33] decomb filter thread started for segment 5
[22:40:33] decomb filter thread started for segment 6
[22:40:33] decomb filter thread started for segment 7
[22:40:33] decomb check thread started for segment 0
[22:40:33] decomb check thread started for segment 1
[22:40:33] decomb check thread started for segment 2
[22:40:33] decomb check thread started for segment 3
[22:40:33] decomb check thread started for segment 4
[22:40:33] decomb check thread started for segment 5
[22:40:33] decomb check thread started for segment 6
[22:40:33] decomb check thread started for segment 7
[22:40:33] mask filter thread started for segment 0
[22:40:33] mask filter thread started for segment 1
[22:40:33] mask filter thread started for segment 2
[22:40:33] mask filter thread started for segment 3
[22:40:33] mask filter thread started for segment 4
[22:40:33] mask filter thread started for segment 5
[22:40:33] mask filter thread started for segment 6
[22:40:33] mask filter thread started for segment 7
[22:40:33] mask erode thread started for segment 0
[22:40:33] mask erode thread started for segment 3
[22:40:33] mask erode thread started for segment 1
[22:40:33] mask erode thread started for segment 2
[22:40:33] mask erode thread started for segment 6
[22:40:33] mask erode thread started for segment 5
[22:40:33] mask erode thread started for segment 4
[22:40:33] mask dilate thread started for segment 2
[22:40:33] mask dilate thread started for segment 0
[22:40:33] mask dilate thread started for segment 1
[22:40:33] mask erode thread started for segment 7
[22:40:33] mask dilate thread started for segment 3
[22:40:33] mask dilate thread started for segment 4
[22:40:33] Auto Passthru: allowed codecs are AAC, AC3, DTS, DTS-HD, MP3
[22:40:33] Auto Passthru: fallback is AAC (avcodec)
[22:40:33] mask dilate thread started for segment 5
[22:40:33] mask dilate thread started for segment 6
[22:40:33] Auto Passthru: using AC3 Passthru for track 1
[22:40:33] Auto Passthru: using AC3 Passthru for track 2
[22:40:33] mask dilate thread started for segment 7
[22:40:33] sync: expecting 178063 video frames
[22:40:33] job configuration:
[22:40:33]  * source
[22:40:33]    + d:/Video_fertig/Rips/Prometheus - Dunkle Zeichen.ISO
[22:40:33]    + title 2, chapter(s) 1 to 37
[22:40:33]  * destination
[22:40:33]    + d:/PROMETHEUS.m4v
[22:40:33]    + container: MPEG-4 (libavformat)
[22:40:33]      + optimized for HTTP streaming (fast start)
[22:40:33]      + chapter markers
[22:40:33]  * video track
[22:40:33]    + decoder: mpeg2video
[22:40:33]      + bitrate 9800 kbps
[22:40:33]    + filters
[22:40:33]      + Detelecine (pullup) (default settings)
[22:40:33]      + Decomb (default settings)
[22:40:33]      + Framerate Shaper (0:27000000:1080000)
[22:40:33]        + frame rate: same as source (around 25.000 fps)
[22:40:33]      + Subtitle renderer (0:0:0:0)
[22:40:33]      + Crop and Scale (720:576:0:0:0:0)
[22:40:33]        + source: 720 * 576, crop (0/0/0/0): 720 * 576, scale: 720 * 576
[22:40:33]    + loose anamorphic
[22:40:33]      + storage dimensions: 720 * 576, mod 0
[22:40:33]      + pixel aspect ratio: 64 / 45
[22:40:33]      + display dimensions: 1024 * 576
[22:40:33]    + encoder: H.264 (Intel Media SDK)
[22:40:33]      + quality: 20.00 (QP)
[22:40:33]  * subtitle track 1, Deutsch (track 4, id 0x23bd) Picture [VOBSUB] -> Render/Burn-in
[22:40:33]  * audio track 1
[22:40:33]    + name: Deutsch (AC3) (5.1 ch)
[22:40:33]    + decoder: Deutsch (AC3) (5.1 ch) (track 3, id 0x82bd)
[22:40:33]      + bitrate: 384 kbps, samplerate: 48000 Hz
[22:40:33]    + AC3 Passthru
[22:40:33]  * audio track 2
[22:40:33]    + name: English (AC3) (5.1 ch)
[22:40:33]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x80bd)
[22:40:33]      + bitrate: 448 kbps, samplerate: 48000 Hz
[22:40:33]    + AC3 Passthru
libdvdnav: Using dvdnav version 5.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD Title: PROMETHEUS
libdvdnav: DVD Serial Number: 412d02db
libdvdnav: DVD Title (Alternative): 
libdvdnav: Unable to find map file 'C:/Users/Markus/.dvdnav/PROMETHEUS.map'
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[22:40:33] reader: first SCR 146 id 0xe0 DTS 22254
[22:40:33] mpeg2video: "Chapter 1" (1) at frame 0 time 3600
[22:40:33] encqsvInit: using encode-only path
[22:40:33] encqsvInit: TargetUsage 2 AsyncDepth 4
[22:40:33] encqsvInit: GopRefDist 4 GopPicSize 32 NumRefFrame 3
[22:40:33] encqsvInit: BFrames on BPyramid on
[22:40:33] encqsvInit: RateControlMethod CQP with QPI 20 QPP 22 QPB 24
[22:40:33] encqsvInit: CAVLC off
[22:40:33] encqsvInit: Trellis off
[22:40:33] encqsvInit: H.264 profile High @ level 3.0
[22:40:33] sync: first pts is 3600
[22:40:33] qsv_enc_init: using 'hardware (3)' implementation, API: 1.7
[22:40:49] mpeg2video: "Chapter 2" (2) at frame 7498 time 26996400
...
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: can I use hardware acceleration with HandbrakeCLI

Post by AlBundy »

?
Deleted User 11865

Re: can I use hardware acceleration with HandbrakeCLI

Post by Deleted User 11865 »

No, DVD subtitles cannot be passed through to MP4 with our new muxer. Didn't you ask that question already?
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: can I use hardware acceleration with HandbrakeCLI

Post by AlBundy »

No - the other question was about PGS-subtitles in BluRays. :-)

With the latest release the subtitles will be added as expected so I thought it might be a problem with the qsv_h264 encoder (have not tried the x264 encoder with the latest nightly).
Deleted User 11865

Re: can I use hardware acceleration with HandbrakeCLI

Post by Deleted User 11865 »

Basically, we new a new MP4 muxer that doesn't support soft DVD subtitles. The previous muxer muxed them in a non-standard way that usually only software players such as VLC and friends supported - basically, anything that can play MP4 with DVD subtitle support also has MKV support, so we're undecided on whether it's worth adding this capability to the new MP4 muxer or not.
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: can I use hardware acceleration with HandbrakeCLI

Post by AlBundy »

VLC and MX Player (Android) are working really good with this subtitles.
So it would be really nice if you could keep this feature.
Deleted User 11865

Re: can I use hardware acceleration with HandbrakeCLI

Post by Deleted User 11865 »

AlBundy wrote:VLC and MX Player (Android) are working really good with this subtitles.
Precisely. VLC and most likely MX Player work just fine with MKV files. There is no known example of a player that supports VobSub in MP4 that doesn't support the MKV container, except some very old, long deprecated Nero-certified hardware devices.
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: can I use hardware acceleration with HandbrakeCLI

Post by AlBundy »

But having the option to use the subtitles and the flexibility to play the movies also on apple devices is very nice.
Smithcraft
Veteran User
Posts: 2697
Joined: Thu Jan 22, 2009 8:04 pm

Re: can I use hardware acceleration with HandbrakeCLI

Post by Smithcraft »

Then ask the MP4 committee to accept PGS and VOBSUB into their container, and maybe Apple would then follow up after it happens with said support.
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: can I use hardware acceleration with HandbrakeCLI

Post by AlBundy »

I don't need the subtitles on my apple devices.
It's enough to have a container that can be use on all my devices with the advantage to have subtitles on PC and Android.
Like the movies I've already encoded with latest release of handbrake.
So it would be really nice to have this feature also in coming versions.
AlBundy
Bright Spark User
Posts: 377
Joined: Mon Dec 31, 2012 4:47 am

Re: can I use hardware acceleration with HandbrakeCLI

Post by AlBundy »

Have you seen this entry?
viewtopic.php?f=11&t=29958

It would be nice to use qsv without the fake monitor.

Al
Post Reply