learn_ffmpeg 发表于 2016-5-30 17:11:45

ffmpeg hevc Intel QSV GPU加速转码

      使用Intel QSV加速转码hevc文件,总是提示如下图的错误:





-repor文件如下:
ffmpeg started on 2016-05-30 at 17:06:20
Report written to "ffmpeg-20160530-170620.log"
Command line:
ffmpeg -report -i "F:\\\xca\xd3\xc6\xb5\\\xc7\xe5\xcb\xae\xba\xd3\xb1\xdf\\output1.mp4" -c:v hevc_qsv iGPU.mp4
ffmpeg version N-79889-g9486de5 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil      55. 24.100 / 55. 24.100
libavcodec   57. 40.100 / 57. 40.100
libavformat    57. 36.100 / 57. 36.100
libavdevice    57.0.101 / 57.0.101
libavfilter   6. 45.100 /6. 45.100
libswscale      4.1.100 /4.1.100
libswresample   2.0.101 /2.0.101
libpostproc    54.0.100 / 54.0.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 'F:\视频\清水河边\output1.mp4'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'hevc_qsv'.
Reading option 'iGPU.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 F:\视频\清水河边\output1.mp4.
Successfully parsed a group of options.
Opening an input file: F:\视频\清水河边\output1.mp4.
Setting default whitelist 'file,crypto'
Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
ISO: File Type Major Brand: isom
Unknown dref type 0x08206c7275 size 12
Unknown dref type 0x08206c7275 size 12
Before avformat_find_stream_info() pos: 96463939 bytes read:1631025 seeks:1
nal_unit_type: 7, nal_ref_idc: 3
nal_unit_type: 8, nal_ref_idc: 3
nal_unit_type: 6, nal_ref_idc: 0
nal_unit_type: 5, nal_ref_idc: 3
no picture
All info found
After avformat_find_stream_info() pos: 6309 bytes read:1663793 seeks:2 frames:4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'F:\视频\清水河边\output1.mp4':
Metadata:
    major_brand   : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.36.100
Duration: 00:45:02.78, start: 0.000000, bitrate: 285 kb/s
    Stream #0:0(und), 3, 1/25000: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x272, 248 kb/s, 25 fps, 25 tbr, 25k tbn (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und), 1, 1/48000: Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 32 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Successfully opened the file.
Parsing a group of options: output file iGPU.mp4.
Applying option c:v (codec name) with argument hevc_qsv.
Successfully parsed a group of options.
Opening an output file: iGPU.mp4.
Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 4 logical cores
Setting 'video_size' to value '480x272'
Setting 'pix_fmt' to value '0'
Setting 'time_base' to value '1/25000'
Setting 'pixel_aspect' to value '0/1'
Setting 'sws_param' to value 'flags=2'
Setting 'frame_rate' to value '25/1'
w:480 h:272 pixfmt:yuv420p tb:1/25000 fr:25/1 sar:0/1 sws_param:flags=2
compat: called with args=
Setting 'pix_fmts' to value 'nv12|qsv'
Setting 'flags' to value 'bicubic'
w:iw h:ih flags:'bicubic' interl:0
auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
query_formats: 4 queried, 2 merged, 1 already done, 0 delayed
w:480 h:272 fmt:yuv420p sar:0/1 -> w:480 h:272 fmt:nv12 sar:0/1 flags:0x4
Setting 'time_base' to value '1/48000'
Setting 'sample_rate' to value '48000'
Setting 'sample_fmt' to value 'fltp'
Setting 'channel_layout' to value '0x3'
tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x3
Setting 'sample_fmts' to value 'fltp'
Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
nal_unit_type: 7, nal_ref_idc: 3
nal_unit_type: 8, nal_ref_idc: 3
Could not load the requested plugin: 2fca99749fdb49aeb121a5b63ef568f7
Output #0, mp4, to 'iGPU.mp4':
Metadata:
    major_brand   : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.36.100
    Stream #0:0(und), 0, 0/0: Unknown: none (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc57.40.100 hevc_qsv
    Stream #0:1(und), 0, 0/0: Unknown: none (default)
    Metadata:
      handler_name    : SoundHandler
      encoder         : Lavc57.40.100 aac
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_qsv))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Statistics: 0 seeks, 0 writeouts
Statistics: 1663793 bytes read, 2 seeks


谢谢各位

learn_ffmpeg 发表于 2016-5-30 17:28:27

据说是不知道我CPU,只有六代CPU才支持,我的是intel core i5-5200U的CPU,求确认
页: [1]
查看完整版本: ffmpeg hevc Intel QSV GPU加速转码