Creating Comp With Timecode from Imported Footage

Hi,
I know that if i import a MTS file and drop that on the comp icon it will create a new comp with the comp start and end time to match the MTS's embedded timecode.
However in script how can i do this?
I can create the comp. I can import the layers. I can tell the duration from the imported layer, but i don't seem to be able to get the start time for the layer, nor set the start time for the comp.
I'd really appreciate some pointers here, i have thousands of files to script!
cheers
Paul

Reading embeded timecode of video files is not supported via scripting as far as I know.
You can set a comp start time by using the "displayStartTime" attribute:
Pg. 54 of the cs6 scripting guide
CompItem displayStartTime attribute
app.project.item(index).displayStartTime
Description:
The time set as the beginning of the composition, in seconds. This is the equivalent of the Start Timecode or Start Frame setting in the Composition Settings dialog box.
Type
Floating-point value in the range [0.0...86339.0] (1 second less than 25 hours); read/write.
You can also set the starttime of a layer by using the "startTime" attribute:
Pg. 94
Layer startTime attribute
app.project.item(index).layer(index).startTime
Description:
The start time of the layer, expressed in composition time (seconds).
Type
Floating-point value in the range [-10800.0..10800.0] (minus or plus three hours); read/write

Similar Messages

  • How to view timecodes on imported footage

    I'm new to Imovie and need to view the timecodes on the footage i've imported to know where to edit. Can't seem to figure out how to get this to show up. Anybody know how?
    Thanks!

    You can use these files, but the first time you open them in iMovie 09, they will be upgraded so they will no longer work in iMOvie 08. New cache and thumbnails files will be created.
    It is probably not working now because, for performance reasons, iMovie 09 will not work with a network drive. There are workarounds involving symbolic links. But you still have to deal with the performance issue.
    So, do you want these files to still work in iMovie 08?
    *If no...*
    Simple drag and drop these Event Folders to a locally attached external drive that is formatted as MacOS Extended (journaled). They should be placed in a folder called iMovie Events at the top level of the drive. Attach this drive to the computer with iMovie 09, and start iMovie 09.
    Note: You could also move these files to your internal hard drive if you have plenty of room. In this case, they go in the Movies/iMovie Events folder.
    *if yes..*.
    Attach a properly formatted external drive to the computer with iMovie 08. In the finder, copy (not move) the Event folders to folder named "iMovie Events" at the top level of the drive.
    Also, if you have created projects from your imported footage (the events), and you want to port your projects to iMovie 09, it gets a little more complicated. Let me know.
    Message was edited by: AppleMan1958

  • How do I create a playable DVD from camcorder footage?

    Hi, almost total newbie here. My problem is that I'm wanting to create a playable DVD from a video I've made, but all my burns so far have resulted in DVDs which will play back on the iMAC they're created on, but not on my iBook G3. This is a worry, as I'm needing to send something playable interstate, quite urgently, and it needs to be either a Quicktime movie or a playable DVD.
    So far, I've managed to get the footage into iMovie, edit the clip length and add the effects I want.
    I'm then exporting the finished clip, ready to burn. Problem is, I'm completely confused about which settings to choose. Nothing I've tried seems to give me the results I want.
    When I play back on the iMAC, it's fine. When I try to open the movie in Quicktime on my iBook, it invariably stalls or skips frames. Any playback it does give is terribly disjointed. The problem isn't the iBook, as I can play commercial DVDs on it.
    The clip is intended for public screening, and I'm on a deadline. I've been browsing the forums and have found a few tips which might help, but nothing that sounds very different from what I've done, or sufficiently clear for a non-techie like me to grasp.
    Can anybody clear this up for me?
    As a side note, my daughters have been having the same difficulty, trying to burn DVD from animations they've put together in photoshop. Their issues were solved when they selected the Mpeg format to export in, although this did result in some sight loss of quality in terms of appearance on playback. ie the images were not as crisp, edges slightly fuzzy, etc.
    After hours of frustration, we're just not sure what to try next.
    Thanks.

    You should just send ("Share") the movie to iDVD from iMovie.
    See the iMovie tutorials (in html and QT movie form) at:
    http://www.apple.com/support/imovie/
    (Scroll down a bit)
    See the iMovie tutorials (in pdf form) at:
    http://manuals.info.apple.com/en/iMovieAtAGlance.pdf
    http://manuals.info.apple.com/en/iMovieHDGettingStarted.pdf
    http://manuals.info.apple.com/en/iMovieLesson1.pdf
    http://manuals.info.apple.com/en/iMovieLesson2.pdf
    http://manuals.info.apple.com/en/iMovieLesson3.pdf
    http://manuals.info.apple.com/en/iMovieLesson4.pdf
    http://manuals.info.apple.com/en/iMovieLesson5.pdf
    http://manuals.info.apple.com/en/iMovieLesson6.pdf
    http://manuals.info.apple.com/en/iMovieLesson7.pdf
    See the iDVD tutorial at:
    http://manuals.info.apple.com/en/iDVDAtAGlance.pdf
    http://manuals.info.apple.com/en/iDVD5GettingStarted.pdf
    http://manuals.info.apple.com/en/iDVDTutorial.pdf

  • Recording to a DVCPRO50 deck with timecode from timeline

    Hi, does anybody knows how to to a print to tape or edit to tape, and send the timecode from the timeline and use this as a timecode reference for a deck?
    Ex. from FCP5 to DVCPro50 using Firewire, the deck is set to EXT tc and using VITC, but only clips with no effects or slowmotion will send out tc, but the send out their own individual timecode from the original tape....
    so how to set up FCP or the deck to use tc from the timeline....!
    Otherwise U can not output with program start at a given exactly time..
    sincerly Helge

    Well, I got my AJ-1200A machine today, and there is one setting to use SLTC for external Timecode...
    Then I get the timecode from the timeline over firewire... And it works great!
    But my 930 machine (DVCPRO50) do not have this option, any ideas?
    sincerly helge, norway

  • How to create SynBO with  BAPIs from R/3 server?

    Hi,
    Can I get any documents or links regarding Syncbo creation with BAPIs from another R/3 server. I think I have to create RFC destination for this. The steps for creating RFC destination in Netweaver 2004s is also helpful for me.
    Also I need the required configurations also.
    Regards
    Shemim

    Hi Shemin,
    Refer the following link for Mobile Development Kit
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eba3a7-0601-0010-b982-92f1fca3258a
    This will provide you with rules of creating BAPI wrappers and sample BAPI wrappers.
    For creating RFC destination, contact your BASIS team member. You may not rights to do it by yourself. They will also tell the exact prodecure. It start with transaction SM59.
    Regards,
    Rahul

  • Create view with dynamic from-clause

    Dear all,
    you might have some ideas to help me out of my issue that i just "created myself" ;-)
    i have a unknown and non-constant amount of tables using the the same table-structure and i do have a master table
    that contains all names of these kind of tables. I now want to create a single view that contains all columns of each table
    and an additional column name containing the name of the corresponding table.
    I found a solution for this but only if I knew all table names while creating my view.
    Here's what I currently have:
    master_table:
    ID TABLENAME
    1 table_01
    2 table_02
    table_01:
    ID NAME
    1 eins
    2 zwei
    3 drei
    table_02:
    ID NAME
    1 one
    2 two
    3 three
    my view "tab1tab2" on these 2 table looks like this:
    ID NAME TABLENAME
    1 eins table_01
    2 zwei table_01
    3 drei table_01
    1 one table_02
    2 two table_02
    3 three table_02
    i achieved this view by using:
    CREATE OR REPLACE VIEW TAB1TAB2 ("ID", "NAME", "TABLENAME")
    AS
    SELECT id,name, 'table_01' AS tablename FROM table_01
    UNION
    SELECT id,name, 'table_02' AS tablename FROM table_02;
    Is there a way to create as many select and union statements as i do have entries (tablenames) in my master_table to achive the same results as my hardcoded view ?
    Many thanks in advance for your help
    Best regards
    majo

    Is there a way to create as many select and union statements as i do have entries (tablenames) in my master_table to achive the same results as my hardcoded view ?You can achieve this also with some xml facilities as e.g. in
    SQL> create table t1 as select empno, ename from emp where rownum <= 3
    Table created.
    SQL> create table t2 as select deptno empno, dname ename from dept
    Table created.
    SQL> create table master as (select 1 id, 't1' table_name from dual union all
                                       select 2 id, 't2' table_name from dual)
    Table created.
    SQL> create or replace view v_t
    as
    select table_name, x.*
      from (select table_name, 'ora:view("' || table_name || '")' tabs from master),
           xmltable (tabs columns id int path 'EMPNO', ename varchar2(20) path 'ENAME') x
    View created.
    SQL> select * from v_t
    TABLE_NAME              ID ENAME              
    t1                    7369 SMITH              
    t1                    7499 ALLEN              
    t1                    7521 WARD               
    t2                      10 ACCOUNTING         
    t2                      20 RESEARCH           
    t2                      30 SALES              
    t2                      40 OPERATIONS         
    t2                      50 SALES              
    8 rows selected.
    SQL> create table t3 as select object_id empno, object_name ename from user_objects where rownum <= 3
    Table created.
    SQL> insert into master values (3, 't3')
    1 row created.
    SQL> select * from v_t
    TABLE_NAME              ID ENAME              
    t1                    7369 SMITH              
    t1                    7499 ALLEN              
    t1                    7521 WARD               
    t2                      10 ACCOUNTING         
    t2                      20 RESEARCH           
    t2                      30 SALES              
    t2                      40 OPERATIONS         
    t2                      50 SALES              
    t3                  187449 ABC                
    t3                  187448 ADDRESSES_EXT_TAB  
    t3                  187446 ADDRESSES_EXT_TYP  
    11 rows selected.Note: above will work only in 11g.

  • How create report with data from table and some columns results function ?

    Hi,
    How can i create on apex report region with some columns (of the report) as returned from a table and the other columns as results of plsql functions ?
    for example , I want to create a report like that:
    device last_date error_msg stop/start
    kodak1 06/04/08 null >>
    kodak2 08/03/08 good msg --^--
    kodak3 08/04/08 err msg >>
    3 rows returned
    where the 3 first columns are data returned from the table and the forth column is the result of plsql function (returned for example false) and on that i want to display a button of start ( >> in this example ) or stop ( --^-- in this example)

    Thomas,
    There is no problem here -- this is fully suported scenario.
    1. Bind Table dataSource to Customers node.
    2. Bind individual cell editors to any attribute of customer or any nested node like Address, say create column with InputField as editor, then for "value" property select Customer.Address.Street.
    Your nested nodes (like Address) must be non-singleton, set singleton=false on context designer tab.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Creating PDF with stylesheet from my website

    How do I create a PDF directly from my website using a specially-styled page?
    Joomla does it and I'm wondering how I can do the same thing. It's similar to a printer-friendly version. But when you click the "create PDF button", it asks you where to save and then creates the file.
    Any ideas?

    Here's what I did ....
    I was rather dismayed that I couldn't use the features that were with QuickTime 7.6.3 so I got brave and took it out of the utilities folder where it was placed when I installed Snow Leopard. I then went into my Time Machine Backups, went to my computers saved library in the SYSTEM FOLDER copied ALL of the components, then pasted them into my HOME library in the new version of installed Leopard Files. When I open up QuickTime 7, I now have access to the two preference areas in the finder, one that now shows my previous registration code, and the other general app preferences. I was also able to convert files from one format to another like before. I haven't used this extensively, so I can't vouch that I might fall prey to some form of future conflict. But, hey, it's worth trying! You can also just go to downloads from apple and get Quicktime 7 and put it back into your utilities folder.

  • Create Checkbox with Attributes from XML file

    Hi
    I have some problem. I want to create some checkbox with attribute from a XML file
    my Xml file look like this:
    <group type="Content Relation" color="255, 255, 255" active="true">
    so I want to create for example a check box with name as Content Relation, Background color is RGB(255, 255, 255) and it's checked. All of these Attribute I have readed and save them as String. My question, how can I create a Color object with the color Attribute from the XML file?
    Is it better if I define my XML file like this:
    <group>
    <type>Content Relation</type>
    <color>
    <red>255</red>
    <green>255</green>
    <blue>255</blue>
    </color>
    <active>true</active>
    </group>

    IMO attributes are much easier to parse then textnodes
    altho
    <color red='255' green='255' blue='255'/>
    might be easier

  • Create inventions with MAKE_CALENDAR_NODE from CL_DOCUMENT_BCS

    Hi experts,
    is it possible to create inventions with MAKE_CALENDAR_NODE ?
    I search, but I don't find any information.
    Is there someone who knows anything about this ?
    Thanks for answers.
    Angelika

    Hi experts,
    is it possible to create inventions with MAKE_CALENDAR_NODE ?
    I search, but I don't find any information.
    Is there someone who knows anything about this ?
    Thanks for answers.
    Angelika

  • Can't see timecode from transcoded footage

    I shot some HD footage on a Lumix GH3, with audio recorded on a Zoom H4N. I synced it all up in Pluralize, and exported / transcoded into Prores 422 in Compressor. Now when I import the ProRes clips into Final Cut Pro 7, I cannot see the GH3's timecode. On the master camera file I can see the timecode at for instance 05:39:51:10 but in the ProRes clip it shows as something else related to the clip starting at 00:00:00:00  So how can I retain the original camera timecode after syncing and exporting/transcoding via Compressor? Thanks, I hope that's enough info.

    If you exported from the Timeline (where Pluraleyes syncs things up), then the exported file adopts the TIMELINE TIMECODE, which generally starts at 1:00:00;00.  The only way to retain the original timecode is to convert the file to ProRes first, then import and sync. 

  • Error when creating BufferedImage with IndexColorModel from a byte array.

    Hi, I have a 1-dimentional byte array and an IndexColorTable, and I can't figure out how to combine the 2 into an BufferedImage without unnecessary copying/reallocating of the image buffer.
    The color model I have is:
    int [] cmap = new int [numColors];
    cmap[i++] = 0xffa0f000;  /etc.
    new IndexColorModel(8, 22, cmap, 0, true,  transparentIndex,  DataBuffer.TYPE_BYTE );Thanks for your help
    -Ben
    Ps.
    I've was looking at some example code (http://javaalmanac.com/egs/java.awt.image/Mandelbrot2.html?l=rel), and can't figure out how to go from the color model they're using to the one I have (the 8 bit one specified above). When I replace the 4bit colormodel in the code below with the 8bit color model specified above, I get the following error:
    [java] java.lang.IllegalArgumentException: Raster ByteInterleavedRaster: width = 5120 height = 3520 #numDataElements 1 dataOff[0] = 0 is incompatible with ColorModel IndexColorModel: #pixelBits = 8 numComponents = 4 color space = java.awt.color.ICC_ColorSpace@c51355 transparency = 2 transIndex = 22 has alpha = true isAlphaPre = false
    [java] at java.awt.image.BufferedImage.<init>(BufferedImage.java:613)
    Code:
    byte[] pixelArray = (byte[]) getData_CHAR();                
    int width = 5120;
    int height = 3520;
    int numbytes = width*height;
    //create DataBuffer using byte buffer of pixel data.
    DataBuffer dataBuffer = new DataBufferByte(pixelArray, numbytes, 0);
    //prepare a sample model that specifies a storage 8-bits of pixel data in an 8-bit data element
    int bitMasks[] = new int[]{0xf};
    SinglePixelPackedSampleModel sampleModel = new SinglePixelPackedSampleModel(DataBuffer.TYPE_BYTE, width, height, bitMasks);
    //create a raster using the sample model and data buffer
    WritableRaster writableRaster = Raster.createWritableRaster(sampleModel, dataBuffer, new Point(0,0));
    //generate 16-color model
    byte[] r = new byte[16];
    byte[] g = new byte[16];
    byte[] b = new byte[16];
    r[0] = 0; g[0] = 0; b[0] = 0;
    r[1] = 0; g[1] = 0; b[1] = (byte)192;
    r[2] = 0; g[2] = 0; b[2] = (byte)255;
    r[3] = 0; g[3] = (byte)192; b[3] = 0;
    r[4] = 0; g[4] = (byte)255; b[4] = 0;
    r[5] = 0; g[5] = (byte)192; b[5] = (byte)192;
    r[6] = 0; g[6] = (byte)255; b[6] = (byte)255;
    r[7] = (byte)192; g[7] = 0; b[7] = 0;
    r[8] = (byte)255; g[8] = 0; b[8] = 0;
    r[9] = (byte)192; g[9] = 0; b[9] = (byte)192;
    r[10] = (byte)255; g[10] = 0; b[10] = (byte)255;
    r[11] = (byte)192; g[11] = (byte)192; b[11] = 0;
    r[12] = (byte)255; g[12] = (byte)255; b[12] = 0;
    r[13] = (byte)80; g[13] = (byte)80; b[13] = (byte)80;
    r[14] = (byte)192; g[14] = (byte)192; b[14] = (byte)192;
    r[15] = (byte)255; g[15] = (byte)255; b[15] = (byte)255;
    //create buffered image    
    ColorModel colorModel = new IndexColorModel(4, 16, r, g, b);
    BufferedImage image = new BufferedImage(colorModel, writableRaster, false, null);Message was edited by:
    ben_weisburd
    Message was edited by:
    ben_weisburd

    I had the same problem too.
    anyone found the solution for this problem?
    thanks
    Bruno Rabino
    When I try to make a MD-form, where the base-table for the detail contains a column with a BLOB-datatype. I get following error when I finish creation of the form.
    Error: Exception from wwv_generate_component.build_procedure (WWV-01821)
    Error creating module: ORA-01403: no data found (WWV-16042)
    When I use the table with the BLOB as master or in a form, it works fine.
    Has anyone else experienced this problem? Or knows a way to fix or work around it. Thanks in advance.
    Portal version: 3.0.6.6.5
    null

  • Creating document with content from a remote system

    Any sample code that I have seen for creating a new document requires that the file (the content) of the document resides on the Server machine.
    What is the best way to create a document with content that comes from a remote file?

    The Java code which is trying to load a file into IFS must have access to the file to load it.
    If the file you are trying to load is in a remote location from the Java code, then you would need to use some remote access protocol, such as NFS, to ensure the file was accessible to the Java code.

  • Script that create Layerset with name from layer?

    Hello!
    This should be easy for someone who know whet is doing so not me:P
    I want script to automatically create layerset from each selected layer, name it as that layer and place that layer in it
    I found old script that do that but only normal layer not linked or embeded, and I want to do it for all selected layers not only to one
    Can someone modify it a little to work little better? I have no idea how to do it and probably would take me like thousands hours or more
    thx
    #target photoshop
    main();
    function main(){
    if(!documents.length) return;
    var doc = activeDocument;
    if(doc.activeLayer.kind != LayerKind.NORMAL) return;
    var layerRef = doc.activeLayer;
    var layerSetRef = doc.layerSets.add();
    layerSetRef.name = layerRef.name;
    layerRef.move(layerSetRef, ElementPlacement.PLACEATEND);

    You could remove the line
    if(doc.activeLayer.kind != LayerKind.NORMAL) return;
    But it would only work with one selected Layer (and also on selected LayerSets).
    To handle more than one selected Layer (or all Layers) some changes would be necessary.

  • CS5.5--Issues with audio from imported avi's & issues exporting

    To Start, my laptop:
    CPU: Intel® Core ™ i7-2330QM CPU @ 2.00 GHz
    CPU Clock Frequency: 2.00 GHz
    System Memory: 8 GBytes
    Cache Memory: 1 MBytes/6 Mbytes
    Manufacturer: Sony Corporation
    Model name: VPCF226FM
    BIOS VERSION: R1190V#
    OS Version: Microsoft Windows 7 Home Premium
    ME Version: 7.0.10.1203
    System Type: 64-bit Operating System
    I downloaded the 30-day free trial of Premiere Pro CS5.5 with all updates.  To play with the program, for my own personal amusement, I wanted to edit together pieces from a bunch of avi videos that I know to play properly outside the program, tested on more than one computer.
    At first, importing the files seemed to be no problem, making subclips as I went along.
    However, as I continued to import files, there began to be a sound issue--sometimes the sound not being present till I was 1/3 of the way through the clip, sometimes the sound seemingly playing catch up with audio that should be earlier in the video appearing later, sometimes the sound wouldn't come up at all, and still other times I'd be, for example, on video 5 when pieces of audio from video 2 would start playing over the current video.
    I initially thought it may just be a memory issue, working with many large video files.
    But later, when I went to edit the subclips I made, I found that many of them no longer had sound, even if they did when I initially subclipped them.
    Weirdly, in the timeline, there is no consistency, as clips will appear in the video track but only some show audio tracks too.  But those with audio tracks don't always play audio and those that show NO audio tracks at all actually do play audio sometimes.  Also, those that show audio tracks and don't play them sometimes will show waveforms, sometimes don't.  A clip with no waveform may not play 95% of the time, but then occasionally will suddenly have the waveform and play a couple times before reverting back to no audio.
    A suitable solution for this personal amusement project would just be to drop a new soundtrack over the thing but, before I even got that far, I tried exporting as avi's and mpeg4's but then get error messages such as:
    Premiere Pro has encountered an error.
    [..\..\Src\Win\WinFile.cpp-785]
    Error compiling movie.
    Unknown error.
    In case it was a memory issue, I tried starting a new project, only importing 2 videos, but had the same audio and exporting issues.
    I'm getting really frustrated as I spent a lot of time importing/subclipping and then even more time prepping before that.
    For those who are bound to ask, while new to Premiere, I'm not a novice with editing.  I've used Final Cut Pro at work for many years (without such issues).
    Thanks for your help.

    You might start at http://www.xvid.com/
    Tools to Convert to DV-AVI http://forums.adobe.com/thread/415317
    Convert http://premierepro.wikia.com/wiki/FAQ:How_do_I_convert_my_files%3F
    Convert SD (Standard Definition) files to DV-AVI Type II with 48KHz 16-bit Audio
    As well as the links just above, use Google to find conversion software
    I have NOT used the products below, I only forward due to other mentions... so YMMV and all the usual disclaimers... check the links and read to find out if one of the products listed below will rip or convert the files you have to something you need for editing
    http://www.corel.com/servlet/Satellite/us/en/Product/1175714228541#tabview=tab0
    http://www.womble.com/products/mvw.html
    http://www.magix.com/us/movie-edit-pro/ plus $5 Ship
    http://www.nchsoftware.com/prism/index.html
    http://www.videoredo.com/en/index.htm
    http://www.daniusoft.com/media-converter-ultimate.html
    http://www.deskshare.com/media-converter.aspx Digital Media Converter
    http://www.topsoftwareol.com/product/Video/Video_Converter_Standard.html
    http://www.erightsoft.com/SUPER.html Multi-Converter <-- supposed to be very good
    http://download.cnet.com/FreeStar-Free-Video-Converter/3000-2194_4-10854990.html
    http://www.videohelp.com/tools/XviD4PSP

Maybe you are looking for