我正在使用ffmeg进行视频压缩。我用过ffpmeg library
使用命令"ffmpeg -i " + filein.trim() + " -vcodec h264 -acodec mp2 " + fileout.trim(),但我没有任何响应。
我第一次使用任何ndk库。
发布于 2017-12-08 18:41:05
使用此命令将对您起作用。这对我很有效。
String cmd = "-y -i " + currentInputVideoPath + " -strict -2 -vcodec libx264 -preset ultrafast " + "-crf 24 -acodec aac -ar 44100 -ac 2 -b:a 96k -s 320x240 -aspect 4:3 " + currentOutputVideoPath;https://stackoverflow.com/questions/47712209
复制相似问题