KDENLIVE: Can't proxy-clip my video files

I need help for KDENLIVE.
I want to proxy-clip my video files, since the 4K60FPS Videos are not synchronised, my laptop stutterts (lags) on this file quality.

But everytime i wanna proxy my clip it gives me following error code:

[mov @ 0x64c7ed87fc80] Could not find tag for codec h264 in stream #2, codec not currently supported in container
[out#0/mov @ 0x64c7ed6d3500] Could not write header (incorrect codec parameters ?): Invalid argument
[af#0:1 @ 0x64c7ed6be7c0] Error sending frames to consumers: Invalid argument
[af#0:1 @ 0x64c7ed6be7c0] Task finished with error code: -22 (Invalid argument)
[af#0:1 @ 0x64c7ed6be7c0] Terminating thread with return code -22 (Invalid argument)
[out#0/mov @ 0x64c7ed6d3500] Nothing was written into output file, because at least one of its streams received no packets.
frame=    0 fps=0.0 q=-0.0 Lq=-0.0 size=       0KiB time=N/A bitrate=N/A speed=N/A

I came to the conclusion that i need to change my Proxy Profile, so i did it this way:
proxy

But this only gives another error:

[mp4 @ 0x569a03551480] Could not find tag for codec h264 in stream #4, codec not currently supported in container
[out#0/mp4 @ 0x569a033a3f40] Could not write header (incorrect codec parameters ?): Invalid argument
[af#0:1 @ 0x569a033a6f80] Error sending frames to consumers: Invalid argument
[af#0:1 @ 0x569a033a6f80] Task finished with error code: -22 (Invalid argument)
[af#0:1 @ 0x569a033a6f80] Terminating thread with return code -22 (Invalid argument)
[out#0/mp4 @ 0x569a033a3f40] Nothing was written into output file, because at least one of its streams received no packets.
frame=    0 fps=0.0 q=-1.0 Lq=-1.0 q=20.0 size=       0KiB time=N/A bitrate=N/A speed=N/A

I did it also million other ways, but nothin i put in to encode/proxy this 4K60FPS.MP4 File of mine is working.

I also tried to find out more about the file itself which gave me following output:

index=0
codec_name=hevc
codec_type=video
index=1
codec_name=aac
codec_type=audio
index=2
codec_name=unknown
codec_type=data
index=3
codec_name=unknown
codec_type=data
index=4
codec_name=unknown
codec_type=data
index=5
codec_name=mjpeg
codec_type=video

Im trying it for almost an week now and still cannot manage to get this working. I use kdenlive 24.08.0 and ffmpeg version n7.0.2. Thanks for your attention!

Something seems wrong with your video. The error message is pointing at stream #4 which I guess refers to index=3 for which it says codec=unknown. I would try to reduce the original file to two streams: one for the audio and one for the video. Perhaps you could google ffmpeg and stream to find something that may help …

The following prompt was exactly what i needed in order to pr0duce a proxy-clip, thank you very much!:

ffmpeg -i 4K30FPS.mp4 -map 0:v:0 -map 0:a:0 -c:v copy -c:a copy output_clean.mp4

1 Like