Products/Features
  ADShareit SWF to Video Converter Pro
  ADShareit SWF to Video Converter Lite
  ADShareit Video to SWF Converter Pro
  ADShareit Video to SWF Converter Lite
Flash2Video Command Line 2.3 New!
How to use?
ADShareit SWF to Video Converter
  ADShareit Video to SWF Converter
Flash2Video Command Line
Frequently Asked Questions
ADShareit SWF to Video Converter
    Video and audio not sync...
    No sound in converted video file...
    More...
  ADShareit Video to SWF Converter
    None at this time
  Flash2Video Command Line
    How to hide the program window...
    How to pass flashvars to swf file...
    More...
 
 

How to use Flash2Video Command Line?

 

Command Line Switches

 

Create a task file

  Modify a task file settings
  Execute a task
  Stop an executing task
Command Line Switches
 

Usage: f2vcmdln.exe -cmd "command" [other switches]

Different "command" follow different [other switches]:

If "command" is "createtask", f2vcmdln.exe will create a task file (*.tsk or *.ini) with default settings, it need following switches:
· -sourcefile "sourcefilename". Specify the source flash file name that you want to create a task file by.
· -taskfile "taskfilename". Specify the target task file name that you want save settings to.
· -format "targetfileformat". Specify the target file format.
· -vcodec "videocodecid". Optional, specify the target file video codec id.
· -acodec "audiocodecid". Optional, specify the target file audio codec id.

If "command" is "modifytask", f2vcmdln.exe will modify a task file settings, it need following switches:
· -taskfile "taskfilename". Specify the task file name that you want to modify.
· -section "section". Specify what Section you want to modify.
· -key "key". Specify what Key you want to modify.
· -value "value". Specify the value that you want to modify.

If "command" is "deletetask", f2vcmdln.exe will delete a task file, it need following switches:
· -taskfile "taskfilename". Specify the task file name that you want to delete.

If "command" is "execute", f2vcmdln.exe will execute a task, it need following switches:
· -taskfile "taskfilename". Specify the task file name that you want to execute.
· -winmode "winmode". Specify the program window state. "winmode" = normal, show the program window. "winmode" = hide, hide the program window.
· -interval "interval". Specify interval of reading / writing the task file [Interact] section, in millisecond.
· -caption "caption". Specify a window caption to current instance.

If "command" is "stop", f2vcmdln.exe will stop an executing task, it need following switches:
· -taskfile "taskfilename". Specify the executing task file name that you want to stop.

If "command" is "getcodecs", f2vcmdln.exe will get all available video codecs on your computer, it need following switches:
· -format "fileformat". Specify what file format you want to get, set it to 0 to get avi codec list.
· -codeclist "codeclistfilename". Specify the file name (*.lst or *.ini) that you want to save these codecs to.

If "command" is "help", show this help file.

If "command" is "home", visit our homepage.

If "command" is "buy" or "order", visit our buy/order webpage.

If "command" is "register", remove your copy's limitation after you buy the product.
· -regname "regname". Specify register name.
· -regkey "regkey". Specify register key.

Create a task file
 

For example:
· f2vcmdln.exe -cmd createtask -sourcefile "c:\test\demo.swf" -taskfile "c:\test\demo.tsk" -format 0 -vcodec 2 -acodec 85
· Result: create a task file with default settings "c:\test\demo.task" according to source flash file "c:\test\demo.swf"

Modify a task file settings
  For example:
· f2vcmdln.exe -cmd modifytask -taskfile "c:\test\demo.tsk" -section "Target_GeneralSettings" -key "EndFrame" -value 200
· Result: modify [Target_VideoSettings] section's "EndFrame" key to 200.
Execute a task
  For example:
· f2vcmdln.exe -cmd execute -taskfile "c:\test\demo.tsk"
· f2vcmdln.exe -cmd execute -taskfile "c:\test\demo.tsk" -winmode hide -interval 2000 -caption "Demo"
 
Stop an executing task
 

For example:
· f2vcmdln.exe -cmd stop -taskfile "c:\test\demo.tsk"

   
Copyright © 2004-2010 ADShareit.com Inc. All rights reserved.