[osg-users] exception occurs when play video without audio
Robert Osfield
robert.osfield at gmail.com
Thu Feb 25 01:50:09 PST 2016
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 <139250065 at qq.com> 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
> 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/20160225/18ff35fc/attachment-0003.htm>
More information about the osg-users
mailing list