Return-Path: Received: from mail-lb0-f169.google.com ([209.85.217.169] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 4703067 for AE-List@media-motion.tv; Wed, 02 May 2012 12:33:50 +0200 Received: by lbjn8 with SMTP id n8so332354lbj.28 for ; Wed, 02 May 2012 03:35:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=Ysik4fvbudjzeUHa1X5DFKnP/JhHYaQ4B9glepOW5c8=; b=MSKjfcIM/OFh7ZmYm6j9FtgHbdOwxZ4/RIEaY95h07dDrj6IvhsT8aL27VmApJoJiS eyLyoz62WioXAw/I590XDip21Q8Ro6HdLUBN65kvtxTYKeDw0i56m8LaPvXKnt82kLlV P9sRbkfNdpQRjxeZ1iGydA2owDggy0NF7HvR0LIAceDFUnvcGk5vu0viVNujOJjwY1ow SIbGWX2Rh5qVQxL2gD3XV0C11yj7urrFyrjUQ0LmOU5sdR5I/Mt7avyTHMUJXQ3T9LmB YL6GUFID2QUEn2kpcGXt9f4iu1gdCFw9ugO2hoNp2iL+sJ3VnRrSXSF7RqcuKj1NaI6D RgYw== MIME-Version: 1.0 Received: by 10.112.98.198 with SMTP id ek6mr13028342lbb.4.1335954912510; Wed, 02 May 2012 03:35:12 -0700 (PDT) Received: by 10.112.110.163 with HTTP; Wed, 2 May 2012 03:35:12 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 May 2012 12:35:12 +0200 Message-ID: Subject: Re: [AE] export markers to textfile with timecode From: Robert Kjettrup To: After Effects Mail List Content-Type: multipart/alternative; boundary=f46d0401fd1bff050c04bf0b3d0a X-Gm-Message-State: ALoCoQn+Tv3wDEOJFYLwajknwKm9JNLvSnhAKnkdEFJq4mE475Xg3065ZFPw9d2jq+uLTJarsy7R --f46d0401fd1bff050c04bf0b3d0a Content-Type: text/plain; charset=ISO-8859-1 Hi Lloyd I think i have found a bug in your script :-( The scripts add extra markers at the same time as existing markers, it starts ok, but add doublemarkers more and more often the higher it gets in markercount. It then exports some of these double markers as same timecode but other 1 frame shifted even though they are at the same time in AE. See the link below for a small AE project and the resulting txt file your script exports. i used this command to export: "[markernumber]\t[time]\n" http://ftp.stv.dk/120502_aemarkersexportexample/ I didn't even know that you could have several markes at the same timeframe in AE, it doesn't seem that AE allow it using the UI, but i guess it is possible via scripting :-) And one more really small "feature" request: In the instructions popup add the various extra commands you can add to the filegeneration ("\n" and "\t", more?) i already forgot since yesterday, and had to take a quick look at your video tutorial on aescript.com again to be reminded :-) Robert Kjettrup / Grafiker / STV Mayday Mobil: 25 18 95 16 Mail: robert@stvmayday.dk 2012/5/1 Lloyd Alvarez > I see, if you use commas to separate each element and a newline at the end > of each line then the exported file will open as a spreadsheet so you > wouldn't need to copy and paste. Does that make sense? > > Lloyd > > On Tue, May 1, 2012 at 1:29 PM, Robert Kjettrup wrote: > >> Hi >> >> yes, i know. I just wanted to skip a step of writing the file, and >> copy/paste from that into a spreadsheet, and just copy/paste directly from >> AE.... just me being lazy. >> >> >> >> Robert Kjettrup / Grafiker / STV Mayday >> Mobil: 25 18 95 16 >> Mail: robert@stvmayday.dk >> >> >> 2012/5/1 Lloyd Alvarez >> >>> Hey Robert, >>> >>> You can export it as a comma delimited or tab delimited file and it >>> should open correctly in your spreadsheet program. Let me know if you need >>> to to elaborate on this. >>> >>> Cheers, >>> Lloyd >>> >>> On Tue, May 1, 2012 at 12:59 PM, Robert Kjettrup wrote: >>> >>>> Yes, i'm on windows. >>>> >>>> it's ok, just a bit faster to copy paste when you want the data in a >>>> spreadsheet, but i will manage :-) >>>> >>>> >>>> >>>> Robert Kjettrup / Grafiker / STV Mayday >>>> Mobil: 25 18 95 16 >>>> Mail: robert@stvmayday.dk >>>> >>>> >>>> 2012/5/1 Lloyd Alvarez >>>> >>>>> I only know how to do that on mac and you said you were on windows >>>>> right? If you know a commandline way to send something to the clipboard >>>>> then i could add it. >>>>> >>>>> >>>>> On Tue, May 1, 2012 at 12:46 PM, Robert Kjettrup wrote: >>>>> >>>>>> Hi Lloyd >>>>>> >>>>>> a small feature request more. Being able to choose to copy to >>>>>> clipboard instead of writing to a file... easy? :-) >>>>>> >>>>>> >>>>>> Robert Kjettrup / Grafiker / STV Mayday >>>>>> Mobil: 25 18 95 16 >>>>>> Mail: robert@stvmayday.dk >>>>>> >>>>>> >>>>>> 2012/5/1 Lloyd Alvarez >>>>>> >>>>>>> Glad you like it, let me know who it works for you. >>>>>>> >>>>>>> -Lloyd >>>>>>> >>>>>>> >>>>>>> On Tue, May 1, 2012 at 12:09 PM, Robert Kjettrup < >>>>>>> robert@stvmayday.dk> wrote: >>>>>>> >>>>>>>> Oh.... that looks absolutely brilliant. And you just made it super >>>>>>>> customizable in what fields to export. >>>>>>>> >>>>>>>> Too bad i am almost finished with this project now... but i just >>>>>>>> bought it anyway, it should speed up the process for the remaining clips. >>>>>>>> ;-) >>>>>>>> >>>>>>>> Thanks! >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Robert Kjettrup / Grafiker / STV Mayday >>>>>>>> Mobil: 25 18 95 16 >>>>>>>> Mail: robert@stvmayday.dk >>>>>>>> >>>>>>>> >>>>>>>> 2012/5/1 Lloyd Alvarez >>>>>>>> >>>>>>>>> Hey Robert, >>>>>>>>> >>>>>>>>> I updated the script to support exporting to a file. You can >>>>>>>>> format the text file however you want, i made a quick screendemo showing >>>>>>>>> how to use it. You can get the script and see the demo here: >>>>>>>>> http://aescripts.com/layer-marker-batch-editor/ >>>>>>>>> >>>>>>>>> Let me know if you have any questions. >>>>>>>>> >>>>>>>>> Cheers, >>>>>>>>> Lloyd >>>>>>>>> >>>>>>>>> On Tue, May 1, 2012 at 5:46 AM, Robert Kjettrup < >>>>>>>>> robert@stvmayday.dk> wrote: >>>>>>>>> >>>>>>>>>> Hi Lloyd >>>>>>>>>> >>>>>>>>>> for this project i just use the AutoHotKeys Premiere script Ed >>>>>>>>>> provided, it works for what i need... or rather what the freelancer we have >>>>>>>>>> hired to do the DVD authoring need, since he doesn't want to use Encore but >>>>>>>>>> really oldschool Spruce he needed the timecodes for chapter markers and >>>>>>>>>> I-frame placement for his mpeg2 encoder. >>>>>>>>>> But, if you really don't know what to do for a few minutes (!) >>>>>>>>>> and would like to add this export feature in your AE script, just make the >>>>>>>>>> output tab spaced like the script Ed did >>>>>>>>>> Heres an output of the Premiere script from Ed: >>>>>>>>>> >>>>>>>>>> Sequence0001 00:00:09:17 "" "" >>>>>>>>>> Sequence0001 00:01:39:03 "" "" >>>>>>>>>> Sequence0001 00:03:34:12 "" "" >>>>>>>>>> Sequence0001 00:04:53:14 "" "" >>>>>>>>>> Sequence0001 00:05:26:10 "" "" >>>>>>>>>> Sequence0001 00:06:02:24 "" "" >>>>>>>>>> Sequence0001 00:06:37:12 "" "" >>>>>>>>>> Sequence0001 00:07:04:18 "" "" >>>>>>>>>> Sequence0001 00:07:33:04 "" "" >>>>>>>>>> Sequence0001 00:08:15:20 "" "" >>>>>>>>>> Sequence0001 00:08:50:20 "" "" >>>>>>>>>> Sequence0001 00:09:24:05 "" "" >>>>>>>>>> Sequence0001 00:09:59:19 "" "" >>>>>>>>>> Sequence0001 00:10:38:11 "" "" >>>>>>>>>> >>>>>>>>>> Another useful feature would be a choice of timecode or >>>>>>>>>> framenumber >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Thanks for the helpful offer to modify your script, this list >>>>>>>>>> reallt is awsome :-) >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Robert Kjettrup / Grafiker / STV Mayday >>>>>>>>>> Mobil: 25 18 95 16 >>>>>>>>>> Mail: robert@stvmayday.dk >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> 2012/5/1 Lloyd Alvarez >>>>>>>>>> >>>>>>>>>>> Hey Robert, >>>>>>>>>>> >>>>>>>>>>> If you tell me what format you need the text file I can update >>>>>>>>>>> my Layer Marker Batch Editor script >>>>>>>>>>> http://aescripts.com/layer-marker-batch-editor/ to have this >>>>>>>>>>> functionality. The main caveat is only layer markers are accessible via >>>>>>>>>>> scripting so unfortunately comp markers won't be included in the export. >>>>>>>>>>> >>>>>>>>>>> Cheers, >>>>>>>>>>> -Lloyd >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Mon, Apr 30, 2012 at 8:50 AM, Robert Kjettrup < >>>>>>>>>>> robert@stvmayday.dk> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi >>>>>>>>>>>> >>>>>>>>>>>> Is there some script that exports layers/comp markers to a >>>>>>>>>>>> simple textfile with timecode? Either directly from AE or via Premiere? >>>>>>>>>>>> >>>>>>>>>>>> i have search a little and i can't find anything that does it >>>>>>>>>>>> as a simple plain textfile. The closest i have found is an old premiere >>>>>>>>>>>> plugin that doesn't seem to work with CS5.5 ( >>>>>>>>>>>> http://www.2writers.com/Eddie/PpExpMark.htm) >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Robert Kjettrup / Grafiker / STV Mayday >>>>>>>>>>>> Mobil: 25 18 95 16 >>>>>>>>>>>> Mail: robert@stvmayday.dk >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > --f46d0401fd1bff050c04bf0b3d0a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Lloyd

I think i have f= ound a bug in your script :-(
The scripts add extra markers= at the same time as existing markers, it starts ok, but add doublemarkers = more and more often the higher it gets in markercount. It then exports some= of these double markers as same timecode but other 1 frame shifted even th= ough they are at the same time in AE.
See the link below for a small AE project and the resulting txt = file your script exports. i used this command to export: "[markernumbe= r]\t[time]\n"=A0

I=A0didn't even know that you cou= ld have several markes at the same timeframe in AE, it doesn't seem tha= t AE allow it using the UI, but i guess it is possible via scripting :-)



Robert Kjettrup / Grafiker / STV = Mayday
Mobil: 25 18 95 16
Mail: robert@stvmayday.dk


2012/5/1 Lloyd Alvarez <lists@aescrip= ts.com>
I see, if you use commas to separate each element and a newline at the end = of each line then the exported file will open as a spreadsheet so you would= n't need to copy and paste. =A0Does that make sense?

Lloyd

<= div class=3D"gmail_quote"> On Tue, May 1, 2012 at 1:29 PM, Robert Kjettrup <robert@stvmayday.dk= > wrote:
Hi

yes, i know. I just wanted to skip a step of writing = the file, and copy/paste from that into a spreadsheet, and just copy/paste = directly from AE.... just me being lazy.



Robert Kjettrup / Grafiker / STV Mayday
Mobil: 25= 18 95 16
Mail: robert@stvmayday.dk


2012/5/1 Lloyd Alvarez <lists@aescrip= ts.com>

Hey Robert,

You can export it as a comma delimited or tab delimited file and it shou= ld open correctly in your spreadsheet program. Let me know if you need to t= o elaborate on this.

Cheers,
Lloyd


On Tue, May= 1, 2012 at 12:59 PM, Robert Kjettrup <robert@stvmayday.dk> wrote:
Yes, i'm on windows.

= it's ok, just a bit faster to copy paste when you want the data in a sp= readsheet, but i will manage :-)



Robert Kjettrup / Grafiker /= STV Mayday
Mobil: 25 18 95 16
Mail: robert@stvmayday.dk


2012/5/1 Lloyd Alvarez <lists@aescrip= ts.com>
I only know how to do that on mac and you said you were on windows right? = =A0If you know a commandline way to send something to the clipboard then i = could add it.


On Tue, May 1, 2012 at 12:46 PM, Robert Kjettrup <robert@stvmayday.dk> wrote:
Hi Lloyd

a small feature = request more. Being able to choose to copy to clipboard instead of writing = to a file... easy? :-)


Robert Kjettrup / Grafiker = / STV Mayday
Mobil: 25 18 95 16
Mail:
robert@stvmayday.dk


2012/5/1 Lloyd Alvarez <lists@aescrip= ts.com>
Glad you like it, let me know who it works for you.

-Lloy= d


On Tue, May 1, 2012 at 12:09 PM, Robert Kjettrup <robert@stvmayday.dk> wrote:
Oh.... that looks absolutely brilliant. And = you just made it super customizable in what fields to export.=A0

Too bad i am almost finished with this project now... but i just bough= t it anyway, it should speed up the process for the remaining clips. ;-)

Thanks!




Robert Kjettrup / Grafiker / STV Mayday
Mobil: 25 18 = 95 16
Mail:
rob= ert@stvmayday.dk


2012/5/1 Lloyd Alvarez <lists@aescrip= ts.com>
Hey Robert,

I updated the script to support exporting to= a file. =A0You can format the text file however you want, i made a quick s= creendemo showing how to use it. =A0You can get the script and see the demo= here:=A0http://aescripts.com/layer-marker-batch-editor/

Let me know if you have any questions.

Cheers,
Lloyd

<= div>On Tue, May 1, 2012 at 5:46 AM, Robert Kjettrup <<= a href=3D"mailto:robert@stvmayday.dk" target=3D"_blank">robert@stvmayday.dk= > wrote:
Hi Lloyd

for t= his project i just use the AutoHotKeys Premiere script Ed provided, it work= s for what i need... or rather what the freelancer we have hired to do the = DVD authoring need, since he doesn't want to use Encore but really olds= chool Spruce he needed the timecodes for chapter markers and I-frame placem= ent for his mpeg2 encoder.
But, if you really don't know what to do for a few minutes (!) and= would like to add this export feature in your AE script, just make the out= put tab spaced like the script Ed did
Heres an output of the Prem= iere script from Ed:

Sequence0001 = 00:00:09:17 ""= ""
Sequence0001 00:01:39:03 "" ""
Sequence0001 00:03:34:12 "" ""
Sequence0001 00:04:53:14 "" ""
Sequence0001 00:05:26:10 "" ""
Sequence0001 00:06:02:24 "" ""
Sequence0001 00:06:37:12 "" ""
Sequence0001 00:07:04:18 "" ""
Sequence0001 00:07:33:04 "" ""
Sequence0001 00:08:15:20 "" ""
Sequence0001 00:08:50:20 "" ""
Sequence0001 00:09:24:05 "" ""
Sequence0001 00:09:59:19 "" ""
Sequence0001 00:10:38:11 "" ""

