3
2
I got the following code from some forum. I'm a beiginner, so please bear with my questions ...
I need to convert a video from MTS to AVI in very good quality. Currently I'm using the following code for conversion.
for %%a in ("*.mts") do ffmpeg.exe -i "%%a" -vcodec libxvid -vtag XVID -aspect 16:9 -maxrate 1800k -b 1500k -qmin 10 -qmax 42 -bufsize 5120 -acodec libmp3lame -ac 2 -ab 160k -y "%%~na_xvid.avi"
for %%a in ("*.m2ts") do ffmpeg.exe -i "%%a" -vcodec libxvid -vtag XVID -aspect 16:9 -maxrate 1800k -b 1500k -qmin 10 -qmax 42 -bufsize 5120 -acodec libmp3lame -ac 2 -ab 160k -y "%%~na_xvid.avi"
But I'm expecting better quality than the above. How do I get that?
Can you quantify what you would regard as acceptable? How good is the input quality? What have you tried? Have you tried tweaking the quality-related options? – tripleee – 2012-06-18T09:09:48.213
Isn't the core issue here that you are using xvid? H.264 is widely used for compressing high quality HD video, but at SD resolutions compresses more than xvid for the same video quality. – Chris Becke – 2012-06-18T10:00:23.693
@ tripleee : I took Videos in Sony Digicam with HD quality and its in MTS.. I wanna Convert to AVI and want see the vidoes frame by frame.. So for that I need a HD Quality Ouput in AVI Format – None – 2012-06-18T10:25:10.983
@ Chris Becke : Thanks Dude., But I'm New to this.. My requirement is, I need to convert HD Quality MTS file to HD Quality AVI, using FFMPEG...
Can you guys provide me the coding to do this?? Thanks in Advance – None – 2012-06-18T10:31:20.750