ffmpeg -f image2 -r 25 -i frame_%d.jpg -vcodec libx264 -vpre hq -crf 22 video.mp4
•-f defines the format
•-r defines the frame rate
•-i defines the input file/s ... %d specifies numbered files .. add 0's to specify padding
•-vcodec selects the video codec
•-vpre specifies use of a preset called hq
•-crf specifies a rate control method, used to define how the x264 stream is encoded
•video.mp4 is the output file
•-f defines the format
•-r defines the frame rate
•-i defines the input file/s ... %d specifies numbered files .. add 0's to specify padding
•-vcodec selects the video codec
•-vpre specifies use of a preset called hq
•-crf specifies a rate control method, used to define how the x264 stream is encoded
•video.mp4 is the output file
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货