Question

I want to convert any video to mp4(x264).But codecs of videos which will be processed are different(x264,Xvid,etc.). I want that properties of video which I convert should be same with video which I will convert and I want to not raise video's size.

Was it helpful?

Solution

Use ffmpeg for it. Below statement is just example. And reference this link. http://juliensimon.blogspot.com/2009/01/howto-ffmpeg-x264-presets.html

$ ffmpeg -i [input file] -vcodec libx264 -crf 25 -acodec libfaac -vpre slower [output file]

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top