You are not logged in.

#1 2013-02-08 03:01:04

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 353

[Solved] XFCE: How to get thumbnails for webm-files?

Hi there!

I'm trying to get thumbnails working for webm-videos in Thunar.

ffmpegthumbnailer is installed, for most videos I'm getting thumbnails, except webm.

ffmpegthumbnailer -i file.webm -o test_thumbnail.png

is also working correctly. I've tried to add "video/webm" to '/usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer', but that didn't work.


Any idea how to solve this?

Last edited by Thorsten Reinbold (2013-02-18 22:25:51)

Offline

#2 2013-02-11 21:56:49

megadriver
Member
From: Spain
Registered: 2010-02-03
Posts: 58
Website

Re: [Solved] XFCE: How to get thumbnails for webm-files?

It's a limitation of Tumbler. I just change the container from WebM to Matroska:

ffmpeg -i name-of-the-video.webm -acodec copy -vcodec copy name-of-the-video.mkv

The audio and video streams are copied, and not modified in any way, so it takes almost no time and there's no quality loss at all.

Offline

#3 2013-02-18 22:25:23

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 353

Re: [Solved] XFCE: How to get thumbnails for webm-files?

Thank you! That works perfectly!

Edit: here's a little script to do this for all files in a directory:

#!/bin/bash

for i in *.webm
do
ffmpeg -i "$i" -acodec copy -vcodec copy "${i%.webm}.mkv"
done

Last edited by Thorsten Reinbold (2013-02-18 22:43:33)

Offline

Board footer

Powered by FluxBB