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 ( ), 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);
}
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