2009年3月29日星期日

Starting Your Business on Linux In 2009 - Building Your Own Video Sharing Site

Even thought the authorities and business leaders are pessimistic for the economy of 2009 because of the well-known financial crisis, when talk about FOSS (Free and Open Source Software) and Linux, they always feel comforted and delighted.

Jim Zemlin, executive director of the Linux Foundation, sees Linux and the FOSS ecosystem surrounding it as having insurmountable advantages in any market over its main competitor Windows — advantages that an economic downturn only intensifies. At a time when a search for the lowest possible price point is happening in such areas as notebooks, FOSS is available at no cost. It is easy to rebrand and customize in a way that Windows Isn’t, and is also technically more efficient. “Lower cost, faster time to market, higher profit margins, better branding — these are all things that are in favor of Linux and not in favor of Windows”, he summarizes.

From the above point of view, we can see the encouraging outlook of Linux in the year 2009. For you, maybe it is a new business opportunity. Please consider about starting your business on Linux from building a video sharing site just like YouTube.

Here I introduce you a professional but low-cost tool - Video Encoder Engine for Adobe Flash (Linux Version), which provides a complete and creative video hosting solution for video uploading and sharing. This video encoder for Linux can convert almost all popular formats of video to FLV format. You can do advanced video editing, batch conversion, quality control and other tasks with CGI or any other server-side scripting languages.

More details: http://www.flvsdk.com/flv-encoder-command-line/index.html

Sothink Comes Educational Video Sharing Solution for YouTube Clone Sites!

Nowadays more and more schools and colleges worked on building their own video sharing websites to share education videos and one of their choices is the solution called Sothink Video Encoder Engine for Adobe Flash (Windows Version) - video sharing software.

That means the academia, or the educational services have the same choice as the most popular video sharing websites—choosing Flash format to share video online.

Why?

“Although Flash may not offer the same quality as some of the other formats, it can deliver streaming video content without worrying about players and operating systems”, said YouTube operator.

Almost every machine in the world has the Flash player and Flash in the long run is going to be the preferential media. So, the builders of YouTube clone sites also choose to share Flash videos. As for schools and colleges, surely Flash is the best and simple enough choice for them to build video sharing sites.

Nowadays, besides on computers, students also would like to watch and listen to lectures on PDAs, iPods, iTunes or in MP3. It is great if schools and colleges could build their own video sharing website to share the educational videos. And it is really needed such a video sharing website for learning, sharing and communication

Then, a powerful and easy-to-use video sharing software is needed.

Sothink Video Encoder Engine for Adobe Flash (Windows Version) provides users a complete and creative video sharing solution for video uploading and sharing, especially a perfect solution for building a education video sharing site just like many popular video sharing websites. It does best to meet schools and colleges’ video hosting needs and can be applied to web servers, blogs, forums and other interactive areas.

Create video hosting server easy. Know how.

YouTube-like video hosting web-sites take high enough rating positions in the Internet. Sophisticated process do you think is the developing of such video services and web-sites?
No. It is easier than it seems to be. Ok, let create our own video hosting web-site. I am going to demonstrate the easiness of it using Sothink Video Encoder for Adobe Flash. All we need is a web-shell. And Sothink Video Encoder for Adobe Flash will undertake the creation of thumbnails and converting of video clips from avi, mpeg, mpg, mpe, dat (VCD), vob (DVD), wmv, asf, asx, mp4, mov, 3gp, 3g2, 3gpp, dv, qt, rm, rmvb formats into flash flv format.

Easiest way to convert video on server-side on-the-fly.
Easiest way to convert video on server-side on-the-fly.

Install it easy

At the first we should choose an operating system our server will run under. It could be any Windows- or Linux-based platform with preinstalled set of web-server. We will use Apache2 + PHP + MySQL.

You can find PHP, ASP, and ASP.NET server settings samples in Sothink Video Encoder for Adobe Flash documentation, therefore, in order to avoid repeating, we will explain the main point of encoder’s operation.
A user upload video file on the server using browser form.
As soon as the video file had appeared on the server, we make an order Sothink Video Encoder to convert it and the encoder converts the file into flv-format.
And then end-user can play this flv-file on a separate public web-page using special swf-player.

A lot of examples of code.
A lot of examples of code.

Additionally there is a function of watermark application on video and on-the-fly creation of video clip thumbnail to add it in video file gallery.

During testing of Sothink Video Encoder on PHP we created a files uploading form, then moved our video file in “tmp” directory and made order Sothink Video Encoder to process the uploaded file and move the converted file into a directory “movies“.

The command looked like:
fvec tmp/source.avi movies/result1.flv -vw 320 -vh 240 -tn thumbs/thumb1.jpg -tw 160 -th 120

The FVEC has converted AVI into FLV, has changed video frame size into 320×240 and has created a thumbnail. The encoder has dropped the thumbnail in the directory “thumbs”, and ready-for-view flash video file – into the directory “movies“.

In fact, we needed just only install the shell and define the directories for results.

Additional command settings allow:
- to manage outcome audio and video settings
- to get various income file information
- and other
The program settings are flexible.

E.M. Total Video Converter Command Line 2.20

E.M. Total Video Converter Command Line offers a console solution for video conversion on Windows and Linux (via Wine) . You can use it for conversion between most video formats (such as FLV, SWF, AVI, WMV, MP4, 3GP, MPG, MOV, MP3, DV, AAC and so on), it also can convert video for your mobile video player (such as PSP, PS3, iPod, iPhone and etc.) easily. Functions of video resizing, combining, trimming are also the advantages belonging to it.

