Solveig Multimedia Forum - Get help for video editing software

SolveigMM End-User Products => Video Splitter => Topic started by: Jiri on January 22, 2015, 11:11:17 PM

Title: Complex Batch
Post by: Jiri on January 22, 2015, 11:11:17 PM
I often create a complex batch file where a result file from one task is used as a source file in next task.
The example:

<timelines version="2" >
   <timeline>
      <group output="FILE1.avi" >
         <track video="1" audio="0"  >
             <clip src="SOURCE1.avi" ... />
               ..
             <clip src="SOURCE1.avi" ... />
         </track>
      </group>
   </timeline>
   <timeline>
      <group output="D:\File2.avi" >
         <track video="1" audio="0"  >
             <clip src="SOURCE2.avi" ... />
               ..
             <clip src="SOURCE2.avi" ... />
         </track>
      </group>
   </timeline>
   <timeline>
      <group output="FILE3.avi" >
         <track video="1" audio="0"  >
             <clip src="FILE2.avi" ... />
             <clip src="FILE2.avi" ... />
         </track>
      </group>
   </timeline>
   <timeline>
      <group output="FILE4.avi" out_type="avi" >
         <task type="joining" />
         <track video="-1" audio="-1" >
             <clip src="FILE1.avi" />
             <clip src="FILE3.avi" />
         </track>
      </group>
   </timeline>

</timelines>


It worked OK in Video Splitter version 3. In Video Splitter version 4 it doesn't work,
the program says :
Error:     Batch file name setting has been failed
(Systém nemůže nalézt uvedený soubor.
 hr = 0x80070002)
(=System cannot find the stated file)

I guess Video Splitter version 4 checks occurrence of all source files at first. Would there possible to add a parameter disabling this feature?

Thanks

Title: Re: Complex Batch
Post by: Olga Krovyakova on January 23, 2015, 01:54:52 AM
Hello Jiri,

Please see the example of code for batch task file for getting fragments from file s1.mp4 and s2.mp4 (input files should be encoded with the same parameters) and saving it to one output file s_output.mp4:

<timelines version="2" >
    <timeline>
        <group output=".\out\s_output.mp4" >
            <track video="1" audio="1" accuracy="frame" >
                 <clip src="s1.mp4" start="0" stop="26400000" timeFormat="100ns_units" />
                 <clip src="s2.mp4" start="108000000" stop="135600000" timeFormat="100ns_units" />
            </track>
        </group>
    </timeline>
</timelines>

Please use version 4.0.1412.10 available at:

http://www.solveigmm.com/download/SolveigMM_Video_Splitter_Business_Edition.exe (http://www.solveigmm.com/download/SolveigMM_Video_Splitter_Business_Edition.exe)
Title: Re: Complex Batch
Post by: Jiri on January 23, 2015, 11:53:29 PM
Hello Olga,

you are right, this feature is very usefull but there are some situations when this way is too time-consuming.
For example if I have a several hours long source file and I need to create several short files from different parts of it, there is much more efficient to create one temporary file from the all used parts in one long pass and then to create the result files from it.
That's why I'd welcome if you could to think about it.

Best regards
Jiri
Title: Re: Complex Batch
Post by: Olga Krovyakova on January 24, 2015, 02:10:29 AM
Hello Jiri,

Thank you for your clarification.
We will try to consider your case for the batch splitting and add such feature to Video Splitter.
If such feature appear in the product, I'll post here.