KDEnlive 24.12.0 (reinstalled latest version to see if it helped). Running c:\program files\kdenlive\bin\ffmpeg.exe reports ffmpeg version 7.1 built with gcc 13.2.0. This all seems very up to date. I have an NVidia 4070 Ti SUPER with an AMD Ryzen 5 5600X CPU and the mp4 source file is on a recent SSD, it’s all pretty high power stuff.
I’m in Windows trying to use KDEnlive to work on a 60Gb 8K resolution video file I recorded using my Samsung S23. It looks like ffmpeg is incapable of handling 8K video, and so kdenlive is incapable, am I right with this line of reasoning?
If I create a New Project and choose “HD1080 30 fps” I get a new project, then drag the large mp4 file into the Project Bin panel. I get a popup saying “The following clips are not usable for editing. This will transcode them in an edit friendly format and replace the original ones in your project.” … with the reason “File 20241220_100052.mp4 has a variable frame rate.” So I click OK to transcode it.
However the above transcode attempt fails when I select one of the GPU options (for example “Lossy x264 I frame only (NVidia GPU Video only)”, with an ffmpeg error log as follows:
“”"
[h264_nvenc @ 0000014968badd00] No capable devices found
[vost#0:0/h264_nvenc @ 0000014968baecc0] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0000014967066500] Error sending frames to consumers: Generic error in an external library
[vf#0:0 @ 0000014967066500] Task finished with error code: -542398533 (Generic error in an external library)
[vf#0:0 @ 0000014967066500] Terminating thread with return code -542398533 (Generic error in an external library)
[vost#0:0/h264_nvenc @ 0000014968baecc0] Could not open encoder before EOF
[vost#0:0/h264_nvenc @ 0000014968baecc0] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_nvenc @ 0000014968baecc0] Terminating thread with return code -22 (Invalid argument)
[out#0/mp4 @ 0000014967095100] Nothing was written into output file, because at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A
“”"
After a lot of messing around I tried a command line attempt, and this time got a more useful error message. I don’t know how to get the command line kdenlive is using for the above transcode attempt, but I can see the Proxy Clips encoding profiles so I tried one of them:
“”“”
G:>“c:\Program Files\kdenlive\bin\ffmpeg.exe” -i 20241220_100052.mp4 -vcodec h264_nvenc -vb 30000k -rc cbr -acodec aac -ab 192k out.mp4
[h264_nvenc @ 00000256eae4d040] Width 7680 exceeds 4096
[h264_nvenc @ 00000256eae4d040] No capable devices found
[vost#0:0/h264_nvenc @ 00000256e9272400] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 00000256e9236e80] Error sending frames to consumers: Generic error in an external library
[vf#0:0 @ 00000256e9236e80] Task finished with error code: -542398533 (Generic error in an external library)
[vf#0:0 @ 00000256e9236e80] Terminating thread with return code -542398533 (Generic error in an external library)
[vost#0:0/h264_nvenc @ 00000256e9272400] Could not open encoder before EOF
[vost#0:0/h264_nvenc @ 00000256e9272400] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_nvenc @ 00000256e9272400] Terminating thread with return code -22 (Invalid argument)
[out#0/mp4 @ 00000256e9266dc0] Nothing was written into output file, because at least one of its streams received no packets.
“”“”
I found the NVidia “Video Encode and Decode GPU Support Matrix” which seems to confirm that NVEnc on my 4070 GPU is capable of encoding 8k video.
If ffmpeg cannot process a file with width over 4096 pixels, then is any 8K video editing impossible? My aim would be to generate a Proxy Clip for the massive 8K source video, do all my editing in kdenlive, and finally Render the project back to either 8K or 4K, but if kdenlive is dependent on ffmpeg and it cannot do the job then I’m stuck.
I have transcoded the file to 4K using Handbrake and may have a go with that, or I might fall back to a totally different tool like Davinci Resolve to see if it can do the job.
Advice would be gratefully received
Nick