tps wrote:
Dear All
I have compiled svn-version of ffmpeg. I only do configure and make. I do not do make install because I don't want this svn-version of ffmpeg to overwrite the 'official' Ubuntu version of ffpeg that is also on the host.
What path is the Ubuntu-installed version at? ('which ffmpeg' should tell you.)
Most likely, the Ubuntu-installed version will be at /usr/bin/ffmpeg or similar. By default, the SVN version should install to /usr/local/bin/ffmpeg; it should therefore not overwrite the official version.
Now I want to compile my own version of ffplay.c so I create a directory ffplay at the same level as the svn ffmpeg-directory.
I copy ffplay.c from ffmpeg to ffplay.
Now what gcc options should I use to compile ffplay.c?
As you've seen by looking at the output of make, it can get quite complicated. The most straightforward way to do it would be to just copy the entire FFmpeg source tree, make whatever changes you want to the source, and compile the result with 'make'.
-- The Wanderer
This Ubuntu specific compilation guide may be useful and installs to /usr/local/bin/ffmpeg as The Wanderer has already mentioned: http://ubuntuforums.org/showthread.php?t=786095 Note that you will need libsdl1.2-dev as described under "Optional Dependencies". You will also need to alter the checkinstall line, changing the pkgname for example, or skip checkinstall, as this guide is configured to "replace" the repository FFmpeg to prevent package management issues.