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

Raymond de Vries reedevee at gmail.com
Thu Nov 22 14:40:42 PST 2018


Hi,

That's not necessary, it is included in the vlc installers and installed 
in the sdk directory. Some versions don't contain it though so check 
different versions.

Cheers,
Raymond


On 11/22/2018 7:29 PM, Trajce Nikolov NICK wrote:
> Hi all,
>
> anyone has libVLC compiled for Windows and willing to share?
>
> Thanks a bunch!
>
> On Thu, Nov 22, 2018 at 11:15 AM Raymond de Vries <reedevee at gmail.com 
> <mailto:reedevee at gmail.com>> wrote:
>
>     Hi,
>
>     Reading the source code of the osgmovie example there is sample
>     code for using SDL or SDL2. Maybe that helps?
>
>     Cheers, good luck,
>     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
>>     <mailto: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>
>>
>>
>>     <#m_-2018913617241985491_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>>     _______________________________________________
>>     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
>
>     _______________________________________________
>     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
>
>
>
> -- 
> trajce nikolov nick
>
> _______________________________________________
> 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/81502903/attachment.html>


More information about the osg-users mailing list