Hi Petr,

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

> I downloaded latest libav, make, make instal etc..
>

Which version of ffmpeg were you trying to compile against?  ffmpeg keeps
changing it's API, we do try to keep up but it's a moving goal post.

The ffmpeg version I'm compiling against is pulled from the Kubuntu 13.10
repostory:

$ pkg-config --modversion libavdevice
55.5.100



> Then I just re-run building osgPlugins and ffmpeg started building and
> crashed with some errors
>
> Code:
> OpenSceneGraph-3.2.1-rc2/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: In
> function 'int osgFFmpeg::decode_audio(AVCodecContext*, int16_t*, int*,
> const uint8_t*, int)':
> OpenSceneGraph-3.2.1-rc2/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:33:72:
> error: 'avcodec_decode_audio3' was not declared in this scope
>
>
> and some more..
>
> this is just ridiculous
>

It truly ridiculous that problems aren't all trivial to solve.

In reality, being a good programmer is about being patient, inquisitive and
perceiving when things don't go right straight away.



> Ok, is there any other plugin similar to ffmpeg? I give up  :D


Depends which platform you are working on.  Under Windows there is
directshow plugin and under OSX there is a quicktime, avfoundation and
QTKit plugin that all try to provide some for of video (OSX's API are under
just much flux as ffmpegs!)

By contrast the image plugins that we really upon have long had stable
API's and cause very few problems.  Video by contrast is a bit of mess,
with patents as well as API's making life more difficult.

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

Reply via email to