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

Voerman, L. l.voerman at rug.nl
Tue Jun 12 06:27:51 PDT 2018

Hi Andrea,
The ffmpeg version I was using did not have this problem,
but after updating to ffmpeg-4.0 I could hear and see the problem as well.
I've tried ffmpeg versions 3.4.2 and 3.2 as well - still problems,
found a binary version of 3.0 here
<https://bitbucket.org/sage2/binaries/downloads/> (build 2016-02-08) - that
I don't have a build setup for ffmpeg yet, so I can't dig down to the
actual problem, but I hope finding a working version helps you along.


On Tue, Jun 12, 2018 at 9:04 AM, Andrea Martini <martini.andrea at gmail.com>

> 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!
> Cheers,
> Andrea
> PS:
> 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:
> http://forum.openscenegraph.org/viewtopic.php?p=74043#74043
> _______________________________________________
> 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/20180612/3f0bd0ad/attachment.html>

More information about the osg-users mailing list