Bug 384148 - rendering window reports "mkv" as unsupported
Summary: rendering window reports "mkv" as unsupported
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 17.08.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-29 17:23 UTC by S. Christian Collins
Modified: 2019-12-04 05:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
video showing the bug (2.19 MB, video/mp4)
2017-08-29 17:23 UTC, S. Christian Collins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Christian Collins 2017-08-29 17:23:24 UTC
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
Comment 1 Jean-Baptiste Mardelle 2017-08-29 17:53:30 UTC
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.
Comment 2 S. Christian Collins 2017-08-29 18:20:45 UTC
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.
Comment 3 Christoph Feck 2017-09-17 16:43:41 UTC
Does comment #2 provide the requested information? Please set the bug status or add a comment.
Comment 4 Christoph Feck 2017-10-04 15:01:19 UTC
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.