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

Raymond de Vries reedevee at gmail.com
Wed Nov 21 23:52:19 PST 2018


Hi,

Also check this one: https://github.com/xarray/osgRecipes/wiki and then 
search for VLC. The VLC will play your audio too, and is synchronised. 
Not ready for spatial audio though...

Cheers, hth,
Raymond



On 11/21/2018 10:31 PM, Chris Hanson wrote:
> 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 <mailto: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
>     <mailto: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 
> <http://facebook.com/alphapixel> (775) 623-PIXL [7495]
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 
> 	Virus-free. www.avg.com 
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 
>
>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20181122/488547a7/attachment.html>


More information about the osg-users mailing list