Is Handbrake using AMD VCE hardware acceleration on my computer ? (screen recording included)

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
Hanbrakeur
Experienced
Posts: 93
Joined: Mon Jun 30, 2014 10:39 pm

Is Handbrake using AMD VCE hardware acceleration on my computer ? (screen recording included)

Post by Hanbrakeur »

Description of problem or question:

Hello,

I have an AMD RADEON RX580 graphics card with drivers installed.

I'm not sure but it seems that even though "Enable AMD VCE Encoder" is checked, Handbrake tries to use the QSV encoder and reverts to software encoder because it didn't find it. So Handbrake uses the software encoder instad of the AMD VCE Encoder. Can you confirm it ? Thank you.


Steps to reproduce the problem (If Applicable):

Watch this video : https://www.youtube.com/watch?v=9DFnRlaB9eI

1/ Check "Enable AMD VCE Encoder" in Tools > Preferences > Video
2/ Summary tab : Format=MP4, Web optimized, Align A/V Start
3/ Dimensions tab : Deinterlace=Yadif, Preset=Bob
4/ Video tab : Codec=H265(x265), FPS=25, CFR, 2000Kbs, 2-Pass Encoding, Turbo 1st Pass, MEDIUM Preset
5/ Audio tab : AAC (avcodec), 192Kbs, Stereo


HandBrake version (e.g., 1.0.0):

1.2.2 (2019022300)


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

Windows 7 Pro SP1


HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

HandBrake 1.2.2 (2019022300)
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Ram: 32728 MB, 
GPU Information:
  Radeon RX 580 Series - 24.20.13019.1008
Screen: 1920x1080
Temp Dir: D:\TEMP\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\rio\AppData\Roaming\HandBrake

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


# Starting Encode ...

[11:45:22] hb_init: starting libhb thread
[11:45:22] 1 job(s) to process
[11:45:22] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 192,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "av_aac"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "J:\\[RAW]-ok.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": true
    },
    "Mux": "mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 5,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1078",
          "width": "1440"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1",
          "rate": "27000000/1080000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 539,
    "Den": 405
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "J:\\[RAW].mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "Bitrate": 2000,
    "TwoPass": true,
    "Turbo": true,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "medium",
    "Profile": "auto",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[11:45:22] CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
