ffmpeg command from User Guide gives an error
See original GitHub issueWhen I run ffmpeg -r 20 -b 1800 -i bloch_%01d.png bloch.mp4
from the User Guide’s Generating Images for Animation
section I get the following error:
Option b (video bitrate (please use -b:v)) cannot be applied to input url %04d.png -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
Error parsing options for input file bloch_%01d.png.
Error opening input files: Invalid argument
What works for me instead is this:
ffmpeg -r 20 -i bloch_%01d.png -pix_fmt yuv420p bloch.mp4
Note: personally I print files as zeropadded 4-digit number, so I have %04d.png instead of bloch_%01d.png.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Errors - FFmpeg Wiki
This message can occur when the -map option is used to reference an input that does not exist. For example, if you have...
Read more >FFMPEG command suddenly gives error? - audio - Super User
Below is my command for FFMPEG to batch merge audio files with an image. ... All of a sudden, it gives me the...
Read more >ffmpeg command gives error when used in python
1 Answer 1 ... Got the error. The input file contains timestamps each one on a new line so it was taking the...
Read more >20+ FFmpeg Commands For Beginners - OSTechNix
In this guide, I will be explaining how to use FFmpeg multimedia framework to do various audio, video transcoding and conversion operations with...
Read more >Using FFmpeg with NVIDIA GPU Hardware Acceleration
1. Use -vsync 0 option with decode to prevent FFmpeg from creating output YUV with duplicate and extra frames. 2. Msys2 gives errors...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@WingCode Apologies for the lack of label. UnitaryHack label added.
@WingCode please go on!