AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Krita animation plugin9/6/2023 ![]() ![]() Open or create an animated Krita document.Through the application of filters (like timewarp for speed adjustments) or creation of custom services. It does a lot of the stuff that we want out of the box (frame-by-frame control, push and pull models, configurable frame rate,īuffer size and latency, support for many formats and drivers, etc.), and has a lot of flexibility to do basically anything that we can think of MLT was designed with audio-video synchronization in mind and, so far, seems to be a good fit for Krita. But it wasn't until a few weeks ago that we jumped back into animation audio and started looking into what KDenLive uses, MLT (Media Lovin' Toolkit). Last year, we spent a little time between projects researching alternatives to QMediaPlayer, including the QtMultimedia's lower-level interface options, In hindsight, QMediaPlayer was probably not the right tool for the job, so animation audio has not been very accurate or easy to work with. Resulted in a lot of showstopping problems with audio-video synchronization as well as pops and crackles due to audio buffer xruns. These high-level controls, coupled with a design where the change in animation frames was responsible for driving audio player state changes, Hitting play when we want playback to start, stop when we want it to stop, and seeking to the correct time in milliseconds. In the context of Krita, this meant that our ability to handle audio playback was limited to something akin to controlling a media player The QMediaPlayer supports loading a single audio file in a variety of formats, and gives basic high-level controls for playing, stopping, seeking, etc. This is an important feature for any workflow that involves syncing animation with dialogue or background music tracks. Up until now, Krita's animation system has used QtMultimedia's QMediaPlayer in an attempt to add audio to animation playback. This patch attempts to solve long-standing audio-video synchronization issues by replacing our old QtMultimedia based audio system with a new one that's based on the MLT Framework. ![]()
0 Comments
Read More
Leave a Reply. |