You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

FFmpeg使用vp9_cuvid解码VP9 4K HDR10视频转HEVC时丢失HDR10信息的问题求助

FFmpeg使用vp9_cuvid解码VP9 4K HDR10视频转HEVC时丢失HDR10信息的问题求助

大家好,我正在尝试编码一个4K VP9 HDR10视频,视频文件名为:(PS5) THE PACIFIC WAR 1943 | Realistic Immersive ULTRA Graphics Gameplay [4K 60FPS HDR] Call of Duty [kgppJX0G--E].webm

我用的FFmpeg命令如下:

ffmpeg \
  -vsync 0 \
  -hwaccel cuda \
  -hwaccel_output_format cuda \
  -c:v vp9_cuvid \
  -crop 276x276x0x0 \
  -i "(PS5) THE PACIFIC WAR 1943 | Realistic Immersive ULTRA Graphics Gameplay [4K 60FPS HDR] Call of Duty [kgppJX0G--E].webm" \
  -c:v hevc_nvenc \
  -preset slow \
  -rc vbr \
  -rc-lookahead 20 \
  -b:v 28M \
  -bufsize 5M \
  -maxrate 28M \
  -g 250 \
  -an \
  -sn \
  output_video.hevc

FFmpeg运行过程看起来正常,但是输出的HEVC视频没有保留HDR10信息(如果换成hevc_cuvid解码的话就不会有这个问题)。同时FFmpeg还抛出了以下错误:

Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scale_0'
[vf#0:0 @ 0x557dd530b600] Error reinitializing filters!
[vf#0:0 @ 0x557dd530b600] Task finished with error code: -38 (Function not implemented)
[vf#0:0 @ 0x557dd530b600] Terminating thread with return code -38 (Function not implemented)
[vost#0:0/hevc_nvenc @ 0x557dd5313700] Could not open encoder before EOF
[vost#0:0/hevc_nvenc @ 0x557dd5313700] Task finished with error code: -22 (Invalid argument)
[vost#0:0/hevc_nvenc @ 0x557dd5313700] Terminating thread with return code -22 (Invalid argument)
[out#0/matroska @ 0x557dd52a7000] Nothing was written into output file, because at least one of its streams received no packets.

有没有大佬能帮我看看这是哪里出问题了?怎么才能让输出的HEVC视频保留HDR10信息,同时解决这些报错呢?

备注:内容来源于stack exchange,提问作者membrillo

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.17 12:13:11