LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-27-2009, 12:42 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908
Blog Entries: 26

Rep: Reputation: 49
thumbnail for video files


Hello,
I am using openSUSE 10.3.I play my video files using mplayer which I installed from tarball & necessary codecs.I can play my video files from command line nicely.Only one problem there are no thumbnail of any video file.Does anybody which software should I install so that thumbnail appear for video file in my nautilus file browser.The default player for GNOME desktop environment is totem which require internet connection to play file while my computer has no internet connection that is why I don't do anything with totem as it always says particular codec needed to play any audio or video file.
 
Old 02-27-2009, 12:56 AM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Thumbnails are created by totem. If you don't want/need totem, you can install ffmpegthumbnailer as an alternative; it works well but does not seem capable of handling all the formats that totem can.
 
Old 03-04-2009, 12:21 AM   #3
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
to jay73,
I unzipped the ffmpeg-checkout-snapshot.tar.bz2 in /home/lxuser then did ./configure,make & make install and no errors occured.

When I ./configure for ffmpegthumbnailer then following error occurs

checking for FFMPEG... no
configure: error: +Could not find ffmpeg. Please update PKG_CONFIG_PATH to point at location of ffmpeg pkgconfig files directory.

when I run ffmpeg i get following output
FFmpeg version SVN-r17747, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration:
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
built on Mar 3 2009 22:17:16, gcc: 4.2.1 (SUSE Linux)
At least one output file must be specified

So what Should I do?
 
