LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-21-2007, 06:54 PM   #1
Four
Member
 
Registered: Aug 2005
Posts: 298

Rep: Reputation: 30
getting ffmpeg


Hey,

I read a tutorial some where on how to get mplayer so I followed the instructions and all worked fine. Then I thought I want to make a video of the screen, I learned ffmpeg could do this so I did

yum install ffmpeg

One of the dependencies is xvidcore 1.1.3. In the tutorial I installed xvidcore 1.1.3. Not part of the tutorial was to put sources in /usr/local/src. But I did that just incase I will come back and do "make uninstall" or recompile with already set things from ./configure.

I have installed xvidcore 1.1.3 in /usr/local, but yum say's its going to install xvidcore before ffmpeg.

What should I do?

Maby some info on what I'm doing may help as I'm learning how to do the following:

My friend has shown me some video's he made that teach how to install a webserver, configure MySQL for web related purposes. One of the things I want to learn this is to make a video to teach C/C++ and how to use tools as a video. So I looked for recording the screen and found tools to use like ImageMagick package and related.

According to what I have learned is to use bash; but I like Perl script more so I have a perl scripting capturing a window. It also would be nice to capture the mouse cursor to so I can "Point" things out.

Thank you.
 
Old 09-22-2007, 01:30 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
So the problem is that you compiled a library from source, but your package manager wants to install a different version because it's a dependency of ffmpeg. This is common problem with mixed source/package systems.

Well, first of all, why not just remove your source compile and let yum use its pre-packaged version? Unless you have some special reason for using your own compilation, there should be nothing wrong with using yum's version.

But if you do need it, then there must be a way around it. Unfortunately I don't know how to do it on rpm-based systems. With apt you can create and install dummy packages for solving dependencies. There's probably a similar system with rpm/yum. Check your documentation.

Finally, there's an easier way to handle source compiles. Instead of running 'make install' at the end, get and use 'checkinstall' instead. Checkinstall will wrap your compile up in a package (rpm in your case), and let you install, manage, and uninstall it in the same way as any other package. I don't know if it will satisfy your dependency problems here, but at the very least it helps synchronize source and package management.
 
Old 09-22-2007, 01:42 PM   #3
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by Four View Post
Then I thought I want to make a video of the screen, I learned ffmpeg could do this so I did

yum install ffmpeg
First off, many distro-builds of ffmpeg do not enable the so-called x11grab format. You are better off building it yourself. You might also try other so-called “screencasting” programs (search the web for “linux screencast”). Note that ffmpeg’s x11grab format is pretty much based on code from xvidcap.
Quote:
Originally Posted by Four View Post
One of the dependencies is xvidcore 1.1.3. In the tutorial I installed xvidcore 1.1.3. Not part of the tutorial was to put sources in /usr/local/src. But I did that just incase I will come back and do "make uninstall" or recompile with already set things from ./configure.

I have installed xvidcore 1.1.3 in /usr/local, but yum say's its going to install xvidcore before ffmpeg.

What should I do?
See the comments by David regarding compiling from source and package-manager dependencies.
Quote:
Originally Posted by Four View Post
It also would be nice to capture the mouse cursor to so I can "Point" things out.
While ImageMagick may not capture the pointer, there are countless other screencasting programs (including xvidcap/ffmpeg which will).
 
  


Reply



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
ffmpeg Polanski Linux - Software 4 07-14-2007 09:58 AM
ffmpeg urgido Fedora 1 12-03-2006 11:38 PM
ffmpeg hgnoel1980 Debian 0 07-12-2006 07:36 AM
ffmpeg Polanski Linux - Software 9 05-10-2006 01:52 PM
ffmpeg Polanski Linux - Software 0 07-25-2005 10:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:23 PM.

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