开发者

Is it possible to Create sample movie ( mini movie) with ffmpeg?

Is it possible to create a mini movie ( if i have a movie which is 1 hour - i want 3 seconds o开发者_Go百科f it) with ffmpeg ?

How do i do it ?


This command will copy the first 3 seconds of input.avi to output.avi.

ffmpeg -ss 0 -t 3 -i input.avi -codec copy output.avi

This will stream copy (re-mux), so no encoding is occurring.

If you want to re-encode then remove -codec copy:

ffmpeg -ss 0 -t 3 -i input.avi output.flv
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