Page 1 of 1

How to generate thumbnails from video?

Posted: 19 Oct 2010 20:39
by user2009
I've found this link
http://wiki.videolan.org/How_to_create_thumbnails
but it's very confuse. I've follow the instructions and I get "The command line options couldn't be loaded, check that they are valid."
:?:

"C:\Program files\VideoLAN\VLC\vlc.exe" vlc -"C:\Documents and Settings\username\Desktop" --start-time 0 --stop-time 1 --image-out-format jpg --image-out-ratio 24 --image-out-prefix snap "C:\Documents and Settings\username\Desktop\filename.flv" vlc://quit


Is there a easier way?

I have Media Player Classic, but it won't open flv files. It would be great if VLC could do that.

Re: How to generate thumbnails from video?

Posted: 20 Oct 2010 04:16
by Slump
I used this command to create the thumbnails
vlc dvd://e:\@2 --video-filter=scene --scene-format=png --scene-ratio=24 --start-time=0 --stop-time=1 --scene-path="temp_folder" vlc://quit

You can also use --scene-width or --scene-height to set the size of the thumbnail.
And VLC is able to play FLV...

Re: How to generate thumbnails from video?

Posted: 21 Oct 2010 01:01
by user2009
But where do I put the file name in this code?

I did it this way:
"C:\Program files\VideoLAN\VLC\vlc.exe" @2 --video-filter=scene --scene-format=png --scene-ratio=24 --start-time=0 --stop-time=1 --scene-path="C:\Documents and Settings\username\Desktop" vlc://quit

and I got
No suitable decoder module:
VLC does not support the audio or video format "undf". Unfortunately there is no way for you to fix this.

Re: How to generate thumbnails from video?

Posted: 22 Oct 2010 19:00
by Slump
You should replace the "@2" in your command with the file name.
In my case I use "dvd://e:\@2" because I want to create thumbnails from the DVD.
My DVD drive is E, and I want to extract chapter 2 only.

Re: How to generate thumbnails from video?

Posted: 22 Oct 2010 22:21
by user2009
Thanks. Just one more question. I thought VLC could create thumbnails in a single file just like MPC. Can it?


This code,
"C:\Program Files\VideoLAN\VLC\vlc.exe" "F:\Documents and Settings\username\My documents\Videos\filename.flv" --video-filter=scene --scene-format=png --scene-ratio=24 --start-time=0 --stop-time=5 --scene-path="C:\Documents and Settings\username\Desktop" vlc://quit

creates several files.