UM:Cli Cli Count And Add

From DigitalVision
Jump to: navigation, search

Darrow-up.png     Previous Next

Counting and Adding Tracks

--count-tracks <video|audio>

Count how many tracks of specified type are in composition

--add-track <video|audio>

Add a new track of specified type to existing composition

Count Tracks

--count-tracks <video|audio>

 

This command will count how many tracks of the type specified exist in the named composition.

 

Command :

$ film_master --project PROJ1 --composition COMP1 \

  --count-tracks video

INFO Opening project "ttt".

INFO Opening composition "COMP1".

INFO Total video tracks : 3

 

Command :

$ film_master --project PROJ1 --composition COMP1 \

  --count-tracks audio

INFO Opening project "ttt".

INFO Opening composition "COMP1".

INFO Total audio tracks : 2

Add a Track

--add-track <video|audio>

 

This command will add a track of the type specified to the named composition. The number of the new track added is returned.

 

Command :

$ film_master --project PROJ1 --composition COMP1 \

  --add-track video

INFO Opening project "ttt".

INFO Opening composition "COMP1".

INFO New video track added number : 4

 

We will now have a new track "V4" in the composition "COMP1" above.

 

Darrow-up.png     Previous Next