ChinaFFmpeg

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 11565|回复: 1

[Windows] ffmpeg hevc Intel QSV GPU加速转码

[复制链接]
发表于 2016-5-30 17:11:45 | 显示全部楼层 |阅读模式
      使用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.
[file @ 0000000002953ec0] Setting default whitelist 'file,crypto'
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000029534c0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000029534c0] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000029534c0] Unknown dref type 0x08206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000029534c0] Unknown dref type 0x08206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000029534c0] Before avformat_find_stream_info() pos: 96463939 bytes read:1631025 seeks:1
[h264 @ 0000000002964dc0] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0000000002964dc0] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 0000000002964dc0] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 0000000002964dc0] nal_unit_type: 5, nal_ref_idc: 3
[h264 @ 0000000002964dc0] no picture
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000029534c0] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000029534c0] 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.
[file @ 000000000295c6e0] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 4 logical cores
[graph 0 input from stream 0:0 @ 0000000002956200] Setting 'video_size' to value '480x272'
[graph 0 input from stream 0:0 @ 0000000002956200] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0000000002956200] Setting 'time_base' to value '1/25000'
[graph 0 input from stream 0:0 @ 0000000002956200] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 0:0 @ 0000000002956200] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0000000002956200] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 0000000002956200] w:480 h:272 pixfmt:yuv420p tb:1/25000 fr:25/1 sar:0/1 sws_param:flags=2
[format @ 0000000002a3a4a0] compat: called with args=[nv12|qsv]
[format @ 0000000002a3a4a0] Setting 'pix_fmts' to value 'nv12|qsv'
[auto-inserted scaler 0 @ 0000000002956a00] Setting 'flags' to value 'bicubic'
[auto-inserted scaler 0 @ 0000000002956a00] w:iw h:ih flags:'bicubic' interl:0
[format @ 0000000002a3a4a0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 0000000000ed68c0] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed
[auto-inserted scaler 0 @ 0000000002956a00] w:480 h:272 fmt:yuv420p sar:0/1 -> w:480 h:272 fmt:nv12 sar:0/1 flags:0x4
[graph 1 input from stream 0:1 @ 0000000002b45080] Setting 'time_base' to value '1/48000'
[graph 1 input from stream 0:1 @ 0000000002b45080] Setting 'sample_rate' to value '48000'
[graph 1 input from stream 0:1 @ 0000000002b45080] Setting 'sample_fmt' to value 'fltp'
[graph 1 input from stream 0:1 @ 0000000002b45080] Setting 'channel_layout' to value '0x3'
[graph 1 input from stream 0:1 @ 0000000002b45080] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x3
[audio format for output stream 0:1 @ 0000000002b44c60] Setting 'sample_fmts' to value 'fltp'
[audio format for output stream 0:1 @ 0000000002b44c60] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
[AVFilterGraph @ 0000000002957bc0] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
[h264 @ 0000000002a29e40] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0000000002a29e40] nal_unit_type: 8, nal_ref_idc: 3
[hevc_qsv @ 0000000000ed9200] 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
[AVIOContext @ 0000000002a39d20] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 0000000000ed7840] Statistics: 1663793 bytes read, 2 seeks


谢谢各位

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复

使用道具 举报

 楼主| 发表于 2016-5-30 17:28:27 | 显示全部楼层
据说是不知道我CPU,只有六代CPU才支持,我的是intel core i5-5200U的CPU,求确认
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|Archiver|ChinaFFmpeg

GMT+8, 2024-12-27 13:45 , Processed in 0.053057 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表