Is there a way to run a .mov to .mpg encoder from the command line?
Ideally, using quenc or freenc or something free, that can be run from a .bat file.
I'd like to set up a plugin that scans a folder, and automatically encodes any .mov files (or .qt) to mpeg-2.
Quality changes would be done by directly editing the .bat, so VERY little user input would ever be needed.
I figure this could be done with avisynth, but I'm trying to avoid that if possible.
Any ideas?
+ Reply to Thread
Results 1 to 9 of 9
-
Cheers, Jim
My DVDLab Guides -
Yeah, I know that mencoder might do it, and it seems the best option.
Now all I need is a tutorial on all it's input and output parameters.Cheers, Jim
My DVDLab Guides -
Another Possible Option
http://lags.leetcode.net/Codec_mac.html
Install Lagarith Lossless Codec
Run Lagarith MOVtoAVI (win32 command line-See Link Above)
Encode resulting AVI to MPEG (I like FFMPEG command line. The documentation is in the executable, for the most part)
You'll probably want an NTFS volume and a fair amount of free disk space.
Quicktime Conversion in AviSynth is kludgy, requiring VFAPI. I haven't been able to get DirectShowSource to work on .MOV files.
I could be mistaken, but I seem to recall RadVideoTools has a command line batch function. Been a while since I tried it, though. -
ffmpeg also supports mov as input. Not all mov files though as unlike mencoder it can't make use of external codecs.
mencoder input and output options are just to specify the input file and use -o for the output files. I would suggest that you start by reading the mplayer/mencoder docs.
Basically something like mencoder -oac toolame -ovc lavc -lavcopts vcodec=mpeg2 input.mov -o output.mpg if I remember correctly. There are a whole bunch of lavcopts to tweak though.
As said though AVISynth is usefull. You should be able to use directshowsource() to input the file to quenc or similar. -
TMPGenc can do it too.
Just make a first time template (ctrl+S = *.tpr) and modifiy the .tpr file,
or (prefered method) again in TMPGenc:
* File\Save Project\..
* and select second option, " TMPGenc Text Project (*.tpr)"
Then, through your own programing of .BAT / .INI / or .TPR you can
modify it to load, and filter, and IVTC, and so on and so forth
-vhelp 3362 -
WOW, thanks Soopafresh. Exactly what I need for the .bat
Now it's just getting the input and output recognized from the source program...gotta find where it stores it's variables on filenames...Cheers, Jim
My DVDLab Guides
Similar Threads
-
Script to mass convert VOB's to MPG's from the command line
By casperinmd in forum SVCD2DVD & VOB2MPGReplies: 13Last Post: 3rd Jan 2013, 16:08 -
Command line convert mpg to mp4
By csc12345678 in forum Video ConversionReplies: 1Last Post: 30th Dec 2010, 09:11 -
Windows 7 Command line converter MOV to AVI
By guy lemaire in forum Video ConversionReplies: 2Last Post: 18th Oct 2010, 19:24 -
Command-line command for fixing AVI?
By timur in forum ffmpegX general discussionReplies: 1Last Post: 23rd Sep 2009, 02:23 -
Join MOV Video from command line
By parisisal in forum EditingReplies: 4Last Post: 19th Feb 2009, 10:59