[11:45:22]  - Intel microarchitecture Ivy Bridge
[11:45:22]  - logical processor count: 8
[11:45:22] Intel Quick Sync Video support: no
[11:45:22] hb_scan: path=J:\[RAW].mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image J:\[RAW].mp4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[11:45:22] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[11:45:22] dvd: not a dvd - trying as a stream/file instead
[11:45:22] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[11:45:22] Found the following PIDS
[11:45:22]     Video PIDS :
[11:45:22]       0x100 type MPEG2 (0x2) (PCR)
[11:45:22]     Audio PIDS :
[11:45:22]       0x101 type MPEG1 (0x3)
[11:45:22]     Subtitle PIDS :
[11:45:22]     Other PIDS :
[11:45:22] stream id 0x101 (type 0x3 substream 0x0) audio 0x101
[11:45:22] scan: decoding previews for title 1
[11:45:22] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[11:45:22] scan: audio 0x101: mp2, rate=48000Hz, bitrate=128000 Unknown (MPEG) (2.0 ch)
[11:45:22] stream: 13 good frames, 0 errors (0%)
[11:45:22] scan: 10 previews, 1440x1080, 25.000 fps, autocrop = 2/0/0/0, aspect 16:9, PAR 4:3
[11:45:22] Title is likely interlaced or telecined (7 out of 10 previews). You should do something about that.
[11:45:22] libhb: scan thread found 1 valid title(s)
[11:45:22] Skipping subtitle scan.  No suitable subtitle tracks.
[11:45:22] starting job
[11:45:22] work: only 1 chapter, disabling chapter markers
[11:45:22] job configuration:
[11:45:22]  * source
[11:45:22]    + J:\[RAW].mp4
[11:45:22]    + title 1, chapter(s) 1 to 1
[11:45:22]  * destination
[11:45:22]    + J:\[RAW]-ok.mp4
[11:45:22]    + container: MPEG-4 (libavformat)
[11:45:22]      + optimized for HTTP streaming (fast start)
[11:45:22]      + align initial A/V stream timestamps
[11:45:22]  * video track
[11:45:22]    + decoder: mpeg2video
[11:45:22]      + bitrate 200 kbps
[11:45:22]    + filters
[11:45:22]      + avfilter (yadif='mode=send_field')
[11:45:22]        + yadif: mode=send_field
[11:45:22]      + Framerate Shaper (mode=1:rate=27000000/1080000)
[11:45:22]        + frame rate: 50.000 fps -> constant 25.000 fps
[11:45:22]      + Crop and Scale (width=1440:height=1078:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[11:45:22]        + source: 1440 * 1080, crop (0/0/0/0): 1440 * 1080, scale: 1440 * 1078
[11:45:22]    + Output geometry
[11:45:22]      + storage dimensions: 1440 x 1078
[11:45:22]      + pixel aspect ratio: 539 : 405
[11:45:22]      + display dimensions: 1916 x 1078
[11:45:22]    + encoder: H.265 (libx265)
[11:45:22]      + preset:  medium
[11:45:22]      + profile: auto
[11:45:22]      + bitrate: 2000 kbps, pass: 1
[11:45:22]      + fast first pass
[11:45:22]      + color profile: 1-1-1
[11:45:22]  * audio track 1
[11:45:22]    + decoder: Unknown (MPEG) (2.0 ch) (track 1, id 0x101)
[11:45:22]      + bitrate: 128 kbps, samplerate: 48000 Hz
[11:45:22]    + mixdown: Stereo
[11:45:22]    + dither: none
[11:45:22]    + encoder: AAC (libavcodec)
[11:45:22]      + bitrate: 192 kbps, samplerate: 48000 Hz
[11:45:22] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[11:45:22] sync: expecting 385 video frames
x265 [info]: HEVC encoder version 2.9
x265 [info]: build info [Windows][GCC 8.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : dia / 57 / 2 / 1
x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 1 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-2000 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao stats-write
[11:45:22] sync: first pts video is 0
[11:45:22] sync: first pts audio 0x101 is 0
[11:45:39] hb_ts_stream_decode - eof
[11:45:40] hb_ts_stream_decode - eof
[11:45:40] reader: done. 1 scr changes
[swscaler @ 0000000039b082c0] Warning: data is not aligned! This can lead to a speed loss
[11:45:46] work: average encoding speed for job is 18.683224 fps
[11:45:46] vfr: 386 frames output, 384 dropped and 0 duped for CFR/PFR
[11:45:46] vfr: lost time: 0 (0 frames)
[11:45:46] vfr: gained time: 0 (0 frames) (0 not accounted for)
[11:45:46] stream: 385 good frames, 0 errors (0%)
[11:45:46] mp2-decoder done: 636 frames, 0 decoder errors
[11:45:46] mpeg2video-decoder done: 385 frames, 0 decoder errors
[11:45:46] sync: got 385 frames, 385 expected
[11:45:46] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
[aac @ 000000000082e700] Qavg: 5139.839
x265 [info]: frame I:      2, Avg QP:21.90  kb/s: 9434.50
x265 [info]: frame P:     82, Avg QP:17.45  kb/s: 5675.81
x265 [info]: frame B:    302, Avg QP:25.16  kb/s: 857.63
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 1.2% 0.0% 3.6% 28.6% 66.7%
encoded 386 frames in 23.93s (16.13 fps), 1925.62 kb/s, Avg QP:23.51
[11:45:46] starting job
[11:45:46] work: only 1 chapter, disabling chapter markers
[11:45:46] job configuration:
[11:45:46]  * source
[11:45:46]    + J:\[RAW].mp4
[11:45:46]    + title 1, chapter(s) 1 to 1
[11:45:46]  * destination
[11:45:46]    + J:\[RAW]-ok.mp4
[11:45:46]    + container: MPEG-4 (libavformat)
[11:45:46]      + optimized for HTTP streaming (fast start)
[11:45:46]      + align initial A/V stream timestamps
[11:45:46]  * video track
[11:45:46]    + decoder: mpeg2video
[11:45:46]      + bitrate 200 kbps
[11:45:46]    + filters
[11:45:46]      + avfilter (yadif='mode=send_field')
[11:45:46]        + yadif: mode=send_field
[11:45:46]      + Framerate Shaper (mode=1:rate=27000000/1080000)
[11:45:46]        + frame rate: 50.000 fps -> constant 25.000 fps
[11:45:46]      + Crop and Scale (width=1440:height=1078:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[11:45:46]        + source: 1440 * 1080, crop (0/0/0/0): 1440 * 1080, scale: 1440 * 1078
[11:45:46]    + Output geometry
[11:45:46]      + storage dimensions: 1440 x 1078
[11:45:46]      + pixel aspect ratio: 539 : 405
[11:45:46]      + display dimensions: 1916 x 1078
[11:45:46]    + encoder: H.265 (libx265)
[11:45:46]      + preset:  medium
[11:45:46]      + profile: auto
[11:45:46]      + bitrate: 2000 kbps, pass: 2
[11:45:46]      + color profile: 1-1-1
[11:45:46]  * audio track 1
[11:45:46]    + decoder: Unknown (MPEG) (2.0 ch) (track 1, id 0x101)
[11:45:46]      + bitrate: 128 kbps, samplerate: 48000 Hz
[11:45:46]    + mixdown: Stereo
[11:45:46]    + dither: none
[11:45:46]    + encoder: AAC (libavcodec)
[11:45:46]      + bitrate: 192 kbps, samplerate: 48000 Hz
[11:45:46] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[11:45:46] sync: expecting 385 video frames
x265 [info]: HEVC encoder version 2.9
x265 [info]: build info [Windows][GCC 8.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-2000 kbps / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 rskip signhide tmvp strong-intra-smoothing
x265 [info]: tools: lslices=6 deblock sao stats-read
[11:45:46] sync: first pts video is 0
[11:45:46] sync: first pts audio 0x101 is 0
[11:46:09] hb_ts_stream_decode - eof
[11:46:09] hb_ts_stream_decode - eof
[11:46:09] reader: done. 1 scr changes
[11:46:18] work: average encoding speed for job is 14.323407 fps
[11:46:18] vfr: 386 frames output, 384 dropped and 0 duped for CFR/PFR
[11:46:18] vfr: lost time: 0 (0 frames)
[11:46:18] vfr: gained time: 0 (0 frames) (0 not accounted for)
[11:46:18] stream: 385 good frames, 0 errors (0%)
[11:46:18] mp2-decoder done: 636 frames, 0 decoder errors
[11:46:18] mpeg2video-decoder done: 385 frames, 0 decoder errors
[11:46:18] sync: got 385 frames, 385 expected
[11:46:18] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
[aac @ 000000002e6aaf80] Qavg: 5139.839
x265 [info]: frame I:      2, Avg QP:13.70  kb/s: 17590.50
x265 [info]: frame P:     82, Avg QP:16.92  kb/s: 5431.81
x265 [info]: frame B:    302, Avg QP:24.65  kb/s: 897.33
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 1.2% 0.0% 3.6% 28.6% 66.7%
encoded 386 frames in 31.86s (12.11 fps), 1947.11 kb/s, Avg QP:22.95
[mp4 @ 000000002e98e040] Starting second pass: moving the moov atom to the beginning of the file
[11:46:18] mux: track 0, 386 frames, 3759463 bytes, 1942.87 kbps, fifo 512
[11:46:18] mux: track 1, 721 frames, 372237 bytes, 192.37 kbps, fifo 1024
[11:46:18] libhb: work result = 0

# Encode Completed ...
rollin_eng
Veteran User
Posts: 4854
Joined: Wed May 04, 2011 11:06 pm

Re: Is Handbrake using AMD VCE hardware acceleration on my computer ? (screen recording included)

Post by rollin_eng »

You have x265 selected as your video encoder thus it is being used.

What other options are in the drop down?
Hanbrakeur
Experienced
Posts: 93
Joined: Mon Jun 30, 2014 10:39 pm

Re: Is Handbrake using AMD VCE hardware acceleration on my computer ? (screen recording included)

Post by Hanbrakeur »

Ooops you are right, I feel dumb for posting this :x

If a moderator reads this, feel free to delete my topic :!:
Post Reply