Hi,
I just got the 1.80 firmware update for ps3 and was interested in watching my videos streamed over wifi from my pc to my ps3. Unfortunately most of my video files are in xvid or divx, which the ps3 does not support.
SO, what I would like to do is somehow AUTOMATE the conversion. So every time a new file is added to a certain directory, a batch process is fired off that converts the file from xvid to MPEG1.
Is this possible? I am using windows vista and know how to program scripts. I guess the only questions is: What is the easiest application that would allow me to fire it off from the command line and quickly convert the video file to the desired format.
Thank you very much!
+ Reply to Thread
Results 1 to 4 of 4
-
-
Originally Posted by Baldrick
I'll give tversity a shot, but my guess is that I will ultimately need the file conversion that I mentioned. So far ffmpeg is looking like a possibility. It looks like I should be able to run it from the command line to do the conversion that I need. -
You can easily automate the encoding of Xvid to Mpeg1 as files are added to a directory.
ffmpeg will work quite well for this purpose. The second thing you need is an app to search for the existence of new files in a folder. Here's one of the more rudimentary ones, but it does the job.
waitdirchg.zip
Also waitfilecomplete will ensure the ffmpeg encoding doesn't start too early
http://www.gdps.dk/downloads/WaitFileComplete.zip
An untested batch file would look like something like this (you'll have to tweak the ffmpeg settings)
:top
rem - wait for any files being added to the folder, then begin processing
waitdirchg
rem - ensure the AVI has been completely copied to the folder before encoding to mpeg
for %%a in (*.avi) do waitfilecomplete "%%a" & ffmpeg -i "%%a" -vcodec mpeg1video "%~na.mpg"
rem - rename the AVI files in the folder so the batch doesn't re-encode them on the next round
ren *.avi *.done
rem - loop back up and wait once again for a change in the directory
goto top
Similar Threads
-
Automated CD Burning for PC
By azilex27 in forum DVD RippingReplies: 5Last Post: 15th Mar 2012, 08:00 -
DVD player : Which video file is the most common, mpeg1 or xvid
By iwiiiiiiiiii in forum DVD & Blu-ray PlayersReplies: 6Last Post: 16th Mar 2011, 07:12 -
What is automated about adr?
By yoda313 in forum Newbie / General discussionsReplies: 3Last Post: 1st Oct 2010, 20:00 -
DVD/vob/mpeg to Avi/xvid automated process, Help!
By sinz in forum Video ConversionReplies: 0Last Post: 14th Apr 2009, 01:08 -
Converting Xvid to MPEG1(VCD)
By Ensign in forum Video ConversionReplies: 3Last Post: 18th Dec 2008, 15:00