<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    Reading the source code of the osgmovie example there is sample code
    for using SDL or SDL2. Maybe that helps?<br>
    <br>
    Cheers, good luck,<br>
    Raymond<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/21/2018 10:31 PM, Chris Hanson
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGoufmae=o-r0C54120B2NV1b_yEKdBCE=Wifc9NM2bwU+abJg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">Refer to Mattias Helsing's answer here:
          <div><a
              href="http://forum.openscenegraph.org/viewtopic.php?t=9707"
              moz-do-not-send="true">http://forum.openscenegraph.org/viewtopic.php?t=9707</a><br>
          </div>
          <div><br>
          </div>
          <div>You need an audio subsystem like osgAudio or even SDL to
            output the audio to.</div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Wed, Nov 21, 2018 at 10:16 PM Trajce Nikolov
          NICK <<a href="mailto:trajce.nikolov.nick@gmail.com"
            moz-do-not-send="true">trajce.nikolov.nick@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div dir="ltr">
            <div dir="ltr">Hi Community,
              <div><br>
              </div>
              <div>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!</div>
              <div><br>
              </div>
              <div>Here is the ouput</div>
              <div><br>
              </div>
              <div>
                <div>osgmovie VID00032.mpg.ffmpeg</div>
                <div>void StateSet::setGlobalDefaults() ShaderPipeline
                  disabled.</div>
                <div>ffmpeg::open(VID00032.mpg) size(720, 480) aspect
                  ratio 1.18519</div>
                <div>Attaching FFmpegAudioStream</div>
                <div>image->s()720 image-t()=480 aspectRatio=1.18519</div>
                <div>void StateSet::setGlobalDefaults() ShaderPipeline
                  disabled.</div>
                <div><br>
                </div>
                -- <br>
                <div dir="ltr"
                  class="m_7007677581619585312gmail_signature">trajce
                  nikolov nick<br>
                </div>
              </div>
            </div>
          </div>
          _______________________________________________<br>
          osg-users mailing list<br>
          <a href="mailto:osg-users@lists.openscenegraph.org"
            target="_blank" moz-do-not-send="true">osg-users@lists.openscenegraph.org</a><br>
          <a
href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr" class="gmail_signature"
        data-smartmail="gmail_signature">
        <div dir="ltr">
          <div>
            <div dir="ltr">
              <div dir="ltr">
                <div style="text-align:center">Chris 'Xenon' Hanson, omo
                  sanza lettere. <a class="moz-txt-link-abbreviated" href="mailto:Xenon@AlphaPixel.com">Xenon@AlphaPixel.com</a> <a
                    href="http://www.alphapixel.com/" target="_blank"
                    moz-do-not-send="true">http://www.alphapixel.com/</a></div>
                <div style="text-align:center">Training • Consulting •
                  Contracting</div>
                <div style="text-align:center">3D • Scene Graphs (Open
                  Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
                  GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL</div>
                <div style="text-align:center"><span
                    style="font-size:12.8000001907349px">Legal/IP •</span><span
                    style="font-size:12.8000001907349px"> </span><span
                    style="font-size:12.8000001907349px">Forensics •</span><span
                    style="font-size:12.8000001907349px"> </span>Imaging <span
                    style="font-size:12.8px">•</span><span
                    style="font-size:12.8px"> </span><span
                    style="font-size:12.8px">UAVs </span><span
                    style="font-size:12.8px">• GIS • GPS •
                    osgEarth • Terrain • Telemetry • Cryptography •
                    LIDAR • Embedded • Mobile • iPhone/iPad/iOS •
                    Android</span></div>
                <div style="text-align:center"><a
                    href="https://twitter.com/alphapixel"
                    target="_blank" moz-do-not-send="true">@alphapixel</a>
                  <a href="http://facebook.com/alphapixel"
                    target="_blank" moz-do-not-send="true">facebook.com/alphapixel</a> (775)
                  623-PIXL [7495]<br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
        <table style="border-top: 1px solid #D3D4DE;">
          <tbody>
            <tr>
              <td style="width: 55px; padding-top: 13px;"><a
href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
                  target="_blank" moz-do-not-send="true"><img
src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png"
                    alt="" style="width: 46px; height: 29px;"
                    moz-do-not-send="true" width="46" height="29"></a></td>
              <td style="width: 470px; padding-top: 12px; color:
                #41424e; font-size: 13px; font-family: Arial, Helvetica,
                sans-serif; line-height: 18px;">Virus-free. <a
href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
                  target="_blank" style="color: #4453ea;"
                  moz-do-not-send="true">www.avg.com</a> </td>
            </tr>
          </tbody>
        </table>
        <a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1"
          height="1" moz-do-not-send="true"> </a></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
osg-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>