use of in and outpoints

Questions and answers on how to get the most out of FFAStrans
Post Reply
alexvermeulen
Posts: 12
Joined: Sun Apr 05, 2015 3:24 pm

use of in and outpoints

Post 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 ?
admin
Site Admin
Posts: 1687
Joined: Sat Feb 08, 2014 10:39 pm

Re: use of in and outpoints

Post 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
Attachments
yt-in-out.zip
(2.24 KiB) Downloaded 489 times
alexvermeulen
Posts: 12
Joined: Sun Apr 05, 2015 3:24 pm

Re: use of in and outpoints

Post 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....
alexvermeulen
Posts: 12
Joined: Sun Apr 05, 2015 3:24 pm

Re: use of in and outpoints

Post by alexvermeulen »

sorry.... i see the mistake...
Post Reply