Another useful feature would be a choice of timec= ode or framenumber


Thanks for the h= elpful offer to modify your script, this list reallt is awsome :-)


Robert Kjettrup / Gra= fiker / STV Mayday
Mobil: 25 18 95 16
Mail: robert@stvmayday.dk


2012/5/1 Lloyd Alvarez <l= ists@aescripts.com>
Hey Robert,

If you tell me what format you need the text= file I can update my Layer Marker Batch Editor script http://aescripts.= com/layer-marker-batch-editor/ to have this functionality. =A0The main = caveat is only layer markers are accessible via scripting so=A0unfortunatel= y=A0comp markers won't be included in the export. =A0

Cheers,
-Lloyd


On Mon, Apr 30, 2012 at 8:50 AM, Robert Kjet= trup <robert@stvmayday.dk> wrote:
Hi

= Is there some script that exports layers/comp markers to a simple textfile = with timecode? Either directly from AE or via Premiere?

i have search a little and i can't find anything th= at does it as a simple plain textfile. The closest i have found is an old p= remiere plugin that doesn't seem to work with CS5.5 (http://www.2writers= .com/Eddie/PpExpMark.htm)




Robert = Kjettrup / Grafiker / STV Mayday
Mobil: 25 18 95 16
Mail: robert@stvmayday.dk












--f46d0401fd1bff050c04bf0b3d0a--