When I render animations into MP4, the video doesn't play no matter what I open it with. The example video for rendering in Krita's release notes also doesn't play for me. I'm on Windows 10. FFmpeg version: 3.2.2 (Got it from https://ffmpeg.zeranoe.com/builds/ suggested in Krita's render documentation) Gif rendering works fine, and ogg also works. Mkv rendering does the same thing as MP4, where the video doesn't play.
I have the exact same problem. I use Windows 10, and i downloaded the FFmpeg file from the render document. Everything works except for rendering videos...
Tried out Krita 3.1.2 for a short time and when rendering MP4 with audio the screen was black, but the audio was playing. So the animation still doesn't show up in the render, but sound seems to.
Can any of you attach a sample file? So a sample animation as a kra and as an mpeg file? That'd be super useful to us.
Created attachment 103758 [details] Kra Animation File
Created attachment 103759 [details] Mp4 file (No audio)
Created attachment 103760 [details] Mp4 file (No audio)
Created attachment 103761 [details] Mp4 (With audio)
Attached a kra file, one render without audio, and one render with audio. Both renders were done with 3.1.2. Still Windows 10 and FFmpeg version: 3.2.2. If there's anything else you need, let me know. Ironically, it plays in Dropbox after uploading it there. But on my computer I'm still getting a black screen no matter what I open it with. (even Firefox) Also still unable to play the render example video on Krita 3.1 release notes page. Side note about the audio. Earlier I was using an Mp3 and it was glitching badly with playback within Krita (not in render), but for this one I used a Wav and it seemed to work fine.
It seems like the default codec for encoding Audio in ffmpeg is too new/experimental. The attached file plays fine on Linux (Firefox + VLC) though. We have two options: 1) Allow the user to choose the encoding format for inputs 2) Tell the users to update their codecs :(
Created attachment 103768 [details] Codec information of the file in question The codec information doesn't have anything suspicious though...
Created attachment 103769 [details] Proposed solution Hi, youknowmymailnow! Could you please try playing with these options in attachment? Selecting base10 or baseline should probably fix the problem for you...
Both high10 and baseline worked. If you don't mind me asking, what does changing those profile options do to the video?
(In reply to yuknowmyemailnow from comment #12) > Both high10 and baseline worked. If you don't mind me asking, what does > changing those profile options do to the video? They tell ffmpeg to use older versions of h264 codec for compressing the video. The difference between these versions is really subtle: older versions might work slower and has worse quality and compression, but they are recognized by a broader range of devices/players. Basically, you have two options: 1) Install the most modern codecs to your computer. Afair, there are a lot of "codec packs" available on Windows. Mind you, these videos might still not play on some (older) hardware players. 2) Just use older codecs by choosing lower profiles.
(In reply to Dmitry Kazakov from comment #13) > They tell ffmpeg to use older versions of h264 codec for compressing the > video. The difference between these versions is really subtle: older > versions might work slower and has worse quality and compression, but they > are recognized by a broader range of devices/players. Basically, you have > two options: > > 1) Install the most modern codecs to your computer. Afair, there are a lot > of "codec packs" available on Windows. Mind you, these videos might still > not play on some (older) hardware players. > > 2) Just use older codecs by choosing lower profiles. Okay. Thank you!
I guess we should make the oldest one default, and then close this bug.
Thanks for the help everyone! (In reply to Dmitry Kazakov from comment #13) > (In reply to yuknowmyemailnow from comment #12) > > Both high10 and baseline worked. If you don't mind me asking, what does > > changing those profile options do to the video? > > They tell ffmpeg to use older versions of h264 codec for compressing the > video. The difference between these versions is really subtle: older > versions might work slower and has worse quality and compression, but they > are recognized by a broader range of devices/players. Basically, you have > two options: > > 1) Install the most modern codecs to your computer. Afair, there are a lot > of "codec packs" available on Windows. Mind you, these videos might still > not play on some (older) hardware players. > > 2) Just use older codecs by choosing lower profiles. Thank you!! This worked for me as well
Dmitry, boud, is this pushed yet?
I don't think Dmitry reads his bugzilla mail at the moment... I don't know; probably not. Let's ping him on irc.
Added info about the correct profile to the manual.