Opened 5 months ago

Last modified 5 months ago

#7643 new defect

qsv decoding fails on Windows

Reported by: Ilya87 Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: qsv
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% ffmpeg -loglevel trace -init_hw_device qsv=qsv -hwaccel qsv -c:v h264_qsv -i E:\Test\Sintel\Sintel_x264_2pass_2000.mkv -c:v h264_qsv -global_quality 25 output.mp4
ffmpeg version 20181229-fccba32 from Zeranoe
Windows 10 x64

Output:
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'trace'.
Reading option '-init_hw_device' ... matched as option 'init_hw_device' (initialise hardware device) with argument 'qsv=qsv'.
Reading option '-hwaccel' ... matched as option 'hwaccel' (use HW accelerated decoding) with argument 'qsv'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_qsv'.
Reading option '-i' ... matched as input url with argument 'E:\Test\Sintel\Sintel_x264_2pass_2000.mkv'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_qsv'.
Reading option '-global_quality' ... matched as AVOption 'global_quality' with argument '25'.
Reading option 'output.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument trace.
Applying option init_hw_device (initialise hardware device) with argument qsv=qsv.
[AVHWDeviceContext @ 0000017923563200] Using D3D9Ex device.
[AVHWDeviceContext @ 0000017923562fc0] Initialize MFX session: API version is 1.27, implementation version is 1.27
[AVHWDeviceContext @ 0000017923562fc0] Error setting child device handle: -6

But without input file qsv decoding hw encoding works well. Different h.264 files were tested as input.

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (3)

comment:1 Changed 5 months ago by Ilya87

My configuration - i5 8600K, GeForce? 1070Ti

comment:2 Changed 5 months ago by cehoyos

  • Keywords decoding removed

Please provide the unedited console output to make this a valid ticket.

comment:3 Changed 5 months ago by Ilya87

ffmpeg -loglevel trace -init_hw_device qsv=qsv -hwaccel qsv -c:v h264_qsv -i E:\Test\Sintel\Sintel_x264_2pass_2000.mkv -c:v h264_qsv -global_quality 25 output.mp4
ffmpeg version N-92833-gfccba32b4c Copyright (c) 2000-2018 the FFmpeg developers

built with gcc 8.2.1 (GCC) 20181201
configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 25.100 / 56. 25.100
libavcodec 58. 42.104 / 58. 42.104
libavformat 58. 25.100 / 58. 25.100
libavdevice 58. 6.101 / 58. 6.101
libavfilter 7. 46.101 / 7. 46.101
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100

Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'trace'.
Reading option '-init_hw_device' ... matched as option 'init_hw_device' (initialise hardware device) with argument 'qsv=qsv'.
Reading option '-hwaccel' ... matched as option 'hwaccel' (use HW accelerated decoding) with argument 'qsv'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_qsv'.
Reading option '-i' ... matched as input url with argument 'E:\Test\Sintel\Sintel_x264_2pass_2000.mkv'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_qsv'.
Reading option '-global_quality' ... matched as AVOption 'global_quality' with argument '25'.
Reading option 'output.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument trace.
Applying option init_hw_device (initialise hardware device) with argument qsv=qsv.
[AVHWDeviceContext @ 000001ba25ca3200] Using D3D9Ex device.
[AVHWDeviceContext @ 000001ba25ca2fc0] Initialize MFX session: API version is 1.27, implementation version is 1.27
[AVHWDeviceContext @ 000001ba25ca2fc0] Error setting child device handle: -6

Last edited 5 months ago by Ilya87 (previous) (diff)
Note: See TracTickets for help on using tickets.