Hot answers tagged

1

This may be due to image dimensions, which should be even. Try ffmpeg -loop 1 -i test.png -i test.mp3 -pix_fmt yuv420p -vf scale=iw:-2 -profile:v baseline -level 3.0 -shortest test.mp4


1

FFmpeg does not do any in-place editing or processing of files!! By specifying the output file the same as the input file, ffmpeg wipes the file clean and only the packets initially read into memory before the output token is acted upon gets encoded and written. You should always specify a output file different than the input. That said, this is how you ...



Only top voted, non community-wiki answers of a minimum length are eligible