[SOLVED] cross compil arm support mp4v

*nix specific usage questions
X-h
Blank Cone
Blank Cone
Posts: 25
Joined: 07 Sep 2007 10:52

[SOLVED] cross compil arm support mp4v

Postby X-h » 10 Sep 2007 16:55

I finally manage to build vlc for arm by removing a lot of options (cf viewtopic.php?f=13&t=36930&hilit=):

Code: Select all

--disable-mad \ --disable-ffmpeg \ --disable-a52 \ --disable-libmpeg2 \ --disable-hal \ --disable-dbus \ --disable-dvdnav \ --disable-libcddb \ --disable-x11 \ --disable-glx \ --disable-xvideo \ --disable-xinerama \ --disable-opengl \ --disable-screen \ --disable-bonjour \ --disable-qt4 \ --disable-skins2 \ --disable-taglib \ --disable-freetype \ --disable-lua
I would like to play mp4 file (? codec are not my speciality as well as cross compilation :? )
main decoder error eror: no suitable decoder module for fourcc 'mp4v'
What option/library should i use ? (plz don't tell me ffmpeg as I can manage to compil it :D )
Ta
Last edited by X-h on 11 Sep 2007 13:49, edited 1 time in total.

X-h
Blank Cone
Blank Cone
Posts: 25
Joined: 07 Sep 2007 10:52

Re: cross compil arm support mp4v

Postby X-h » 10 Sep 2007 19:06

As far as i understand mp4v support is done by x264:
I build it with the following option:

Code: Select all

./configure --host=arm-none-linux-gnueabi
and try to build vlc as follow:

Code: Select all

./configure --host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi -prefix=/home/xavier/arm-linux \ --disable-mad \ --disable-a52 \ --disable-libmpeg2 \ --disable-hal \ --disable-dbus \ --disable-dvdnav \ --disable-libcddb \ --disable-x11 \ --disable-glx \ --disable-xvideo \ --disable-xinerama \ --disable-opengl \ --disable-screen \ --disable-bonjour \ --disable-qt4 \ --disable-skins2 \ --disable-taglib \ --disable-freetype \ --disable-lua \ --disable-ffmpeg \ --enable-x264 --with-x264-tree=../x264
I know have the following error during the configure

Code: Select all

checking for x264.h in /home/xavier/arm-linux/x264... yes checking for x264_encoder_open in -lx264... no configure: error: the specified tree hasn't been compiled
(I am still trying to build without ffmpeg, should I?)
Any help would be appreciate.

BTW, if anybody can explain me the difference between host and target, I mean, i every example of cross-compiling I have seen, the host was the same as the target ... so what is the point ? (I am sure there is one :lol: )

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: cross compil arm support mp4v

Postby xtophe » 10 Sep 2007 23:19

I'm afraid you understand badly.

x264 is an h264 encoder.

Mpeg4 video is decoded by ffmpeg.

The target option is only usefull if you compile compilers. it's of no use for vlc or ffmpeg
Xtophe

X-h
Blank Cone
Blank Cone
Posts: 25
Joined: 07 Sep 2007 10:52

Re: cross compil arm support mp4v

Postby X-h » 11 Sep 2007 11:34

I'm afraid you understand badly.
unfortunately right :(
x264 is an h264 encoder.

Mpeg4 video is decoded by ffmpeg.
Ok
The target option is only usefull if you compile compilers. it's of no use for vlc or ffmpeg
Make sense then.
Thank you very much for this quick answer

guappo
New Cone
New Cone
Posts: 2
Joined: 16 Nov 2007 16:50

Re: [SOLVED] cross compil arm support mp4v

Postby guappo » 16 Nov 2007 16:59

Hello,
have u finally managed to compile vlc with ffmpeg? If not, how did u managed to play mp4v?
I'm sorry if these questions look stupid, but it's almost one full day I'm trying to cross-compile vlc for arm and configure doesn't succeed unless I disable ffmpeg... ;(

Any hints?

Thanks,
Giorgio

X-h
Blank Cone
Blank Cone
Posts: 25
Joined: 07 Sep 2007 10:52

Re: [SOLVED] cross compil arm support mp4v

Postby X-h » 16 Nov 2007 22:21

It's been a while but I think I managed to compile ffmpeg. I gave up in the end as the performance was not good enough :(
Sorry that I can't help you more ...

guappo
New Cone
New Cone
Posts: 2
Joined: 16 Nov 2007 16:50

Re: [SOLVED] cross compil arm support mp4v

Postby guappo » 17 Nov 2007 12:47

I've passed thru a cross-compilation of MPlayer and linked to ffmpeg with success (in late evening). Unfortunaly I confirm very poor performances on my PXA270...
Thanks for your prompt response X-h. Good luck ;-)

Giorgio

leno
Blank Cone
Blank Cone
Posts: 21
Joined: 06 Nov 2007 22:40

Re: [SOLVED] cross compil arm support mp4v

Postby leno » 29 Jan 2008 13:35

I try to cross compile vlc for arm but i have a problem libX11-6 (version>=6.2.1)
I have try more more time to do make -f ipkg/rules.h3600 but it say to me that cannot find libX11.
(i think i have cross compiled wrong version i want to cross compile version >=6.2.1)
Where and what source package i need for cross compile X11-6??
Thanks


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests