Page 1 of 1
use of in and outpoints
Posted: Thu Mar 16, 2017 1:19 pm
by alexvermeulen
would it be posible to have a workflow with two serparate file, where one file contains the youtube url and the given filename and the other file contains the given filename with start and end points...
ie :
youtube.txt :
clip1-
www.youtube.com/watch...........
edit.txt :
clip1-00:00:00:00-00:01:00:00
so there will be a workflow that will encode the URL to a MP4 file
and i will need an additional work file that will cut the MP4 file with the given in and outpoint...
is this possible ?
Re: use of in and outpoints
Posted: Sat Mar 18, 2017 3:39 pm
by admin
Hi alexvermeulen,
Yes this is sort of possible. The "A/V Media" decoder accepts .xml files with the following properties:
<sClipName\\full\path\to\filename.mp4</sClipName>
<iClipLength>length in frames</iClipLength>
<clip_inn_point>in point in frames</clip_inn_point>
<clip_out_point>out point in frames</clip_out_point>
PS: Never mind the spelling error in "inn"...
The .xml can be constructed using the "Text file"-node by inserting variables:
<sClipName>%s_source%</sClipName>
<iClipLength>%i_frames%</iClipLength>
<clip_inn_point>0</clip_inn_point>
<clip_out_point>1500</clip_out_point>
#out point of 1500 is derived from pal: 25*60(seconds)
I have attached a working proof-of-concept workflow for you to study. Hope this gets you in the right direction.
-steinar
Re: use of in and outpoints
Posted: Tue Mar 21, 2017 1:57 pm
by alexvermeulen
Steinar,
i created a xml :
<sClipName>C:\Users\ETVSVR\Dropbox\Emma TV Strak\Clips\Clip1.mp4</sClipName>
<iClipLength>4007</iClipLength>
<clip_inn_point>0</clip_inn_point>
<clip_out_point>375</clip_inn_point>
When this is picked up... video stays the same length....
Re: use of in and outpoints
Posted: Tue Mar 21, 2017 2:02 pm
by alexvermeulen
sorry.... i see the mistake...