converter - ffmpeg PNG - MP4 - Error opening input files: invalid argument -


i following along visualization project converting png files in mp4.

the change code on example time stamp starts 1.

 ffmpeg -r 20 -b 20m -i example%01d.png output.mp4 

and returns

 ffmpeg version n-53055-g7b43120 copyright (c) 2000-2013 ffmpeg developers built on may 14 2013 20:43:53 llvm-gcc 4.2.1 (llvm build 2336.11.00) configuration: --disable-yasm libavutil      52. 31.100 / 52. 31.100 libavcodec     55.  9.100 / 55.  9.100 libavformat    55.  7.100 / 55.  7.100 libavdevice    55.  0.100 / 55.  0.100 libavfilter     3. 67.100 /  3. 67.100 libswscale      2.  3.100 /  2.  3.100 libswresample   0. 17.102 /  0. 17.102 **option b (video bitrate (please use -b:v)) cannot applied input file example%01d.png -- trying apply input option output file or vice versa. move option before file belongs to. error parsing options input file example%01d.png. error opening input files: invalid argument** 

if @ terminal output says ffmpeg parameters wrong, because passing incorrect parameter input file. bitrate parameter must applied output file, since encoding using bitrate. moving right position trick.

i tested out, works:

ffmpeg -r 20 -i example%01d.png -b:v 20m output.mp4


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -