LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-04-2010, 07:36 PM   #1
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
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?
 
Old 03-04-2010, 08:18 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.

Last edited by jschiwal; 03-05-2010 at 04:26 AM.
 
Old 03-05-2010, 04:30 PM   #3
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Original Poster
Rep: Reputation: 164Reputation: 164
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.
 
Old 03-06-2010, 03:39 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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/
 
Old 08-27-2013, 02:02 AM   #5
victoranker
LQ Newbie
 
Registered: Aug 2013
Posts: 1

Rep: Reputation: Disabled
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.

Last edited by victoranker; 09-01-2013 at 08:22 PM.
 
Old 08-28-2013, 06:41 PM   #6
matrixworld
LQ Newbie
 
Registered: Aug 2013
Distribution: Sabayon 13.08 (Host), Mint 15 Mate (VM), OpenBSD 5.3 (VM)
Posts: 21

Rep: Reputation: Disabled
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.
 
Old 08-28-2013, 07:13 PM   #7
CrackerPunk
LQ Newbie
 
Registered: Aug 2013
Location: New Jersey
Distribution: FreeBSD 9.1 | Slackware 13
Posts: 17

Rep: Reputation: Disabled
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.

Last edited by CrackerPunk; 08-28-2013 at 07:15 PM.
 
Old 09-26-2013, 05:17 AM   #8
sandraalan
LQ Newbie
 
Registered: Sep 2013
Posts: 1

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

Last edited by sandraalan; 09-29-2013 at 01:06 AM.
 
Old 05-19-2016, 06:27 AM   #9
edwards142
LQ Newbie
 
Registered: May 2016
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 05-19-2016, 08:10 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Handbrake - Converting Videos For Mobile Devices LXer Syndicated Linux News 0 09-07-2009 10:00 PM
converting all kind of videos to flash ( FLV zafar466 Linux - General 1 07-25-2008 05:17 AM
Is there a program that will let me stream my videos to DVD without converting over? HGeneAnthony Linux - Software 6 04-21-2007 03:07 AM
converting to 3gp videos stevsom Linux - Software 1 02-27-2006 02:07 AM
converting to 3gp videos zba78 Linux - Software 1 08-12-2005 04:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration