[osg-users] exception occurs when play video without audio
Dan Liu
139250065 at qq.com
Thu Feb 25 00:05:59 PST 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160225/a1ff26ac/attachment-0002.htm>
More information about the osg-users
mailing list