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

Rendering multiple zones from one project

Tags: None
(comma "," separated)
User avatar
qubodup
Registered Member
Posts
142
Karma
0
Hello,

I often work with conference talk recordings which are recorded in one go.

My method is to split all the talks, add intro and outro if needed and then jump to start, press i, jump to end with RIGHT ARROW and END keys, press o and then generate script with "selected zone" in the render menu after changing the file output name.

Here's a video of the process: https://youtu.be/sPdm4QMiPi8

I was wondering if anybody has suggestions for a more efficient process.
capslock
Registered Member
Posts
699
Karma
4
OS
This would be my approach to rendering multiple session videos from one big input file:

1. If intro and outro are always the same: Create and render
2. Import the clip with the sessions into kdenlive project
3. Use Clip editor to set In and Out points, drag the result to timeline (repeat if more than one section needed)
4. Render the timeline (resulting in one speakers session)
5. Add intro and outro to session video by using ffmpegs concat functionality
6. Repeat 3-5 until done

Here is some information about ffmpegs concatenation of streams or clips: https://trac.ffmpeg.org/wiki/Concatenate
Just make sure that the render profiles always are identical.
User avatar
CorrosiveTruths
Registered Member
Posts
87
Karma
0
OS
Use guides.

My process is to have one long piece of footage and chop it into bite-sized hunks, pop a guide at the front 'n' end of each bite, call the first one '01 Start', and one at the end of the first bit called 01 End, repeat as needed.

Then I generate all the scripts changing the filename and selecting guide zone 01 Start, by default it will end at the next guide, 01 End, then do the same for the next one, change the filename, change the start of the guided zone to 02 Start and it will select 02 End as the end, etc.

Then I render all the scripts. I limit them to running two at any one time with gnu parallel and give them a low priority. Like so:

~/kdenlive/scripts> nice -n 15 parallel -j 2 sh ::: *.sh

If rendering overnight, you can get kshutdown to turn off the computer once the process has finished.

Eventually you know, I'll write all this down in one place.

Guides are fantastic and one of the best features of kdenlive, because I can render multiple videos from one project with ease without rendering more than once.

Seriously. Guides.
User avatar
qubodup
Registered Member
Posts
142
Karma
0
CorrosiveTruths wrote:Use guides.
Seriously. Guides.

Nice! At first I was skeptical that naming them would take forever and I couldn't immediately find a quick way to set them but then I discovered the Shift+8 (*) shortcut and just didn't bother to rename them (not sure how anyway) and I'm just extra careful when selecting them for script export.

Now my bottleneck is changing the export file name and waiting for the timeline play head to arrive at its destination (since it needs to have arrived before I can set a marker).

This is much better than using in/out for me.

I just uploaded a time lapse video of me editing 9 videos from a presentation this way:
https://youtu.be/FX_WopczCWE

Thanks CorrosiveTruths!

CorrosiveTruths wrote:Eventually you know, I'll write all this down in one place.

Yes please. And/or make a video tutorial. :)

capslock wrote:Here is some information about ffmpegs concatenation of streams or clips: https://trac.ffmpeg.org/wiki/Concatenate
Just make sure that the render profiles always are identical.

Totally, when I need to add intro and/or outro, I use ffmpeg concatenate and this is a very good hint for people who don't know it yet. I was mainly wondering about speeding up the cutting process.
TheDiveO
Registered Member
Posts
595
Karma
3
OS
Ffmpeg is the Chuck Norris of video processing.
manuelmuzzurru
Registered Member
Posts
111
Karma
0
OS
hello

i-m interesting this particular for multiples render out from script..

but sorry me im not understand how i will do this script? there is step-step guide ?
because i did try open my konsole (terminal) and i write:

Code: Select all
y5we:~>  nice -n 15 parallel -j 2 sh ::: *.sh
nice: parallel: File ro directory is not existent

i'm stop here.. there is a documentation of this 'particular'?
User avatar
qubodup
Registered Member
Posts
142
Karma
0
Code: Select all
y5we:~>  nice -n 15 parallel -j 2 sh ::: *.sh
nice: parallel: File ro directory is not existent

1. make sure you're in the folder that contains the scripts you want to run (maybe `cd ~/kdenlive/scripts`)
2. Looks like you might have whitespace in the script file names. Try
Code: Select all
nice -n 15 parallel -j 2 sh ::: "*.sh"
User avatar
CorrosiveTruths
Registered Member
Posts
87
Karma
0
OS
manuelmuzzurru wrote:hello

i-m interesting this particular for multiples render out from script..

but sorry me im not understand how i will do this script? there is step-step guide ?
because i did try open my konsole (terminal) and i write:

Code: Select all
y5we:~>  nice -n 15 parallel -j 2 sh ::: *.sh
nice: parallel: File ro directory is not existent

i'm stop here.. there is a documentation of this 'particular'?

Did you install parallel?
manuelmuzzurru
Registered Member
Posts
111
Karma
0
OS
sorry for all, i'm in late :<
sorry :< :<

so in true, i'm not understand how will do this particular, so i want to learn it for conformable..

1 step
i will need to create file (kwrite) and copy and paste kwrite:
Code: Select all
 nice -n 15 parallel -j 2 sh ::: "*.sh"


2 step
i click export for render?

sorry i'm ignorant.. :'( :'(
User avatar
CorrosiveTruths
Registered Member
Posts
87
Karma
0
OS
manuelmuzzurru wrote:sorry for all, i'm in late :<
sorry :< :<

so in true, i'm not understand how will do this particular, so i want to learn it for conformable..

1 step
i will need to create file (kwrite) and copy and paste kwrite:
Code: Select all
 nice -n 15 parallel -j 2 sh ::: "*.sh"


2 step
i click export for render?

sorry i'm ignorant.. :'( :'(


The parallel bit is for running scripts in parallel, it's for when you use kdenlive to produce scripts instead of rendering the files directly from kdenlive itself.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]