jjm2473 / ffmpeg-rk

支持rockchip mpp硬件加速编解码的ffmpeg版本。Forked ffmpeg that supports rkmpp decodeing, encoding and rga scaling
https://ffmpeg.org
Other
178 stars 31 forks source link

ffmpeg-rk does not support -vf "scale=-1:360" #15

Closed qiuxuewen closed 1 year ago

qiuxuewen commented 1 year ago

./ffmpeg.mpp -y -c:v h264_rkmpp -i "input.mp4" -c:v h264_rkmpp -vf "scale=-1:360,fps=10" -ar 16000 -ac 1 -b:v 300k out.mp4

Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scale_0' Error reinitializing filters! Failed to inject frame into filter network: Function not implemented

qiuxuewen commented 1 year ago

This cmd can work for me.

./ffmpeg.mpp -y -thread_queue_size 1024 -c:v h264_rkmpp -i input.mp4 -c:v h264_rkmpp -vf "scale_rga=-1:360,fps=10" -b:v 100k out.mp4