LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   getting ffmpeg (http://www.linuxquestions.org/questions/fedora-35/getting-ffmpeg-586447/)

Four 09-21-2007 07:54 PM

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.

David the H. 09-22-2007 02:30 PM

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.

osor 09-22-2007 02:42 PM

Quote:

Originally Posted by Four (Post 2899692)
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 (Post 2899692)
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 (Post 2899692)
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).


All times are GMT -5. The time now is 11:12 PM.