About Products Support FAQ Blog

How the Splitter operates in command line mode

image

 

  By Olga Krovyakova - modified October 9, 2023, created March 28, 2019.

Q:-> I found that the Splitter has CLI (command line interface) named SMM_BatchSplit.exe. What are examples of editing video by means of the utility?

A:-> Yes, SolveigMM Video Splitter is shipped with CLI SMM_BatchSplit.exe utility that accept as an input an XML file with described task or batch of tasks named groups.

 

TRY Video Splitter FREE

 

 

Here are the samples scripts to fulfill some simple editing tasks like trimming, edition out some porions and joinin some files.

1. Initial file is windows media - input.WMV of 10 minutes length, with one video and one audio stream.
We want to to trim a portion from 4 to 7 minutes and save it as an output1.WMV
<timeline> 
   <group name="C:\video\result\output1.WMV"> 
       <track video="1" audio="1" obey_sample_times="0"> 
           <clip src="C:\video\input.WMV" start="00:04:00.00"    stop="00:07:00.00"/> 
       </track> 
    </group> 
</timeline>
 
2. Initial file is windows media - input.WMV of 10 minutes length, with one video and one audio stream. 
We want to cut out any 3 parts from input

 

(#[1] 1 min 30 sec - 3 min 20 sec )
(#[2] 5 min 00 sec - 6 min 00 sec )
(#[3] 8 min 10 sec - 9 min 10 sec )

and save an output without set fragments as an output2.WM

<timeline> 
   <group name="C:\video\result\output2.WMV"> 
       <track video="1" audio="1" obey_sample_times="0"> 
           <clip src="C:\video\input.WMV" start="00:01:30.00"    stop="00:03:20.00"/> 
           <clip src="C:\video\input.WMV" start="00:05:00.00"    stop="00:06:00.00"/> 
           <clip src="C:\video\input.WMV" start="00:08:10.00"    stop="00:09:10.00"/> 
       </track> 
    </group> 
</timeline> 

 

3. We have a set of Windows Media files with same video/audio paramenters (for example output1.WMV output2.WMV) and want to merge them to one single file - join_output3.WMV

<timeline>
   <group name="C:\video\result\join_output3.WMV" mode="joining">
      <track  video="-1" audio="-1">
         <clip src="C:\video\result\output1.WMV"  start="00:00:00:00" stop="00:00:00:00" />
         <clip src="C:\video\result\output2.WMV"  start="00:00:00:00" stop="00:00:00:00" />
       </track>
    </group>
</timeline>

 

TRY Video Splitter FREE

 

 

 About the author

imageOlga Krovyakova is the Technical Support Manager in Solveig Multimedia since 2010.

She is the author of many text and video guidelines of company's products: Video Splitter, HyperCam, WMP Trimmer Plugin, AVI Trimmer+ and TriMP4.

She works with programs every day and therefore knows very well how they work. Сontact Olga via support@solveigmm.com if you have any questions. She will gladly assist you!