LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Converting videos for Android (http://www.linuxquestions.org/questions/linux-general-1/converting-videos-for-android-793287/)

SlowCoder 03-04-2010 07:36 PM

Converting videos for Android
 
I've got some videos in AVI format that I'm trying to convert to MP4 for my Droid. I've installed Avidemux on Fedora 12. I've converted using multiple audio formats, but when I try to play them on the Droid, there's no audio. I can play the same video on my PC and there is audio, so I know the track is there. I've reviewed multiple tutorial sites, and tried what they ask, but ... I ... fail.

Any ideas?

jschiwal 03-04-2010 08:18 PM

You might install the "mediainfo" package so you can examine what codec, bitrate, sample format is used in a good droid compatible video. Then use that as the target. Consider learning to do this is ffmpeg or mencoder. Once you have the details worked out on what the android expects and how to produce it, the input isn't important. You can create a onliner such as "vid2android" which simply takes the source file as an argument and produces a video for the droid.

SlowCoder 03-05-2010 04:30 PM

OK, so more research resulted in finding out I was missing the sac audio codec (libfaac). I also found that it's licensing has caused it to be removed from many repos. One post said it remains part of the package 'faac' at rpmfusion, which I've dl'd. Now to figure out how to get avidemux to recognize it.

Ffmpeg is another option I've used for other conversions, and might have to resort to it for this too.

H_TeXMeX_H 03-06-2010 03:39 AM

Well, it looks like you have some options:
http://developer.android.com/guide/a...a-formats.html

See here for how to convert:
http://www.linuxquestions.org/questi...g-h263-687163/

victoranker 08-27-2013 02:02 AM

AVI is not an Android friendly video format. To convert AVI to MP4 for Motorola Droid, you'll need to convert AVI to Android compatible video formats first.
To convert AVI videos for playing on Android Droid phone, a Android Video Converter is a must.

matrixworld 08-28-2013 06:41 PM

Not all smartphones are created equal. It depends on the codecs it supports.

Anyway, I use handbrake to convert videos to mp4 and it plays smoothly on my android phone.

Also, ffmpeg using the mpeg4 or libx264 codec and the libfaac for the audio works also in my android phone.

CrackerPunk 08-28-2013 07:13 PM

I use an android app called MX player. Some people called the equivalent of VLC because It supports many video formats including AVI files.

Most of my videos are MP4, but I have some AVI files and MX player played them just fine including the audio. If you want to try MX player, you will need to install MX player and the MX player codec pack. Both are FREE from google play store.

sandraalan 09-26-2013 05:17 AM

You can try iPubsoft video converter, i always use this, and it helps me a lot daily!


All times are GMT -5. The time now is 07:54 AM.