ffmpegthumbnailer怎么不起作用,生成不了视频缩略图

Totem,mplayer,sopcast,realplayer,bmp
回复
头像
mcjoeng
帖子: 48
注册时间: 2012-09-19 8:33
系统: openSUSE 13.2

ffmpegthumbnailer怎么不起作用,生成不了视频缩略图

#1

帖子 mcjoeng » 2014-11-20 11:41

系统:ubuntu14.04 64bit

因为totem生成不了某些1080P的影片的缩略图,所以删除了totem,然后安装了ffmpegthumbnailer。清除之前totem生成的缓存之后,打开nautilus根本看不到影片的缩略图。这是怎么回事?

图片
头像
duguyipiao
帖子: 158
注册时间: 2011-09-13 10:31

Re: ffmpegthumbnailer怎么不起作用,生成不了视频缩略图

#2

帖子 duguyipiao » 2014-11-20 15:06

Follow the following steps, you will be able to use ffmpegthumbnailer as the default video thumbnailer engine. See also here.

1. Install ffmpegthumbnailer

代码: 全选

sudo apt-get install ffmpegthumbnailer
2. Backup the totem-thumbaniler

代码: 全选

cd /usr/share/thumbnailers/

sudo cp totem.thumbnailer toem.thumbnailer.old
3. Replace the first two lines of the totem.thumbnailer with the following code.

代码: 全选

TryExec=/usr/bin/ffmpegthumbnailer
Exec=/usr/bin/ffmpegthumbnailer -s %s -i %i -o %o -c png -f
4. Restart your nautilus with

代码: 全选

nautilus -q
OK, now you can enjoy the fast speed of ffmpegthumbnailer. Also, you can remove your totem without video thumbnailer disabled.
头像
mcjoeng
帖子: 48
注册时间: 2012-09-19 8:33
系统: openSUSE 13.2

Re: ffmpegthumbnailer怎么不起作用,生成不了视频缩略图

#3

帖子 mcjoeng » 2014-11-20 15:42

TryExec=/usr/bin/ffmpegthumbnailer
Exec=/usr/bin/ffmpegthumbnailer -s %s -i %i -o %o -c png -f
it works.thx
回复