Yalir / sfeMovie

sfeMovie is a simple C++ library that lets you play movies in SFML based applications. It relies on FFmpeg to read medias and remains consistent with SFML's naming conventions.
http://sfemovie.yalir.org/
GNU Lesser General Public License v2.1
114 stars 37 forks source link

Desynchronized audio and video with OGV format #13

Closed Ceylo closed 12 years ago

Ceylo commented 13 years ago

This desynchronization actually looks to happen because there are black empty frames at the beginning of the tested movie, and these emtpy frames don't get decoded by FFmpeg. Thus the whole movie gets desynchronized (the playback speed is fine).

Question posted the FFmpeg's mailing list to properly handle these frames.

Ceylo commented 13 years ago

The issue had actually already been reported to the FFmpeg development team (a bit more than one month ago), but still no answer : https://roundup.libav.org/issue2669

Thus this bug clearly depends on FFmpeg's implementation.

Ceylo commented 12 years ago

This bug does not seem to be still present in the current sfeMovie. The "buggy" OGV movie now plays fine (related to updated version of FFmpeg).