Run AME in command line

Hey guys, is it possible to run the application using the command line? I would like to start a video conversion in a console by setting all my parameters. Is this feature supported?
Thank you

what is the best way to use multi machine video processing?
The only way I'm aware of at the moment is to process different groups of videos on different machines.  I don't believe there is any kind of render farm functionality with AME.

Similar Messages

  • Getting SimpleChat.mxml example running in the command-line

    Hi,
    I am working on getting a connection to cocomo working. Unfortunately, the documentation is highly unclear about how to get this running from the command-line(not to mention the example file in flash builder 4 crashes when run...).
    Directly run, this is the error I'm getting:
    $ /Developer/flex_sdk_4/bin/mxmlc cocomo_load.mxml
    Loading configuration file /Developer/flex_sdk_4/frameworks/flex-config.xml
    /Users/vlion/Documents/work/flixn/repos/vss/sandbox/cocomo_load.mxml(72): Error: Could not resolve  to a component implementation.
    /Users/vlion/Documents/work/flixn/repos/vss/sandbox/cocomo_load.mxml(84): Error: Could not resolve  to a component implementation.
    When adding --show-actionscript-warnings=true --strict=true, I get the same warning.
    I have afcs.swc in the directory I'm running this from.
    However, when run with --library-path=., I receive a slew of "could not find resource bundle for local en_US" warnings. Setting the local to en_US doesn't help the matter.
    Reviewing the discussions I found online, this appears to be related to namespace issues. However, it is unclear what the namespace issue is.
    What, exactly, is the problem, and what needs to be set to resolve it?
    Message was edited by: pnathan_: added filename and some readability formatting.

    Hi,
    Thanks for bringing this in notice to us. Since we were not building the examples in command-line with flex 4,  we didn’t see this problem earlier.
    The problem happened because our LCCS components were built with halo component and namespace in flex 3. So, when you are using the spark framework and flex 4, if you do not mention that you also need the halo theme , our components won't work. Flex Builder takes care for it but while doing command-line compiling you need to mention the theme specifically. If you run your current script with Flex 3 sdks, it would have built fine. This has nothing to do with our namespaces or using locale.
    I am attaching a quick ant build script which I used to build our DefaultPods example with Flex 4 sdks( this script file is in same folder as DefaultPods.mxml).
    You can see the build  script and make any changes ( since I used for windows) and let us know if everything works fine for you.
    Thanks again for bringing it to our notice. We will make sure that this gets added to the docs in next-release.
    Thanks
    Regards
    Hironmay Basu
    Here is the Ant Script
        <property name="cocomoSDK.dir" value="$/../../../cocomo" />
        <property name="FlexSDK.dir" location="C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0" />
        <property name="mxmlc.jar" location="${FlexSDK.dir}/lib/mxmlc.jar" />
        <property name="cocomo.lib.dir" location="$/../../../cocomo/lib/" />
                    <!launcher>
                            <arg value="-output=$/DefaultPods.swf" />
                            <arg value="-file-specs=$/DefaultPods.mxml" />
                        </java>
            </target>
    </project

  • Running Jar vs. command line with libraries

    Hi everybody,
    I have an application that works well from the command line, which relies on 3 libraries, all of which are in the same directory. My current directory structure is like this:
    Main Folder
    -> Library 1
    -> Library 2
    -> Library 3
    -> Run script
    -> Source Folder ("source")
    ->-> Code and main class
    Library 1 depends on both Library 2 and Library 3. When I run from the command line, from the main folder, using this command:
    java -Djava.library.path=. source/MainClass
    My program runs fine.
    The problem comes when I try to package it into a Jar and replicate the directory structure.
    My manifest is:
    Manifest-Version: 1.0
    Main-Class: source.MainClass
    <newline>
    and my jar command is:
    jar cvmf Manifest.txt test.jar source/*.class
    When I try to run my jar, I get this error:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/MainDirectory/Library1.so: Library2.so: cannot open shared object file: No such file or directory
    I know what this means-- for some reason it doesn't know where Library2 is-- but I'm mystified as to why this works fine from the command line and not from a jar. Can anyone help me figure this out, please?
    Thanks,
    Jezzica85

    warnerja wrote:
    Wrong question. You still want to run it via java -jar, but...
    Your jar needs a MANIFEST.MF (if I recall correctly, that is the right file name) in its META-INF folder (again, if I recall correctly) which needs to set up the classpath via a Class-Path=... line in the file.
    Actually you probably already do have such a file (you need it anyway for the jar to figure out what the main class is to execute), but it probably doesn't contain a Class-Path entry or is incorrect.
    Google for jar manifestI've had less than stellar success on correcting the big boys lately, but why should I let that stop me...
    As far as I can tell, the OP seems to be having problems with native link libraries. Some java class loads Library1 then (it appears) Library1 attempts to load Library2.
    Would fixing a CLASSPATH help that?
    I would expect it to be a problem with LD_LIBRARY_PATH (ala Sabre's earlier reply).

  • How to run Ant from command line in Tarantella env?

    I am getting Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.tools.ant.launch.Launcher error message when I run Ant from tarantella command line. Is this Ant version issue? I can only find Ant with version 1.4.2. Where can I find the correct Ant version (1.6.5) and what class path do I need to specify if I want to run Ant from command line. This works if I run Ant inside of Jdeveloper 11g.
    thanks

    Hi
    What is the correct Java version? What are the steps to rectify the problem?

  • Run runube in command line, need return jobid

    Hi,
    I try to run "runube" in command line. How can I get the jobid during the batch is running?
    Thank you.
    Jowvid Lee

    This article Knowledge Base 2C7F28O9: Error 2 (Memory Full) When Using the System Exec VI is the closest I know of that may do what you are looking for. If this or any of its related links do not help than I do not believe that it is possible.
    Vince M
    Applications Engineer

  • Running mxmlc from command line - unable to open file

    Hello all,
    Just tried to get Flex up and running - but have run into
    probably a simple problem. Here's the scenario:
    1. I've put the flex 2.0 installation folder on my C drive
    such that the path is c:\flex_sdk_2
    2. I've set my system path to reference the the mxmlc with
    c:\flex_sdk_2\bin
    3. I've set up a folder on my desktop for my flex programs,
    creatively called 'flex'
    4. From my command line I use 'xmxlc --strict=true
    --file-specs filename.mxml'
    My output is this:
    Loading configuration file <etc>
    Error: unable to open filename.mxml
    As I said before, probably an easy fix but thought I'd put
    something up to see if anybody knew an answer off the top of their
    head? I'm running Windows XP. Home Edition, V. 2002 if it helps.
    Many thanks!
    Shannan

    Nevermind, figured it out. My files had the .txt appended to
    the end of the file-name.
    *der*

  • Running report from command line with multiple value for same parameter

    Hey,
    I know how to run a report from the command line specifying parameters values each time but I was wondering if someone could tell me how I would go about running the same report multiple times in a batch program but specifying a list of values to pass to a parameter each time.
    So for example if a parameter was 'School Number', how could I run a report in a batch program that would pass a school number to the report as a parameter using a list of school numbers generated for a sql statement or something. So if I had 300 school numbers in my list then I would get 300 different reports when the batch program finished.
    This leads me to another question. How can I dynamically change the name of the report generated by the batch to use the school number value passed in, so for example if the value 3 was passed in the name would be something like School 3.pdf, if 4 was passed in the name would be School 4.pdf....etc
    Any help on this?
    Thanks

    Hello,
    Bursting and Distribution may help you ....
    37 Bursting and Distributing a Report
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_dist.htm
    Regards

  • Errors when running db_stat from command line

    Hi,
    I'm trying to use db_stat at the command line to generate statistics.
    However, I keep getting errors. I cannot use the db->stat call
    because this is to be done at a customer site using their existing binary.
    Note that the call to db_stat -m fails, while the call to db_stat -d <dbname>
    prints an error/warning then appears to succeed.
    Most likely, there is some usage subtlety that I have missed.
    Any suggestions about what I have done wrong?
    I am using BDB 4.6.21 on Windows. Databases are created inside a
    db environment.
    Here is a transcript:
    C:\Program Files\SonicWallES\PluginDefault\collab\data>dir __*
    Volume in drive C has no label.
    Volume Serial Number is 7084-88E3
    Directory of C:\Program Files\SonicWallES\PluginDefault\collab\data
    08/07/2008 07:11 PM 24,576 __db.001
    08/07/2008 07:11 PM 65,536 __db.002
    08/07/2008 07:11 PM 270,336 __db.003
    08/07/2008 07:11 PM 499,712 __db.004
    4 File(s) 860,160 bytes
    0 Dir(s) 2,177,224,704 bytes free
    C:\Program Files\SonicWallES\PluginDefault\collab\data>"C:\Program Files\SonicWallES\utilities\bdb\db_stat.exe" -m
    db_stat.exe: __db.001: unable to find environment
    db_stat.exe: DB_ENV->open: No such file or directory
    C:\Program Files\SonicWallES\PluginDefault\collab\data>dir ..
    Volume in drive C has no label.
    Volume Serial Number is 7084-88E3
    Directory of C:\Program Files\SonicWallES\PluginDefault\collab
    08/18/2008 12:44 PM <DIR> .
    08/18/2008 12:44 PM <DIR> ..
    08/07/2008 10:09 PM 2,646,016 c_thumbprint.db
    09/05/2008 03:08 PM <DIR> data
    07/16/2008 06:43 PM <DIR> dbs
    08/07/2008 10:09 PM 42,131,456 e_thumbprint.db
    08/07/2008 10:09 PM 10,485,760 f_thumbprint.db
    08/07/2008 10:09 PM 5,226,496 g_thumbprint.db
    08/07/2008 10:09 PM 41,869,312 h_thumbprint.db
    08/07/2008 10:09 PM 41,926,656 i_thumbprint.db
    08/09/2008 02:47 AM <DIR> old_data
    08/07/2008 10:09 PM 10,633,216 p_thumbprint.db
    08/14/2008 05:26 PM 1,749 redirect.xml
    09/08/2008 04:12 PM <DIR> sn_data
    08/07/2008 10:09 PM 78,725,120 t_thumbprint.db
    08/07/2008 10:10 PM 42,074,112 v_thumbprint.db
    08/07/2008 10:50 PM 335,790,080 x_thumbprint.db
    11 File(s) 611,509,973 bytes
    6 Dir(s) 2,177,224,704 bytes free
    C:\Program Files\SonicWallES\PluginDefault\collab\data>"C:\Program Files\SonicWallES\utilities\bdb\db_stat.exe" -d ..\x_thumbprint.db
    db_stat.exe: __db.001: unable to find environment
    Mon Sep 08 16:17:01 2008 Local time
    61561 Hash magic number
    9 Hash version number
    Little-endian Byte order
    Flags
    8192 Underlying database page size
    0 Specified fill factor
    4882732 Number of keys in the database
    4882732 Number of data items in the database
    24548 Number of hash buckets
    35M Number of bytes free on bucket pages (82% ff)
    0 Number of overflow pages
    0 Number of bytes free in overflow pages (0% ff)
    8220 Number of bucket overflow pages
    32M Number of bytes free in bucket overflow pages (51% ff)
    0 Number of duplicate pages
    0 Number of bytes free in duplicate pages (0% ff)
    1 Number of pages on the free list

    If I'm reading your code correctly, you're starting a Korn shell session, then executing your C shell script as if you were at at the session window's prompt. If that is correct, you haven't caused your standard out (stdout) to hit ENTER yet. I'm not an expert, but I hope this works for you.
    Your code:
    Process Child = runtime.exec("/usr/bin/ksh"); // execute command
                            BufferedWriter outCommand = new BufferedWriter(new OutputStreamWriter(Child.getOutputStream()));
                            outCommand.write("/home/mypath/tesh.csh");
                            outCommand.flush();I think you need to enter one extra line before the flush():
    Process Child = runtime.exec("/usr/bin/ksh"); // execute command
                            BufferedWriter outCommand = new BufferedWriter(new OutputStreamWriter(Child.getOutputStream()));
                            outCommand.write("/home/mypath/tesh.csh");
                            outCommand.newLine();  // hit ENTER
                            outCommand.flush();P.S. If you're running this script and your Java program from the same UNIX machine, you could just execute the shell script inside the runtime.exec() call.

  • Creating Appication Package that runs just a command line?

    Hi,
    We are trying to uninstall the endpoint protection client that we inadvertently pushed out to a few machines.
    Can we configure an application package with no source that just runs the command line as shown on the target computer in the target collection?
    %windir%\ccmsetup\scepinstall.exe /u /s
    Do I need to add that command to a .cmd file and use that as source?  Is there a better way to do this?
    Thanks Lance

    If you're having bother it would be easier just to use package/program
    or, for only a few machines, do it manually with PSExec.
    http://technet.microsoft.com/en-ie/sysinternals/bb897553.aspx
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • Running from a command line with a .bat file

    I am running my program through a .bat file.
    The .bat file looks as follows:
    java ../classes/HelloWorld
    The .bat file is in a directory at the same level as classes so to get to the class file to run I specify this path. However, it cannot find the class file unless it is in the same directory as the .bat file. Is there a way around this?

    hi,
    as you could have known from the documentation, the java virtual machine executable 'java' expects a fully qualified class name as parameter, no file path. so 'java ../classes/HelloWorld' is of course completely wrong, it should be 'java HelloWorld' and nothing else. if you want to specify a certain path where the class file is to be found, use the -classpath command line option as in 'java -classpath ../classes/ HelloWorld'.
    sincerely, Michael

  • How to run report on command line with user parameter?

    Hi,
    How do I run oracle report on command line (batch) with pre-set User Parameter values ? e.g. :P_1 ='SYSDATE' , :P_2 = 'DEPT_NO'
    Thanks

    Hello,
    If you are using rwrun :
    rwrun report=myreport destype=file desname=c:\temp\myreport.pdf desformat=pdf P_1='SYSDATE' P_2='DEPT_NO' userid=scott/tiger@dbalias
    If you are using rwclient , just add server=<reports server name> :
    rwclient server=myrepsevrername report=+myreport+ destype=file desname=c:\temp\myreport.pdf desformat=pdf P_1='SYSDATE' P_2='DEPT_NO' userid=scott/tiger@dbalias
    Regards

  • Run publication through command line or VBS.

    Is it possible to create a VB code that will run a publication through the command line,run the publication now using VBS ?
    Thanks
    Yoav

    Are you on XI Release 2 or XI 3.1?
    You're looking at Enterprise COM SDK:
    1. Publication InfoObject was changed considerably for XI 3.x - to add support for Crystal Reports and Web Intelligence documents as well as Desktop Intelligence - so you'd best not rely on XI Release 2 API to interact with them.
    2. Enterprise COM SDK is deprecated, and not supported for use with XI 3.x
    3. Only web applications are supported with Enterprise SDK.  This restriction arises from the CORBA framework used for inter-service communication.
    Sincerely,
    Ted Ueda

  • Running FMLE via command line without installation?

    Hi,
    I would like to run FMLE via the command line without an installation of FMLE. I would use AIR to deliver FMLE files and call the command line via the NativeProcess API.
    Is that possible?
    Thanks a lot.
    Malte

    Ladies and gentlemen.....I have solved my problemo!
    The reason why the rest of the reports were getting the 'could not open file.' error was due to the fact that each discoverer instance launched was
    trying to access the same standard log file simultaneously.
    I modified each cmd file to write logging info to individual files: eg
    /logfile "H:\Projects\DRP Import Modelling\Automation\input2_log.txt"
    Now that's there's no contention with logging, the reports are firing off beautifully in parallel :)
    I am definitely having a beer this evening!
    Thanks for everyone's input...kept me on the righteous path :)

  • Running reports via command-line with /batch option

    Hi,
    I have created a batch file which runs, and exports the results of 7 different discoverer reports with /batch option.
    Contents of batch file:
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input1.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input2.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input3.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input4.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input5.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input6.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input7.txt"
    Sample of a cmd file the bacth file runs:....
    /connect user/password@oraprd /apps_responsibility "BIS Super User"
    /open "H:\Projects\DRP Import Modelling\Dev\Intransit Extract.dis"
    /sheet 1 /export xls "H:\Projects\DRP Import Modelling\automation\Intransit Input.xls" /batch
    The batch file runs ok and processes each report in sequence, and creates the excel export one after the other.
    However, I need to process the 7 reports in parallel, so changed the batch file to process in own thread :
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input1.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input2.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input3.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input4.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input5.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input6.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input7.txt"
    The reports kick off at the same time and I can see 7 dis4usr.exe processes running via task manager
    Problem:
    The first reports runs and exports ok.
    All the others dis4usr.exe processing stops with the following error pop-up:
    ! Could not open file. OK
    Question:
    Can you only process reports sequentially via command line mode with /batch option?
    If not...what am I missing...its driving me insane :)
    All asistance is greatly appreciated. Thanks

    Ladies and gentlemen.....I have solved my problemo!
    The reason why the rest of the reports were getting the 'could not open file.' error was due to the fact that each discoverer instance launched was
    trying to access the same standard log file simultaneously.
    I modified each cmd file to write logging info to individual files: eg
    /logfile "H:\Projects\DRP Import Modelling\Automation\input2_log.txt"
    Now that's there's no contention with logging, the reports are firing off beautifully in parallel :)
    I am definitely having a beer this evening!
    Thanks for everyone's input...kept me on the righteous path :)

  • Running program via command-line

    I've using NetBeans IDE 5.5 and to run my projects, I simply click the "Run" button and everything goes fine. When I build the project, it says this:init:
    deps-jar:
    compile:
    To run this application from the command line without Ant, try:
    java -jar "/home/tristan/Java Programs/CalendarProgram/dist/CalendarProgram.jar"
    jar:
    BUILD SUCCESSFUL (total time: 1 second)I try that and I get:[tristan@tristan ~]$ java -jar "/home/tristan/Java Programs/CalendarProgram/dist /CalendarProgram.jar"
    Exception in thread "main" java.lang.UnsupportedClassVersionError: UserInterface  (Unsupported major.minor version 50.0)
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$100(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)This happens on both my Fedora Core 5 and Windows XP machines. Maybe I'm just oblivious to the problem, but if it's giving me that argument to run, why won't it work but works when I click "Run" in NetBeans?

    Alriight. Well, when I type in java -version. It says I have 1.4.2 and NetBeans uses 1.6. I have no idea where 1.4.2 is installed (Linux), but since I'm compiling it with 1.6, does that mean no one else can run the program unless they have 1.6 on their machine?

Maybe you are looking for