| Summary: | Kdenlive Fails to Generate Proxy Clip from Stabilized Clip | ||
|---|---|---|---|
| Product: | [Applications] kdenlive | Reporter: | BoffinBrain <bugs.kde> |
| Component: | Rendering & Export | Assignee: | Jean-Baptiste Mardelle <jb> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | fritzibaby |
| Priority: | NOR | Flags: | fritzibaby:
timeline_corruption+
|
| Version First Reported In: | 22.08.2 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | https://invent.kde.org/multimedia/kdenlive/-/commit/19838f9e1ec4bf93be10c179e59c2498f682dbc0 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Project proxy profile | ||
|
Description
BoffinBrain
2023-11-08 18:43:02 UTC
I tried with an 1080p50 clip, following your steps and it creates the proxy clips. Maybe convert your clip to a user friendly format (right click on the clip -> transcode to edit friendly format) and try again. (In reply to emohr from comment #1) > I tried with an 1080p50 clip, following your steps and it creates the proxy > clips. Maybe convert your clip to a user friendly format (right click on the > clip -> transcode to edit friendly format) and try again. While this technically works, it adds a bunch of extra steps to the workflow and the edit-friendly files are 100x the size of the original video. I'd really like to fix the root cause of the problem. I have some more diagnostic info that may help. The issue occurs when using regular x264, NVENC-x264 and NVENC-x265. The issue does NOT occur when using MJPEG (proxy clips generate successfully). This is a fine workaround for now, but doesn't explain why these encoders fail on MLTs when they work fine with the original clips. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! I guess I'll just move the status to Reported for now, since I've provided all the info I can, and am willing to do further testing if anyone gets back to me on the issue. [h264_nvenc @ 000001b31a321800] Interlaced encoding is not supported. Supported level: 0 Looks like you are working with an interlaced project profile, is that correct? Seems like nVidia doesn't support interlaced encoding. Best workaround would be to manually select another proxy profile in your project settings, like "x264" (see screenshot). Can you please confirm if that works ? Then I can try to make it the default profile for interlaced projects when nVidia card is found Created attachment 164104 [details]
Project proxy profile
(In reply to Jean-Baptiste Mardelle from comment #6) > Looks like you are working with an interlaced project profile, is that correct? That's even more puzzling. It definitely isn't, and neither are the source files. Here's the project settings: > Frame size: 1920 x 1080 (16:9) > Frame rate: 50 fps > Pixel aspect ratio: 1 > Color space: ITU-R 709 > Interlaced: no Here is the MediaInfo data for one example clip in my project: > General > Format : MPEG-4 > Format profile : Base Media > Codec ID : isom (isom/iso2/mp41) > File size : 22.8 MiB > Duration : 12 s 563 ms > Overall bit rate : 15.2 Mb/s > Writing application : Lavf59.16.100 > Video > ID : 1 > Format : HEVC > Format/Info : High Efficiency Video Coding > Format profile : Main@L4.1@Main > Codec ID : hev1 > Codec ID/Info : High Efficiency Video Coding > Duration : 12 s 563 ms > Bit rate : 15.1 Mb/s > Width : 1 920 pixels > Height : 1 080 pixels > Display aspect ratio : 16:9 > Frame rate mode : Constant > Frame rate : 59.940 (60000/1001) FPS > Color space : YUV > Chroma subsampling : 4:2:0 (Type 0) > Bit depth : 8 bits > Scan type : Progressive > Bits/(Pixel*Frame) : 0.121 > Stream size : 22.5 MiB (99%) > Writing library : x265 3.5+36-9b59d4554:[Windows][GCC 11.2.0][64 bit] 8bit+10bit+12bit > Encoding settings : (snipped for brevity) > Language : English > Color range : Full > Color primaries : BT.709 > Transfer characteristics : BT.470 System M > Matrix coefficients : BT.601 > Codec configuration box : hvcC > Audio > ID : 2 > Format : AAC LC > Format/Info : Advanced Audio Codec Low Complexity > Codec ID : mp4a-40-2 > Duration : 12 s 513 ms > Source duration : 12 s 534 ms > Source_Duration_LastFrame : -10 ms > Bit rate mode : Constant > Bit rate : 128 kb/s > Channel(s) : 2 channels > Channel layout : L R > Sampling rate : 48.0 kHz > Frame rate : 46.875 FPS (1024 SPF) > Compression mode : Lossy > Stream size : 196 KiB (1%) > Source stream size : 196 KiB (1%) > Language : English > Default : Yes > Alternate group : 1 Here's the result of attempting to proxy with x264: > [libx264 @ 000001fdc88392c0] height not divisible by 4 (1440x810) > Current Frame: 1, percentage: 0 > [swscaler @ 000001fdccf33080] deprecated pixel format used, make sure you did set range correctly > (repeated 8 times for 8 frames) Here's the result of attempting to proxy with NVENC H264/H265: > Current Frame: 1, percentage: 0 > [swscaler @ 000001a3f7e62700] deprecated pixel format used, make sure you did set range correctly > [swscaler @ 000001a38ac97e00] deprecated pixel format used, make sure you did set range correctly > [swscaler @ 000001a38ac8ae00] deprecated pixel format used, make sure you did set range correctly > [swscaler @ 000001a38aca4dc0] deprecated pixel format used, make sure you did set range correctly > [h264_nvenc @ 000001a3f7991e80] Interlaced encoding is not supported. Supported level: 0 > [h264_nvenc @ 000001a3f7991e80] No capable devices found Proxying with MJPEG, MJPEG2 and ProRes works without any issue. Again, this only happens when proxying a stabilized .mlt clip. Git commit fc3eb0b43282f22d07919a200d2e609ad3645d30 by Jean-Baptiste Mardelle. Committed on 13/12/2023 at 08:51. Pushed by mardelle into branch 'master'. Fix proxied playlist clips (like stabilized clips) rendered as interlaced M +34 -4 src/jobs/proxytask.cpp https://invent.kde.org/multimedia/kdenlive/-/commit/fc3eb0b43282f22d07919a200d2e609ad3645d30 Git commit 19838f9e1ec4bf93be10c179e59c2498f682dbc0 by Jean-Baptiste Mardelle. Committed on 16/01/2024 at 15:27. Pushed by mardelle into branch 'release/23.08'. Fix proxied playlist clips (like stabilized clips) rendered as interlaced M +34 -4 src/jobs/proxytask.cpp https://invent.kde.org/multimedia/kdenlive/-/commit/19838f9e1ec4bf93be10c179e59c2498f682dbc0 |