Encoding a readable movie by QuickTime using FFMPEG

前端 未结 2 462
清酒与你
清酒与你 2020-11-27 15:04

I\'m trying to encode an image sequence using the following command:

ffmpeg.exe -i %d.png -f mp4 -vcodec h264 test.mp4

However, QuickTime f

相关标签:
2条回答
  • 2020-11-27 15:32

    Try to change the pixel format: -pix_fmt yuv420p

    0 讨论(0)
  • 2020-11-27 15:42

    I was also making a video using a sequence of png files as input. What I found out is that Quicktime Player 7 will play my mp4 files just fine at any frame rate. Quicktime Player 10 will display a green window with some blockiness if the rate "-r" value is under 9. I can still have an input rate that is below the played rate by specifying the values like this:

    ffmpeg -r inputRate -i %d.png -qscale 1 -r 9 output.mp4
    

    Note: I used ffmpeg 0.5.

    0 讨论(0)
提交回复
热议问题