I am admittedly VERY new to all of this. Here is the problem and the tools available.
We capture videos in .AVI and post them on our website in .WMV. Soon we will be posting .FLV. We are currently manually importing the file into Premiere and converting the files to .WMV then manually loading up Windows Media Services and creating a publishing point for the .WMV file.
Using Premiere and Windows Media (or even a 3rd party app you guys see fit) how can I automate this process? I want the files to capture into a folder that gets monitered and if a new .avi appears I'd like it to grab the file, convert it to WMV (or FLV) and create the publishing point for our website.
Any suggesions are GREATLY appreciated! Thank you.
+ Reply to Thread
Results 1 to 9 of 9
-
-
Lots of ways, probably the easiest is using an app which has a "watch folder" feature. Once you copy your AVI into the watched folder, the app automatically converts the file to your format of choice. Procoder has that feature, you'll need to check if it has flv conversion. BTW, h264 .MP4 works perfectly with Flash.
Creating the publishing point is a different story."Quality is cool, but don't forget... Content is King!" -
Thanks very much...I will have a look at the program you mentioned.
Anyone have ideas on automating the publishing point? -
I use Super FLV to convert into flash. It converts from any format into any format. Do a google search for Super FLV. Or click on this link and scroll to the bottom where the download link is
http://www.erightsoft.com/S6Kg1.html
Its brilliant and its free! -
Here's a basic simple solution using Windows built-in FTP & a batch file. Download the attached zip. There's two files, Watcher.exe and file.bat. Download and drop FFmpeg into the same folder.
By default watcher.exe watches the folder its executed in. Launch the exe and whenever you drop an AVI into the folder watcher will execute the batch file. You will have to edit the batch file and input your ftp addy,usr/pwd and modify the FFMPEG CLI to your needs. My example will encode Avi's to 320x240 WMV7 A/V - asf. and upload to my site ** don't rename File.bat to anything else ** Obviously this can be improved.works ok for me on Win XP. minimize to tray and throw in startup.
.Net 3 required
Here's the basic batch file:
for %%i in (*.avi) do ffmpeg -i %%i -vcodec wmv1 -acodec wmav1
-s 320x240 -mbd 2 -deinterlace %%~ni.asf
echo open 11.11.11.11>upload.txt
echo username>>upload.txt
echo pwd>>upload.txt
echo put >>upload.txt
dir *.asf /b>>upload.txt <<<---- change to whatever your output file ext is
echo bye>>upload.txt
echo quit>>upload.txt
echo ------------------------------------------------------->>ftp.log <---- redirects ftp output to log file
echo FTP started: %date% %time%>>ftp.log
echo ------------------------------------------------------->>ftp.log
echo.>>ftp.log
ftp -s:upload.txt>>Ftp.log
del /s/q upload.txt
del /s/q *.asf
del /s/q *.aviLast edited by VirtualDoobMon; 14th May 2010 at 14:37.
-
-
You are right thanks for pointing that out. I C&P after i removed my ftp info and must have deleted that line as well. Yes, user can either delete (As in my example) or they can move the AVI - but must do either one - or rewrite an entire batch file. I'm not an expert at dos so i'm sure it can be improved.
Last edited by VirtualDoobMon; 14th May 2010 at 14:45.
-
Nice work! My only concern is how soon the conversion process executes when the watcher app sees a new file - what if the batch file begins to run before the source file is done copying into the watch folder.
"Quality is cool, but don't forget... Content is King!" -
I don't believe it will execute until the file is completely copied ( i don't know for sure i tested with small avi files) I will test or Let me know and we can fix that. Also, the way i have it set up is that one file at a time (for now) should be dragged into the watch folder. You would have to modify the batch file from PUT to MPUT with FTP for multiple files to upload. here's some infos from MS on scripting with FTP -
http://support.microsoft.com/kb/96269
Similar Threads
-
trying to make Microsoft Home Publishing 2000 work on Windows 7
By LadyTaz in forum ProgrammingReplies: 2Last Post: 12th Jul 2011, 20:16 -
Automating MKV Conversion
By perros in forum MacReplies: 0Last Post: 14th Nov 2009, 03:06 -
FPS during encoding process
By godwentpunk in forum Newbie / General discussionsReplies: 0Last Post: 8th Sep 2009, 12:43 -
problem when publishing a video on WMM
By hzgg2 in forum EditingReplies: 1Last Post: 24th Dec 2008, 20:00 -
Desktop publishing
By bryankendall in forum Newbie / General discussionsReplies: 6Last Post: 18th Oct 2008, 15:28