Command Line Flash 8 FLV Encoding

I have been searching for a command line Flash 8 (VP6) FLV video creation tool for a long time. I've bought On2's Flix Pro - but even though it is a mile better than Sorenson's horrible Squeeze, it still had some serious issues with AviSynth input for instance. In general it was good for one-at-the time encoding, but batch processing was tedious and buggy.

So for a while I had actually went back to Flash 6, and batch encoding via ffmpeg's built-in FLV-encoder. While browsing for some info on VP6, I found an ffmpeg patch, that allowed for VP6 AVI to FLV muxing. Even though it's a few months old, it hadn't been included in ffmpeg, so I merged it myself, and after learning how to build ffmpeg, I got a working version. Here are the tools you need:

ffmpeg win32 binary including VP6 FLV mux patch.
Toolpack with example avs and bat.

You also need: Avisynth 2.5.6 or later, and last but not least the On2 VP6.2 VFW codec. The On2 codec is free for personal use, but for some strange reasion it is no longer offerered at On2's website. For commercial use, you should be (morally) ok, if you just buy Flix Pro.

Short how-to:
  1. Install AviSynth.
  2. Install VP6.2 codec.
  3. Unpack ffmpeg and the toolpack from above in the same directory.
  4. Put an AVI file called "example.avi" (that is readable by AviSynth) into the directory with ffmpeg.
  5. Run "example.bat".
  6. Wait.
  7. You should (with a bit of luck) have an "example.flv" by the time the bat file finishes.
You can use the excellent FLV Player by Martijn de Visser to watch your result offline, or use Jeroen Wijering's great Flash Video Player and put your result online.

Customization.

The important part of video encoding is of course customization. There are three main points. The AviSynth script providing the input - the video encoding parameters and the audio encoding parameters. I will cover how you can modify these settings, as there are many good guides on what settings to use for good quality.

Video to FLV command line

Flash Video MX SDK V2 is placed on the shelf for the on-demand solution to convert video to Flash under COM environment and Flash Video MX SDK V2 environment.

Videos and audios in AVI, WMV, MOV, FLV, MP4, H.264,MPEG, MPG, VOB, 3GP, 3G2, DVD, DV, MP3, WMA, MP3, etc. are all supported, and On2 VP6, H.263 video codecs are within reach too. The leaps of functions like: thumbnail capture, video resizing, trimming, and one processor locking (for dual-processor) will exceed your expectation in integrating this EXE or DLL SDK to desk-top programs or web servers.

VP6 FLV Commandline Encoding Tool

Hi!

I just finished something that might be helpful for you - a way to convert from AviSynth to a VP6 FLV using only free command-line tools.

I wrote the instructions and put up the tools needed at:
http://flvsdk.blogspot.com/

Basicly you make a VP6.2 AVI, and convert it to FLV using a patched ffmpeg.
__________________

ADShareit Flash to Video Command Line

A powerful command line utility for converting flash to video on web server. It can be executed by any scrips such as WSH, or BAT, and can be called from webserver scripts such as ASP, ASP.NET, PHP, perl or python. Cover all features of "ADShareit SWF to Video Converter Pro" that convert Macromedia Flash SWF to AVI, SWF to DVD, SWF to VCD / SVCD, SWF to MPEG files including movie clips, action scripts and audio in the Flash movies. Convert Macromedia Flash SWF to GIF animation, so that you can create animated GIF using FLASH MX and SWish. Convert Macromedia Flash SWF to PNG / TGA / BMP / JPEG /GIF images sequence. Allow human interaction during conversion, no skip frames, support 32bits RGBA alpha channel, allow to only convert the specified rectangular area. Requirements: Macromedia Flash Player ActiveX 5.0 or above, 8.0 or above is recommended. What's New: Support passing flashvars to a swf file. .

License: Shareware | Price: $1490.00 | Size: 2.8 MB | Downloads (16)

Platform: Windows NT, Windows 2000, Windows XP, Windows 2003 , Windows Vista

SWF To Video Scout 1.62

Converts flash (SWF, FLV) movies into AVI, MPEG, FLV videoFeatures: Converts flash into MPEG, AVI, VideoCD, DVD video with sound support; Audo and video compression support; Additonal "frame-by-frame conversion" mode for highest quality conversion; Built-in flash movie viewer and extractor; Version with command-line interface support provides ability to automate conversion for software developers to incorporate program into their application

Video to Flash Console

Video to Flash Console is a command linel tool for converting your digital videos to SWF or FLV in a batch script or command line konsole mode. You can use console Video to Flash Converter on a webservers and run conversion using command line parameters automatically by scheduling or by script...

Flash Video MX SDK V2

convert video to Flash under COM and command line environment
Flash Video MX SDK V2 is to help server applications to convert the uploaded videos from virtually any format to Flash video (FLV), Flash (SWF), and AAC/H.264 MP4! With it you can build a video website like that of YouTube, Google video, Yahoo! Video, This program is also widely used in multimedia applications for video to FLV, SWF conversion under C/++, Visual Basic, Delphi, ASP, .NET, ColdFusion, and so on.

How to automate conversion of flash (SWF) movies into AVI, MPG, WMV video with sound using command line interface of SWF To Video Scout

This page contains information about command line parameters for SWF To Video Scout to help automate conversion of flash SWF movies (video, animations) into video files using SWF To Video Scout

First download and install SWF To Video Scout

IMPORTANT: To use command line interface automation in registered version you have to purchase one of the following license types:

Command Line License - allow to use command line program automation on one single workstation only
Developer License - allow to use command line interface and re-distribute program along with your end-user desktop application software without any additional royalties
Web License - allow to install and use program on one single web-server

For more information about these licenses please visit http://bytescout.com/purchase_swftovideoscout_developer.html

Command Line interface parameters:

/H - run program in automated mode
/S - set output video width and height in form of WIDTHxHEIGHT, for example: /H320x240
/F - set output video FPS. For example: /F15
/N - do not capture sound
/T - set path to temporary folder to store intermediate files. For example: /T"c:\temp\"
/V - set part of video codec name so program will search codec in list of available codecs and will select this codec to compress final video. For example: /VDivX
/C - conversion mode. (1 - realtime (default), 2 - frame by frame conversion without sound). For example: /C or /C1
/A - don't auto close conversion - user will be required to click "Stop" or conversion can be stopped using global timeout parameter (see /G parameter)
/G - global timeout in seconds.For example /G200 - auto-stop conversion after 200 seconds. /G equal to /G600 (stop conversion after 600 seconds)
/P or /PN - force "play" button every N seconds for example /P3 - force play button every 3 seconds. /P = /P10 (force play every 10 seconds)
/L"filename" - write log file to filename. /L uses default filename = {APPDATA}\SWF To Video Scout\Log.txt
/K"customcaption" - set custom caption for conversion wizard UI window (Developer License is required for this parameter)

Example:

// convert first 120 seconds of SWF into MPEG video with 300x300 dimensions and 15 FPS using built-in
// MPEG conversion, write log file into default log file location

SWFToVideoScout.exe "C:\My Flash Movies\gollum.swf" "C:\Converted\gollum.mpg" /H /S300x300 /V#MPEG /L /F15 /G120

Log File Constants

Program writes a log file (check /L command line parameter)

Following error names are used to indicate errors in a log file:

ERROR_OK - conversion successfull
ERROR_POST_PROCESSING_ABORTED - post-processing aborted by user clicked "Cancel" button
ERROR_CAN_NOT_COPY_INTERMEDIATE_FILES - can not copy intermediate files into final video file
ERROR_DLL_REQUIRED_NOT_FOUND - not able to find filter ascapscout.ax or not installed
ERROR_CONVERSION_STOPPED_BY_GLOBAL_TIMEOUT - conersion will continue but it was stopped by global timeout timer (see /G command line parameter)
ERROR_LARGE_OUTPUT_SIZE_DECREASED_TO_SCREEN - conversion will continue but output video dimensions were decreased to fit the screen
ERROR_SOURCE_FILE_IS_ZERO_SIZE - conversion can not be done as input file is zero size

2009年3月20日星期五

Code snippets of Htm2Pic Command Line Tool

VB

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25


Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long

Private Declare Function GetExitCodeProcess Lib "kernel32" (ByVal hProcess As Long, lpExitCode As Long) As Long

Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long


Const PROCESS_QUERY_INFORMATION = &H400
Const STILL_ALIVE = &H103

Private Sub Command1_Click()

Dim pid As Long
'change to vbHide to disable prompt window
pid = Shell("c:\Htm2PicCmdLine.exe /url http://www.google.com", vbNormalFocus)
hProcess = OpenProcess(PROCESS_QUERY_INFORMATION, 0, pid)

Do
Call GetExitCodeProcess(hProcess, ExitCode)
DoEvents
Loop While ExitCode = STILL_ALIVE
Call CloseHandle(hProcess)

MsgBox ("done")
End Sub

VC

1
2
3
4
5
6
7
8
9
10
11
12
SHELLEXECUTEINFO ShExecInfo = {0};
ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
ShExecInfo.hwnd = NULL;
ShExecInfo.lpVerb = NULL;
ShExecInfo.lpFile = "c:\\Htm2PicCmdLine.exe";
ShExecInfo.lpParameters = "/url http://www.google.com";
ShExecInfo.lpDirectory = NULL;
ShExecInfo.nShow = SW_SHOW;
ShExecInfo.hInstApp = NULL;
ShellExecuteEx(&ShExecInfo);
WaitForSingleObject(ShExecInfo.hProcess,INFINITE);

Delphi

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

var
SEI: SHELLEXECUTEINFO;
begin
with SEI do

begin
cbSize := SizeOf(SEI);
fMask := SEE_MASK_NOCLOSEPROCESS;

Wnd := Application.Handle;
lpVerb := nil;

lpFile := 'C:\Htm2PicCmdLine.exe';
lpParameters := '/url http://www.google.com';
lpDirectory := nil;

nShow := SW_SHOW;
hInstApp := 0;
lpIDList := nil;

end;
ShellExecuteEx(@SEI);
WaitForSingleObject(SEI.hProcess, INFINITE);

end;

C#

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61

using System.Runtime.InteropServices;

public struct ShellExecuteInfo

{
public int cbSize;
public uint fMask;

public IntPtr hwnd;
public string lpVerb;
public string lpFile;

public string lpParameters;
public string lpDirectory;
public int nShow;

public IntPtr hInstApp;
public int lpIDList;
public string lpClass;

public IntPtr hkeyClass;
public uint dwHotKey;
public IntPtr hIcon;

public IntPtr hProcess;
}

public const int SW_SHOW = 5;

public const uint SEE_MASK_NOCLOSEPROCESS = 64;

[DllImport("shell32.dll")]

public static extern bool ShellExecuteEx(ref ShellExecuteInfo lpExecInfo);


[DllImport("Kernel32.dll")]
public static extern uint WaitForSingleObject(System.IntPtr hHandle, uint dwMilliseconds);


[DllImport("Kernel32.dll")]
public static extern bool GetExitCodeProcess(System.IntPtr hProcess, ref uint lpExitCode);


private void button1_Click(object sender, EventArgs e) it55.com
{

ShellExecuteInfo vShellExecuteInfo = new ShellExecuteInfo();
vShellExecuteInfo.cbSize = Marshal.SizeOf(vShellExecuteInfo);

vShellExecuteInfo.lpFile = @"C:\Htm2PicCmdLine.exe";
vShellExecuteInfo.lpParameters = @"/url http://www.google.com";

vShellExecuteInfo.nShow = SW_SHOW;
vShellExecuteInfo.fMask = SEE_MASK_NOCLOSEPROCESS;

ShellExecuteEx(ref vShellExecuteInfo);
WaitForSingleObject(vShellExecuteInfo.hProcess, int.MaxValue);

GetExitCodeProcess(vShellExecuteInfo.hProcess, ref i);
}

Java

1
2
3
4
5
6
7
8
9
10
11

try {
Runtime rt = Runtime.getRuntime();

Process proc = rt
.exec("C:\\Htm2PicCmdLine.exe /url http://www.google.com");
int exitVal = proc.waitFor();

} catch (Throwable t) {
t.printStackTrace();

}

use the system’s built-in “wscript.shell” activex component to run any program.



VB Script

1
2
3
4
set ws=wscript.createobject("wscript.shell")

ws.run "c:\htm2piccmdline.exe /url http://www.google.com", 0, true
ws.popup "done"
set ws=nothing

Java Script

1
2
3
var ws = new ActiveXObject("wscript.shell");

ws.run("c:\\htm2piccmdline.exe /url http://www.google.com", 0, true);
document.write("done!");

PHP

1
2
3
4
5

$ws = new COM("wscript.shell") or die("Can't start wscript.shell!");

$ws->run("c:\htm2piccmdline.exe /url http://www.google.com", 0, true);

echo "done!";
?>

SAMPLE OUTPUT IMAGE:

Our cmd line tool optimizes the output image to ensure best quality yet smallest file size. For full length page samples please take a look at the right side bar, you can click on the image to enlarge. For thunmbnail samples, see below:

aol screenshot yahoo screenshot

Our program allows you to set cropping height of original large image while creating thumbnail from it. You can thus adjust "crop height to" value according to your desired thumbnail size. For example: Most web pages are 800 pixels in width, so you may set cropping height to 600 pixels(the default value) for a 400*300 thumbnail image. In this case, you can pick the part you want and avoid getting a distorted one. This is very useful especially when dealing with long scrolling pages. As we know, most similar software do not take this into consideration.

You can also apply some special image effects on final web page thumbnails or any existing image such as "Buttonize", "Drop Shadow", "Round Corner", "Reflection" etc by simply setting the "Thumbnail Effect" in "Snapshot Options" page. You don’t have to know any "graphic design" thing, Htm2Pic eases the process for you and the number of effects is still growing. See samples below.


Drop Shadow

webpage snapshot of download.com with drop shadow effect

Round Corner

webpage snapshot of sc2c.com with round corner effect

Key Features of Htm2Pic Command Line Tool

  • -Take a snapshot of a whole webpage into one image without scrollbars.
  • -Support CD-R,CD-RW, DVD+/-R, DVD+/-RW, DVD-RAM, DVD+/-R DL disc
  • - Flexible & efficient rendering engine, compatible with all web pages
  • -Supports a dozen of image formats (JPG,GIF,BMP,PNG,TIFF,PCX,WMF,TGA etc)
  • -Directly convert webpages to PDF(PDF is considered as one of the many supported img formats)
  • -Cookie enabled, bypass any login page and snap inside !
  • -Automatically create thumbnail image previews if you turn on "-thumbnail" option.
  • -5+ special image effects are supported.(Buttonize, Drop Shadow, Round Corner, Reflection etc)
  • -multi-threading enabled. Convert several pages at a time, extremely fast!
  • -Flexible resizing options: by percent or by fixed width & height.
  • -Support converting local HTML, MHT files to image.
  • -Support capturing site with FLASH content.
  • -Support URL file, list the sites in a text file and let the program do the rest.
  • -Convert all captured images into one multi-page tif file if you turn on "-multipage" option

Main Interface:

http://www.flvsdk.com/htm2pic-cmdline/
  • main interface

Htm2Pic Command Line Tool

As the name tells, Htm2Pic Command Line Tool is a console application that can help you convert html and mhtml files to images in batch, take full length screenshots of multiple websites, generate thumbnail image preview of web pages from any url. This tool is specially designed for batch converting a lot of web pages and supports a dozen of popular image formats, even PDF. It can also apply some nice image effects on the output thumbnail image and create multi-page tiff files after all webpages are captured. It really works like a charm. Compared with other similar providers, our product is second to none with a ridiculous low price. Try now and find it yourself !

