Hi,
J.P. Delport wrote:
Hi Robert,
if you compile newer ffmpeg without GPL functions, it still has its own
versions of the swscale functions implemented. You then just do not link
to the (maybe faster) GPL swscale library. I've tested this on Debian
and it worked for our app.
I'll send some references and code later.
See e.g. here:
http://lists.mplayerhq.hu/pipermail/libav-user/2008-November/001618.html
and
http://lists.mplayerhq.hu/pipermail/libav-user/2008-June/000683.html
jp
jp
Robert Osfield wrote:
HI Alejandro,
Which version of ffmpeg do you have installed?
As J.P. mentioned ffmpeg is a bit of moving target and were' only just
getting into learning about FFmpeg foibles. We'll probably need to
add version checking into our FindFFmpeg.cmake to avoid these issue.
Also migrating the code across from not using deprecated functions
will be a possible solution. Adopting use ffmpeg suggest use of
swscale isn't though as it's GPL'd, so we may have to create our own
local equivalents for colour conversion.
Robert.
On Sat, Feb 28, 2009 at 5:43 AM, Alejandro Aguilar Sierra
<[email protected]> wrote:
Hi,
I just updated both ffmpeg and osg/trunk, compiled and instaled ffmpeg
but osg can't compile because these errors:
[ 98%] Building CXX object
src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderVideo.o
/home/ale/src/osg/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp:
In member function 'void
osgFFmpeg::FFmpegDecoderVideo::publishFrame(double)':
/home/ale/src/osg/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp:228:
error: 'img_convert' was not declared in this scope
/home/ale/src/osg/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp:
In member function 'void
osgFFmpeg::FFmpegDecoderVideo::yuva420pToRgba(AVPicture*, const
AVPicture*, int, int)':
/home/ale/src/osg/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp:264:
error: 'img_convert' was not declared in this scope
make[2]: ***
[src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderVideo.o]
Error 1
make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all]
Error 2
make: *** [all] Error 2
Before updating ffmpeg, I got other ffmpeg related compilation errors.
Any hint?
My system is GNU/Linux 2.6.26-1-686 Debian Sid, gcc 4.3.1.
Regards,
-- A.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org