VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. 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?
    Cheers, Jim
    My DVDLab Guides
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    maybe mencoder
    Quote Quote  
  3. 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
    Quote Quote  
  4. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    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.
    Quote Quote  
  5. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    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.
    Quote Quote  
  6. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Whoops, messed up the thread a tad. Sawree !
    Quote Quote  
  7. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    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
    Quote Quote  
  8. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Thanks to Videohelp.com and Celtic_Druid plus many linux related pages with Mencoder examples, here's a basic command that seems to work:


    menc.bat
    Quote Quote  
  9. 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
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!