Summary: | Proxy clips are not properly generated from stabilized vidoes | ||
---|---|---|---|
Product: | [Applications] kdenlive | Reporter: | Pozsgay Máté <matthew.linux> |
Component: | Rendering & Export | Assignee: | Jean-Baptiste Mardelle <jb> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | fritzibaby |
Priority: | NOR | Keywords: | triaged |
Version: | 21.04.0 | Flags: | fritzibaby:
Brainstorm+
|
Target Milestone: | --- | ||
Platform: | Appimage | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Proxy with black strips
No proxy without black strips Proxy with black strips (the real one) Proxy_Clip.png Windows_crash_Hungary_Vidstab.png |
Description
Pozsgay Máté
2021-05-09 00:33:54 UTC
Might be related to: https://invent.kde.org/multimedia/kdenlive/-/issues/1053 Please try with the nightly AppImage. With the new task manager this should be solved. The issue is partially solved in nightly (21.07.70). The length of the proxy video is the same as the source, however the black strips are still added. This is probably two separate issue, but one of them looks like to got solved. I cannot reproduce the black strips on top and bottom of the clip (tested with 1080p50 clip). What type of clip and project settings do you have? Can you upload a test clip so I can check? Created attachment 138567 [details]
Proxy with black strips
Created attachment 138568 [details]
No proxy without black strips
Created attachment 138569 [details]
Proxy with black strips (the real one)
Please ignore previous upload, accidentally uploaded the same image twice
The black strips are present on all videos I tried, but only if I generate proxy videos from stabilized MLT clips (on normal clips, proxy videos are fine). Even the thumbnail picture in the project bin shows the black strips. (See attachments) I tested on this one as well: https://samplelib.com/lib/download/mp4/sample-30s.mp4 Created attachment 138572 [details]
Proxy_Clip.png
Hmm, I cannot reproduce the black stripes neither on Windows nor with the AppImage (nightly). Even with strange project settings.
Is your project set to 1080p30?
Do you have set any special settings in project -> project settings -> proxy
or in settings -> configure Kdenlive -> proxy clips?
Good news! I was able to narrow down the source of the problem. I found a thread in the mltframework gitlab. (https://github.com/mltframework/shotcut/issues/416) They had similar problems, so I started kdenlive with an unset LANG variable (was set to hu_HU.UTF-8) and now the proxy clips are generated without the black bars on stabilized videos as well! There is probably some problem with the decimal point format ("." vs ","). Very good. I thought as well about language settings. Created attachment 138574 [details]
Windows_crash_Hungary_Vidstab.png
Yes this looks definitely about the comma/point issue in Hungarian language. I get a crash on Windows set to Hungarian and use vidstab.
I cannot reproduce in 21.04.1 or git master. Can you tell me which project format you use (1920x1080 30 fps?) and what is the resolution of your source clips ? Ok I managed to reproduce, working on it, no more info required, thanks Just one more addition. I am able to reproduce the crash on Linux as well: 1. Open kdenlive with unset LANG 2. Generate the mlt file using vidstab 3. Close kdenlive and restart LANG set to "hu_HU.UTF-8" 4. Add the generated mlt file to the clip bin 5. Enable proxy clips 6. The proxy generation starts, and kdenlive almost instantly crashes. The same happens if I load the "hungarian" version of mlt to the "english" version of kdenlive, so it looks like the generated files are also locale-dependent. I can spot two difference between the files: - In the mlt file the value of LC_NUMERIC is "C" vs. "hu_HU.UTF-8" - In the trf file decimal point indeed different "." vs. "," Thank you! |