image-video editing with ffmpeg on Ubuntu

Posted kaiming

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了image-video editing with ffmpeg on Ubuntu相关的知识,希望对你有一定的参考价值。

* trim videos
package: ffmpeg
OS: ubuntu 16.04


> ffmpeg -i movie.mp4 -ss 00:00:03 -t0 00:00:08 -strict -2 cut.mp4
- start at 3s, and ends at 8s

https://stackoverflow.com/questions/18444194/cutting-the-videos-based-on-start-and-end-time-using-ffmpeg

 

* image2video
package:  avconv

syntax:

#+BEGIN_SRC Python
avconv [global options] [[infile options][‘-i’ infile]]... {[outfile options] outfile}
#+END_SRC
e.g.

#+BEGIN_SRC
avconv -r 10 -start_number 8 -i filename_%d.png -b:v 1000k test.mp4

avconv -i v_%d.png -b:v 1000k velocity.mp4
#+END_SRC
- i :: input file
- b :: bitrate

https://libav.org/avconv.html
https://stackoverflow.com/questions/16315192/avconv-make-a-video-from-a-subset-on-images

 

以上是关于image-video editing with ffmpeg on Ubuntu的主要内容,如果未能解决你的问题,请参考以下文章

.py文件右键添加Edit with IDLE

Getting.Started.with.Unity.2018.3rd.Edition

Minimum Edit Distance with Dynamic Programming

[React] Preview and edit a component live with React Live

Damerau–Levenshtein distance (Edit Distance with Transposition) c 实现

Win10系统右键添加edit with Sublime Text 3的方式