About compiling for other platforms

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
yopo
New Cone
New Cone
Posts: 2
Joined: 01 Jul 2010 23:28

About compiling for other platforms

Postby yopo » 01 Jul 2010 23:34

Hi,

I have a lot of questions about compiling VLC over other platforms and OS. My target is to get
a minimal VLC (without user interface, just audio and video) on Windows Embedded CE 6.0, for
a mini2440 board (ARM920T). I know it's discontinued, and I checked a lot of post of people
doing the same thing, and I checked Install.wince and Wiki page about compiling for WinCE. I can
compile VLC, just 0.8.4 but it is enough for me, but i have some problems yet.

I'm not trying to get a tutorial, just i have so many questions, some of them are basic for a lot
of you, very generals, others are very specific. Please, if you have an answer or comment about
any of them, tell me.

Now, my questions:

cross-compiling
1- All information about compiling VLC is for cpu=xscale (and older ARM than mine). I have an
embedded system based on it, and my compilation runs on it (very slow, but play my video). But
when I execute it in my target board, it fails. With A LOT of printf ( :P ), I noticed that is a
problem in modules.c, when VLC tried to execute a function not defined in sources, so, I think
it's defined in contrib-files (compiled for xscale). Is really possible change xscale? Can I compile
VLC for my ARM and (obviously), not use contrib files, but compile my own libraries for my ARM?
Am I writing stupid things???

2- There are 2 crosscompilers, one is recommended in Install.wince
(http://www.videolan.org/pub/testing/win ... 17.tar.bz2.)
, and other one is in wiki (http://wiki.videolan.org/WinCECompile, Mingw32CE). What is difference?
I have compiled only with first one (but script recomended in Install.wince has a mistake defining LDFLAGS)

Minimizing VLC
3- In order to minimize VLC, I would like to disable most plugins possible. Initially, I want to
play an MPEG1 video. So, i need ffmpeg and some other libraries, no? (i'm thinking in recompile a
minimum of libraries).

4- First, I dont have a lot of experience programming, so, projects so big like VLC are harder to understand.
I need an advice here: its's too crazy think in 'cut' source code in order to get minimum function?? for example,
something like:

Code: Select all

#include "vlc_functions.h" int main(){ char file[20] = "movie.mpg"; load_libraries; VLC_Init(file); Play(forever); }
yes, it's a dirty and impossible example, but give you an idea.

Video formats and performance
5- Today, I'm working with a 320x240 MPEG1 file (~1000 kbps). My final application has to be capable to play
this video in his native resolution and in fullscreen. Do you think this is best format (thinking in VLC and
in general) in order to improve performance? Can you recommend me another kind of video?

6- My board is capable to play this video with an alternative software (TCPMP), but we can't use it. So, I'm
trying with VLC. My compiled version, in my XScale embedded system plays my video, very slowly, but plays.
Do you believe VLC would be capable to do it? If not, what can you recommend me? Another project?

Ok, I'll stop here by now, I don't want to get you bored. I'll be waiting any answer/comments/etc.

Thank you very much!
Leo

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: About compiling for other platforms

Postby Jean-Baptiste Kempf » 02 Jul 2010 00:02

Follow the wiki and build VLC 1.1.0 it should work on WinCE, but no interface.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

yopo
New Cone
New Cone
Posts: 2
Joined: 01 Jul 2010 23:28

Re: About compiling for other platforms

Postby yopo » 02 Jul 2010 00:14

Follow the wiki and build VLC 1.1.0 it should work on WinCE, but no interface.
Thank you for your answer. I have had some problems with that instructions, but I'll be trying again tomorrow. But, what about platform? All this instructions are for XScale, but mine is an ARM9... I think it can be the problem.

About VLC version, any version should be useful in WinCE? Because some of them doesn't have INSTALL.wince file.

Thank you again!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: About compiling for other platforms

Postby Jean-Baptiste Kempf » 02 Jul 2010 00:24

Install.wince hasn't been updated since a long time.
1.1.0 is tested in ARM, in WinCE, not Xscale
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 52 guests