Am 26.01.2021 um 01:09 schrieb owen s:
I am running this command
ffmpeg-git -y \
-vaapi_device /dev/dri/renderD128 \
-framerate 60 -i ./image.jpg \
-stream_loop -1 -i ./audio.mp3 \
-map 0:v \
-c:v h264_vaapi \
-vf
'crop=2560:1440:0:0,format=nv12|vaapi,hwupload,loop=loop=-1:size=1:start=0,hwdownload,format=yuv420p'
\
-rc_mode 2 -b:v 20M \
-c:v libx264 \
-map 1:a \
-c:a libfdk_aac -b:a 128k -ar 44100 -ac 2 \
-af "dynaudnorm=f=150:g=15" \
-f flv /dev/null
the encoding speed is very fast, typically 1.78x
frame=2512127 fps=107 q=0.0 size=56457493kB time=11:37:47.36
bitrate=11046.8kbits/s speed=1.79x
Is there any way to limit this speed to a standard 1x?
You could try the -re option. The documentation says it's not suitable
for all types of input streams. I'm not sure if it works with your input.
Michael
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".