[osg-users] playing videos with audio channels with the ffmpeg plugin

Chris Hanson xenon at alphapixel.com
Wed Nov 21 13:31:30 PST 2018


Refer to Mattias Helsing's answer here:
http://forum.openscenegraph.org/viewtopic.php?t=9707

You need an audio subsystem like osgAudio or even SDL to output the audio
to.

On Wed, Nov 21, 2018 at 10:16 PM Trajce Nikolov NICK <
trajce.nikolov.nick at gmail.com> wrote:

> Hi Community,
>
> I have video with audio and when I playback the file with osgmovie I see
> in the debug the audio channel is attached but can not hear anything :-).
> Is there any magic, perheps to set the audio device somehow? Thank you for
> any hint!
>
> Here is the ouput
>
> osgmovie VID00032.mpg.ffmpeg
> void StateSet::setGlobalDefaults() ShaderPipeline disabled.
> ffmpeg::open(VID00032.mpg) size(720, 480) aspect ratio 1.18519
> Attaching FFmpegAudioStream
> image->s()720 image-t()=480 aspectRatio=1.18519
> void StateSet::setGlobalDefaults() ShaderPipeline disabled.
>
> --
> trajce nikolov nick
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


-- 
Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging • UAVs • GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android
@alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
623-PIXL [7495]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20181121/a7fe7149/attachment.html>


More information about the osg-users mailing list