Old 03-04-2009, 01:48 AM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Try running export PKG_CONFIG_PATH=path_to_ffmpeg_pkgconfig before ./configure (you'll need to determine the exact path yourself, I cannot help you there).

Last edited by jay73; 03-04-2009 at 01:49 AM.
 
Old 03-06-2009, 12:02 AM   #5
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
As mentioned before I had extracted ffmpeg tarball in directory /home/lxuser/.
so configure file is present in /home/lxuser/ffmpeg-checkout-2009-03-03
then I ran
export PKG_CONFIG=/home/lxuser/ffmpeg-checkout-2009-03-03
echo $PKG_CONFIG --to verify
./configure still gave this error

checking pkg-config is at least version 0.9.0... ./configure: line 15989: /home/lxuser/ffmpeg-checkout-2009-03-03: is a directory
no
checking for FFMPEG... configure: error: +Could not find ffmpeg. Please update PKG_CONFIG_PATH to point at location of ffmpeg pkgconfig files directory.

Where I am going wrong?

Last edited by sumeet inani; 03-06-2009 at 12:03 AM.
 
Old 03-06-2009, 12:45 AM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Pkg_config_path

Edit: the above needs to be all uppercase; for some reason uppercase gets converted to lowercase when my message is submitted. ????

Last edited by jay73; 03-06-2009 at 12:49 AM.
 
Old 03-16-2009, 11:43 PM   #7
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
AS YOU HAVE SAID i DID
linux-goap:/home/lxuser/ffmpegthumbnailer-1.3.0 #export PKG_CONFIG_PATH="/home/lxuser/ffmpeg-checkout-2009-03-03"
linux-goap:/home/lxuser/ffmpegthumbnailer-1.3.0 # echo $PKG_CONFIG_PATH
STILL NOW
./configure of ffmpegthumbnailer gave following error
/home/lxuser/ffmpeg-checkout-2009-03-03
checking for FFMPEG... no
configure: error: +Could not find ffmpeg. Please update PKG_CONFIG_PATH to point at location of ffmpeg pkgconfig files directory.
QUESTION
I have given the path of folder where I unzipped the tarball.
I also tried export PKG_CONFIG_PATH="/usr/local/bin".Still error remains.

Last edited by sumeet inani; 03-17-2009 at 11:06 PM.
 
Old 03-23-2009, 01:22 AM   #8
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
Asking everybody

I am using openSUSE 10.3.
I have extracted ffmpeg tarball in /home/lxuser/ffmpeg-0.5/ directory and installed it successfully.
here is the error I get when I run "./configure" for ffmpegthumbnailer

checking for FFMPEG... no
configure: error: +Could not find ffmpeg. Please update PKG_CONFIG_PATH to point at location of ffmpeg pkgconfig files directory.
QUESTION
What should I give in PKG_CONFIG_PATH for thumbnailer.
NOTE
(1)I have tried export PKG_CONFIG_PATH=/home/lxuser/ffmpeg-0.5
(2)I have tried export PKG_CONFIG_PATH=$PATH

Last edited by sumeet inani; 04-03-2009 at 07:17 AM.
 
Old 04-03-2009, 07:21 AM   #9
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
I am asking the above question again titled 'asking everybody'.
PLEASE somebody give an answer.
 
Old 04-03-2009, 08:13 AM   #10
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Check /usr/lib and /usr/local/lib to find out whether a pc file was created during compilation.
 
Old 04-23-2009, 01:04 AM   #11
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
/usr/lib & /usr/local/lib contain lot of .pc files but none of them start with ff
The folder in which ffmpeg tarball was extracted has
/home/lxuser/ffmpeg-checkout-2009-03-03/libavcodec/libavcodec.pc
/home/lxuser/ffmpeg-checkout-2009-03-03/libavcodec/libavcodec-uninstalled.pc
/home/lxuser/ffmpeg-checkout-2009-03-03/libavformat/libavformat.pc
/home/lxuser/ffmpeg-checkout-2009-03-03/libavformat/libavformat-uninstalled.pc
/home/lxuser/ffmpeg-checkout-2009-03-03/libavfilter/libavfilter-uninstalled.pc
/home/lxuser/ffmpeg-checkout-2009-03-03/libavfilter/libavfilter.pc
/home/lxuser/ffmpeg-checkout-2009-03-03/libswscale/libswscale.pc
/home/lxuser/ffmpeg-checkout-2009-03-03/libswscale/libswscale-uninstalled.pc
/home/lxuser/ffmpeg-checkout-2009-03-03/libavutil/libavutil-uninstalled.pc
/home/lxuser/ffmpeg-checkout-2009-03-03/libavutil/libavutil.pc
/home/lxuser/ffmpeg-checkout-2009-03-03/libavdevice/libavdevice.pc
/home/lxuser/ffmpeg-checkout-2009-03-03/libavdevice/libavdevice-uninstalled.pc
/home/lxuser/ffmpeg-checkout-2009-03-03/libpostproc/libpostproc.pc
/home/lxuser/ffmpeg-checkout-2009-03-03/libpostproc/libpostproc-uninstalled.pc
So I gave following command
export PKG_CONFIG_PATH=/home/lxuser/ffmpeg-checkout-2009-03-03/libavcodec:/home/lxuser/ffmpeg-checkout-2009-03-03/libavformat:/home/lxuser/ffmpeg-checkout-2009-03-03/libavfilter:/home/lxuser/ffmpeg-checkout-2009-03-03/libavutil:/home/lxuser/ffmpeg-checkout-2009-03-03/libswscale:/home/lxuser/ffmpeg-checkout-2009-03-03/libavdevice:/home/lxuser/ffmpeg-checkout-2009-03-03/libpostproc
Then make './configure' gave no error but 'make' gave following error
moviedecoder.cpp:28:28: error: ffmpeg/swscale.h: No such file or directory
moviedecoder.cpp: In member function ‘void MovieDecoder::convertAndScaleFrame(int, int, bool, int&, int&)’:
moviedecoder.cpp:306: error: ‘SwsContext’ was not declared in this scope
moviedecoder.cpp:306: error: ‘scaleContext’ was not declared in this scope
moviedecoder.cpp:308: error: ‘SWS_BICUBIC’ was not declared in this scope
moviedecoder.cpp:308: error: ‘sws_getContext’ was not declared in this scope
moviedecoder.cpp:320: error: ‘sws_scale’ was not declared in this scope
moviedecoder.cpp:321: error: ‘sws_freeContext’ was not declared in this scope
make[2]: *** [moviedecoder.lo] Error 1
make[2]: Leaving directory `/home/lxuser/ffmpegthumbnailer-1.3.0/src/libffmpegthumbnailer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lxuser/ffmpegthumbnailer-1.3.0/src'
make: *** [all-recursive] Error 1
 
Old 04-23-2009, 12:44 PM   #12
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Is that a brand new version of ffmpeg you downloaded. Looking at the error messages, I get the impression that it is a coding issue.
 
Old 04-25-2009, 01:07 AM   #13
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
Asking everybody

ASKING EVERYBODY
Can anybody tell me the version of ffmpegthumbnailer which you have installed & had no problem also tell the value of variable PKG_CONFIG_PATH alongwith the version of ffmpeg you installed.
 
Old 04-25-2009, 01:16 AM   #14
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Just a thought, did you enabled preview in nautilus ?
 
Old 04-26-2009, 08:12 AM   #15
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
Actually
I have installed ffmpeg successfully but there is no file called ffmpeg.pc but there are few .pc files in extracted tarball so I gave them in PKG_CONFIG_PATH and './configure' reported no errors but make gave errors told above.

Last edited by sumeet inani; 03-30-2010 at 03:56 AM.
 
  


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
thumbnail swift2008 Programming 1 07-18-2008 08:13 AM
no thumbnail preview... bonito SUSE / openSUSE 5 06-19-2007 10:29 AM
a strange problem when converting video files to dvd-compatable files d00bid00b Slackware 0 12-01-2006 11:43 AM
ftp video files - cron job extracts video info & posts to web page? muskiediver Linux - General 6 11-23-2006 08:41 AM
Thumbnail Creator lapthorn Linux - Software 2 06-11-2004 08:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration