This is beacause the h264 encoder needs even dimensions. Error initializing output stream 0:1 - Error while opening encoder for output stream #0:1 – maybe incorrect parameters such as bit_rate, rate, width or height” “ width ( or height) non divisible by 2 ( w x h). You could instruct FFMPEG to do the following: ffmpeg -i YOUR-AUDIO.aac -i YOUR-PICTURE.jpg -map 0:a -map 1:v output.mp4īut with the above instructions, you may encounter the following error: You may want to add an audio track onto a single picture so to create an h264 file, using the audio lenght as the total lenght.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |