Created attachment 107581 [details] video showing the bug Please see the attached video. I've created a custom rendering profile with the following parameters: Group: Generic (HD for web, mobile devices...) Profile name: MKV+FLAC Extension: mkv Parameters: properties=x264-medium f=mkv vcodec=libx264 acodec=flac aq=5 g=120 crf=%quality Video - Qualities: 15,20,45 Video - Default quality: 0 Speed options: preset=slower preset=medium preset=faster preset=ultrafast If I close and re-open Kdenlive, then open the Render window, my "MKV+FLAC" profile has a red X next to it. Clicking on the profile displays "Unsupported video format: mkv". However, if I click the "Edit profile" button, then click "OK" to dismiss the Edit Profile window, the "MKV+FLAC" profile no longer shows the red X or error message, and I can render to the MKV+FLAC profile without any issues. I have to repeat this process every time I open Kdenlive and want to render to this profile. ** My System ** Kdenlive: 17.08.0 MLT: 6.4.1 ffmpeg: 2.8.11 OS: KDE Neon 5.10.5 64-bit (Plasma Desktop 5.10.5, KDE Frameworks 5.37.0, Qt 5.9.1) Linux Kernel: 4.10.0.32-generic CPU: Intel Core i7 930 (2.8 GHz quad-core) RAM: 12GB DDR3 Video: NVIDIA GeForce GTX 970 w/ 4GB RAM (PCI Express) NVIDIA video driver: 375.66
Thanks for your report. In fact, the "mkv" option is not a valid format in ffmpeg. Simply removing the "f=mkv" parameter should fix the problem, ffmpeg should automatically set the container based on the file extension. Please test and let me know if it works correctly.
Removing "f=mkv" fixes the red X and error message, but then rendering crashes with the following message: medium: [ ref=1, _mlt_properties_load=medium, __mlt_properties_load=medium ] [mp4 @ 0x7f96140c6e00] Could not find tag for codec flac in stream #1, codec not currently supported in container [consumer avformat] Could not write header '/home/chris/Desktop/Quick Access/Current Project/my video file.mkv' So, I tried adding "f=matroska" instead (which does show up in ffmpeg's list of supported formats), and it works! No more error from kdenlive, and everything renders properly. It appears that "f=mkv" actually works with ffmpeg, but isn't listed in the supported formats, hence Kdenlive throwing the error based on whatever check it does.
Does comment #2 provide the requested information? Please set the bug status or add a comment.
No response; assuming the issue is fixed with comment #2. If there is still something that needs to be investigated or changed for this ticket, please add a comment or reopen.