For windows users: Convert video files
Easy and free video converting is not any more sole priviledge of GNU/Linux operating system. Program called FFMPEG, which is the ultimate video editor and converter has came to Windows too. You can download it from here: http://ffmpeg.zeranoe.com/builds/
However, there is a problem: FFMPEG is a command line program which is difficult to use. Instead of searching for expensive solutions or front-ends, I have made simple batch script that you can use to convert video files. Script is set to be used to convert videos downloaded from youtube to a format playable on most TV sets that has USB etc.
Script is changable easily, and legally. Here it is. You need to select all and copy text to your favorite text editor. Save file under any name you wish, but add “bat” extension. Example: “convert.bat”.
@echo off rem --- This program will change all files of type set in EXT_IN to a files of type set in EXT_OUT (MP4 to AVI) rem --- It is free and is published under GNU/GPL v2 GENERAL PUBLIC LICENSE rem --- see http://www.gnu.org/licenses/gpl-2.0.html for more info. rem --- FFMPEG is necessary for this program to work. Please download it if needed from rem --- http://ffmpeg.zeranoe.com/builds/ and use STATIC 32-bit or 64-bit according to your OS rem ------- Settings. Change as required. ------- REM ******* INPUT and OUTPUT file extensions. Change accordingly to your needs. SET EXT_IN=mp4 SET EXT_OUT=avi REM ****** executable ffmpeg with path. Change accordingly to your case SET FFMPEG=C:\Windows\SysWOW64\ffmpeg.exe REM ****** set video and audio codec: XVid = libixvid, MP3 = libmp3lame ********* SET VIDEO_CODEC=libxvid SET AUDIO_CODEC=libmp3lame REM ****** set bitrate. 3Mb/s = 3192 Kb/s ***** REM **** Low quality, small file: 1M REM **** best quality/size ratio, 3 to 4M SET BITRATE=3M REM ------------------------------------------------------------------------------- REM ******************* program - do not change unless you know what you are doing REM ------------------------------------------------------------------------------- if %1.==Sub. goto %2 for %%f in (*.%EXT_IN%) do call %0 Sub action %%~nf goto end :action %FFMPEG% -i "%3.%EXT_IN%" -vb %BITRATE% -vcodec %VIDEO_CODEC% -acodec %AUDIO_CODEC% -y "%3.%EXT_OUT%" :end |