5,600,612 Members 33,810 Now Online
XDA Developers Android and Mobile Development Forum

Xvid avi player

Tip us?
 
llotech
Old
#1  
Junior Member - OP
Thanks Meter 2
Posts: 18
Join Date: Mar 2008
Location: Toronto
Default Xvid avi player

Does anyone know where to get a video player that plays compressed avi files? I'v tried every player available to me in the market but so far nothing.
 
silencer25321
Old
#2  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: May 2008
you can't, you need to convert to mp4 inoder to watch movies or videos on android. i use Video Player to watch the vids and Handbrake to convert to mp4 handbrake.fr is the website i believe.
 
llotech
Old
#3  
Junior Member - OP
Thanks Meter 2
Posts: 18
Join Date: Mar 2008
Location: Toronto
Thanks silencer,

I don't really understand why this has to be this way, but I'll take your word for it. I thought it only required some kind of codec to play different kinds of videos.

Thanks again, HandBrake works great.
 
evilkorn
Old
#4  
Senior Member
Thanks Meter 30
Posts: 1,752
Join Date: Jun 2009
Location: Boynton Beach, FL
DivX is a proprietary codec, which means licensing fees for every phone. Don't talk about XviD, it's a knock-off/reverse engineered DivX codec and will never come stock on a phone.

Android != windows - You can't just drop in codecs that the player wasn't compiled with.
 
AMoosa
Old
#5  
Senior Member
Thanks Meter 176
Posts: 1,346
Join Date: Sep 2006
Could somebody not port the media player from the new Archos Android device. It plays almost all video formats including Divx and Xvid.

By the way, there is a paid-for app on the marketplace called yxflash which will play xvid and divx, albeit a bit choppy. There is a trial version which will play for 2 minutes that you could try out.

The Archos player would be cool though!
 
XVilka
Old
#6  
XVilka's Avatar
Junior Member
Thanks Meter 4
Posts: 25
Join Date: Feb 2010
Location: Moscow
I'm found way to porting xvid on android
But its only a libxvidcore.so
You must write an application to use it, but it's not so hard.

export _XXCFLAGS=" -mcpu=cortex-a8 -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3 -O3 -Os" (if you have Motorola Milestone/Droid or other device with TI OMAP3430)
export _XXCFLAGS=" -march=armv6j -mtune=arm1136jf-s -O3 -Os" (if you have HTC Hero or other device with Quallcomm MSM 7200A)
or others flags for your device, based on information of his chip.

also you must have cross-toolchain to build it.

cd src/build/generic
./configure --host=arm --target=arm-android-linux-uclibcgnueabi CC="arm-android-linux-uclibcgnueabi-gcc" \
CXX="arm-android-linux-uclibcgnueabi-g++" STRIP="arm-android-linux-uclibcgnueabi-strip" \
AR="arm-android-linux-uclibcgnueabi-ar" AS="arm-android-linux-uclibcgnueabi-as" \
LD="arm-android-linux-uclibcgnueabi-ld" RANLIB="arm-android-linux-uclibcgnueabi-ranlib" \
OBJDUMP="arm-android-linux-uclibcgnueabi-objdump" NM="arm-android-linux-uclibcgnueabi-nm" \
CROSS_COMPILE="arm-android-linux-uclibcgnueabi-" \
CFLAGS=" -nodefaultlibs -nostdlib -fPIC $_XXFLAGS" \
CXXFLAGS=" -nodefaultlibs -nostdlib -fPIC $_XXFLAGS" \
LDFLAGS=" -fPIC -static -s -L$HOME/build/cross/sys-root/usr/lib -lm -lc" --prefix="$HOME/build/cross/sys-root/usr"
cd =build
rm-android-linux-uclibcgnueabi-ld -shared -s -o libxvidcore.so -whole-archive libxvidcore.a

libxvidcore.so - shared library without any dependencies (only kernel!, not libc)
-------------------------------------------------------------------------------------------------------
Inform for toolchain
Based on crosstol-ng with gnu gcc + uClibc + kernel sources from your device vendor.
If needed i can post advanced information with sample configs. But i'm have very bad memory - so if you needed advanced howto - please send direct (private) message.
 
XVilka
Old
#7  
XVilka's Avatar
Junior Member
Thanks Meter 4
Posts: 25
Join Date: Feb 2010
Location: Moscow
Of course, this instruction for build from latest source from official xvid site
 
XVilka
Old
#8  
XVilka's Avatar
Junior Member
Thanks Meter 4
Posts: 25
Join Date: Feb 2010
Location: Moscow
Full howto on this http://forum.xda-developers.com/showthread.php?t=631818

Tags
avi, media, player, video
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...