LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Converting videos for Android (https://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!

edwards142 05-19-2016 06:27 AM

Convert Videos to Android Compatible Formats
 
In order to convert your avi videos to mp4 format you need to use Android video converter tool as according to me it’s the best tool to convert any video into android supported format. These converters are powerful application which are capable of[B] [Mod Removal of redirection to advertising] compatible file format so that you can easily play your favorite video on your Android based phones or tablets. It has the ability to convert YouTube video, DVD movie and other video formats like AVI, 3GP, DivX, DVD, MPEG-2, MPEG-4, FLV, RMVB, MPEG-1, and MPEG.

onebuck 05-19-2016 08:10 AM

Moderator response
 
@edwards142

Your redirection link for a commercial product advertising violates LQ Rules. Link has been removed.

The forum rules do not permit advertising. Please visit http://www.linuxquestions.org/advertising/ for more information on advertising. Feel free to contact the forum admin if you have any questions about this policy.

Plus, please take note of the OP date and other replies. Resurrecting necro threads is not something that should be done.


All times are GMT -5. The time now is 05:47 PM.