[FFmpeg-user] [help]What are the parameter of compression ration, and Slow 1x, 2x, 3x , Also with Fast
Ravi Patel
ravipatel401 at gmail.com
Tue Mar 2 09:04:11 EET 2021
Hello,
For Android:-
I'd like to know the parameter of the video Compression ratio with default
orientation.
Currently, I am using for Compress video
(-y", "-i", yourRealPath, "-s", "160x120", "-r", "25", "-vcodec",
"mpeg4", "-b:v", "150k", "-b:a", "48000", "-ac", "2", "-ar", "22050",
filePath)
*-- Using this for Fast need parameter which help to set 1x 2x 3x fast*.
{"-y", "-i", yourRealPath, "-filter_complex",
"[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]", "-map", "[v]", "-map",
"[a]", "-b:v", "2097k", "-r", "60", "-vcodec", "mpeg4", filePath}
*-- Using this for Slow need parameter which help to set 1x 2x 3x Slow. *
{"-y", "-i", yourRealPath, "-filter_complex",
"[0:v]setpts=2.0*PTS[v];[0:a]atempo=0.7[a]", "-map", "[v]", "-map",
"[a]", "-b:v", "2097k", "-r", "60", "-vcodec", "mpeg4", filePath}
Thanks.
More information about the ffmpeg-user
mailing list