hi. i am using intel pentium g4560 cpu with qsv support. i don't have graphic card. i use intel gpu HD graphics 610. i use handbrake 1.0.7 ver. x64
when i choose H.265 (Intel QSV) option, it doesn't work. then i go to "tools>preferences>video" tab and click on "Disable QuickSync Decoding" and turn back, H265 (Intel QSV) render started to work?
isn't that weird? h265 QSV work after "disabling" QSV decode? isn't it has to be opposite?
thank you.
H.265 (INTEL QSV) options
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.
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.
-
- Veteran User
- Posts: 4840
- Joined: Wed May 04, 2011 11:06 pm
Re: H.265 (INTEL QSV) options
Could you please post your logs, instructions can be found here:
https://handbrake.fr/docs/en/latest/hel ... y-log.html
https://handbrake.fr/docs/en/latest/hel ... y-log.html
Re: H.265 (INTEL QSV) options
Thank you.rollin_eng wrote: ↑Sun Aug 20, 2017 7:37 am Could you please post your logs, instructions can be found here:
https://handbrake.fr/docs/en/latest/hel ... y-log.html
I just tried again without quick sync disabled. Encode starts but nothing happened. After 2 minutes it seems "Quene finished" but video file can't be open.
Here is my last log:
Code: Select all
HandBrake 1.0.7 (2017040900) - 64bit
OS: Microsoft Windows NT 10.0.15063.0 - 64bit
CPU: Intel(R) Pentium(R) CPU G4560 @ 3.50GHz
Ram: 8092 MB,
GPU Information:
Intel(R) HD Graphics 610 - 21.20.16.4678
Screen: 1920x1080
Temp Dir: C:\Users\Bora\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Bora\AppData\Roaming\HandBrake Team\HandBrake\1.0.7.0
-------------------------------------------
# Starting Encode ...
[13:54:52] hb_init: starting libhb thread
[13:54:52] 1 job(s) to process
[13:54:52] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": 65536,
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
1073807360,
1073743872,
1074003968,
1073750016,
1090519040,
1074790400,
1074266112,
1107296256
],
"FallbackEncoder": 2048
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"File": "C:\\Users\\Bora\\Desktop\\Movie 1080p-1.m4v",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": 131072
},
"Filters": {
"FilterList": [
{
"ID": 11,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1920"
}
},
{
"ID": 6,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "C:\\Users\\Bora\\Desktop\\movie_1080p.mp4"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": 512,
"Level": "auto",
"Bitrate": 6000,
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "balanced",
"Profile": "auto",
"OpenCL": false,
"HWDecode": false,
"QSV": {
"Decode": true,
"AsyncDepth": 0
}
}
}
[13:54:52] CPU: Intel(R) Pentium(R) CPU G4560 @ 3.50GHz
[13:54:52] - Intel microarchitecture Kaby Lake
[13:54:52] - logical processor count: 4
[13:54:52] Intel Quick Sync Video support: yes
[13:54:52] - Intel Media SDK hardware: API 1.23 (minimum: 1.3)
[13:54:52] - H.264 encoder: yes
[13:54:52] - preferred implementation: hardware (any)
[13:54:52] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[13:54:52] - H.265 encoder: yes
[13:54:52] - preferred implementation: hardware (any)
[13:54:52] - capabilities (hardware): bpyramid vsinfo opt1
[13:54:52] hb_scan: path=C:\Users\Bora\Desktop\movie_1080p.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image C:\Users\Bora\Desktop\movie_1080p.mp4
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[13:54:52] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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
[13:54:52] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\Bora\Desktop\movie_1080p.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.28.100
Duration: 00:37:27.08, start: 0.000000, bitrate: 12098 kb/s
Stream #0:0(eng): Video: h264 (High) [avc1 / 0x31637661]
yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 11966 kb/s
23.98 fps, 11988 tbn (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : SoundHandler
[13:54:52] scan: decoding previews for title 1
[13:54:52] scan: audio 0x1: aac, rate=48000Hz, bitrate=128289 English (AAC) (2.0 ch)
[13:54:53] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[13:54:53] scan: supported video decoders: avcodec qsv
[13:54:53] libhb: scan thread found 1 valid title(s)
[13:54:53] Skipping subtitle scan. No suitable subtitle tracks.
[13:54:53] starting job
[13:54:53] work: track 1, dithering not supported by codec
[13:54:53] work: only 1 chapter, disabling chapter markers
[13:54:53] job configuration:
[13:54:53] * source
[13:54:53] + C:\Users\Bora\Desktop\movie_1080p.mp4
[13:54:53] + title 1, chapter(s) 1 to 1
[13:54:53] + container: mov,mp4,m4a,3gp,3g2,mj2
[13:54:53] + data rate: 12098 kbps
[13:54:53] * destination
[13:54:53] + C:\Users\Bora\Desktop\Movie 1080p-1.m4v
[13:54:53] + container: MPEG-4 (libavformat)
[13:54:53] * video track
[13:54:53] + decoder: h264_qsv
[13:54:53] + bitrate 11966 kbps
[13:54:53] + filters
[13:54:53] + Framerate Shaper (mode=1)
[13:54:53] + frame rate: 23.976 fps -> constant 23.976 fps
[13:54:53] + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[13:54:53] + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[13:54:53] + Output geometry
[13:54:53] + storage dimensions: 1920 x 1080
[13:54:53] + pixel aspect ratio: 1 : 1
[13:54:53] + display dimensions: 1920 x 1080
[13:54:53] + encoder: H.265 (Intel Media SDK)
[13:54:53] + preset: balanced
[13:54:53] + profile: auto
[13:54:53] + level: auto
[13:54:53] + bitrate: 6000 kbps, pass: 0
[13:54:53] * audio track 1
[13:54:53] + decoder: English (AAC) (2.0 ch) (track 1, id 0x1)
[13:54:53] + bitrate: 128 kbps, samplerate: 48000 Hz
[13:54:53] + mixdown: Stereo
[13:54:53] + encoder: AAC (libavcodec)
[13:54:53] + bitrate: 160 kbps, samplerate: 48000 Hz
[13:54:53] sync: expecting 53876 video frames
[13:54:53] encqsvInit: using encode-only path
[13:54:53] encqsvInit: H.265/HEVC Main profile @ level 4.0
[13:54:53] encqsvInit: TargetUsage 4 AsyncDepth 5
[13:54:53] encqsvInit: GopRefDist 3 GopPicSize 24 NumRefFrame 2
[13:54:53] encqsvInit: BFramesMax 2 BRefType off
[13:54:53] encqsvInit: RateControlMethod VBR TargetKbps 6000 MaxKbps 6000 BufferSizeInKB 1500 InitialDelayInKB 750
[13:54:53] sync: first pts audio 0x1 is 0
[13:56:28] reader: done. 1 scr changes
[13:56:29] qsv_enc_init: using 'hardware (1)' implementation, API: 1.23
[13:56:30] work: average encoding speed for job is 0.000000 fps
[13:56:30] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[13:56:30] vfr: lost time: 0 (0 frames)
[13:56:30] vfr: gained time: 0 (0 frames) (0 not accounted for)
[13:56:30] aac-decoder done: 105331 frames, 0 decoder errors
[13:56:30] h264_qsv-decoder done: 0 frames, 0 decoder errors
[13:56:32] sync: got 0 frames, 53876 expected
[13:56:33] mux: track 0, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[13:56:33] mux: track 1, 105331 frames, 44935004 bytes, 159.98 kbps, fifo 131072
[13:56:33] libhb: work result = 0
# Encode Completed ...
Re: H.265 (INTEL QSV) options
There are some video streams that confuse the hardware decoder. The encoder works fine, but you have to give it a usable video stream to work with, and that doesn't always happen with hardware decoders.
Re: H.265 (INTEL QSV) options
Thank you for your time. I wonder why it happens, but i couldn't fine clear answer yet.
Re: H.265 (INTEL QSV) options
I have also found this to be true - the fact that some source videos work, and others do not. Does anyone know what properties the hw encoder is "confused" by? I'd like to know what to look for or what options to choose when I create/obtain source videos to be sure the hw encoder will accept it. Any thoughts?
Re: H.265 (INTEL QSV) options
Please provide us with logs when it doesn't work
Re: H.265 (INTEL QSV) options
I tried some different formats and it is happening generally MP4 formats with h264/avc codec... Other formats like avi, mpg, wmv is working normal.Canrock wrote: ↑Mon Aug 21, 2017 4:52 pm I have also found this to be true - the fact that some source videos work, and others do not. Does anyone know what properties the hw encoder is "confused" by? I'd like to know what to look for or what options to choose when I create/obtain source videos to be sure the hw encoder will accept it. Any thoughts?
I wonder that, is that any wrong situation this "confused" renders? When i check at File Info, everything looks normal.
Code: Select all
General
Complete name : C:\1.Depo\Video1080.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/iso2/mp41)
File size : 1.99 GiB
Duration : 37 min 27 s
Overall bit rate mode : Variable
Overall bit rate : 7 626 kb/s
Encoded date : UTC 2017-08-19 18:37:07
Tagged date : UTC 2017-08-19 18:37:07
Writing application : HandBrake 1.0.7 2017040900
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L4@High
Codec ID : hev1
Codec ID/Info : High Efficiency Video Coding
Duration : 37 min 26 s
Bit rate : 7 492 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Minimum frame rate : 23.974 FPS
Maximum frame rate : 23.981 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.151
Stream size : 1.96 GiB (98%)
Encoded date : UTC 2017-08-19 18:37:07
Tagged date : UTC 2017-08-19 18:37:07
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 37 min 27 s
Bit rate mode : Variable
Bit rate : 128 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 34.3 MiB (2%)
Title : Stereo / Stereo
Language : English
Default : Yes
Alternate group : 1
Encoded date : UTC 2017-08-19 18:37:07
Tagged date : UTC 2017-08-19 18:37:07
When i look other hevc files' info that i rendered before with iMedia Converter, only one difference seems Codec ID: hev1 instead of Codec ID: hvc1 i guess, it is not important thing?...
Re: H.265 (INTEL QSV) options
I do not have that option, my 4790k i7 processor.