VideoHelp Forum
+ Reply to Thread
Results 1 to 12 of 12
Thread
  1. Member RogerTango's Avatar
    Join Date
    Nov 2007
    Location
    United States
    Search Comp PM
    What is a good CLI to encode from AVS script to a WMV with WMV3 video and WMA2 audio, VC-1 format, please?

    I want to write a proggie to frontend this encoder to generate Creative Zen compliant videos.

    Ive use NIC's WMVEnc with great success, but it has (to the best of my knowledge) no CLI interface.

    Thanks,
    Andrew
    Quote Quote  
  2. Member RogerTango's Avatar
    Join Date
    Nov 2007
    Location
    United States
    Search Comp PM
    Thanks Fresh-
    Question though... Can I launch WME from a batch file with command line arguments, or do I *need* the VBS that is included with the script??

    Also, is this the only CLI option I have to do WMV? (From the looks of Google, appears so...)

    Thanks,
    Andrew
    Quote Quote  
  3. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    I think WME's batch implementation is exactly what you'd be downloading from Doom9. Zambelli (author of the VBS script) works for Micros0ft.

    Also, depending on how many cores your PC proc has, this hotfix might need to be applied

    http://support.microsoft.com/kb/945170



    you could run it from a batch file like this:

    Transcode_2_WMV.bat

    for %%a in ("*.avs") do cscript WMCmd.vbs -input "%%a" -output "%%~na.wmv"


    I don't transcode anything to WMV format, but FFmpeg might support your requirements as well.
    Quote Quote  
  4. Member RogerTango's Avatar
    Join Date
    Nov 2007
    Location
    United States
    Search Comp PM
    Thanks again for good follow up info.

    But now I wonder, how does a program like Any Video Converter generate wmv3 files, if there not launching WME, you know what I mean?

    Pondering minds want to know! HA HA!

    Andrew
    Quote Quote  
  5. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    It's probably making a DLL call to the WMV transcoder found in Windows Media 10 or 11.
    Quote Quote  
  6. Member RogerTango's Avatar
    Join Date
    Nov 2007
    Location
    United States
    Search Comp PM
    Originally Posted by Soopafresh
    It's probably making a DLL call to the WMV transcoder found in Windows Media 10 or 11.
    I sure wish I knew more about that! I even wish I could contact the author of Nic's WMVEnc and request CLI be added to his great & nifty proggy (hint hint).

    Andrew
    Quote Quote  
  7. Member RogerTango's Avatar
    Join Date
    Nov 2007
    Location
    United States
    Search Comp PM
    I sent "Nic" an email asking about the possibility of adding CLI support to his WMVEnc.


    I never got a reply, so I guess that will remain a dream.

    Andrew
    Quote Quote  
  8. I like Nic's encoder as well, but the lack of any batch file processing means that I have to fall back to good old .BAT files.

    Here's a rundown of the commands for WM encoder.

    http://www.citizeninsomniac.com/WMV/WMCmd.txt
    Quote Quote  
  9. Member RogerTango's Avatar
    Join Date
    Nov 2007
    Location
    United States
    Search Comp PM
    Thanks for the post 2360- I was looking for the CLI arguments to WME!

    Andrew
    Quote Quote  
  10. Member RogerTango's Avatar
    Join Date
    Nov 2007
    Location
    United States
    Search Comp PM
    Originally Posted by mh2360
    I like Nic's encoder as well, but the lack of any batch file processing means that I have to fall back to good old .BAT files.
    I contacted him (Nic) and requested adding CLI support, he says hes not doing anything else to it. Its such a shame he didnt have the foresight to add CLI argument support to the program when he first wrote it, that would have made it PERFECT!

    Cheers,
    Andrew
    Quote Quote  
  11. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    To whom this may interest, a Doom9er named TinTime has managed to improve
    Nic's AVS2ASF (which should be actually renamed to "WMV9ENC" or something).

    http://www.mediafire.com/file/ztl0tdilg4n/AVS2ASF.zip

    Warning: MS regards VC-1 as just an improved type of WMV, which means,
    it's not easy to make the VC-1 encoders from Microsoft produce an output
    without dropped/duplicate frames. SFAIK, this is possible only if you use
    the VB script written by Zambelli, with the 2-pass unconstrained VBR mode,
    and without B-frames. Ben Waggoner, a Doom9 moderator who also
    works @ Microsoft, has said, things will be different if you use Expression Encoder,
    but I do not believe him (and no, I will not give a try to Expression Encoder, thanks).
    Quote Quote  



Similar Threads

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