<div>Robert:</div><div> Thank you very much for your kindly support. osgmovie has no problem, only my application has problem.</div><div>Daniel</div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b> "Robert Osfield";<robert.osfield@gmail.com>;</div><div><b>Date: </b> Thu, Feb 25, 2016 05:50 PM</div><div><b>To: </b> "OpenSceneGraph Users"<osg-users@lists.openscenegraph.org>; <wbr></div><div></div><div><b>Subject: </b> Re: [osg-users] exception occurs when play video without audio</div></div><div><br></div><div dir="ltr"><div><div><div>Hi Daniel,<br><br></div>When I run osgmovie in testing it's always from the console, testing with and without SDL for audio, so far I haven't had a problem like your describe. The interaction with the DISPLAY variable is a bit odd, perhaps SDL/Audio subsystem on your system is doing something odd.<br><br></div>FYI, I use Kubuntu for dev work, currently on 15.10.<br><br></div>Robert.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 25 February 2016 at 08:05, Dan Liu <span dir="ltr"><<a href="mailto:139250065@qq.com" target="_blank">139250065@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hello all:</div><div> When I write a program according to osgmovie example using OSG 3.4 and SDL2. It works fine when I run it under GUI windows. But if I run my program in ssh terminal, an exception occurs, and video stops on first frame. And the original osgmovie has no problem. Does anybody know the reason? Below is the output:</div><div><br></div><div>ffmpeg::open(/film/rio.mov) size(1920, 816) aspect ratio 1</div><div>Attaching FFmpegAudioStream</div><div>FFmpegAudioStream::setAudioSink( 0x9d7f80)</div><div>Assigning 0x9d7f80</div><div>GraphicsWindowX11::realizeImplementation() Already realized</div><div>ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused</div><div><br></div><div>FFmpegDecoderAudio::run : unhandled exception</div><div>Finished FFmpegImageStream::run()</div><div>FFmpegAudioStream::setAudioSink( 0)</div><div>Assigning 0</div><div>Calling avformat_close_input(0x8c1fe8)</div><div><br></div><div>With best regards</div><div>daniel</div><br>_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
<br></blockquote></div><br></div></div>