Is there a way to pass archive file name to the command-line control?

Hi there,
I have been researching the flash media live encoder laterly. But still cannot find confirmed anwsers on the following questions:
1. Is there a way to pass an archive file name to the command-line control when starting an encoder?
2. Can the username/password to the Flash Media Server be saved in the profile? If not, is there any otherway to provide(GUI mode) them automatically,
    like as variables to a script?
Thanks a lot in advance.
Helen

1. The only way to inform the command-line encoder about the archive file name is to save the FMLE session profile with the file name. The node for saving the file name is <output><file><path>C:\sample.flv</output></file></path>. The easier way to update the xml profile is to use "Save Profile" option of the GUI mode. If you want to programmatically update the file name, read the profile and update the node before launching the encoder. I hope this answers your question.
2. No. Credentials can't be saved in the profile. The only way to provide them programmatically is to use /ap and /ab commands for the command-line encoder. For GUI mode, there is no programmable option. But still you can try capturing keystrokes.

Similar Messages

  • Is there a way to generate job execution scripts from the command line?

    The customer is planning to change DI production server configuraiton and needs to regenerate job execution scripts for hundreds of jobs. Their question is - instead of going through web admin and doing it one by one, is there a way to run a batch command and generate all jobs with the same job server information from one repository? I looked at the "al_engine" command but didn't find the options to do so. Did I miss something? This is for a DI 11.5.3 on HPUX.
    Thanks,
    Larry

    I also suggested that but the customer was so afraid of messing things up that they wanted to find out if there is another way. Thanks a lot for the confirmation.
    Larry

  • Is there a way to select multiple files and initiate the Capitalize function?

    I have hundreds of files all in upper case that are driving me crazy. I can select them one at a time, right click and then select Transformations/Capitalize. Is there a way to select multiple files and initiate the Capitalize function?

    You could use Automator to do this - take a look at the article at http://www.wikihow.com/Batch-Rename-Files-in-Mac-OS-X-Using-Automator to see how this might be done.
    Good luck...

  • Is there any way in Mavericks to go back to the old "line label" color strips instead of the new mini dots, which are virtually worthless they are so small and faint.

    Is there any way in Mavericks to go back to the "full line" color label as opposed to the mini dots, which are too small and faint and virtually worthless?

    Unfortunately, not.
    You can file feedback here. The more who file the more chance it will get done.

  • Pass the text file name to the command prompt using servlet

    hi to all,
    I have a HTML page that takes the user inputs. Once the user clicks on the submit button on the HTML page, these values will be capture by a servlet and then store into a text file. A new text file is generated each time the user clicks on the submit button.
    Now, i need to call a command prompt window and then pass the text file name to another program for execution. Any idea how i can pass the text file name to the command prompt???
    Thanx a lot....
    kinki

    hi, thanx 4 ur reply.
    But i not onli want to display the file name on the Tomcat command prompt. I must also able to call up a program to execute the command. If i used System.out.println(); it onli display the value on the console windows. But not executing it... anyway where i can do it???.
    thanx...
    Kinki

  • Read in file name + path using command line arguments

    Hi guys,
    I am trying to use command line arguments to read in the name of two files. The code below works as long as the files are on the class path.
    public class cmdLineArguments {
         public static void main(String[] args) {
              String xmlFile1 = args[0];
                    String xmlFile2 = args[1];
              System.out.println ("\nXmlFile1: " + args[0] + "\nXmlFile2: " + args[1]);
    }I would like to be able to read files that are not on the class path as well by entering their full path along with their names.
    In other words, It works if I type:
    C:\Documents and Settings\user\workspace\CmdLineArgs\src>java cmdLineArgs file1.xml file2.xmlbut not if I type:
    C:\Documents and Settings\user\workspace\CmdLineArgs\src>java cmdLineArgs c:\Documents and Settings\user\desktop\file1.xml c:\Documents and Settings\user\desktop\file2.xmlWould anyone please explain how I can edit the code to make it work? I guess I could take them both as a String, modify them manually (add a \ to it etc) but is there an easier way to do it? Even a reference to a tutorial, article etc about this would be very much appreciated.
    Also, any idea why a code would compile and run fine in Eclipse but would create an error from command line?
    Thanks a lot.

    You need to learn about cmd.exe which is used to process the command line. The arguments passed to any program is the command line split at white space so your command line arguments of
    c:\Documents and Settings\user\desktop\file1.xml c:\Documents and Settings\user\desktop\file2.xmlis turned into an array of
    "c:\Documents", "and", "Settings\user\desktop\file1.xml", "c:\Documents", "and", "Settings\user\desktop\file2.xml"In other words instead of 2 arguments you actually have 6.
    To get round this the file names need to be quoted
    java cmdLineArgs "c:\Documents and Settings\user\desktop\file1.xml" "c:\Documents and Settings\user\desktop\file2.xml"

  • Passing arguments to osascript from the command line

    I'm just learning how to use the Terminal at the moment and was wondering if anyone knew how to pass parameters from the command line to Applescript via osascript. I'm trying to use this as a function embedded in my .profile file so I don't have to type out the whole line each time I want to use an Applescript.
    Just as an exercise, I'm trying to get osascript to pass a string of text to a dialog box using 'tell application "Finder" to display dialog "$1" '. But all this does is open a dialog box with "$1" in it! Anyone know how to get this to work?

    Neyüm wrote:
    I'm just learning how to use the Terminal at the moment and was wondering if anyone knew how to pass parameters from the command line to Applescript via osascript. I'm trying to use this as a function embedded in my .profile file so I don't have to type out the whole line each time I want to use an Applescript.
    Just as an exercise, I'm trying to get osascript to pass a string of text to a dialog box using 'tell application "Finder" to display dialog "$1" '. But all this does is open a dialog box with "$1" in it! Anyone know how to get this to work?
    http://discussions.apple.com/forum.jspa?forumID=735

  • Jar file runs from the command line, but not when I double click it

    Hello, I'm running windows xp. I've created an executable jar file and it runs fine from the command line when I type;
    java -jar wizard.jar
    but, when I double click it . . . nothing.
    Any ideas?

    nothing ? that's weird, windows XP should prompt you to select the program you want to use in order to open Jar files (and give you this silly piece of advice to search the web for the appropriate program)
    you might want to check what program (if any) got associated with .jar extensions :
    in Windows Explorer : Tools => Folder Options => File Types
    hth

  • Is there a way to see movie file names in imovie 10 project timeline?

    I'm piecing together interviews in imovie and I'd like to be able to see, in my project timeline, which files are being used, and where.  This would help me be sure that I've not used something twice, for example, since it's a long interview. 
    thanks

    WOW!  it's truly amazing how helpful it is to know where things are and how to use them!  thanks so much! 
    I might as well ask another question.  If I were to make a 4 hr. timeline, but can only burn 2 hrs. to a DVD, is there a way to select pieces of the movie to share, but not the whole thing?

  • Is there a way to reference a variable name by the value of a String?

    I realize my title may not be expressing the question accurately so...
    In perl I can do this:
    $varname = "nIterations";
    ${$varname} = 27;
    which is the same thing as
    $nIterations = 27;
    Is there a way to do this in Java?
    eg I want something like
    String varname = new String( "nIterations" );
    How can I refer to a variable programmatically from the value of the varname string, or is there not a way to do this?
    Thanks!
    -Andy

    Thank you, I'm very new to java and am not sure I am seeing the big picture. I searched the forums and found this example:
    Map textFieldMap = new HashMap();
    textFieldMap.put("1", new JTextField());
    textFieldMap.put("2", new JTextField());
    JTextField textField = (JTextField)textFieldMap.get("1");
    textField.setText("some value"); // text field associated with "1"
    What I am confused with is how those textfields correspond to the 48+ textfields I have already placed on my applet canvas. I understand the example above as far as using the map to access specific textfields, but I am not sure how those textfields will match up to the ones I have ( which are named right now S11 , S12, ..., S116, ..., S31, S32, .., S316
    I am sure I am missing something.
    Thank you
    -Andy

  • Passing form field name to the subject line of the task assign email

    Hello Everyone,
    I am trying to create a process that need to pass one of the field data from a form to the task email assign but could not make it work right as expected. I think I miss something but could not figure it out myself. If any one has done this before, please share your knowledge.
    Thanks in advance,
    Han Dao

    Hi Jasmin,
    I thought it simple thing to do by passing the xPath to the subject line but for some reasons, it does not work instead it show the whole xpath on the subject line. Here is my xpath:
    {$/process_data/FormData/object/data/xdp/datasets/data/FSFIELDS_/Form1936/EmpInfoSub/UserM gr$}
    where Form1936 is the pageName, EmpInfoSub is sub-form, and UserMgr is field name on the form.
    Thanks,
    Han Dao

  • Batch file editing in the command line

    I have a large number of files that need to be edited. Only one line in each needs to be changed and its the same line in each file. I am new to bash scripting a could use a little help.
    How can I change this line from "prefix=/devel/target" to "prefix=/home/usr/devel"?
    Thanks.

    sed. Search the web for 'sed find and replace' and the first hit should give you full examples.

  • Can you execute a class file without invoking the command line java command

    I am running java on a Windows XP equipped machine, and I am wondering if it is possible to execute a class file by double clicking the file icon, or can it only be done via command line. So far I have been unsuccessful in my attempts - I tried associating the class file with the java executable in my JRE directory, but that didn't work.
    Many thanks,
    -Stile

    nope, can't be done, by design... microsoft recognised java as threat to the empire very early on in the peace.... but you can write a batch file to execute myprogram.class called myprogram.bat and stick it in your PATH.
    keith.

  • Copy full file path+file name in Midnight Commander

    Hi!
    How can I copy a file's full path with the file name in Midnight Commander?
    If I press Ctrl+Alt+Enter it's shows this to me in the command line but I can't copy this route.
    If I mark a file with 'Insert' and than if I would like to paste this for example in Mousepad or any other text editor with Shift+Insert or Ctrl+V it isn't works.
    (Relatively newbie sitting here so if the answer is complicated please write a step-by-step instruction )

    Well,I did a lot of research on the internet and I found the best solution.
    - choose the file,press 'Ctrl' + 'Shift' + 'Enter'
    - after that you can see the full file path + the file name in the command line (bottom of the screen)
    - Select the text with 'Shift' + 'Mouse Left Click' (drag it across the whole command)
    - For copy the text, press 'Ctrl' + 'Insert'
    - For paste, press 'Shift' + 'Insert'
    This is still pretty damn slow,I wanted to do it with a single key combination while the file is selected but it looks impossible.
    But at the same time I have started to use Ranger file manager which is also runs from terminal,extremely fast,easy to use and if I press 'Ctrl' + 'Insert' on a file it is copies the full path with the name of the file itself. Just perfect.
    I won't mark the thread [SOLVED] because if anybody knows a better method for this in Midnight Commander (with a script or whatnot) maybe will write it down for us. I hope...

  • Is there a way to pass files to a LV app in Mac OS X?

    There is an option in the Finder in Mac OS X to open files with the specified application. I tried it with my LV app, but unfortunately I haven't found any way to read out the filename passed to the app.
    (The Application/Command Line Arguments Property didn't work in this case.)
    Has anyone ever tried to pass files to a LV app in Mac OS X? I mean not in the command line but in the Finder.
    Thanks in advance

    Hi,
    When I understand this right - and as I am not so much of a MAC Expert - you want to do the following:
    1. You are in a file finder, where you can click on files an select: "open with ProgrammXY"
    2. That ProgrammXY should  be a LabVIEW App you created that can open files for Analysis.
    3. The LabVIEW App catches from somewhere the path-string and name of the file that was selected to be opened with your LabVIEWApp, like from some
    kind of property node or function.
    4. How to do that?
    I do not think that is possible, at least I do not know a way to do that in Windows so I doubt there is a way to do that in MAC OS.
    <<Anyway, it could even be an empty App, the main question is if it is even possible to get the filename in a LV App if we open it in Finder.
    When you cannot configure the Finder in a way so that he writes the file name as a command line parameter in the opening call .- exuse me if that is not MAC vocabulary - I do not see a way how to do this.
    Regards
    René

Maybe you are looking for

  • Pets Game - No Buy "PADLOCK"

    many pets players are happy with their owners and/or situation and banner up as "no buy" pets to avoid being taken out of these situations... the reasons are various but usually because good friends wish to stay together... there is currently no meth

  • Words Not Wrapping in Composed Message

    Every so often I see a case where in a message I'm composing words I type don't wrap, they just break in the middle of a word onto the next line. I believe that this has only happened when I've been replying to a received message. Has anyone else see

  • Total column in print layout

    Hi Dear; i created a formula field in the end of report area that show the total of ca olumn in the repetetive area 0. if there is data in the repetetive area the field show the correct answer, but if there is no data in the repetetive area i have th

  • It says 'iTunesSetup.exe is not a valid Win32 application.'?

    The way my company has set up software installs means we have to save any application to the hard drive and then run it from there.  It's supposed to keep unwanted stuff from being loaded onto computers by less than tech savvy users, but it makes it

  • Can't find constructor

    I am trying to write a program but for some reason Java can't find my constructor public class Combinations      public void Combinations(int num1, int num2)           comb(num1, num2); }This is the error I get: Combinations.java:58: cannot find symb