Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support WebM thumbnailing #113

Closed
GoogleCodeExporter opened this issue Mar 15, 2015 · 17 comments
Closed

Support WebM thumbnailing #113

GoogleCodeExporter opened this issue Mar 15, 2015 · 17 comments

Comments

@GoogleCodeExporter
Copy link

Right now, WebM video files are not supported. Could you make this possible? 
Here is the command to do so:

http://stackoverflow.com/questions/7847193/ffmpeg-creating-thumbnail-from-webm-f
ormat-and-converting-webm-movie-to-flv-mo

Free formats are better. Since WebM is getting more popular, it's time to add 
to ffmpegthumbnailer :)

Original issue reported on code.google.com by computer...@gmail.com on 5 Jun 2014 at 9:28

@GoogleCodeExporter
Copy link
Author

Webm video works fine for me. Make sure your ffmpeg is compiled to support webm

Original comment by dirk.vdb on 6 Jun 2014 at 7:29

@GoogleCodeExporter
Copy link
Author

ffmpegthumbnailer -i test.webm -o test.png
outputs

"Not a native file, thumbnailing will likely fail"

Same with this:
ffmpegthumbnailer -i test.mp4 -o test.png
"Not a native file, thumbnailing will likely fail"

But MP4 is working in PCManFM and WebM is not. Am I using the right command 
line arguments? Or am I missing libraries? (libvpx 1.3.0 is installed)

WebM VP8 support (ffmpeg -codecs):
Decoding supported, Encoding supported, Video codec, Lossy compression

FFmpeg logs:
Codec support (ffmpeg -codecs): http://pastebin.com/HTPrheMS
Buildconfig (ffmpeg -buildconfig): http://pastebin.com/VmZzbwPf
ffprobe test.webm:
Input #0, matroska,webm, from 'test.webm':
  Metadata:
    encoder         : google
  Duration: 00:05:34.99, start: 0.000000, bitrate: 893 kb/s
    Stream #0:0(eng): Video: vp8, yuv420p, 640x360, SAR 1:1 DAR 16:9, 1k fps, 29.92 tbr, 1k tbn, 1k tbc (default)
    Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp (default)

Original comment by computer...@gmail.com on 7 Jun 2014 at 7:14

@GoogleCodeExporter
Copy link
Author

Can you provide me a link to a file that doesn't work?

Original comment by dirk.vdb on 7 Jun 2014 at 7:22

@GoogleCodeExporter
Copy link
Author

And please try with the latest version: 2.0.9

Original comment by dirk.vdb on 7 Jun 2014 at 7:26

@GoogleCodeExporter
Copy link
Author

The command from webm to png worked (using 2.0.8), but I didn't check the 
resulting png file at first because of the warning (I needed to press F5 to 
refresh, forgot to do that).

So thumbnailing both files worked. I installed PCManFM from git to no avail. I 
still wonder why it's not working. Do you think upgrading to ffmpegthumbnailer 
2.0.9 will resolve the issue?

Original comment by computer...@gmail.com on 7 Jun 2014 at 7:50

@GoogleCodeExporter
Copy link
Author

The warning you get is related to the gio path handling. Something was fixed 
there in the latest release.

Original comment by dirk.vdb on 7 Jun 2014 at 7:52

@GoogleCodeExporter
Copy link
Author

Hi again. I'm trying to compile 2.0.9, but the ./configure says at the end:

CONFIGURATION SUMMARY ----
png support          : disabled
jpeg support         : disabled
gio support          : disabled
register thumbnailer : disabled
unittests            : disabled
debug mode           : disabled

How can I enable GIO support?

Version 2.0.8 on Mint has the same issue as Manjaro Linux with Thunar (this 
time with Nemo, the forked Nautilus) being: MP4 works, WebM doesn't.

Original comment by computer...@gmail.com on 11 Jun 2014 at 4:07

@GoogleCodeExporter
Copy link
Author

use ./configure --enable-gio

You als need to install libpng-dev or libjpeg-dev

Original comment by dirk.vdb on 11 Jun 2014 at 4:36

@GoogleCodeExporter
Copy link
Author

The first three options are now "enabled". Make doesn't work, what's wrong here?
http://pastebin.com/WkYJ5dKu (I just entered make at cli)

Original comment by computer...@gmail.com on 11 Jun 2014 at 5:02

@GoogleCodeExporter
Copy link
Author

Latest ffmpegthumbnailer requires a more recent version of ffmpeg

Original comment by dirk.vdb on 28 Jun 2014 at 7:17

@GoogleCodeExporter
Copy link
Author

I have been able to compile ffmpegthumbnailer 2.0.9 on Manjaro Linux with 
ffmpeg 2.2.4, with GIO support, PNG support and JPEG support. The warning is 
fixed but the original problem still persists: WebM thumbnails are not 
displayed in PCManFM neither Thunar.

Original comment by computer...@gmail.com on 28 Jun 2014 at 4:43

@GoogleCodeExporter
Copy link
Author

If ffmpegthumbnailer works from the command line you probably didn't configure 
the thumbnailer correctly to work with your file browser.

Original comment by dirk.vdb on 30 Jun 2014 at 6:45

@GoogleCodeExporter
Copy link
Author

As suggested by PCMan (see [1]), adding video/webm to
https://code.google.com/p/ffmpegthumbnailer/source/browse/trunk/dist/ffmpegthumb
nailer.thumbnailer (which is located in 
/usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer) solves the issue: WebM 
thumbnailing now works in both PCManFM and Thunar with ffmpegthumbnailer 2.0.9.

Could you add video/webm to the ffmpegthumbnailer.thumbnailer source file? 
Thanks!

[1] http://sourceforge.net/p/pcmanfm/feature-requests/341/

Original comment by computer...@gmail.com on 1 Jul 2014 at 11:03

@GoogleCodeExporter
Copy link
Author

webm has been added to the thumbnailer file

Original comment by dirk.vdb on 1 Jul 2014 at 6:40

@GoogleCodeExporter
Copy link
Author

Original comment by dirk.vdb on 1 Jul 2014 at 6:42

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Just add "video/webm;" to the end of 
/usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer

Original comment by r...@ukr.net on 29 Jan 2015 at 3:52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant