[osg-users] OsgMovie ffmpeg and audio (SDL2) - Audio seems to make video slower. Audio has hiccoughing

Andrea Martini martini.andrea at gmail.com
Tue Jun 12 00:04:58 PDT 2018

Hi Laurens,
sorry for my mistake. I attached the detailed snapshot of both rendering window (with stats) and CPUs usage.
Frame rate is good (60Hz), but i continue to get a bad audio and to get a video play slower. 
I would like to underline that if i play this video with a player like VLC, all works fine.
Another detail about osgmovie example with SDL2 (when i play a video stream .mp4 with audio) is the following:  i get a good quality for the first 3 or 4 seconds of video, and then i start to get audio hiccoughing and video slower.
I don't know if problem could be focused on some streaming buffer (audio and video) management.

Thank you!



i downloaded SDL2 from:  https://www.libsdl.org/download-2.0.php   
SDL2-devel-2.0.8-VC.zip (Visual C++ 32/64-bit)   I'm using 64bit version

About ffmpeg, i downloaded from: https://ffmpeg.zeranoe.com/builds/
version 4.0
Windows 64bit

Read this topic online here:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OsgMovieFFMPEG_SDL_details.jpg
Type: image/jpeg
Size: 234892 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180612/8f96b0d5/attachment-0001.jpg>

More information about the osg-users mailing list