Forum Replies Created

  • Hey I want to create video from different png images (same size 1366*768) and 1 audio file. here is my command

    ffmpeg -i ‘ . $audio . ‘ -f image2 -loop 1 -r ‘ . $rate . ‘ -i uploads/%03d.png -shortest -c:a copy -c:v libx264 -qscale:v ‘. $qscale .’ -pix_fmt yuv420p -crf ‘. $crf .’ -preset slow uploads/’ . $title . ‘1.mp4

    but I face an error message

    Stream mapping:
    Stream #0:1 -> #0:0 (mjpeg (native) -> h264 (libx264))
    Stream #0:0 -> #0:1 (copy)
    Error while opening encoder for output stream #0:0 – maybe incorrect parameters such as bit_rate, rate, width or height

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy