Ng Oon-Ee
December 26th, 2008, 08:14 PM
Hi all,
I'm looking for a way to get ffmpeg installed with all supported video formats, including the proprietary formats not installed in the stripped version in the official Ubuntu repos.
My constraints are that I need to have libhighgui-dev (and the other OpenCV packages) installed for my work as a student, developing vision algorithms. These depend on libavcodec-dev, among others. Which depends on libavcodec, the stripped version. Which nerfs my ffmpeg to the point that it won't convert much of anything at all.
I'd previously compiled ffmpeg from source, following this great guide (http://ubuntuforums.org/showthread.php?t=786095) by FakeOutdoorsman. Unfortunately it then conflicts with the OpenCV packages, in terms of some packages, specifically:-
/usr/lib/pkgconfig/libavutil.pc
/usr/lib/pkgconfig/libavcodec.pc
/usr/lib/pkgconfig/libavformat.pc
So, I'm trying to see what I can do to get my unstripped ffmpeg and developmental opencv side-by-side. Here's my ideas so far:-
1. Compile ffmpeg in such a way as to provide libavcodec-dev et. al. Am not sure if this is possible, or how to do it, help welcome.
2. Extract a stand-alone ffmpeg executable, does it still depend on other packages to be installed in my system? That is, can I copy the binary out and use it without other packages? Or a folder, for example.
3. Download OpenCV's source and add it to my 'includes' when compiling, I haven't been able to get this to work though, not sure what else I have to do besides linking to the directory itself.
Anyone got any ideas on this topic? Help very much appreciated.
I'm looking for a way to get ffmpeg installed with all supported video formats, including the proprietary formats not installed in the stripped version in the official Ubuntu repos.
My constraints are that I need to have libhighgui-dev (and the other OpenCV packages) installed for my work as a student, developing vision algorithms. These depend on libavcodec-dev, among others. Which depends on libavcodec, the stripped version. Which nerfs my ffmpeg to the point that it won't convert much of anything at all.
I'd previously compiled ffmpeg from source, following this great guide (http://ubuntuforums.org/showthread.php?t=786095) by FakeOutdoorsman. Unfortunately it then conflicts with the OpenCV packages, in terms of some packages, specifically:-
/usr/lib/pkgconfig/libavutil.pc
/usr/lib/pkgconfig/libavcodec.pc
/usr/lib/pkgconfig/libavformat.pc
So, I'm trying to see what I can do to get my unstripped ffmpeg and developmental opencv side-by-side. Here's my ideas so far:-
1. Compile ffmpeg in such a way as to provide libavcodec-dev et. al. Am not sure if this is possible, or how to do it, help welcome.
2. Extract a stand-alone ffmpeg executable, does it still depend on other packages to be installed in my system? That is, can I copy the binary out and use it without other packages? Or a folder, for example.
3. Download OpenCV's source and add it to my 'includes' when compiling, I haven't been able to get this to work though, not sure what else I have to do besides linking to the directory itself.
Anyone got any ideas on this topic? Help very much appreciated.