How to Add Mp4 Videos Onto Your Flv (flash) Video Site for Free

I will start by stating what is required for this toIf you have any problems with this login to your
work for you. Any website containing videos in awebhosting account/control panel and look for an
flash format (typically ending in .flv) that can beFTP option there. Info for connecting via FTP client
accessed via FTP (file transfer protocol) hosted on ashould be there somewhere. This info will include
machine with PHP scripting capability. This covers theserver name, something like ftp.your-host-name.com,
majority of the linux/unix webhosting out there thatport number 21 and username and password.
let you install or add on a pre-made video script suchOnce that the FTP connection is working select both
as PHP-motion. The second prerequisite a desktopradio buttons labeled 'Remote Directory via FTP'
computer running windows XP or Vista that has aunder 'Get files to convert from:' and 'Put converted
cable / DSL internet connection.files into:' The textbox below the radio buttons
If you are using windows hosting I don't know if thisshould both contain a forword slash '/' indicating the
will work. If it is windows hosting that also has PHP itroot directory of your ftp account. Then, find the
might work but that has never been tested.directory the original video files are located in, for my
The primary focus of this article will deal with how Iinstallation of PHPmotion script the location of the
did this on my site and hopefully it will get youoriginal video files is in /public_html/uploads. To move
started if you wish to do the same.up and down in the directories on the server
A basic overview of how it will work is this:double-click on the directory names shown in the
1) The original videos in FLV format reside on thelistbox. The names in bold are directory names and
server in whatever directory the video script uploadsthe non-bold are the files in the current directory. Use
them into when they are added to your site. DCUthe double dots '..' to move back up a directory. Once
(Download, Upload, Convert) software connects toyou find the directory the original files are located in
the server via FTP and compares the files on theand you have choosen the output directory I
server to determine which of the original videos inrecommend using the same directory in which the
FLV format have a file of the same name in MP4original files are stored.
format. For example if the video filename is 1.flv itThe listbox in the lower-left shows the files that
checks to see if 1.mp4 exists.need to be downloaded, converted, and uploaded.
2) If 1.mp4 does not exist download a copy of theAnd, the listbox on the lower-right is a log of
original 1.flv file and convert it into 1.mp4converted files.
3) Upload the newly converted 1.mp4 back up to theAll that is left is to click the 'Convert Files' button to
server.get the converting of files underway.
To make this happen the first thing to do is get DCUOk, one more thing is needed for this to work out
(Download, Convert, Upload) software for free fromwell. In the template folder edit the play.php file but
FVG software by right-clicking then choosing 'Saveby adding this code to the code.
Link As' on the following link$download_url = "Sorry, No MP4 is available for
Once, the file has finished downloading double click itthis video." ;
or right-click then choose install to install it.$newname = 'uploads/' .
When installation has completed start DCU from the$result["video_id"] . '.mp4' ;if
start menu or the icon on your desktop. Enter your(file_exists($newname)) { $download_url =
ftp server info into the boxes at the top and click"Right-click to download this in MP4
the TEST button to check if the connection isformat" ;and put it in just before this bit of
working.code.