2009年3月17日星期二

See what catch your eyes!

Hey, you like YouTube and iPod? How about enjoying these stuffs together? See what catch your eyes! Watch your personalized YouTube video on your portable devices. It is nothing but a piece of cake! Three programs: two are free and one’s free trial.
Download FLV from YouTube.com, Fox.com, NBC.com, ABC.com,blogTV.com, etc.
Tips:
  • 1. Go to Capture section and enable “Capture” function (it’s enabled by default).
  • 2. Go to the webpage where the FLV video is playing. The downloader will help you capture FLV URL.
  • 3. Back to Capture section of the program, select the URL and click download button .
  • 4. Go to Downloading section to see the downloading process.
  • 5. While done, go to History or Library sections to find the downloaded FLV.
  • 6. Right click on the downloaded FLV and select Edit to launch FLV Editor Lite Beta for personalization.
Help you edit FLV on timeline, trim FLV, merge FLV, cut FLV, split FLV, rip FLV audio and video, replace FLV audio, add FLV metadata and cue point.
Tips:
  • 1. If the FLV is imported from YouTube FLV Downloader, you can drag the FLV to timeline and start editing now.
  • 2. To import other FLV and MP3, just click or .
  • 3. With buttons on Timeline toolbar, you can edit the FLV freely.
  • 4. To export the edited FLV to FLV to Video Converter Pro 2, just click . The converter will be launched for conversion.
Convert FLV/F4V to 3GP, MP4, MPEG, AVI, WMV, etc. Simple editing functions help trim FLV, crop FLV, and add watermark and subtitles.
Download Now (Size:8.17 MB)
Buy Now (Price: $29.95 | €24.95)
Tips:
  • 1. Select the FLV in list, and you can trim FLV length, crop FLV size, adjust FLV effect, add Logo and text.
  • 2. Select the right format in “Export format” box. You can choose right type of Mobile Phone, iPod, iPhone, Apple TV, Zune, PSP, etc.
  • 3. In Settings section, you can customize the video and audio settings.
  • 4. In convert section, click start to convert the file in list.
  • 5. This FLV converter supports batch conversion. You can convert FLV one by one on the list which you imported with “Add FLV” button.

2009年3月12日星期四

Feature of FLV Converter SDK

  • Console support, you can use command line interface to convert videos of various kinds to FLV!
  • Support multiple kinds of output formats, like AVI/WMV/MP4/3GP/MPG/DVD/VCD/SVCD/MOV/MP3, etc. WMV can be played on Zune, MP4 can be played on iPod, and 3GP can be played on most cell phones.
  • Support image and text watermark, which can be set to show up in any time segment.
  • Crop the image and perform deinterlacing.
  • Support to adjust the parameters like video frame rate, image size, bit rate, audio sample rate, channels and so on.
  • Support to capture images, including catching images at a random time or at a specific time.

Feature of FLV Converter SDK

Version history of FLV Converter SDK

Moyea FLV Converter SDK 1.0.0.3
(Jun. 16, 2007)
1. Fixed the problem that the program crashed when using pcm_s8 codec.
2. Fixed the problem that the encoding didn't stop when the program is converting some FLV files.
3. Added the function to print "Duration" and "Process" on stdout, which facilitates developers to get such information.
4. Added the parameter "-acodec" to enable the change of audio codec, e.g. pcm_alaw and pcm_s32le.
5. Fixed some encoding bugs.

  • Moyea FLV Converter SDK 1.0.0.2
    (Jan. 31, 2007)
    1. Fixed some bugs in encoding WMA/WMV
    2. Fixed the fake "-" character in the help document

  • Moyea FLV Converter SDK 1.0.0.1
    (Jan. 29, 2007)
    Moyea released FLV Converter SDK to offer solutions to convert FLV to video formats directly online with the command lines and to enable existing programs the functionality to convert FLV freely.

    Tutorial of FLV Converter SDK

    • Command Line Grammar
      Lead you to a successful conversion from FLV to the file format you want. You can choose the available options you prefer for the encoding and follow the instructions.

    • Support Image Format List
      When you decide to capture thumbnail pictures for the output file, you can set the output format of the thumbnail pictures within the list.

    • Support File Format List

      Choices are available for the output file format with FLV Converter SDK. You can set the output format like 3GP, AVI, MP4 and so on.

    • Support Video Codec List
      Enable multiple choices for video codec for your preference, like H.263, MPEG4, MPEG and so on.

    • Support Audio Codec List
      You can specify the audio codec for the output file from the codec list, like AAC, MP3 and so on.

    • Exit Code
      Inform you about the situation of the conversion with messages. You can notice the output message "Encoding succeeded" when the conversion is completed.

    • This page is to list the typical tasks that Moyea FLV Converter SDK can help you to fulfill: FLV to video conversion, video editing of the watermark, and capturing, etc. Enjoy the syntax!

    Tutorial of FLV Converter SDK

    Flash to Video Console Features

    • Console application with command line interface
    • Convert movie clips and action scripts.
    • rue Alpha (Transparency) support for Flash movies, you can capture Flash movies with Alpha to 32 bit Video with alpha support.
    • No skip frames during conversion.
    • supported most of codecs installed on user systems
    • Support all Flash SWF and FLV movies.
    • Movie width and height determination.
    • Auto determination of Movie duration.
    • Flash to Video Console Features http://www.flvsdk.com

    Minimum System Requirements of Flash to Video Console 4.2

    Minimum System Requirements

    ScreenShots of Video to Flash Console 1.4

    ScreenShots

    (Click to enlarge)
    Command line description
    Command line description
    Command line to encode Video to SWF Flash
    Command line to encode Video to SWF Flash
    Encode movie to Flash SWF
    Encode movie to Flash SWF
    Preview Encoded Video Flash in Geovid Flash Player
    Preview Encoded Video Flash in Geovid Flash Player

    Video to Flash Console 1.4

    Minimum System Requirements

    Movie to Flash SDK Features

    • Straightforward No-Nonsense Affordable Licensing
    • Outputs SWF and stream FLV file
    • Converts all Video formats, by adding new video codecs
    • Available for a Wide Range of Programming Languages
    • Sample of flash conversion included
    • Plugable structure, you can extend SDK by adding your filters

    ScreenShots of Movie to Flash SDK 1.0

    (Click to enlarge)
    Video to Flash SDK Sample
    Video to Flash SDK Sample
    Edit Dialog
    Edit Dialog
    sample Source code
    sample Source code
    Movie to Flash SDK Source
    Movie to Flash SDK Source
    Movie to Flash SDK 1.0
    GeoVid Movie to Flash SDK allows you to include video to flash conversion into your own application. You can convert any video files to flash FLV or SWF. You do not need to know DirectShow or Video Edition to create flash from video. Movie to Flash SDK accept all video codecs whitch installed at your system and you need only install new video codec to support new video formats.
    Video to Flash SDK is plugable, you can extend original functionalyty by adding new functions such as effects or watermark, this feature very useful for many developers wich want to support additional functionality.
    You can control conversion progress via simple callback function. You control all conversion params such as framerate, quality, keyframe and other.

    Video Encoder Engine for Adobe Flash (Window Version)

    Sothink Video Encoder Engine for Adobe Flash (Windows Version) provides you a complete and creative video sharing solution for video uploading and sharing, especially a perfect solution for building your own video sharing site just like YouTube and many other popular video sharing web sites.

    It does best to meet your personal or business video hosting needs, and can be applied to Web servers, blogs, forums and other interactive areas.

    This Video Sharing Website Script can convert almost all popular formats of video to FLV format in console mode. You can do advanced video editing, batch conversion, quality control and other tasks with CGI or any other server-side scripting language. To help you to build your own video hosting site, we also provide full source code of live demo sites written in ASP, ASP.net and PHP with detailed SDK documents and tutorials.

    Video to Flash Console 1.4 Features

    • -Command line interface usefult for automation and servers
    • -Convert most of video files to original flash swf and flv
    • -all possible video and audio quality parameters
    • -Logo for customization

    Video to Flash Console 1.4

    Video to Flash Console 1.4

    Convert Video movies to SWF or FLV Flash files! Video to Flash Converter Console version is a powerfull tool for converting your digital videos in a batch or command line console mode. You can use console Video to Flash Converter on a webservers and run conversion using command line parameters automatically by scheduling or by script calling. Video to Flash Converter Console provide SWF and FLV files ready for the web. You will have Full control over the converted Flash Video: video quality, frame rate, size, duration and other parameters, you can handle parameters using command line.

    Usage: necessary parameters:

    -i

    : Set input file name

    -o

    : Set output file name

    -f

    : Set output format 0 - FLV 1 - SWF

    optional parameters: -Proportional : (FLASH) preserve original aspect ratio

    -Compression

    : (FLASH) set audio compression level

    -AudioQuality

    : (FLASH) set audio quality

    -VideoQuality

    : (FLASH) set video quality

    -Keyframe

    : (FLASH) set keyframe -logo

    : Input logo file (bmp, jpg)

    -logoX

    : Logo's X

    -logoY

    : Logo's Y

    -logoWidth

    : Logo's Width

    -logoHeight

    : Logo's Height

    -logoAlpha : Logo's Alpha (0-100)

    Overview of Flash to Video Console

    Flash To Video console allows you converts any Adobe Flash (*.swf/*.flv) to video movie AVI, WMV or ASF, MPEG. The converting process allowing ActionScript inside SWF/FLV, so you convert your flash presentations, flash games and much more.
    Flash to Video Console take all possible parameters such as Video size, Video codec, sound codec, Frame Rate (FPS), Max Time and Transparency. Changing transparency option you can control opacity and capture movies with full RGBA support.
    You can use console conversion at WebServer or your corporate server in network. Console can be executed by any scrips such as WSH, or BAT, you can call console from webserver scripts such as ASP, ASP.NET, PHP, perl or python.

    Features of Flash to Video Console

    • -Console application with command line interface.
    • -Convert movie clips and action scripts.
    • -rue Alpha (Transparency) support for Flash movies, you can capture Flash movies with Alpha to 32 bit Video with alpha support.
    • -No skip frames during conversion.
    • -supported most of codecs installed on user systems.
    • -Support all Flash SWF and FLV movies.
    • -Movie width and height determination.
    • -Auto determination of Movie duration.
    • more you can view: http://www.flvsdk.com/flash_to_video_console/index.html

    Registration

    The unregistered version can be used in 30 days only for evaluation purpose. Before you register it, the exported files are watermarked. If you want to continue using it without these limitations, please purchase and register the software. To register the software, please use the command-line parameter "-reg" to open the registration dialogue, and input your registration key. You can also select Start Menu > All Programs > SourceTec > Sothink Video Encoder Engine for Adobe Flash (Windows Version) > Register to open the registration dialogue.

    Video Encoder Engine for Adobe Flash (Windows Version) - Set up a video sharing site on Linux server!

    System Requirements

    • Windows 2000/XP/2003/Vista
    • Intel PII processor or above (P4 or K8 is recommended)
    • 128Mb of RAM or above

    Live demo for Video Encoder Engine for Adobe Flash (Linux Version)

    There are 323 videos in total

    Upload my video now >>


    testnew
    Duration: 00:00:17
    Uploaded by: test
    Upload date: 2009-03-11
    Views: 11

    Untitled
    Duration: 00:01:00
    Uploaded by: Anonymous
    Upload date: 2009-03-09
    Views: 14

    Untitled
    Duration: 00:00:33
    Uploaded by: Anonymous
    Upload date: 2009-03-09
    Views: 8

    Untitled
    Duration: 00:00:33
    Uploaded by: Anonymous
    Upload date: 2009-03-09
    Views: 9

    Untitled
    Duration: 00:01:13
    Uploaded by: Anonymous
    Upload date: 2009-03-09
    Views: 12

    User's manual for Linux version

    A guide for how to install and use the Video Encoder Engine and as well as the video hosting site setup tutorials.

    Welcome to the on-line demo

    Welcome to the on-line demo of Sothink Video Encoder Engine for Adobe Flash (Windows Version).

    If you want to build your own video sharing site with ASP.net, ASP, PHP and other languages just like YouTube, Yahoo Video, MSN Video and many other popular video sharing websites, Sothink Video Encoder for Adobe Flash Command-Line Version provides you a perfect solution.

    Here we provide a few live demos to help you to build your own Flash video hosting site with ASP.net, ASP and PHP.



    ASP.Net Microsoft's ASP.net is the next version of ASP. Unlike ASP, ASP.NET uses the Common Language Runtime (CLR) provided by the .NET Framework. This demo demonstrates how to use Sothink Video Encoder for Adobe Flash Command-Line Version to encode videos in ASP.net environment.

    View Demo >>



    ASP Microsoft Active Server Page (ASP) is a server-side scripting technology. An ASP page is an HTML page that contains server-side scripts processed by a web server before being sent to the user's browser. This demo demonstrates how to use Sothink Video Encoder for Adobe Flash Command-Line Version to encode videos in ASP environment.

    View Demo >>



    PHP PHP (recursive acronym for "PHP: Hypertext Preprocessor") is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. This demo demonstrates how to use Sothink Video Encoder for Adobe Flash Command-Line Version to encode videos in PHP environment.

    How to use Video Encoder Engine for Adobe Flash (Windows Version)

    Sothink Video Encoder Engine for Adobe Flash (Windows Version) can convert almost all popular formats of video to FLV format in console mode. You can do advanced video editing, batch conversion, quality control and other tasks with CGI or any other server-side scripting language. You can fully control the converted Flash Video: dimension, frame rate, key frame interval, bit rate and etc with command-line parameters.

    Go to get video hosting site setup guide for ASP, ASP.net and PHP >>>

    Usage
    • 1. Please make sure you have installed the Command-Line version of Sothink Video Encoder for Adobe Flash successfully.
    • 2. Run the Command-Line version: Click Start --> All Programs --> SourceTec --> Sothink Video Encoder for Adobe Flash (Command-Line Version)
    • 3. Enter the command: FVEC sourcefile [targetfile] [options]

    Example

    E.g. 1: Create a Flash Video with default settings. Because we did not specify the dimension of output video, the program will use the dimension of source video (320x240) by default.

    C:Test>fvec c:testmovie.wmv c:testmovie.flv

    E.g. 2: Create a Flash Video, set the dimension of output video to 160x120, video bit rate to 300 Kbps, and with stereo audio.

    C:Test>fvec c:testmovie.wmv c:testmovie.flv -vw 160 -vh 120 -vb 300 -ac 2

    E.g. 3: Create a Flash Video with mono audio, and crop the picture of source video with a cropping rectangle (100,100,260,220). Please note we did not specify the dimension of output video, thus the program took the cropping area as the dimension setting.

    C:Test>fvec c:testmovie.wmv c:testmovie.flv -vc 100,100,260,220 -ac 1

    E.g. 4: Create a Flash Video and a 160x120 thumbnail image file.

    C:Test>fvec c:testmovie.mpg c:testmovie.flv -tn c:testmovie.jpg -tw 160 -th 120

    Command Line Parameters

    sourcefile The full path of the input video file.
    targetfile The full path of the output .flv file. You can omit this parameter when using the -i option.
    -h Show the usage of the program.
    -v Show the version of the program.
    -reg Display the registration window. If you have purchased the program, you can enter the registration key then.
    -i Show the information of the input video file, and do not perform the encoding. Please omit the targetfile parameter.
    -vw The width of the output video in pixels. Please specify a value between 16 and 2880. If you omit this option:
    If no cropping area specified (see the -vc option), the width of the input video will be used.
    If you specified a cropping area (see the -vc option), the width of the cropping area will be used.
    -vh The height of the output video in pixels. Please specify a value between 16 and 2880. If you omit this option:
    If no cropping area specified (see the -vc option), the height of the input video will be used.
    If you specified a cropping area (see the -vc option), the height of the cropping area will be used.
    -vb The bit rate of the output video in Kbits/s. Please specify a value between 1 and 9999. If you omit this option, the program will automatically calculate a proper value for you.
    -vf The fps of the output video. Please specify a value between 1 and 30. If you omit this option, the fps of the input video will be used.
    -vk Specify the video key frame interval of the output video. The smaller key frame interval is, the better picture fluency of Flash Video you can get, but the .flv file size will be larger. The suggested key frame interval is half of the Fame rate value. For example, if the Frame rate is 24, then you'd better set the key frame interval to be 12. If you omit this option, the program will set it automatically.
    -vz Video zoom mode of the output video. You can specify L, P or S mode. If you omit this option, the program will use the L option. L: Letter Box
    If you adopt Letter Box mode, the picture will be shrunk to fit the target dimension while preserving the aspect ratio of source video, and black bars will be added to fill the gaps. P: Pan & Scan
    Only parts of the source video would be converted with Pan & Scan mode. The program will cut out some detail around the picture, which is not considered that important, to make the width or height fit. S: Stretch
    With Stretch mode, the whole video will be recorded at full dimension for preserving all the fine details, but the picture will lost the original aspect ratio and be literally squashed out of shape.
    -vc Specify the cropping rectangle of the input video. Please enter four integers here, separated by commas (NO space between comma and integer). The first 2 numbers are the coordinates of the top left of the cropping area, and the second two numbers are the coordinates of the bottom right of the area. For example, if you specify 10,20,330,260, the dimension of the cropping area will be 320x240, locating at (10, 20). If you omit this option, the entire area of the input video will be encoded.
    -ad Specify this option if you want to disable the audio. The output .flv will contain video stream only.
    -as Specify the audio sample rate in Hz. The available values are 11025, 22050 and 44100. If you omit this option, 44100 Hz will be used.
    -ab Specify the audio bit rate in Kbits/S. The available values are related to the sample rate. Please refer to the Audio Settings table for detailed information. If you omit this parameter, 96 Kbps will be used.
    -ac Specify the audio channels. The available values are 1 and 2. If you omit this option, the channels of the input audio will be used.
    -ag Specify the gain value to adjust audio volume. The value is from -5.0 to 30.0db. Please note that if the gain is too high, the audio may get distortion.
    -tn Specify the file name for created thumbnail image file.
    -tw Specify the width of created thumbnail image. The program will use the width of source video by default.
    -th Specify the height of created thumbnail image. The program will use the height of source video by default.
    -tf Specify the frame ID for created thumbnail file. For example, "tf 1" means the program will get the first frame to create thumbnail image, and "tf 48 " means the 48th frame. The program will use the first non-empty frame to create thumbnail image by default.
    -wn The full path of the image file used to create the watermark. All common image formats are supported including BMP, JPEG, GIF (support transparent and animated GIF), PNG (support semi-transparent PNG), TIFF (support transparent TIFF).
    -wp The desired position of the watermark, for example, 10,10. The coordinates are related to the top left corner of the video.
    -ws Duration and interval of watermark in seconds, for example, 5,60.

    The Output and Exit Code of the Program

    When you run the program from the Windows console or execute it in another application, the program will print certain information to the STDOUT. You can catch the STDOUT in your application to get desired information from the program at run-time.

    Output

    If the input video file is a valid video file and can be encoded, the program will print the following information to the STDOUT in turn:

    • Duration
    • Audio Information
    • Video Information
    • Conversion Progress

    Below is an example:

    C:Test>fvec c:testmovie.wmv c:testmovie.flv
    Duration: 00:00:12
    Audio: Windows Media Audio 9, 32 KHz, 32 Kbps, 2 Channels
    Video: Windows Media Video 9, 320 x 240, 350 Kbps, 15.00 fps
    Percent: 2%
    Percent: 43%
    Percent: 84%
    Percent: 100%
    • Duration: Print the length of the input video. The format is HH:MM:SS.
    • Audio: Print the Audio Codec Name, Audio Sample Rate, Audio Bit Rate, Audio Channels in turn, separated by commas and a space.
    • Video: Print the Video Codec Name, Video Dimension, Video Bit Rate, Frame Rate in turn, separated by commas and a space.
    • Percent: Print the Conversion Progress in percent periodically. The percent of 100% means the conversion is accomplished and the program has terminated automatically.

    If the input video file is not a valid video file, or the file can not be encoded correctly, the program will print one line of error message to the STDOUT and then terminate. The error message starts with the text "Error:" and is followed by a description of the error reason. For example, when you type the following command in the console (assume "nonexistent.mpg" does not exist):

    C:Test>fvec c:testnonexistent.mpg c:testmovie.flv

    You will see the following error message:

    Error: Can not find the source file "c:testnonexistent.mpg".

    Exit Code

    The program may exit with the following exit codes. You can check the exit code to know if the conversion is finished successfully or not.

    Exit Code Description
    0 Conversion is finished successfully.
    1 Conversion failed.
    2 The 30-day trial version of the program has expired.
    3 Program initialization error.
    4 Insufficient parameter supplied. For example, you passed the -vb parameter, but did not specify the video bit rate.
    5 Unrecognizable parameter found. Please refer to the patameters section for more information.
    6 Invalid parameter passed to the program. For example, the bit rate value exceeded the permitted range.
    7 Can not parse the input file.
    8 Can not encode the input file.

    Go to get video hosting site setup guide for ASP, ASP.net and PHP >>>