FFmpeg-android Optimisations

This commit is contained in:
shabinder 2021-09-02 17:23:17 +05:30
parent 24c0002bb0
commit e8cec6d873
9 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class MainActivity : ComponentActivity() {
val inputFilePath = "/storage/emulated/0/Music/SpotiFlyer/Playlists/Sing-along_Punjabi/Kya_Baat_Ay.mp3"
val outputFilePath = "/storage/emulated/0/Music/SpotiFlyer/Playlists/Sing-along_Punjabi/Kya_Baat_Ay.temp.mp3"
val kbpsArg = "-b:a 192k"
ffmpeg.execute(arrayOf("-i", inputFilePath, /*"-acodec", "libmp3lame",*/ "-vn", outputFilePath),object : ExecuteBinaryResponseHandler() {
ffmpeg.execute(arrayOf("-i", inputFilePath, "-y", /*"-acodec", "libmp3lame",*/ "-vn", outputFilePath),object : ExecuteBinaryResponseHandler() {
override fun onSuccess(message: String?) {
Log.d("FFmpeg Command", "Success $message")
}