[osg-users] exception occurs when play video without audio
Dan Liu
139250065 at qq.com
Thu Feb 25 01:52:24 PST 2016
Robert:
Thank you very much for your kindly support. osgmovie has no problem, only my application has problem.
Daniel
------------------ Original ------------------
From: "Robert Osfield";<robert.osfield at gmail.com>;
Date: Thu, Feb 25, 2016 05:50 PM
To: "OpenSceneGraph Users"<osg-users at lists.openscenegraph.org>;
Subject: Re: [osg-users] exception occurs when play video without audio
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/cc2edb39/attachment-0003.htm>
More information about the osg-users
mailing list