Export xmp as seperate file

Hi
I'm exporting a mxf file from after effects. I would like to include a xmp file, but not in the mxf file. I would like to have it as a seperate file. Is that possible?
Jakob

Don't think so. AE specifically tries to use the media formats' native options for timecode and metadata nad when using Dynamic Link it also uses the media cache to store additional info. you should look into capturing all information with a script. it's the only way to be 100% everything ends up where you want it.
Mylenium

Similar Messages

  • Context right-click to export XMP metadata to file

    I'd like to have the right click context menu include the option to "Export XMP Metadata to Files" in the Library grid or filmstrip. Currently an annoying trip to the Menu bar is required to invoke this function.

    It was there for B4.1. The Contextual Menus are getting crowded, so maybe that's why they took it out.
    I like lots of Contexual Menus,too. But they get a little useless if too crowded, so maybe they need ot be user configuarable for what one uses the most.
    Maybe by V1.5?
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.8 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

  • Exporting XMP metadata sidecar files by themselves.

    Is there a way to export sidecar files without exporting another master somewhere? I run a referenced library referenced to an archive on my HDD that I can easily back and manage. I may want to export sidecar files for the pictures as a yearly thing or so. As far as I can tell you can only creat sidecar files when exporting a new master which would then created an IMG_1(1) master and double the store space usage. By using the export metadata function you end up with a single text file.
    Right now I just plan to manage and backup my metadata via a Vault but the option would be nice to be able to export sidecar files separately from a new master. Maybe I'm asking too much and just need to use the app as it is designed...

    Sorry I can't answer that, the script was written a while ago and came from here..
    http://www.creativescripting.net/BridgeScripts/barredrock.html
    It might be best to write one from scratch, but that  would mean knowing what fields were required and what file types.

  • Export XMP Files + DNG?

    If I currently have all of the RAW images within my Lightroom database in the DNG format, do I have to worry about exporting the XMP data to the files (using the 'Export .XMP Metadata to File' menu option)? What about the Preference setting to 'Automatically write changes into XMP'? Anyone know whether or not this preference setting is relevant to someone with a library full of DNG RAW images?
    If this is something that has to be done in order for other Apps to be able to see the various adjustments and settings I've applied to my images in Lightroom, and assuming I would like to have Lightroom do this for me automatically (using the preference setting), does having changes written to the XMP sidecar files automatically in any noticeable way have a negative affect on Lightroom's performance (i.e. slow it down in any way)?
    Please advise...Thanks!

    >If this is something that has to be done in order for other Apps to be able to see the various adjustments and settings I've applied to my images in Lightroom
    Correct, but Lr is fully functional without the requirement to export xmp data. Therefore, only export the xmp data only if it is required to do so.
    I never let Lr automatically write xmp data -- why pay the performance penalty, however small it might be, for no good reason? Instead, I use the Metadata>XMP menu to export xmp data only on those images I might want to view in Bridge or ACR.
    Other people have suggested that the xmp export can be used as a backup of Lr's metadata and parametric data. That is a valid argument but since not all Lr information is exported (e.g. collections, stacking, history, etc.) it's only a partial backup. Instead, I religiously backup the Lr database and copy it to external drives and burn to optical media.

  • New option: "Export XMP when idle"

    like many, for performance reason i do not have "Automatically write changes into XMP" checked. yet i am a firm believer that the changes *belong* in the files themselves (for portability), so i must constantly do manual XMP exports when im finished w/ a set.
    in my book, "dumb" (not image-specific) manual steps are, well, dumb, and should be removed for an ideal workflow.
    therefore, i think it would be cool if LR handled XMP-to-file in a slightly different way -- a new checkbox for:
    "Export XMP metadata to files when idle"
    ...so whenever you leave LR open and you arent doing anything w/ it, it will auto-export all not-yet-embedded XMP changes to the files. this gives you portability, and piece of mind at no manual cost.
    just my thought.
    matt

    > Select only the images you want to write the metadata and/or settings
    > to!
    that is an added manual step. as i said, dumb (generic) manual steps that dont relate to the images in question are to be avoided.

  • How to export user defined properties in seperate file

    Hello,
    i want to export user definied properties in a seperate file using OMB+ commands. The documentation of this topic doesn't work.
    The OMB Code I use is the following:
    OMBEXPORT TO MDL_FILE '${Pfad}/006_${Project}.mdl' \
    FROM PROJECT '${Project}' \
    ALL_CLASS_DEFINITONS \
    CONTROL_FILE '$SANDBOX_HOME/Project.ctl' \
    INCLUDE_USER_DEFINITIONS \
    OUTPUT LOG TO '${Pfad}/006_${Project}_exp.log'
    The control file defines the path and filename for the the definitons in this way:
    DEFINITIONFILE=C:\Arbeitsverzeichnis\udp.mdd
    But the file will not be created and i get no error message.
    When using this command the udp' definitons will be exported, but in the general project export file. Which is the correct way to export the definition in a seperate file?

    - Create a user-defined OTD with one String field.
    - Create an XSD-based OTD with repeating name and value fields of type String
    - Create a "New Web Service" Java Collaboration whose input will be the first OTD, whose output will be the second OTD and whose operation will be named getProeprties, or some such
    - Implement, in Java, the code necessary to read your properties, given the properties file name or path (given in the input OTD) and populate the name/valur pairs on the output OTD
    - drag the operation of the collaboration onto the Business Process Editor canvas as an Activity
    - Configure a Busienss Rule to set the input of the getProperties activity to the name/path of the properties file
    - Configure a Business Rule(s) to use the name/value pairs returned from the ivocation of teh getProperties service
    If you wish to take this one step further you could consider writing the java collaboration
    a) generically so it can be reused from different business processes
    b) to cache the properties on first read so each invocation after the first one simply returns the in-memory values instead of re-reading the proerties from disk
    c) generically so it can read, cache and return different property sets depending on the properties file/path provided as input.
    Bear in mind that IO from a java collaboration by means other than an eWay violates the EJB spec.. It works all the same.
    Message was edited by:
    mczapski

  • How to make a dvd with audio track after exporting using media encoder? I have 2 seperate files??

    Hello,
    I need to just burn a video I finished. It's a m2v file and so I have a AC3 audio tack and a video track. I thought I was good to go, but I cannot figure out how to burn the audio and the video to the same disk! This is very annoying as the settings I have to use for export to keep video quality will give me 2 seperate files.
    So, what programs do you use or recommend that allow me to add an audio track? I don't want people to have the option of switching between tracks I just want a normal track like you have when watching a movie, I mean it just plays by default.
    Thanks in adv.
    Mark

    The caveats that I would issue to others are:
    1.) muxed Assets often work fine, but can cause problems. Properly spec'ed. elemental streams seem to never cause problems.
    2.) Encore will allow one to populate a Timeline with multiple Assets. However, it can get very confused in some cases. One is where an Audio Clip is just an Audio Unit, or two, too long, and one has a tiny gap, between their Videos. Using one Timeline per Sequence will always work, so long as the Assets are properly spec'ed.
    I'm not saying that either of these WILL cause problems. Many do similar with zero issues. However, there is the potential for problems. Just use with care.
    Good luck,
    Hunt

  • Export data merge document records as seperate files

    I've seen quite a few threads about this matter and Indesign CC 2014  still doesn't seem to be able to do it.
    I'd like to export a data merge project (in my case 600 books of 50 pages with photo's and text) to seperate pdf's. I could generate new documents or make a single pdf and breake these up, but I'm afraid this will be either buggy or very time consuming (having to save 600 files manually). So I'd hope Indesign could get a native feature to automatically save 600 seperate files. A plus would be if the file name could be defined by a data set variable from the same document.

    This forum is actually for discussing the merits of new feature requests rather than an official channel to submit a request to the team. For that, use Adobe - Feature Request/Bug Report Form  and make as strong a case as you can for why this will benefit a large user segment.

  • How do I set up my drag and drop questionaire to export to a XML file?

    How do I set up my drag and drop questionaire to export to a
    XML file?
    I have a 70 seperate SWF files that pose a question and
    contain a drag and drop rank order response of 1,2,3,4.How do I set
    up a XML file that receives the responses.I don't understand how to
    do the Actionscript
    and get my responses to connect to the XML.Please
    Help!Thanks!
    Here's an example of my XML.
    <assessment>
    <sessionid>ffae926ea290ee93c3f26669c6c04a92</sessionid>
    <request>save_progress</request>
    <question>
    <number>1</number>
    <slot_a>2</slot_a>
    <slot_b>1</slot_b>
    <slot_c>4</slot_c>
    <slot_d>3</slot_d>
    </question>
    <question>
    <number>2</number>
    <slot_a>4</slot_a>
    <slot_b>3</slot_b>
    <slot_c>2</slot_c>
    <slot_d>1</slot_d>
    </question>
    <question>
    <number>3</number>
    <slot_a>1</slot_a>
    <slot_b>2</slot_b>
    <slot_c>3</slot_c>
    <slot_d>4</slot_d>
    </question>
    </assessment>

    Use XML.sendAndLoad.
    http://livedocs.macromedia.com/flash/8/main/00002879.html
    You will need a server script to receive the XML structure
    and it depends on
    the server scripting language how you obtain that data. Then
    you can either
    populate a database or write to a static file or even email
    the XML data
    received from Flash.
    For a basic example, I have two links I use for students in
    my Flash
    courses:
    http://www.hosfordusa.com/ClickSystems/courses/flash/examples/XMLASP/Ex01/XMLASPEchoEx01_D oc.php
    http://www.hosfordusa.com/ClickSystems/courses/flash/examples/XMLPHP/EX01/XMLPHPEchoEx01_D oc.php
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "kenpoian" <[email protected]> wrote in
    message
    news:e5i9hp$cs6$[email protected]..
    How do I set up my drag and drop questionaire to export to a
    XML file?
    I have a 70 seperate SWF files that pose a question and
    contain a drag and
    drop rank order response of 1,2,3,4.How do I set up a XML
    file that receives
    the responses.I don't understand how to do the Actionscript
    and get my responses to connect to the XML.Please
    Help!Thanks!
    Here's an example of my XML.
    <assessment>
    <sessionid>ffae926ea290ee93c3f26669c6c04a92</sessionid>
    <request>save_progress</request>
    <question>
    <number>1</number>
    <slot_a>2</slot_a>
    <slot_b>1</slot_b>
    <slot_c>4</slot_c>
    <slot_d>3</slot_d>
    </question>
    <question>
    <number>2</number>
    <slot_a>4</slot_a>
    <slot_b>3</slot_b>
    <slot_c>2</slot_c>
    <slot_d>1</slot_d>
    </question>
    <question>
    <number>3</number>
    <slot_a>1</slot_a>
    <slot_b>2</slot_b>
    <slot_c>3</slot_c>
    <slot_d>4</slot_d>
    </question>
    </assessment>

  • Substitution Variable Issue while exporting from Essbase.sec file

    Hello All,
    I have an unusually distinct problem.
    I have 2 environments (Development and Production) where each environment has a seperate server with Essbase installed in it.
    When I tried to get information of the Substitution variables using the 'export security_file to data_file' command through MaxL and then checked the output file in Development, it showed me the right number of substitution variables and their values.
    But when I did he same with my Production environment it gives exactly 1 less no of substitution variables in the export file, specifically the last substitution variable that was updated through the Essbase Administration Console.
    I guess it is not updating the Essbase.sec file with the last updated Substitution variable. But I can't understand why since the same functionality works in development but not in production.
    Thank You.

    Hi all,
    In addition, I exported the Essbase.sec file after a long time after changing the Substitution variable and now it does show the updated substitution variable.
    I feel that Essbase does refresh the Essbase.sec file but after a long time. Is there some setting within Essbase that is done which refreshes the artifact files after a while. Or is this a setting within the system in which Essbase has been installed (in my case Linux).
    Also the Substitution Variable that has been created is for (all apps) and (all dbs). Is this the reason why this is not working because I tried changing some other Substitution variable which is for a specific app and a specific dbs and it worked fine.
    Thank You.
    Edited by: 923021 on 27 Mar, 2012 6:15 AM

  • Exporting tables to flat files

    Hi,
    Can I export tables to flat files(csv) using pl/sql. I mean suppose I have 2 tables 'student' and 'subject' and I want to create two flat files student.csv and subject.csv Please let me know, if I can do it using pl/sql for both the tables in one go.
    Even if I can do it for one table, than I can write a script to automate for all the tables. Please let me know with your suggestions. Appreciate your help.
    Thanks

    As sys user:
    CREATE OR REPLACE DIRECTORY TEST_DIR AS '\tmp\myfiles'
    GRANT READ, WRITE ON DIRECTORY TEST_DIR TO myuser
    /As myuser:
    CREATE OR REPLACE PROCEDURE run_query(p_sql IN VARCHAR2
                                         ,p_dir IN VARCHAR2
                                         ,p_header_file IN VARCHAR2
                                         ,p_data_file IN VARCHAR2 := NULL) IS
      v_finaltxt  VARCHAR2(4000);
      v_v_val     VARCHAR2(4000);
      v_n_val     NUMBER;
      v_d_val     DATE;
      v_ret       NUMBER;
      c           NUMBER;
      d           NUMBER;
      col_cnt     INTEGER;
      f           BOOLEAN;
      rec_tab     DBMS_SQL.DESC_TAB;
      col_num     NUMBER;
      v_fh        UTL_FILE.FILE_TYPE;
      v_samefile  BOOLEAN := (NVL(p_data_file,p_header_file) = p_header_file);
    BEGIN
      c := DBMS_SQL.OPEN_CURSOR;
      DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
      d := DBMS_SQL.EXECUTE(c);
      DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
      FOR j in 1..col_cnt
      LOOP
        CASE rec_tab(j).col_type
          WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
          WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val);
          WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val);
        ELSE
          DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
        END CASE;
      END LOOP;
      -- This part outputs the HEADER
      v_fh := UTL_FILE.FOPEN(upper(p_dir),p_header_file,'w',32767);
      FOR j in 1..col_cnt
      LOOP
        v_finaltxt := ltrim(v_finaltxt||','||lower(rec_tab(j).col_name),',');
      END LOOP;
      --  DBMS_OUTPUT.PUT_LINE(v_finaltxt);
      UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
      IF NOT v_samefile THEN
        UTL_FILE.FCLOSE(v_fh);
      END IF;
      -- This part outputs the DATA
      IF NOT v_samefile THEN
        v_fh := UTL_FILE.FOPEN(upper(p_dir),p_data_file,'w',32767);
      END IF;
      LOOP
        v_ret := DBMS_SQL.FETCH_ROWS(c);
        EXIT WHEN v_ret = 0;
        v_finaltxt := NULL;
        FOR j in 1..col_cnt
        LOOP
          CASE rec_tab(j).col_type
            WHEN 1 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
                        v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
            WHEN 2 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_n_val);
                        v_finaltxt := ltrim(v_finaltxt||','||v_n_val,',');
            WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_d_val);
                        v_finaltxt := ltrim(v_finaltxt||','||to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'),',');
          ELSE
            v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
          END CASE;
        END LOOP;
      --  DBMS_OUTPUT.PUT_LINE(v_finaltxt);
        UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
      END LOOP;
      UTL_FILE.FCLOSE(v_fh);
      DBMS_SQL.CLOSE_CURSOR(c);
    END;This allows for the header row and the data to be written to seperate files if required.
    e.g.
    SQL> exec run_query('select * from emp','TEST_DIR','output.txt');
    PL/SQL procedure successfully completed.Output.txt file contains:
    empno,ename,job,mgr,hiredate,sal,comm,deptno
    7369,"SMITH","CLERK",7902,17/12/1980 00:00:00,800,,20
    7499,"ALLEN","SALESMAN",7698,20/02/1981 00:00:00,1600,300,30
    7521,"WARD","SALESMAN",7698,22/02/1981 00:00:00,1250,500,30
    7566,"JONES","MANAGER",7839,02/04/1981 00:00:00,2975,,20
    7654,"MARTIN","SALESMAN",7698,28/09/1981 00:00:00,1250,1400,30
    7698,"BLAKE","MANAGER",7839,01/05/1981 00:00:00,2850,,30
    7782,"CLARK","MANAGER",7839,09/06/1981 00:00:00,2450,,10
    7788,"SCOTT","ANALYST",7566,19/04/1987 00:00:00,3000,,20
    7839,"KING","PRESIDENT",,17/11/1981 00:00:00,5000,,10
    7844,"TURNER","SALESMAN",7698,08/09/1981 00:00:00,1500,0,30
    7876,"ADAMS","CLERK",7788,23/05/1987 00:00:00,1100,,20
    7900,"JAMES","CLERK",7698,03/12/1981 00:00:00,950,,30
    7902,"FORD","ANALYST",7566,03/12/1981 00:00:00,3000,,20
    7934,"MILLER","CLERK",7782,23/01/1982 00:00:00,1300,,10The procedure allows for the header and data to go to seperate files if required. Just specifying the "header" filename will put the header and data in the one file.
    Adapt to output different datatypes and styles are required.

  • Export xmp from jpeg

    Hi,
    Photographer I use Internet in lots of coutries.
    I have to work in jpeg and i want to export XML to send by Internet.
    So Can I export XML from JPEG ?
    Can I see the modifications if I put the sidecars XML in the directory of jpeg without modifications ?
    Thx for your help
    BLL

    With ExifTool you can export xmp from jpeg to xmp files and vica versa. Just make sure you have the last version that support all your tags. And of course save the metadata to the jpeg file before you start using the tool and read the metadata after you done.

  • Import XMP Metadata From File

    In Beta4, the Import XMP Metadata From File command would import data found in an xmp file.
    In V1, it's not working...or am I missing something.
    (I do understand that Export XMP to File will write the data into the image file itself.)
    Ideas?
    Pete

    Here's a sample xmp I created...in case it's wrong..but it was working in B4.<br /><br /><x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Toolkit 3.3-016, build -num-, -date-"><br /> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><br />   <rdf:Description rdf:about=""<br /> xmlns:dc="http://purl.org/dc/elements/1.1/"><br />    <dc:description><br />     <rdf:Alt><br />      <rdf:li xml:lang="x-default">: Geese at sunset. Finley National Wildlife Refuge, Oregon</rdf:li><br />     </rdf:Alt><br />    </dc:description><br />    <dc:creator><br />     <rdf:Seq><br />      <rdf:li xml:lang="x-default">Peter K. Ziminski</rdf:li><br />     </rdf:Seq><br />    </dc:creator><br />    <dc:rights><br />     <rdf:Alt><br />      <rdf:li xml:lang="x-default">Peter K. Ziminski</rdf:li><br />     </rdf:Alt><br />    </dc:rights><br />    <dc:subject><br />     <rdf:Bag><br />      <rdf:li>Sunrises and Sunsets</rdf:li><br />      <rdf:li>Birds</rdf:li><br />      <rdf:li>Landscapes</rdf:li><br />      <rdf:li>Animals</rdf:li><br />      <rdf:li>Oregon</rdf:li><br />      <rdf:li>Finley National Wildlife Refuge</rdf:li><br />     </rdf:Bag><br />    </dc:subject><br />   </rdf:Description><br />   <rdf:Description rdf:about=""<br />    xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/"><br />     <Iptc4xmpCore:Location>Finley National Wildlife Refuge, Oregon</Iptc4xmpCore:Location><br />    </rdf:Description><br /> </rdf:RDF><br /></x:xmpmeta>

  • Help to export data into a file

    Hi,
      I am having more than 200 columns in a table. Client wants to export the data into a file with all 215 columns data. When i write the select * from tablename into a spool file. It is getting the data into a multiple lines however client wants each record into a single line.(right now records are getting into multiple lines). I tried to use to_nclob(columnname1)....to_nclob(column215), this way it is getting a single line for each record but it is taking much time(means in a table we have 10M records and explain plan is showing 3 days to export the file). Could you please help me how we can achieve these type of functionalities.
    Thanks in advance

    user586 wrote:
    Hi,
      I am having more than 200 columns in a table. Client wants to export the data into a file with all 215 columns data. When i write the select * from tablename into a spool file. It is getting the data into a multiple lines however client wants each record into a single line.(right now records are getting into multiple lines). I tried to use to_nclob(columnname1)....to_nclob(column215), this way it is getting a single line for each record but it is taking much time(means in a table we have 10M records and explain plan is showing 3 days to export the file). Could you please help me how we can achieve these type of functionalities.
    Thanks in advance
    Hardly surprising it's taking ages to export 10 million rows, if you're doing it through SQL*Plus, as that involves transporting all the data over the network to the client, which is then rendering all that data in the display (which can be slow to scroll, depending on the size of the window) etc.
    Better to get the database to access the file system directly, using UTL_FILE (though this does mean that the file is produced on the server) and then transfer the resultant file to where it needs to go.
    Example of a generic template to use as a starting point...
    As sys user:
    CREATE OR REPLACE DIRECTORY TEST_DIR AS '\tmp\myfiles'
    GRANT READ, WRITE ON DIRECTORY TEST_DIR TO myuser
    As myuser:
    CREATE OR REPLACE PROCEDURE run_query(p_sql IN VARCHAR2
                                         ,p_dir IN VARCHAR2
                                         ,p_header_file IN VARCHAR2
                                         ,p_data_file IN VARCHAR2 := NULL) IS
      v_finaltxt  VARCHAR2(4000);
      v_v_val     VARCHAR2(4000);
      v_n_val     NUMBER;
      v_d_val     DATE;
      v_ret       NUMBER;
      c           NUMBER;
      d           NUMBER;
      col_cnt     INTEGER;
      f           BOOLEAN;
      rec_tab     DBMS_SQL.DESC_TAB;
      col_num     NUMBER;
      v_fh        UTL_FILE.FILE_TYPE;
      v_samefile  BOOLEAN := (NVL(p_data_file,p_header_file) = p_header_file);
    BEGIN
      c := DBMS_SQL.OPEN_CURSOR;
      DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
      d := DBMS_SQL.EXECUTE(c);
      DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
      FOR j in 1..col_cnt
      LOOP
        CASE rec_tab(j).col_type
          WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
          WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val);
          WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val);
        ELSE
          DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
        END CASE;
      END LOOP;
      -- This part outputs the HEADER
      v_fh := UTL_FILE.FOPEN(upper(p_dir),p_header_file,'w',32767);
      FOR j in 1..col_cnt
      LOOP
        v_finaltxt := ltrim(v_finaltxt||','||lower(rec_tab(j).col_name),',');
      END LOOP;
      --  DBMS_OUTPUT.PUT_LINE(v_finaltxt);
      UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
      IF NOT v_samefile THEN
        UTL_FILE.FCLOSE(v_fh);
      END IF;
      -- This part outputs the DATA
      IF NOT v_samefile THEN
        v_fh := UTL_FILE.FOPEN(upper(p_dir),p_data_file,'w',32767);
      END IF;
      LOOP
        v_ret := DBMS_SQL.FETCH_ROWS(c);
        EXIT WHEN v_ret = 0;
        v_finaltxt := NULL;
        FOR j in 1..col_cnt
        LOOP
          CASE rec_tab(j).col_type
            WHEN 1 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
                        v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
            WHEN 2 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_n_val);
                        v_finaltxt := ltrim(v_finaltxt||','||v_n_val,',');
            WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_d_val);
                        v_finaltxt := ltrim(v_finaltxt||','||to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'),',');
          ELSE
            DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
            v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
          END CASE;
        END LOOP;
      --  DBMS_OUTPUT.PUT_LINE(v_finaltxt);
        UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
      END LOOP;
      UTL_FILE.FCLOSE(v_fh);
      DBMS_SQL.CLOSE_CURSOR(c);
    END;
    This allows for the header row and the data to be written to seperate files if required.
    e.g.
    SQL> exec run_query('select * from emp','TEST_DIR','output.csv');
    PL/SQL procedure successfully completed.
    Output.csv file contains:
    empno,ename,job,mgr,hiredate,sal,comm,deptno
    7369,"SMITH","CLERK",7902,17/12/1980 00:00:00,800,,20
    7499,"ALLEN","SALESMAN",7698,20/02/1981 00:00:00,1600,300,30
    7521,"WARD","SALESMAN",7698,22/02/1981 00:00:00,1250,500,30
    7566,"JONES","MANAGER",7839,02/04/1981 00:00:00,2975,,20
    7654,"MARTIN","SALESMAN",7698,28/09/1981 00:00:00,1250,1400,30
    7698,"BLAKE","MANAGER",7839,01/05/1981 00:00:00,2850,,30
    7782,"CLARK","MANAGER",7839,09/06/1981 00:00:00,2450,,10
    7788,"SCOTT","ANALYST",7566,19/04/1987 00:00:00,3000,,20
    7839,"KING","PRESIDENT",,17/11/1981 00:00:00,5000,,10
    7844,"TURNER","SALESMAN",7698,08/09/1981 00:00:00,1500,0,30
    7876,"ADAMS","CLERK",7788,23/05/1987 00:00:00,1100,,20
    7900,"JAMES","CLERK",7698,03/12/1981 00:00:00,950,,30
    7902,"FORD","ANALYST",7566,03/12/1981 00:00:00,3000,,20
    7934,"MILLER","CLERK",7782,23/01/1982 00:00:00,1300,,10
    The procedure allows for the header and data to go to seperate files if required.  Just specifying the "header" filename will put the header and data in the one file.
    Adapt to output different datatypes and styles are required.

  • How do i export a single video file that also contains ac3 audio

    Hi Guys,
    Is it possible to export a single video file that also contains ac3 5.1 surround audio?
    I can create seperate audio and video files ok, but not a single file?
    Please help...
    Regards
    Andy

    You won't be able to do this with just FCPX by itself. You should be able to use Compressor to do this, or you can use Quicktime Pro to create a single .mov file from the separate video/audio files exported from FCPX.
    If you use Compressor, you can save the preset and make it available inside FCPX for future use.

Maybe you are looking for