Render preset for lossless audio & playable video

jean-daniel dodin jdd at dodin.org
Sun Jun 1 14:16:19 BST 2025


Le 31/05/2025 à 10:06, Perfect a écrit :
> Hi
> Which video settings should I use for container, extension, codec, 
> bitrate & rate control & which for audio codec & rate control to 
> achieve lossless audio best quality combined with a playable video 
> that doesn't deteriorate the audio?

hello,

"The original audio is a wav file with 44.1khz sample rate."

this is not the best audio you can have, 48khz or better 98khz are much 
better (not to say it's useful), but this is at recording time.

after that you can use the original codec.

I don't see in your mail the system you use for kdenlive. Mine is 
openSUSE linux.

to understand computer audio, you can scan the doc for "ffmpeg", the 
best video/audio library one can find. My script for best audio 
conversion from video STREAM uses:

     ffmpeg -i $a -af loudnorm -ar 44100 -b:v 12000k -movflags 
faststart  $rep/$b.mp4 ;

where the quality is mostly done by "-ar 44100" - but if this is enough 
for me it may not be for you.

you don't say what you use kdenlive for. In a video stream, video and 
audio are in sync, sort of (video are separate images, audio is linear).

You can load audio bay loading video in audacity (no need to extract 
audio first). You can just "cut" audio and video at frame place with 
avidemux

the universal container is mkv, but mp4 gives more chance to be read

not related to kdenlive and much higher than I can know is:

https://www.izotope.com/en/learn/digital-audio-basics-sample-rate-and-bit-depth.html

given the source one can imagine the authors know what they say.

jdd


More information about the kdenlive mailing list