google-code-export / ffmpegthumbnailer

Automatically exported from code.google.com/p/ffmpegthumbnailer
GNU General Public License v2.0
1 stars 1 forks source link

Enhancement: Using the program as thumbnailer for nautilus file manager #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
With a little modification, this program could directly be used as
thumbnailer for nautilus (wich I would prefer over totem-video-thumbnailer,
the current default), without any intermediate script.

However, nautilus does not specify an extension for the output file and
ffmpegthumbnailer does neither provide the means of specifying the format
at the command line nor can chose it automatically. 

What steps will reproduce the problem?
1. Call the program with an output filename that does not provide an extension.

What is the expected output? What do you see instead?
Expected result: A thumbnail, with the type chosen automatically or
according to a format specified as parameter.
Actual result: Error: basic_string::substr

What version of the product are you using? On what operating system?
ffmpefthumbnailer version: 1.5.4
OS: Linux, Ubuntu Karmic, 32bit.

Please provide any additional information below:
It might furthermore be helpful, if the name format of the input/output
parameter could be specified (URI vs. pure file name).

Original issue reported on code.google.com by stefan.g...@googlemail.com on 16 Dec 2009 at 7:52

GoogleCodeExporter commented 9 years ago
So you want an option to specify the type of the output image?

This can be done. I'll try to find some spare time.

Original comment by dirk.vdb on 16 Dec 2009 at 8:37

GoogleCodeExporter commented 9 years ago
I just committed a change to subversion

It adds a -c command line switch that specifies the type of the image (jpeg or 
png)

e.g:
ffmpegthumbnailer -i input.avi -o output -c png

I think this is what you need.

Original comment by dirk.vdb on 17 Dec 2009 at 12:28

GoogleCodeExporter commented 9 years ago

Original comment by dirk.vdb on 19 Dec 2009 at 9:00

GoogleCodeExporter commented 9 years ago
I'm running Ubuntu 9.10 ... any of you lads tried to embed this code in 
Nautilus?
Please tell me it's manageable!

Original comment by aca.blag...@gmail.com on 11 Feb 2010 at 9:46

GoogleCodeExporter commented 9 years ago
Read this:
http://code.google.com/p/ffmpegthumbnailer/wiki/Faq

Original comment by dirk.vdb on 11 Feb 2010 at 10:09

GoogleCodeExporter commented 9 years ago
I've tried that, but I don't get any thumbnails. ffmpegthumbnailer version 
1.5.4 is 
installed on my system. 

Original comment by aca.blag...@gmail.com on 12 Feb 2010 at 3:59

GoogleCodeExporter commented 9 years ago
Installed v.2.0 and still don't get any thumbnails... any ideas?

Original comment by aca.blag...@gmail.com on 12 Feb 2010 at 7:53

GoogleCodeExporter commented 9 years ago
what's the output of: ffmpegthumbnailer -v

Original comment by dirk.vdb on 13 Feb 2010 at 8:35

GoogleCodeExporter commented 9 years ago
ffmpegthumbnailer version: 2.0.0

Original comment by aca.blag...@gmail.com on 13 Feb 2010 at 7:29

GoogleCodeExporter commented 9 years ago
any ideas?!?

Original comment by aca.blag...@gmail.com on 19 Feb 2010 at 2:00

GoogleCodeExporter commented 9 years ago
/usr/bin/ffmpegthumbnailer -s 128 -i %i -o %o -c png -f -t 10

Run this command manually replacing %i and %o with valid paths and see what 
happens

Original comment by dirk.vdb on 19 Feb 2010 at 6:57