Hi Daniel, 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.
FYI, I use Kubuntu for dev work, currently on 15.10. Robert. On 25 February 2016 at 08:05, Dan Liu <[email protected]> wrote: > Hello all: > 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: > > ffmpeg::open(/film/rio.mov) size(1920, 816) aspect ratio 1 > Attaching FFmpegAudioStream > FFmpegAudioStream::setAudioSink( 0x9d7f80) > Assigning 0x9d7f80 > GraphicsWindowX11::realizeImplementation() Already realized > ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: > Connection refused > > FFmpegDecoderAudio::run : unhandled exception > Finished FFmpegImageStream::run() > FFmpegAudioStream::setAudioSink( 0) > Assigning 0 > Calling avformat_close_input(0x8c1fe8) > > With best regards > daniel > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

