Convert audio and video directly on the device using FFmpeg http://ffmpeg.org/
FFmpeg is a set of open source libraries that allow you to record, convert digital audio and video recordings in various formats. It includes libavcodec, a library for encoding and decoding audio and video, and libavformat, a library for multiplexing and demultiplexing into a media container. The name comes from the name of the MPEG and FF expert group, meaning fast forward.
FFmpeg is already built into the program and does not require downloading additional codecs.
The conversion takes place directly on the device (the Internet is not required), and the conversion speed depends on the processor speed of the device.
Supports: MPEG4, h265, h264, mp3, 3gp, aac, ogg (vorbis and theora), opus, vp8, vp9 and many other formats (you will find the list in the app).
Requirements: Android 4.4 and the availability of the processor ARMv7, ARMv8, x86, x86_64.
FFmpeg v4.1.3 with x264, x265, ogg, vorbis, theora, opus, vp8, vp9, mp3lame, libxvid, libfdk_aac, libvo_amrwbenc, libopencore-amr, speex, libsox, libwavpack, libwebp, librtmp
More options can be found in the help pages for FFmpeg.
使用FFmpeg直接在设备上转换音频和视频http://ffmpeg.org/
FFmpeg是一组开源库,允许您以各种格式录制,转换数字音频和视频录制。它包括libavcodec,一个用于编码和解码音频和视频的库,以及libavformat,一个用于多路复用和解复用到媒体容器中的库。该名称来自MPEG和FF专家组的名称,意思是快进。
FFmpeg已经内置到程序中,不需要下载额外的编解码器。
转换直接在设备上进行(不需要Internet),转换速度取决于设备的处理器速度。
支持:MPEG4,h265,h264,mp3,3gp,aac,ogg(vorbis和theora),opus,vp8,vp9和许多其他格式(你会在应用程序中找到列表)。
要求:Android 4.4和ARMv7,ARMv8,x86,x86_64处理器的可用性。
FFmpeg v4.1.3与x264,x265,ogg,vorbis,theora,opus,vp8,vp9,mp3lame,libxvid,libfdk_aac,libvo_amrwbenc,libopencore-amr,speex,libsox,libwavpack,libwebp,librtmp
可以在FFmpeg的帮助页面中找到更多选项。