Opened 9 years ago

Closed 2 months ago

#4736 closed defect (invalid)

h264_qsv and hevc_qsv crashes on windows 8.1 (q=-0.0)

Reported by: rmkimathi Owned by:
Priority: important Component: undetermined
Version: git-master Keywords: qsv crash
Cc: ivan.uskov@nablet.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: yes

Description

ffmpeg -report -i pills.mp4 -c:v h264_qsv -q 20 pills2.mp4
ffmpeg version N-73959-g52c75d4 Copyright (c) 2000-2015 the FFmpeg developers

built with gcc 4.9.2 (GCC)
configuration: --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/mint/sandbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-libx265 --enable-decklink --extra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-libwavpack --enable-libwebp --en libavutil 54. 28.100 / 54. 28.100
libavcodec 56. 52.100 / 56. 52.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 27.100 / 5. 27.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100

Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-i' ... matched as input file with argument 'pills.mp4'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_qsv'.
Reading option '-q' ... matched as option 'q' (use fixed quality scale (VBR)) with argument '20'.
Reading option 'pills2.mp4' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file pills.mp4.
Successfully parsed a group of options.
Opening an input file: pills.mp4.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000c473a0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000c473a0] ISO: File Type Major Brand: mp42
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000c473a0] Before avformat_find_stream_info() pos: 84216 bytes read:98304 seeks:0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000c473a0] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000c473a0] After avformat_find_stream_info() pos: 186111 bytes read:196608 seeks:0 frames:14
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'pills.mp4':

Metadata:

major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2014-06-22 20:34:13

Duration: 00:04:33.02, start: 0.000000, bitrate: 1316 kb/s

Stream #0:0(und), 13, 1/24: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1122 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc (default)
Metadata:

handler_name : VideoHandler

Stream #0:1(und), 1, 1/44100: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 191 kb/s (default)
Metadata:

creation_time : 2014-06-22 20:34:15
handler_name : IsoMedia File Produced by Google, 5-11-2011

Successfully opened the file.
Parsing a group of options: output file pills2.mp4.
Applying option c:v (codec name) with argument h264_qsv.
Applying option q (use fixed quality scale (VBR)) with argument 20.
Successfully parsed a group of options.
Opening an output file: pills2.mp4.
Successfully opened the file.
detected 8 logical cores
[graph 0 input from stream 0:0 @ 00000000055ad3c0] Setting 'video_size' to value '1280x720'
[graph 0 input from stream 0:0 @ 00000000055ad3c0] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 00000000055ad3c0] Setting 'time_base' to value '1/24'
[graph 0 input from stream 0:0 @ 00000000055ad3c0] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 00000000055ad3c0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 00000000055ad3c0] Setting 'frame_rate' to value '24/1'
[graph 0 input from stream 0:0 @ 00000000055ad3c0] w:1280 h:720 pixfmt:yuv420p tb:1/24 fr:24/1 sar:1/1 sws_param:flags=2
[format @ 000000000587c7c0] compat: called with args=[nv12|qsv]
[format @ 000000000587c7c0] Setting 'pix_fmts' to value 'nv12|qsv'
[auto-inserted scaler 0 @ 000000000587c880] Setting 'flags' to value '0x4'
[auto-inserted scaler 0 @ 000000000587c880] w:iw h:ih flags:'0x4' interl:0
[format @ 000000000587c7c0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 0000000005a552e0] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed
[auto-inserted scaler 0 @ 000000000587c880] w:1280 h:720 fmt:yuv420p sar:1/1 -> w:1280 h:720 fmt:nv12 sar:1/1 flags:0x4
[graph 1 input from stream 0:1 @ 0000000005a66f40] Setting 'time_base' to value '1/44100'
[graph 1 input from stream 0:1 @ 0000000005a66f40] Setting 'sample_rate' to value '44100'
[graph 1 input from stream 0:1 @ 0000000005a66f40] Setting 'sample_fmt' to value 'fltp'
[graph 1 input from stream 0:1 @ 0000000005a66f40] Setting 'channel_layout' to value '0x3'
[graph 1 input from stream 0:1 @ 0000000005a66f40] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3
[audio format for output stream 0:1 @ 0000000005a66880] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:1 @ 0000000005a66880] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000'
[audio format for output stream 0:1 @ 0000000005a66880] Setting 'channel_layouts' to value '0x4|0x3|0x7|0x107|0x37|0x3f|0xff|0x63f'
[audio format for output stream 0:1 @ 0000000005a66880] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:1'
[AVFilterGraph @ 0000000005a551a0] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto-inserted resampler 0 @ 0000000005a67240] [SWR @ 0000000000c28e20] Using fltp internally between filters
[auto-inserted resampler 0 @ 0000000005a67240] ch:2 chl:stereo fmt:fltp r:44100Hz -> ch:2 chl:stereo fmt:s16 r:44100Hz
[h264_qsv @ 00000000057000a0] Initialized an internal MFX session using hardware accelerated implementation
[h264_qsv @ 00000000057000a0] Using the constant quantization parameter (CQP) ratecontrol method
[libfdk_aac @ 0000000000c4fba0] VBR quality 2360 out of range, should be 1-5
[libfdk_aac @ 0000000000c4fba0] Note, the VBR setting is unsupported and only works with some parameter combinations
Output #0, mp4, to 'pills2.mp4':

Metadata:

major_brand : mp42
minor_version : 0
compatible_brands: isommp42
encoder : Lavf56.40.101
Stream #0:0(und), 0, 1/12288: Video: h264 (h264_qsv) ([33][0][0][0] / 0x0021), nv12, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 1000 kb/s, 24 fps, 12288 tbn, 24 tbc (default)
Metadata:

handler_name : VideoHandler
encoder : Lavc56.52.100 h264_qsv

Stream #0:1(und), 0, 1/44100: Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16 (default)
Metadata:

creation_time : 2014-06-22 20:34:15
handler_name : IsoMedia File Produced by Google, 5-11-2011
encoder : Lavc56.52.100 libfdk_aac

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))

Press [q] to stop, ? for help
Cliping frame in rate conversion by 0.000008
frame= 193 fps=0.0 q=-0.0 size= 983kB time=00:00:07.77 bitrate=1035.1kbits/s
frame= 403 fps=397 q=-0.0 size= 2327kB time=00:00:16.88 bitrate=1129.4kbits/s
frame= 614 fps=405 q=-0.0 size= 3205kB time=00:00:25.68 bitrate=1022.3kbits/s
frame= 825 fps=406 q=-0.0 size= 8096kB time=00:00:34.13 bitrate=1943.1kbits/s
frame= 1034 fps=408 q=-0.0 size= 9395kB time=00:00:42.88 bitrate=1794.5kbits/s
frame= 1246 fps=409 q=-0.0 size= 11149kB time=00:00:51.71 bitrate=1766.2kbits/s
frame= 1466 fps=413 q=-0.0 size= 12587kB time=00:01:00.92 bitrate=1692.3kbits/s

Received windows signal 0

Change History (11)

comment:1 by Carl Eugen Hoyos, 9 years ago

Keywords: qsv added; q=-0.0 h264_qsv removed
Priority: criticalnormal

comment:2 by Carl Eugen Hoyos, 9 years ago

Keywords: crash added

Please provide backtrace etc. for crashes as explained on https://ffmpeg.org/bugreports.html

in reply to:  2 comment:3 by rmkimathi, 9 years ago

Replying to cehoyos:

Please provide backtrace etc. for crashes as explained on https://ffmpeg.org/bugreports.html

====

see below ...

Last edited 9 years ago by rmkimathi (previous) (diff)

comment:4 by rmkimathi, 9 years ago

D:\ffmpeg-git\bin\20150730>gdb --args ffmpeg_g -i input.mp4 -c:v h264_qsv output.mp4
GNU gdb (GDB) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
This binary was built by Equation Solution <http://www.Equation.com>...
Reading symbols from ffmpeg_g...done.

(gdb) r
Starting program: D:\ffmpeg-git\bin\20150730\ffmpeg_g.exe -i input.mp4 -c:v h264_qsv output.mp4
[New Thread 5136.0x11b4]
ffmpeg version N-74165-ga0123b6 Copyright (c) 2000-2015 the FFmpeg developers

built with gcc 4.9.2 (GCC)
configuration: --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/mint/sandbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config=pkg-config

--enable-gpl --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-iconv --enable-libtwolame --extra-cf
lags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-l
ibx265 --extra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorb
is --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32thread
s --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amr
wbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-libwavpack --enable-libwebp --enable-libgme --enable-dxva2 --enable-libdcadec

--enable-avisynth --enable-libxavs --enable-libmfx --enable-static --disable-shared --extra-cflags= --prefix=/home/mint/sandbox/mingw-w64-x86_64/x86_

64-w64-mingw32 --extra-libs=-lpsapi --enable-nonfree --enable-libfdk-aac --disable-libfaac --enable-runtime-cpudetect

libavutil 54. 29.100 / 54. 29.100
libavcodec 56. 56.101 / 56. 56.101
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 30.100 / 5. 30.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':

Metadata:

major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2014-06-22 20:34:13

Duration: 00:04:33.02, start: 0.000000, bitrate: 1316 kb/s

Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1122 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc (default

)

Metadata:

handler_name : VideoHandler

Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 191 kb/s (default)
Metadata:

creation_time : 2014-06-22 20:34:15
handler_name : IsoMedia File Produced by Google, 5-11-2011

[New Thread 5136.0x148c]
[New Thread 5136.0xf9c]
[New Thread 5136.0x1750]
[New Thread 5136.0x45c]
[New Thread 5136.0xb00]
[New Thread 5136.0xb54]
[New Thread 5136.0x6d8]
[New Thread 5136.0xc28]
[New Thread 5136.0xaa8]
[New Thread 5136.0x1770]
[New Thread 5136.0x1724]
[New Thread 5136.0x7c4]
[New Thread 5136.0x11e8]
[New Thread 5136.0x1234]
[New Thread 5136.0xa4c]
[New Thread 5136.0x5f0]
[New Thread 5136.0x1480]
[New Thread 5136.0x13d8]
[New Thread 5136.0x6f0]
[New Thread 5136.0x1558]
[New Thread 5136.0x68c]
[New Thread 5136.0x16c8]
[New Thread 5136.0x2d8]
[New Thread 5136.0x3fc]
[New Thread 5136.0x64c]
[New Thread 5136.0x1518]
[New Thread 5136.0xb20]
[New Thread 5136.0x1070]
[New Thread 5136.0xe8]
[New Thread 5136.0x1284]
[New Thread 5136.0xe24]
[New Thread 5136.0x16a0]
[New Thread 5136.0xd74]
[New Thread 5136.0xea4]
[Thread 5136.0x6f0 exited with code 13430016]
[Thread 5136.0x2d8 exited with code 13430020]
[Thread 5136.0x68c exited with code 13430018]
[Thread 5136.0x1558 exited with code 13430017]
[Thread 5136.0x16c8 exited with code 13430019]
[Thread 5136.0x3fc exited with code 13430021]
[Thread 5136.0x64c exited with code 13430022]
[Thread 5136.0x1518 exited with code 13430023]
[New Thread 5136.0x438]
[New Thread 5136.0x166c]
[New Thread 5136.0x13c8]
[New Thread 5136.0x120c]
[New Thread 5136.0x1298]
[New Thread 5136.0x14b4]
[New Thread 5136.0xf5c]
[New Thread 5136.0x11cc]
[New Thread 5136.0x9c8]
[New Thread 5136.0x15e8]
[New Thread 5136.0x2d4]
[New Thread 5136.0x618]
[New Thread 5136.0x1474]
[New Thread 5136.0x1598]
[New Thread 5136.0x15e0]
[New Thread 5136.0x510]
[New Thread 5136.0x15a8]
Output #0, mp4, to 'output.mp4':

Metadata:

major_brand : mp42
minor_version : 0
compatible_brands: isommp42
encoder : Lavf56.40.101
Stream #0:0(und): Video: h264 (h264_qsv) ([33][0][0][0] / 0x0021), nv12, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 1000 kb/s, 24 fps, 12288 tbn, 24 tbc

(default)

Metadata:

handler_name : VideoHandler
encoder : Lavc56.56.101 h264_qsv

Stream #0:1(und): Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16, 128 kb/s (default)
Metadata:

creation_time : 2014-06-22 20:34:15
handler_name : IsoMedia File Produced by Google, 5-11-2011
encoder : Lavc56.56.101 libfdk_aac

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))

Press [q] to stop, ? for help
[New Thread 5136.0x14b8]
[New Thread 5136.0x1128].0 size= 585kB time=00:00:05.78 bitrate= 828.9kbits/s

Program received signal SIGINT, Interrupt.
[Switching to Thread 5136.0x1128]
0x00007ffea1623233 in RegLoadMUIStringA () from C:\WINDOWS\system32\KernelBase.dll

(gdb) bt
#0 0x00007ffea1623233 in RegLoadMUIStringA () from C:\WINDOWS\system32\KernelBase.dll
#1 0x00007ffea37d13d2 in KERNEL32BaseThreadInitThunk () from C:\WINDOWS\system32\kernel32.dll
#2 0x00007ffea4065444 in ntdllRtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#3 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0x7ffea1623213 to 0x7ffea1623253:

0x00007ffea1623213 <RegLoadMUIStringA+51699>: fs and $0x38,%al
0x00007ffea1623216 <RegLoadMUIStringA+51702>: add %cl,-0x73(%rax)
0x00007ffea1623219 <RegLoadMUIStringA+51705>: add $0xfff80422,%eax
0x00007ffea162321e <RegLoadMUIStringA+51710>: mov %rax,0x40(%rsp)
0x00007ffea1623223 <RegLoadMUIStringA+51715>: andl $0x0,0x48(%rsp)
0x00007ffea1623228 <RegLoadMUIStringA+51720>: lea 0x30(%rsp),%rcx
0x00007ffea162322d <RegLoadMUIStringA+51725>: callq *0x5643d(%rip) # 0x7ffea1679670

=> 0x00007ffea1623233 <RegLoadMUIStringA+51731>: nop

0x00007ffea1623234 <RegLoadMUIStringA+51732>: jmpq 0x7ffea160681c <KERNELBASEBemCreateContractFrom+33004>
0x00007ffea1623239 <RegLoadMUIStringA+51737>: nop
0x00007ffea162323a <RegLoadMUIStringA+51738>: nop
0x00007ffea162323b <RegLoadMUIStringA+51739>: nop
0x00007ffea162323c <RegLoadMUIStringA+51740>: lea 0x41cfd(%rip),%rcx # 0x7ffea1664f40
0x00007ffea1623243 <RegLoadMUIStringA+51747>: callq *0x55e87(%rip) # 0x7ffea16790d0
0x00007ffea1623249 <RegLoadMUIStringA+51753>: nop
0x00007ffea162324a <RegLoadMUIStringA+51754>: mov 0x28(%rsp),%esi
0x00007ffea162324e <RegLoadMUIStringA+51758>: test %esi,%esi
0x00007ffea1623250 <RegLoadMUIStringA+51760>: jne 0x7ffea1623265 <RegLoadMUIStringA+51781>
0x00007ffea1623252 <RegLoadMUIStringA+51762>: mov %gs:0x60,%rax

End of assembler dump.

(gdb) info all-registers
rax 0x7ffea406cc08 140731650329608
rbx 0x196cfe70 426573424
rcx 0x3cbb058 63680600
rdx 0x1070000 17235968
rsi 0x7ffea40a3965 140731650554213
rdi 0xc0000026 3221225510
rbp 0x0 0x0
rsp 0x196cfe40 0x196cfe40
r8 0x0 0
r9 0x7ffea4050000 140731650211840
r10 0x196cfad0 426572496
r11 0x7ffe8bca05a8 140731243693480
r12 0x0 0
r13 0x0 0
r14 0x0 0
r15 0x0 0
rip 0x7ffea1623233 0x7ffea1623233 <RegLoadMUIStringA+51731>
eflags 0x204 [ PF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0

---Type <return> to continue, or q <return> to quit---
st0 <invalid float value> (raw 0xbf180000000000000000)
st1 -nan(0x000000060) (raw 0xffff0000000000000060)
st2 -1.734723475947516e-018 (raw 0xbfc3ffffffffed6f40e7)
st3 0 (raw 0x000000007ffea406bff6)
st4 <invalid float value> (raw 0x00010000000000000048)
st5 0 (raw 0x00000000000000000000)
st6 -nan(0x000000070) (raw 0xffff0000000000000070)
st7 -4.8357032784585167e+024 (raw 0xc050ffffffffffffffff)
fctrl 0x27f 639
fstat 0x0 0
ftag 0x0 0
fiseg 0x0 0
fioff 0x1290bd40 311475520
foseg 0x0 0
fooff 0x48 72
fop 0x0 0
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x70, 0xc0, 0x6, 0xa4, 0xfe, 0x7f, 0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xc070, 0xa406, 0x7ffe, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xa406c070, 0x7ffe, 0x0, 0x0}, v2_int64 = {
0x7ffea406c070, 0x0}, uint128 = 0x000000000000000000007ffea406c070}

xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xa3, 0x8f, 0x6, 0xa4,

0xfe, 0x7f, 0x0, 0x0}, v8_int16 = {0x1, 0x0, 0x0, 0x0, 0x8fa3, 0xa406, 0x7ffe, 0x0}, v4_int32 = {0x1, 0x0, 0xa4068fa3, 0x7ffe}, v2_int64 = {
0x1, 0x7ffea4068fa3}, uint128 = 0x00007ffea4068fa30000000000000001}

xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0, 0xa0, 0xca, 0xff, 0xf5, 0x7f, 0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xa000, 0xffca, 0x7ff5, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xffcaa000, 0x7ff5, 0x0, 0x0}, v2_int64 = {


---Type <return> to continue, or q <return> to quit---

0x7ff5ffcaa000, 0x0}, uint128 = 0x000000000000000000007ff5ffcaa000}

xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm8 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm9 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm10 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm11 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm12 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm13 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm14 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

---Type <return> to continue, or q <return> to quit---

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

xmm15 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,

0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}

mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
(gdb)

Last edited 9 years ago by rmkimathi (previous) (diff)

comment:5 by Carl Eugen Hoyos, 9 years ago

Priority: normalimportant

The backtrace does not look useful as-is, you could try to recompile with --disable-optimizations --enable-debug=3

in reply to:  5 comment:6 by rmkimathi, 9 years ago

Replying to cehoyos:

The backtrace does not look useful as-is, you could try to recompile with --disable-optimizations --enable-debug=3

Hey cehoyos. I disabled libfmx and decided to use libx264 until qsv becomes stable. Thank you.

in reply to:  description ; comment:7 by IvUs, 9 years ago

Analyzed by developer: set
Cc: ivan.uskov@nablet.com added
Status: newopen

Replying to rmkimathi:

ffmpeg -report -i pills.mp4 -c:v h264_qsv -q 20 pills2.mp4

I can not to reproduce the issue I used VS2013 to compile ffmpeg for windows x64.
Could you please try build by link below with same command line at your side?
https://www.dropbox.com/s/1fnq5lgpi6sqccu/ffmpeg.exe.zip?dl=0

If it work correct, then issue locates in compilation settings.
Else issue is external (issue with intel driver, library, hardware etc).

in reply to:  7 ; comment:8 by rmkimathi, 9 years ago

Replying to IvUs:

Replying to rmkimathi:

ffmpeg -report -i pills.mp4 -c:v h264_qsv -q 20 pills2.mp4

I can not to reproduce the issue I used VS2013 to compile ffmpeg for windows x64.
Could you please try build by link below with same command line at your side?
https://www.dropbox.com/s/1fnq5lgpi6sqccu/ffmpeg.exe.zip?dl=0

If it work correct, then issue locates in compilation settings.
Else issue is external (issue with intel driver, library, hardware etc).

==================

I decided to stick with ffmpeg 2.7.2 which works very well with libmfx. h264_qsv on ffmpeg 2.8 and also git works on my Haswell intel core i7 PC but fails on my Ivy Bridge Core i5-3337U CPU @ 1.80GHz laptop. So I decided to stick with ffmpeg 2.7.2 which works on both machines. I also tested your build and same problem.

Last edited 9 years ago by rmkimathi (previous) (diff)

in reply to:  8 ; comment:9 by IvUs, 9 years ago

Replying to rmkimathi:

I decided to stick with ffmpeg 2.7.2 which works very well with libmfx. h264_qsv on ffmpeg 2.8 and also git works on my Haswell intel core i7 PC but fails on my Haswell core i5 laptop. So I decided to stick with ffmpeg 2.7.2 which works on both machines. I also tested your build and same problem.

Do you have latest intel display driver on laptop? If not, please try to update it first. If intel driver already latest, please try the way described in the https://trac.ffmpeg.org/ticket/4831 possible it is same issue.
Possible here same issue.
Thanks

in reply to:  9 comment:10 by rmkimathi, 9 years ago

Replying to IvUs:

Replying to rmkimathi:

I decided to stick with ffmpeg 2.7.2 which works very well with libmfx. h264_qsv on ffmpeg 2.8 and also git works on my Haswell intel core i7 PC but fails on my Ivy Bridge Core i5-3337U CPU @ 1.80GHz laptop. So I decided to stick with ffmpeg 2.7.2 which works on both machines. I also tested your build and same problem.

Do you have latest intel display driver on laptop? If not, please try to update it first. If intel driver already latest, please try the way described in the https://trac.ffmpeg.org/ticket/4831 possible it is same issue.
Possible here same issue.
Thanks

==================== =======================

I have tried ticket/4831 workaround without success ([h264_qsv @ 000000000410e5c0] Error initializing the encoder). A few clarifications on my system:

Intel Core i5 3427U
Ivy Bridge
Intel Core i5-3337U CPU @ 1.80GHz
HD Graphics 4000; Driver Version 10.18.10.4252
Windows 10 Pro 64-bit

Thanks!

Last edited 9 years ago by rmkimathi (previous) (diff)

comment:11 by Marth64, 2 months ago

Resolution: invalid
Status: openclosed

Closing due to inactivity >8 Years and also this OS is end of life now. Thank you.

Note: See TracTickets for help on using tickets.