LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 10-13-2009, 03:14 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 881
Blog Entries: 26

Rep: Reputation: 47
no thumbnail for flv file though present for mpg,avi & mp4 files


I have ubuntu 9.04x64 edition.i have installed gstreamer0.10-plugins-bad,gstreamer0.10-plugins-ugly,gstreamer0.10-ffmpeg so all video & audio files are played by totem.But why there is no thumbnail for flv files though in nautilus preview I have set always & file size upto 4GB.
 
Old 10-19-2009, 04:11 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,475

Rep: Reputation: 87
The player that is making the thumbnails for you does not have the necessary .flv codec.

You might need to transcode the .flv's into something more universal to your system before you'll see them as thumbnails in your application.
 
Old 10-27-2009, 03:18 AM   #3
sumeet inani
Member
 
Registered: Oct 2008
Posts: 881
Blog Entries: 26

Original Poster
Rep: Reputation: 47
I know that linux OS play oga(audio) & ogv(video) by default.Also show their preview.I want to ask 'Is there a way so that I can see thumbnail for flv file in my file manager'
 
Old 12-15-2009, 04:43 AM   #4
sumeet inani
Member
 
Registered: Oct 2008
Posts: 881
Blog Entries: 26

Original Poster
Rep: Reputation: 47
i am using ubuntu 9.04.
So I installed ffmpegthumbnailer.
In order to verify its working I ran
$ffmpegthumbnailer -i ed.flv -o ed.png
It worked & gave 128x72 png image.
I read from http://code.google.com/p/ffmpegthumbnailer/wiki/Faq about using ffmpegthumbnailer.
so i ran gconf-editor
and edited desktop/gnome/thumbnailers/video@x-flv
and edited value of string 'command' to "/usr/bin/ffmpegthumbnailer -s %s -i %i -o %o -c png -f -t 10"(without double quotes).
Still thumbnail not visible.
Can anybody suggest ?

Last edited by sumeet inani; 12-18-2009 at 09:07 AM.
 
Old 12-19-2009, 06:15 AM   #5
sumeet inani
Member
 
Registered: Oct 2008
Posts: 881
Blog Entries: 26

Original Poster
Rep: Reputation: 47
Here is the soluton

I FOUND OUT SOLUTION
For all GNOME users who use nautilus but no thumbnail for .flv files.
I had installed ffmpegthumbnailer (version:1.3.0-1) using
#apt-get install ffmpegthumbnailer

For flv video.Run
$gconf-editor
Edit string of /desktop/gnome/thumbnailers/video@x-flv/command to
"/usr/bin/ffmpegthumbnailer -s %s -i %i -o %o -f -t 25"(without double quotes).
I have noticed that avi files are supported by gnome-video-thumbnailer so ffmpegthumbnailer was not used in ubuntu 9.04 64bit edition no matter whatever I try.

i reached the developer who replied(so nice of him) to use ffmpegthumbnailer 1.5.6 on ubuntu 9.10 and consult http://code.google.com/p/ffmpegthumbnailer/wiki/Faq.

NOTE:string I have mentioned above is slightly different(but worked well) than mentioned on wiki.

if you find this post useful than thank me by pressing thumbs up button.ThankYou.

Last edited by sumeet inani; 12-19-2009 at 06:19 AM.
 
Old 12-23-2009, 03:32 AM   #6
sumeet inani
Member
 
Registered: Oct 2008
Posts: 881
Blog Entries: 26

Original Poster
Rep: Reputation: 47
I have a question
For some video files I found out their thumbnail images in ~/.thumbnails/normal then replaced those images with what I like & now I have nice images for thumbnails .I know that whenever thumbnail cache will be cleared then thumbnails will be regenerated.

I think there should be a file which contains list of video files & corresponding thumb png.Can I edit that so that the names of thumbnail images are simple unlike 'd4e97b3134d584ead60ce5f42f3c4703.png'
 
Old 05-07-2010, 04:14 AM   #7
mysterCoCo
LQ Newbie
 
Registered: May 2010
Location: France - Luxembourg
Distribution: Ubuntu Lucid Lynx And Karmic
Posts: 1

Rep: Reputation: 0
Lightbulb

Hi,

there is an easier solution.

You only have to install the totem codec and refresh thumbnails.

Code:
sudo apt-get install gstreamer0.10-ffmpeg
find ~/.thumbnails/ -name "*.png" -exec rm -f {} \;
And then everything goes right...
 
Old 05-07-2010, 04:53 AM   #8
sumeet inani
Member
 
Registered: Oct 2008
Posts: 881
Blog Entries: 26

Original Poster
Rep: Reputation: 47
Actually I am running ubuntu 8.04-GNOME (regularly updated) but totem in this could not play flv files (also no thumbnails by nautilus though ffmpegthumbnailer helps) I got from youtube giving internal data stream error (maybe due to latest h264,aac encoding).
Mplayer , ffplay from medibuntu also did not but those compiled from tarball did.
Option I had was to upgrade totem (changing repository brought inconsistency in library) or ubuntu (I will keep hardy till april 2011 or more).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash script to convert .mpg files to .avi files? Mike_Snyder Linux - Newbie 5 09-19-2009 01:33 PM
FFMPEG: AVI to FLV file size question vital_101 Linux - Software 0 08-05-2009 10:46 AM
is there a way to stream avi, mpg files tuxulin Linux - Desktop 5 08-21-2008 03:31 PM
Conversion of mpg,avi,mov,wmv formats to flv manu82 Linux - Software 6 07-30-2008 04:31 AM
What you use to convert .avi/.mpg to .mp4 in linux? ishuaia Linux - Software 1 10-24-2007 06:07 PM


All times are GMT -5. The time now is 04:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration