Results 1 to 8 of 8
-
9th Jul 2010, 10:39 AM #1OPMember
[linux] Create video thumbnails for all video in a specific folder
Need totem installed
- Copy the following script and save it as videothumb.sh
PHP Code:#!/bin/bash
for video in "$1"/*.avi;
do
file=${video##*/}
wext=${file%%.*}
totem-video-thumbnailer -g 18 -s 200 "$video" "$wext".png
done
for video in "$1"/*.mpg;
do
file=${video##*/}
wext=${file%%.*}
totem-video-thumbnailer -g 18 -s 200 "$video" "$wext".png
done
for video in "$1"/*.mpeg;
do
file=${video##*/}
wext=${file%%.*}
totem-video-thumbnailer -g 18 -s 200 "$video" "$wext".png
done
- Make it executable
Code:chmod +x videothumb.sh
Code:videothumb.sh <folder>
Snell Reviewed by Snell on . [linux] Create video thumbnails for all video in a specific folder Need totem installed - Copy the following script and save it as videothumb.sh #!/bin/bash for video in "$1"/*.avi; do file=${video##*/} wext=${file%%.*} Rating: 5
-
9th Jul 2010, 10:49 AM #2Member
don't we need to install totem-video-thumbnailer first?
-
9th Jul 2010, 11:02 AM #3OPMember
Install just totem (which is normally installed by default)
-
9th Jul 2010, 11:41 AM #4MemberWebsite's:
wscripts.net damnlolscript.com lulzjet.comthanks, but this is only for avi, mpg and mpeg?
also, can i save it as jpeg?
-
9th Jul 2010, 11:56 AM #5OPMember
If you want to add other video extension
add the following code at the end and replace mpeg with your desired video extension (it must be supported by totem)
PHP Code:for video in "$1"/*.mpeg;
do
file=${video##*/}
wext=${file%%.*}
totem-video-thumbnailer -g 18 -s 200 "$video" "$wext".png
done
by changing all png throughout the script by jpeg or jpg
-----
If you want to reduce the file size, change 200 (which is the width of each thumbnail) and 18 (which is the number of thumbnail to be taken) to a lower value
-
15th Jul 2010, 10:56 PM #6Member
thanks man im sure i will try this
-
24th Jul 2010, 05:03 AM #7MemberWebsite's:
google.comany tools similar like this for windows server 2008 ?
-
26th Jul 2010, 08:33 AM #8Banned
google movie thumbnailer
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
11 tips to create a video blog that brings!
By errabbaa in forum Webmasters, Money MakingReplies: 1Last Post: 4th Sep 2012, 01:22 AM -
how to create video thumbnails in ubuntu
By asprilla in forum Tutorials and GuidesReplies: 3Last Post: 20th Apr 2012, 04:16 PM -
Create thumbnail of a video stored in a server?
By Sukitha in forum Technical Help Desk SupportReplies: 2Last Post: 16th Jul 2011, 10:11 AM -
How to Convert HD Video Between HD Video and General Video
By shockwavekunal51 in forum General DiscussionReplies: 0Last Post: 14th Jan 2011, 05:02 AM -
[Hiring] a guy know how to create pop-up page video
By warezme in forum Completed TransactionsReplies: 1Last Post: 7th Oct 2010, 03:37 PM
themaManager - edit and manage...
Version 4.04 released. Open older version (or...