LinuxQuestions.org
Visit Jeremy's Blog.
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, 08:36 PM   #1
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
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, 09:18 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
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 05:26 AM.
 
Old 03-05-2010, 05:30 PM   #3
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Original Poster
Rep: Reputation: 38
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, 04:39 AM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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, 03: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 09:22 PM.
 
Old 08-28-2013, 07: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, 08: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 08:15 PM.
 
Old 09-26-2013, 06: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 02:06 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:00 PM
converting all kind of videos to flash ( FLV zafar466 Linux - General 1 07-25-2008 06: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 04:07 AM
converting to 3gp videos stevsom Linux - Software 1 02-27-2006 03:07 AM
converting to 3gp videos zba78 Linux - Software 1 08-12-2005 05:14 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration