This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kdenlive lossless H264 very nice

Tags: None
(comma "," separated)
frewfrew
Registered Member
Posts
43
Karma
0

kdenlive lossless H264 very nice

Thu Sep 12, 2019 1:30 am
Hello,
Just wanted to mention that I'm very happy with
kdenlive> render> format> Lossless/HQ> H264...

I took a short video clip (3 or 4 seconds) from my camera that is basically
crystal clear rain droplets falling into a puddle on a sidewalk on a slightly overcast day.

I drop that clip onto kdenlive.
render the clip with above setting
delete the clip from kdenlive entirely

take the rendered clip and drop that render onto kdenlive
render this just rendered clip with above setting
delete the clip from kdenlive entirely

repeat this whole process around 10x

the fantastic result is that even with multiple re-rendering as mentioned above,
it appears there is never any video quality loss at all

Other programs I've tried do have "lossless" settings, but inevitably the
video quality degrades severely after about three or four times through
this re-rendering of just rendered clips as mentioned above


Also any ideas on why some programs "lossless" settings degrade so quickly
with multiple re-renderings, whereas this re-rendering process in kdenlive appears
to produce no video quality degradation at all?

Of course there's the large filesizes in this process, but for me no problem
because they are very short video clips

I like the lossless renders so I can do more post processing, etc.
without video quality loss.

Thanks for any ideas related to any of this.

frew
User avatar
bartoloni
Moderator
Posts
1510
Karma
4
OS
good to know :)
can you post a zoomed part of a frame before and after the 10X processing? can be nice to be published on twitter :)
frewfrew
Registered Member
Posts
43
Karma
0
I've never posted files here, but let's see if this works.
Hmmm...not seeing where to upload image files.
Maybe I'll post link to files I put at Dropbox.

Here's the two files:

Note:
Mainly check the rocks and foreground area, plants, pebbles, etc.
to see that no video quality appears to be lost, even with multiple re-renderings.

1. Section of source video rendered from kdenlive using h264, lossless
At Dropbox:
frew_frame_17_first_render_from_source_video_using_h264_lossless

2.Did the multiple re-rendering process mentioned above, 10 times, still no noticeable video quality loss
At Dropbox:
frew_frame_17_after_10x_re-rendering_rendered_video_clips_using_h264_lossless

frew
User avatar
bartoloni
Moderator
Posts
1510
Karma
4
OS
frewfrew
Registered Member
Posts
43
Karma
0
Hi, you're very welcome. And thank you too for checking this,
and for posting the results at kdenlive twitter.

Just curious. Blender has video output setting named
"perceptually lossless", which produces very good results,
but is only 1/5 the rendered filesize of it's lossless setting.
(side note, from my tests in Blender, re-rendering, even with it's
lossless setting produced lots of video quality loss after
about four re-renders.)


At Dropbox (sorry, I do not know how to get my images to post directly at this kdenlive forum page)
When I use
"Insert image"
I get a red highlighted error message at the top of this kdenlive forum page:
"It was not possible to determine the dimensions of the image."
So I go to this method:
Blender_perceptually_lossless_video_render_quality_setting
Which goes to Dropbox site.
Any ideas about this?


...back to main topic...

Is there any way to perhaps have a slightly less than lossless
setting in kdenlive perhaps? Perhaps some slight adjustment to it's
lossless h264 setting to let it also have something like a
"perceptually lossless" setting, in order to get great results,
but with significantly smaller filesizes? Just curious.

Is all this lossless, and close to lossless, etc mainly to do
with bitrates? And if so, any way to manually set the render
bitrates in kdenlive?

Thanks for any ideas.
eclipse
Registered Member
Posts
4
Karma
0
Did you measure the file sizes before and after the 10 conversions?
I'm wanting to tidy up huge chunks of family raw footage - and remove all the annoying audio and awkward bits and dead footage of the floor whatever - and organise it into a collection of pre-edited family source clips for future projects. So I don't want any loss. Did you ever find out if KDEN does this? There are other projects like Lossless Cut and Shutter Encoder that seem to do this - but I couldn't get them to do what I want.
frewfrew
Registered Member
Posts
43
Karma
0
Yes, here's an example of the filesizes in the tests I just did.
I think this represents similar test results I mentioned above.

Original test video clip was 1MB
First lossless render of that clip was 15MB (15x larger filesize)
render of that 15MB render was 15.1MB (not sure why just getting gradually larger from here on)
render of that 15.1MB render was 15.2MB
render of that 15.2MB render was 15.3MB
etc.

So I'm not sure how all this works really, but since I often work with just small video clips etc,
I'm not very concerned about render filesizes.

I can see though that with a video that is a large filesize, to then render it lossless would surely
produce a video whose filesize will be quite huge.
Thus all the compression methods, etc. where the search goes on for smaller rendered filesizes,
while getting excellent render quality results.

I am just learning the basics with video rendering options.

For me to be able to render small video clips lossless is wonderful.
For those working with large videos, I'm thinking lossless rendering is not used much.
I'm not sure about that though.

By the way, I'm so thankful for kdenlive, I love it!
eclipse
Registered Member
Posts
4
Karma
0
By the way, I'm so thankful for kdenlive, I love it!

Oh I hear you!
I'm just moving out of the super-expensive Apple ecosystem and starting to learn about running Linux Mint on cheap old hardware. As you know Kden Live is of course optimised (with proxies) to work on really primitive machines - and make up for it in rendering later on.

I've just heard the following advice from another source - that:-

kdenlive default Lossless/H264 preset sets AAC audio, which isn't truly lossless.

You can edit the profile and pass acoded=flac for lossless audio.


Can anyone confirm?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]