Bits, not kbits
From your console output:
WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
Use 32k
, not just 32
.
Only stereo or mono is supported
The encoder adpcm_swf
ony supports mono or stereo, so add -ac 2
as an output option. The console output would have suggested this if you were using a recent ffmpeg
build.
Use -vframes 1
for single image outputs
Instead of -t 00:00:01 -r 1
use -vframes 1
.
A better encoder
Instead of using the encoders flv
and adpcm_swf
, I recommend libx264
and libmp3lame
:
ffmpeg -i input -vcodec libx264 -preset medium -crf 23 -acodec libmp3lame -ar 44100 -q:a 5 output.flv
-preset
– Controls the encoding speed to compression ratio. Use the slowest preset you have patience for: ultrafast,superfast, veryfast, faster, fast, medium, slow, slower, veryslow.-crf
– Constant Rate Factor. A lower value is a higher quality. Range is 0-51 for this encoder. 0 is lossless, 18 is roughly "visually lossless", 23 is default, and 51 is worst quality. Use the highest value that still gives an acceptable quality.-q:a
– Audio quality forlibmp3lame
. Range is 0-9 for this encoder. A lower value is a higher quality.