brarcher / video-transcoder

Android app for video and audio transcoder, based on FFmpeg
GNU General Public License v3.0
481 stars 57 forks source link

convert mp4 video to avi #131

Closed miladr0 closed 5 years ago

miladr0 commented 5 years ago

hi could this library do that?

licaon-kter commented 5 years ago

Why?

miladr0 commented 5 years ago

@licaon-kter I just want convert my mp4 video to avi format.

brarcher commented 5 years ago

I do not think that the app currently has support for AVI, but ffmpeg (used by the app) does. The support would just need to be added.

licaon-kter commented 5 years ago

@miladr0 Why AVI format, what's the purpose? Why not MKV or MP4 or any modern container?

miladr0 commented 5 years ago

@licaon-kter i'm just interest this format and want add it as an option for convert.

brarcher commented 5 years ago

I looked into it, and the FFmpeg build I'm using does not currently have libxvid support. That would need to be added first. FFmpeg does have built-in support for AVI but the quality is not as good as libxvid for lower bitrates (source). If AVI support were to be added to Video Transcoder I'd prefer it be with libxvid.

If someone were interested in adding libxvid support to the ffmpeg-android fork I use, it would make adding support to the app simpler. Otherwise, it may be some time before I can get to it.

brarcher commented 5 years ago

I changed my mind on libxvid. It is just too simple to add avi support without it. Lets see how ffmpeg's built in avi support is, and only if it is lacking will libxvid be considered.