Registered Member
|
Hello,
Is it possible to make a new rendering profile to have an MP4 video but with a wav quality sound? Kdenlive can export as wav files (sound only). So this might be possible, but what is the code to do that? Which audio codec? Which parameters?..... Thanks SK |
Registered Member
|
hello,
WAV is an audio container. yours is MP4 for both audio and video. WAV contains audio encoded as PCM. you can't mux a PCM stream into an MP4 file in KDENLiVE. theoretically, you could use Audio Lossless Coding [ALS] in MP4, but FFMPEG can't encode in it. i guess you'd better off changing your container from MP4 to MKV to get lossless audio in your video. |
KDE Developer
|
When you define your own render profile, you have a link to the MLT documentation.
What you want is PCM audio codec => ac=pcm_s16le replacing in the standard MP4 profile gives: properties=x264-medium f=mp4 vcodec=libx264 acodec=pcm_s16le g=120 crf=%quality Also a link to our (slightly old) doc: https://userbase.kde.org/Kdenlive/Manua ... Parameters |
Registered Member
|
that results in a crash when the rendering starts. at least in my version of KDENLiVE. |
Registered Member
|
Thanks for your answers.
Yes, I tested with "acodec=pcm_s16le" but it crashes and says that this codec is not recognised or something like that. I asked that because under other programs, when I was on windows, it was possible to combine whatever I wanted for the video with whatever I wanted for the audio part. So, it should be possible. And of course, being interested essentially in the sound, I would like to avoid to export very heavy files. |
Registered Member
|
As far as I can gather nope:
Why not Matroska (mkv)?
The Social Credit System is a credit rating and blacklist being developed by the the ruling Chinese Communist Party. The goal is total control of the population by awarding points for desirable behavior, or withdrawing them for negative behavior.
|
KDE Developer
|
Oh right sorry, you have to change to MOV (close to MP4 container, but more flexible) or MKV
|
Registered Member
|
Yes But the idea was to have the best possible sound in a small file, because my videos are essentially made with 1 or 2 photos and a piano audio file. As you can understand the priority is not the video here. So I was searching for a solution to avoid multiGb exported files. |
KDE Developer
|
You are messing between container (MP4/MOV/MKV) and video codec.
H264 (common video codec in MP4, but there can be others) can also be contained by MOV and MKV. But MP4 is more restrictive in term of codec diversity, and eg doesn't allow PCM audio, what MOV & MKV do (you can put almost anything in those, maybe FLAC audio would be a good idea). The final file size depends on several parameters, for pictures staying long on screen you could increase the GOP size (-g parameter) : GOP=250 with 25fps means the codec is forced to re-save a full frame every 10sec (+you could maybe decrease the framerate, except if you use fades) |
Registered Member
|
I mean it's been years, kdenlive has changed a lot, but you can try it on a short video, it'll only take like 5 minutes...
|
Registered users: Bing [Bot], Evergrowing, Google [Bot]