Is there any command line tools to move an h264/mp4 index to the beginning so that flash will start playing the file quicker over the net? I am aware of the tool QTIndexSwapper however it is not command line.
Alternatively is there an ffmpeg command to place the index at the front during an encoding?
We just shipped Xuggler 3.4 this weekend which now has the ability to record and publish RTMP streams. That means you can now write Xuggler (a Java API for encoding and decoding video) programs that can publish to FMS or record from FMS.
We've worked closely with the FFmpeg team to get the core RTMP stack into that project, and have put together a tutorial on how to use FFmpeg to record or publish streams, including re-encoding media to H264/AAC while publishing.
Well i have an adobe air which runs vlc-player at background as service. i check that in Windows Task Manager , the service runs when air application launches. here is the code
processArgs.push("--extraintf"); processArgs.push("rc"); //Remote control processArgs.push("--rc-fake-tty"); //Use terminal as output
I want it so that when you click a button, it will run a multiplayer game and connect to a server, WITHOUT having any .bat or .exe files beforehand. So any new guy can rock up and connect, just as long as he has the game.
It will run the game and connect to a certain server. The problem is, how do I get Flash to do that without any premade .exes with command lines?
The only other problem I can think of is, is it possible to run the game without knowing the directory the exe is in? In other words, could Flash find the game .exe if it was just given a name?
how do I compile Flash .FLAs using command line? I am using Eclipse + FDT for Flash development and I would like to use ANT to automatize the compilation. I am using AS3 and need to compile for Flash Player 10.1.
Is it possible to pass and use command line parameters to Flash projector exe file? I have a SWF which reads few FlashVars. I need to publish that SWF as exe and pass those parameters. An option of publishing it as AIR application and then command line paramaeters is also there.
I would like to know what's the exact command line used to install flash from swflash.cab. Seems that would be something like 'rundll32 advpack.dll...', and I know that FP_AX_CAB_INSTALLER.EXE uses the switch RegServer from the .inf.
A completely silent command line would be nice to!
O.S.: Windows XP Professional SP3 and Windows Server 2003.
I've written few Fireworks commands (jsfw files) and Flash commands that I use for my image processing. Is it possible to run them from the command line without launching the whole UI app for Fireworks or Flash?
A few days ago, I began to develop a flash with text editor and Flex SDK which is free. But I found Flex SDK doesn't support Alert or Scrollbar.What are the differences between Flex SDK and Flash Professional or Builder?Are there any other limitations of developing flash in command line with Flex SDK?
I have a tiny actionscript "project" consisting of two files, call them foo.as and bar.as. For reasons I won't go into, I really really want to build the .SWF from the command line, without setting up a formal project of any kind. Every compiler I've ever used lets you do this, but for the life of me I can't figure out how to coerce MXMLC into compiling these two files and linking them into a SWF.
Naively, I try
MXMLC foo.as bar.as
but I'm informed that only one source file is allowed.supposing I compiled these two files separately, how would I link them together to get the final SWF?
NOTE: The only reason I have two files instead of one is the requirement of only one class per file. I tried putting both classes in one file and making one of the classes "private" or "internal" but neither of these ideas worked. I would be ecstatic to find out I can put more than one class in a file (with only one being public).
I am researching how to develop a flash app that records ping and network data and graphs it. Has anyone reading this had any experience in accessing command line with Flash or know of anyone that has done something like this? I am not sure if I need a connection service using JAVA or something along those lines to make a sammich of software. [url]...
I'm interested in learning just enough Flash/Flex to do things that I can't do from HTML and JavaScript alone - play sound files and video, use multiple file upload things, perform cross-domain Ajax requests using the crossdomain.xml file etc. As such, I don't really want to learn (or pay for) the Flex IDE. I'm not much of an IDE guy in any case.
The problem is, most of the tutorials I've found talk about the IDE. I've figured out how to compile .mxml files at the command line using bin/mxmlc - now I just need to learn MXML, ActionScript and the various APIs! What are the best resources for learning these? I'm fine with buying a book, I just don't want to shell out for the API itself.
Im using mxmlc to compile as3 on ubuntu linux. I've donwloaded flex4_b2_100509, just to use the most recent stuff...so Im typing 'mxmlc file.as' but it just hangs on me... it doesnt return anything. I checked running processes ('ps -e') and its showing both mxmlc and java as running, which tells me the compiler started. after a while the shell reports a 'segmentation fault'l.
I'm trying to create/write a custom flash video player program which I want to compile into an .exe after I'm happy with it.The tricky part is, I want my other windows application to be able to specify a path to a video in the hook to open the .exe video player. Example .... When clicked inside of my Custom .Net application, I will open a link to my video program with a hook for which video to play as such...
Target: "C:VideoPlayer.exe" -C:VideosExample.flv
how I can do this in code of my video player? I am willing to vary my format of handling this to accomplish my goal. have thought about reading from a text file and pulling the path to the video from there and then deleting the text file later, this is a last resort however as I would like very much to use a command line hook instead. Please give me any suggestions or ideas and or samples of code.
i have this flex app (it's a flex project created from flash builder), and it compiles fine when i build it from the IDE.it fails to compile when i do it from command line through mxmlc.i am invoking the mxmlc at the location "flash-builder-installation"sdks"flex-ver"inthe mxml file is test.mxml.i don't have any dependency on any of custom swc file.i am getting the following type errors when i compile it.[code]
I'd like to be able to write a .swf file that is runnable as a command line app. In other words, I would be able to create actionscript classes which can interact with stdin and stdout, and could then execute that .swf directly in the command line. I suspect that this isn't really possible. Can anyone confirm that? EDIT: A couple of the answers pointed out that using Flash for command line work probably isn't the best choice. I wholeheartedly agree in most situations. The reason I am asking about this is because I want to do some AS3 code generation, and reflecting on AS3 classes within the runtime would be easier than parsing the code or walking the intermediary XML that asdoc produces. I'm doing the XML approach now in Ruby, but would love to have a cleaner solution!
Is it possible to create a command line Abode Air app? I know thats not the intended use of the framework, but I have a lot of utility code written in as3, and I have a need to programatically run some utility functions from another app (not flash). I know I can pass command line parameters to the Air app, but I would like to avoid having a window pop up while the calculations are being made.
First off - I'm not super familiar with Flash Builder or ActionScript.I have an ActionScript project in Flash Builder.I know I can generate a swc file by doing Project > Build, and it will build a swc file from my ActionScript source code.Is there a way to generate the swc in command line or ant? I'd like to be able to put this build process inside a build script so I don't need to go through Flash Builder to build the swc file everytime.
I have done a few small flash projects and have successfully passed and retrieved FlashVars when the .swf is embedded in a web page.I want to build a small app that will run standalone i.e. not in a browser and want to pass to the swf the name of a text file on the command line that has various config options in.This is for a kiosk type app. I'm aware of Zinc and maybe that's the way I need to go.
is it possible to pash FlashVars / Command Line params to a standalone swf?
I'd like to be able to write a .swf file that is runnable as a command line app. In other words, I would be able to create actionscript classes which can interact with stdin and stdout, and could then execute that .swf directly in the command line.I suspect that this isn't really possible. Can anyone confirm that?EDIT:A couple of the answers pointed out that using Flash for command line work probably isn't the best choice. I wholeheartedly agree in most situations. The reason I am asking about this is because I want to do some AS3 code generation, and reflecting on AS3 classes within the runtime would be easier than parsing the code or walking the intermediary XML that asdoc produces
I understand that in Flex builder we can right click on a CSS file and choose 'compile to swf' and our CSS SWFs will automatically be compiled along with the main app.Is possible to compile the CSS file only (not with the main app) from the command line?Give clients a Flex CSS file to hand edit.Allow them to upload the file via a CMS.Trigger a server process to run the compiler from the command line, outputting the compiled SWF to the appropriate server path.This would of course be a whole lot simpler if Flex properly supported text-based CSS files (without requiring manually applying styles using AS3).
I am building an app using ActionScript3 with Flash Builder 4 as my IDE.
The IDE supports a unit testing framework called "FlexUnit".
I can build and run tests within the IDE, no problem.
After much pain and suffering I figured out how to build the unit tests as a swf from the command line. I can point a browser or flash player at the swf and the tests run.
But for an automated build system this is no good: I would like to build the tests, run them, and collect/analyze the results to tell which tests, if any, are failing.
I can imaging some hackery: hack FlexUnit base libraries to dump output to stderr instead of just to the IDE console. Hack some script together that points a browser at the swf, counts to 60, kills the browser and checks stderr.
But that's hideous.
I have to believe there's some way to build and run from the command line that works nicely with automated build systems.
Further complication: I am a relative noob with ActionScript (~1 month). My background is C++, makefiles, etc. All the stuff I had to do to get the tests even to build outside the ide (a build.xml file, ant) was complete greek to me, just cut n pasting from examples I could find.
When working on small projects or some test classes , I would prefer to quickly compile my code from the command line as opposed to creating a full Actionscript project in Flash Builder for instance.
In a previous similar question , an answer was given referring to this article:[URL]..but this is for Windows user...
I had a look at ProjectSprouts, which seems excellent but too heavy for the sort of task I'm looking for.
Would you know of any alternative approach that could be used to quickly compile a swf from the Terminal on Mac OSX?
i am trying to find out how to build my .as for mobile browser on Android 2.2 smartphone.I downloaded latest distribution of "Hero" SDK, but all tutorials show only how to create mobile project with Flash Builder. how to build .swf from command line mxmlc for mobile ?