![]() This sets cscript.exe as the default script engine. Open a command shell as Administrator and type cscript //nologo //h:cscript //s Before running it you should do the following (only necessary to do this once) Copy the code and save it in a file with a name like ConvertVideo.vbs. It can be run from the command line (supports wild cards), or you can drag and drop a file onto a shortcut to the script. That's why I coded up some vbscript to do it for me. ffmpeg -y -i in.avi -c:v libx264 -crf 17 -preset slow -c:a aac -strict -2 -b:a 192k -ac 2 out.mp4įfmpeg -y -i in.flv -vcodec copy -acodec copy out.mp4įfmpeg -y -i in.mkv -vcodec copy -acodec copy out.mp4īut who wants to have to remember all that and type it in every time. ![]() The following commands perform the conversion to mp4 with no loss in quality. The first, avi, requires a complete recoding. ![]() The last two are a simple repackaging of the contents (takes but a few seconds). So far I have determined the commands to use to convert avi, flv and mkv. Unfortunately, figuring out what parameters to use can be daunting. Fortunately, ffmpeg allows me to convert other formats to mp4. It works great, however, until VLC (Videolan) releases their promised upgrade with Chromecase support, I am limited to streaming files in the mp4 format. I have a Chromecast that I use to stream video from my laptop to our TV.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |