Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

前端 未结 4 1776
旧巷少年郎
旧巷少年郎 2021-02-05 13:09

I am using this command to convert an avi,mov,m4v video files to flv format via FFMPEG

/usr/local/bin/ffmpeg -i \'/home/public_html/files/video_1355440448.m4v\'          


        
4条回答
  •  渐次进展
    2021-02-05 13:45

    I had a similar problem due to size constraints. The original image size was strange (width=1343), meaning that when I tried to specify a new size with -s, any rounding error caused problems. Make sure that the new image size can have the exact same aspect ratio!

提交回复
热议问题