Hi Petr,

On 14 March 2014 13:49, Petr Svoboda <[email protected]> wrote:

> Ok, so what I did:
>
> downloaded older version of libav - Libav 9
> recompiled OSG and what is more important ffmpeg was born!
>
> There were some difficulties with static and dynamoc libraries, error
>
> > relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used
> when making a shared object; recompile with -fPIC
>
> solved with help of stackoverflow:
>
> http://stackoverflow.com/questions/13812185/how-to-recompile-with-fpic
> and
>
> http://stackoverflow.com/questions/1250608/passing-a-gcc-flag-through-makefile
> which solved the problem. Hope it could be usefull
>
>
> Now, there is another error
>
> >  FFmpegImageStream::open : avcodec_find_decoder() failed
>
> Does it mean that ffmpeg cant open that codec?
>
> It means the OSG's ffmpeg is using an API that has now been removed.  As I
said it's a moving ffmpeg target.  The best we can do is figure out how to
keeps things compiling against these changes to ffmpeg, with the proviso
that we still wish to compile with older rev's as well.  There is already
various optional code blocks in the ffmpeg to try and pull off this trick,
looks like we'll need some more.



> And of course, thank you for your help with compiling ffmpeg library


Why not just pull in ffmpeg from the Ubunutu repositories?  svn/trunk of
the OSG is compiling just fine with the ffmpeg from the Kubuntu 13.10
release that I'm using.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to