

Sound is Dolby Prologic instead of surround sound, but considering this allows me to watch ripped Blu-rays on my TV media centre it is well worth it. What’s more, the resulting MP4 file in only 1.5 Gb. No pixellation, no blurryness, blotchiness or distorted images at all.
#Ffmpeg convert mkv to mp4 windows movie#
Just watched the start of a movie that I converted from the MKV format (original file was about 6Gb) and it looked and sounded great.

I might try one with 4 or 5 to see how that goes, but unless you are converting loads it does not really matter. Qscale works from 1 to about 40, where 1 is top quality and 40 is crap. Adding this improved the quality of the image. My tele has a height of 1024 pixels (same width) so I went with a number close to that for the smallest pixel dimension (sorry about bad jargon!) This ended up being larger than the resolution of my tele, because I think I needed to keep the aspect ratio the same. -s 1920×1080 – This sets the resolution of the new file.Not so sure about the other stuff, bit rates, did not really understand what the strict bit does. -acodec aac -strict -2 -ab 160k – This is the sound conversion.-i – specifies the file that is to be converted.I only learned today, and admit that I am still a bit confused. It took much longer to process and worked OK on PC.

I assume that unless you specify it some other method of compression is used and that over-eggs the video, making it pixellated.įfmpeg -i -acodec aac -strict -2 -ab 160k -s 1920×1080 -qscale:v 3 -f mp4 4 Qscale determines the quality of the video.

>ffmpeg -i -acodec aac -strict -2 -ab 160k -s 1024×768 -vcodec copy -f mp4 4 Attempt 4īecause the sound was good but the video poor, I Googled this issues and discovered the qscale setting. >ffmpeg -i -acodec aac -ac 2 -strict experimental -ab 160k -s 1920×800 -vcodec copy -f mp4 -threads 0 4 I used some of the above ideas but this new one resulted in blotchy, pixellated images at some points in the video (it was not bad, might have been OK on a small screen): Audio: dit rate: 93 kbps, channels 2 (stereo), audio sample rate 48 khz ……. Video: Frame width 1920, height 800, data rate 1955kbps, total bitrate 2049lbps, frame rate 23 fps. I was scratching my head over the settings and my pal suggested looking at the properties of a file that does work and look good. This worked, but poor quality (should be OK for ipads and other tablets):įfmpeg -i input.mkv -acodec aac -ac 2 -strict experimental -ab 160k -s 1920×1080 -vcodec copy -f mp4 -threads 0 output.mp4 What settings to use? It did work on VLC player I think (cannot confirm as I have deleted it). The most basic way to convert a file is to input a command such as this: Then I opened the folder and double clicked the ff-prompt and this opened a command prompt for Ffmpeg. I downloaded the 32-bit static builds (which gave ffmpeg-latest-win32-static.7z) and unpackaged them with 7-Zip (which gave a folder called ffmpeg-20140702-git-42a92a2-win32-static).
