my TV card captures videos at about 1.4GB every hour using its onboard MPEG2. I'd like to compress this down with say xvid and do the same for all the .mpg files in a folder. How could this be done automatically?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
-
I would use a command line converter like ffmpeg and make bat file that runs every hour or so.
Like a .bat file in the folder with the captured mpgs with:
Code:for %%X in (*.mpg) do ffmpeg -vcodec xvid -ab 192 -ar 44100 -acodec mp3 -i %%X -o %%X.avi mv *.mpg c:\folder #or delete the mpgs
Read also http://commandwindows.com/batch.htm for more batch files commands. -
thank you, the example was helpful.
If any newbie out there wants to do the same thing, below is my script which crops the letter box, deinterlaces, then saves to xvid at a suitable resolution and bitrate (for me).
Code:for %%X in (*.mpg) do ffmpeg -i %%X -vcodec mpeg4 -vtag XVID -qscale 7 -deinterlace -cropleft 6 -cropright 4 -croptop 66 -cropbottom 64 -s 624x352 -ab 160000 -ar 44100 -acodec libmp3lame %%X.avi
Similar Threads
-
Best way to batch convert xvid/avi files to mkv/x264 files?
By gaikokujinkyofusho in forum Video ConversionReplies: 1Last Post: 13th Jan 2012, 06:31 -
How to batch convert mpg to avi
By roberta in forum Newbie / General discussionsReplies: 3Last Post: 18th Apr 2011, 16:17 -
Need To Batch Encode 78 MPEG2 Files
By hech54 in forum Video ConversionReplies: 7Last Post: 31st Dec 2010, 07:10 -
Batch convert DV-AVI to MPEG2
By w@ntonsoup in forum Video ConversionReplies: 3Last Post: 27th Sep 2009, 15:08 -
Help to batch convert Std Def MPG Letterbox 4:3 to Anamporphic 16:9
By jmone in forum EditingReplies: 0Last Post: 6th Jan 2008, 01:22