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

Clips rendering with an added "black frame" at the end

Tags: None
(comma "," separated)
tzsebe
Registered Member
Posts
20
Karma
0
Hi,

As I keep playing with KDEnlive, I'm finding clips are getting rendered with an annoying black frame at the end.

The easiest way to see this is:

1) Bring in some video
2) Cut a small clip out of the middle (just to prove to yourself the black frame isn't in the original)
3) Render the small clip
4) Add the small newly-rendered clip to the project and drag it into another slot on the timeline, parallel to the original
5) Zoom into the end

You can clearly see that the rendered clip has a black frame tacked on, that isn't on the orignial cut

This is really annoying, especially if rendering a gif, which shows the silly black frame at the end when playing back.

Why does this happen, and how do I make it stop?

Thanks again!
User avatar
djfun
Registered Member
Posts
11
Karma
0
OS
do you render the Full Project, a Selected Zone or a Guided Zone with your own inserted Guides?
tzsebe
Registered Member
Posts
20
Karma
0
Ooh, good callout!

I just tested it all three ways. Looks like 'full project' is the only one of the three ways that adds the black frame at the end.

It sounds like this is definitely a known issue. Do you know why it happens? Isn't rendering full project the equivalent of rendering between guides, where the left guide is at 0, and the right guide happens to be at the rightmost edge of the clip? :)
tzsebe
Registered Member
Posts
20
Karma
0
Actually, it happens with a guided zone as well. If I put the guide right at the end, it still adds a black frame.

It's weird, if I really zoom in and move the guide, I can't just cut off the last frame, it always snaps by 2 between the end of the clip, and the next position it lets me put it on the left.

I think I see what's happening, though. It's just visually confusing:

The guide is a vertical line that shows up BETWEEN frames, but really, when I add a guide, I can see that the frame to the RIGHT of that dividing line is what the cursor is displaying. So, I guess it means the true boundary of the guide is the frame immediately to the right of the guide, because of the way things are displayed, which means if my guide zone is made to LOOK like it includes 5 specific frames, it actually includes 6 (including the one on the right of the right side), which also, by default, means "you get an extra black frame"...

So does this mean that for all videos/projects I render, if I don't want a black frame being added, I need to render with guides, and I have to insert a guide that is not quite all the way on the end?
User avatar
djfun
Registered Member
Posts
11
Karma
0
OS
I can reproduce it, the way you describe, with the guide marker being rendered to the left of the actual position and also the full project being one frame too long in the rendered result (especially visible if you render to an image sequence (eg. PNG), which at the end of the project will be a black frame.
In my opinion this is a bug and should get fixed, but I don't know what causes it. Might just be a simple "less than or equal" vs. "less than" comparison that needs to be changed.
tzsebe
Registered Member
Posts
20
Karma
0
Great thanks! I'll see if I can find the right place to report it (I assume I can hit them up on github or something).

I have very little experience with video editing (did a bit with avidemux way back when), so I'm never sure if it's actually on purpose and considered a best practice to have the final frame there, for transitional purposes, etc.

I'm definitely finding some small bugs here and there (like sometimes the UI becomes unresponsive until I do something like resize the window), but at least it doesn't crash all the time like OpenShot. :) I look forward to being proficient hehe.
User avatar
farid
Registered Member
Posts
316
Karma
2
OS
please refer to this to report a bug:

https://kdenlive.org/bug-reports/

thanks for your help


wolftune
Registered Member
Posts
41
Karma
0
I'm still seeing this now. I searched the bugs and expected to find an open one about this, but I didn't. Can anyone help find a bug and link it here (or tell me that it still needs to be reported)?
User avatar
mouse
Registered Member
Posts
6
Karma
0
OS
I'm also having this same problem and I'm still unclear what causes this issue, but this is the only result Duck Duck Go gave me that's relevant.

It looks like I got rid of the black frame at the end by going to the second to the last frame and cutting the clip there, then rendering the project again. Note that I didn't delete the portion of the clip that was cut. I only made the cut and kept the last frame there. No more black frame now. I can't guarantee it will work for everyone but it worked for me.


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]