1
skybr 2014-08-23 16:56:44 +08:00 1
subprocess ffmpeg/libav
|
2
binux 2014-08-23 16:58:58 +08:00 1
ffmpeg -ss 00:00:14 -i 1.mp4 -frames:v 1 out1.jpg
|
4
binux 2014-08-23 17:06:10 +08:00 1
ffmpeg -ss 00:00:14 -i 1.mp4 -frames:v 1 -
|
7
skybr 2014-08-23 21:03:00 +08:00 1
|
14
ooh 2014-08-23 21:14:56 +08:00
@aheadlead data:image/gif;base64,R0lGODlhAwADAIABAL6+vv///yH5BAEAAAEALAAAAAADAAMAAAIDjA9WADs=
|
15
ruoyu0088 2014-08-23 21:16:04 +08:00 1
|
16
zeayes 2014-08-23 23:59:33 +08:00
|
17
liberize 2014-08-24 01:25:48 +08:00 via Android
OpenCV 貌似不容易定位,而且支持的格式有限。用 subprocess + ffmpeg,如果不想保存成文件,可以参考这篇文章: http://zulko.github.io/blog/2013/09/27/read-and-write-video-frames-in-python-using-ffmpeg/
|