我遇到了一些问题ffmpeg
。我只想降低视频比特率。我正在使用 Radeon 和 RadeonSI 开源模块来处理 HD 8370D。
我尝试了以下命令,但如果输入文件是,mkv
它不起作用。
ffmpeg -vaapi_device /dev/dri/renderD128 -i <inputfile> -vf 'format=nv12,hwupload' -c:v h264_vaapi <outfile>.mkv
使用 H.264 VA-API重新编码的正确命令是mkv
什么?mkv
ffmpeg
metallaro1980@linux-0zob:/run/media/metallaro1980/Volume/Nuova cartella (4)> ffmpeg -vaapi_device /dev/dri/renderD128 -i "Die Hard 2 -58 minuti per morire.H264.1080p.DTS.ITA.mkv" -vf 'format=nv12,hwupload' -c:v h264_vaapi prova.mkv
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'radeonsi'
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[h264_vaapi @ 0x933cc0] Encoding entrypoint not found (7 / 6).
Stream mapping:
Stream #0:1 -> #0:0 (h264 (native) -> h264 (h264_vaapi))
Stream #0:0 -> #0:1 (dts (dca) -> opus (libopus))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height