Ubuntu 13.10
OSG 3.2.1-rc2 , built from source
system updated with
Code:
sudo apt-get update
ffmpegm as well pulled
Code:
sudo apt-get install ffmpeg
When I start application with OSG NOTIFY DEBUG, log is
Code:
FindFileInPath() : USING /usr/local/lib64/osgPlugins-3.2.1/osgdb_ffmpeg.so
Opened DynamicLibrary osgPlugins-3.2.1/osgdb_ffmpeg.so
ReaderWriterFFmpeg::readImage external/videos/a.mp4
Constructing PixelBufferObject for image=0x1159420
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'external/videos/a.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.63.104
Duration: 00:00:52.96, start: 0.000000, bitrate: 762 kb/s
Stream #0.0(und): Video: h264 (High), yuv420p, 768x432 [PAR 1:1 DAR 16:9],
641 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 112 kb/s
Destructing FFmpegImageStream...
Have done quit
Destructing FFmpegDecoderVideo...
Destructed FFmpegDecoderVideo
Calling avformat_close_input(0x1159878)
Destructed FFMpegImageStream.
BufferObject::releaseGLObjects(0)
You really just wrote
Code:
sudo apt-get install openscenegraph
sudo apt-get install ffmpeg
and it all worked?
robertosfield wrote:
> HI Peter,
>
> On 23 March 2014 20:54, Petr Svoboda < ()> wrote:
>
> > I recently updated to 13.10 ( Ubuntu ).
> > ffmpeg compiles fine as osgPlugin, but the same error occurs ->
> > FFmpegImageStream::open : avcodec_find_decoder() failed
> >
> > Could you specify how exactly should I compile that plugin to make it work,
> > please?
> > What to reinstall, download, delete....
> >
>
>
> I am using the svn/trunk version of the OSG, the OSG-3.2 branch should work
> too as it has been updated to work as well. All I did to pull in ffmpeg was
> to pull in to from the 13.10 repositories.
>
>
> Which version of the OSG are you using right now? OSG-3.2.0 and previous
> releases built against older versions of ffmpeg (it worked with the versions
> that were current at the time of the OSG releases) but as ffmpeg has changed
> since they no longer compile with later revs of ffmpeg.
>
>
> Robert.
>
> ------------------
> Post generated by Mail2Forum
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=58713#58713
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org