Вопрос

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.

Это было полезно?

Решение

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]

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top