[FFmpeg-devel] Porting ffmpeg on embedded machine
김홍규
nexus226
Wed Jun 6 11:29:16 CEST 2007
Hi,
I'm currently trying to port linphone, which is a voip-phone.
Linphone supports voice and video.
The target board is using PXA270, armv4te.
I have cross compiled it successfully by using lots of combinations of toolchain.
And the voice calling is working great, so far.
But when I try to call with video, the module from ffmpeg is making errors.
The message is exactly the same as something that I come accross when I run ffplay on the board.
Could you let me know what configure option should I use to cross compile.
The following is the configure option that I gave
-----------------------------------
[root at localhost ffmpeg]# ./configure --prefix=$ARM_INSTALL_TREE/usr --arch=armv4l --cross-prefix=arm-linux- --disable-mmx --enable-shared --enable-pthreads
install prefix /root/armbuild-1.7.1/usr
source path /root/hope/kuta/ffmpeg
C compiler arm-linux-gcc
make make
.align is power-of-two yes
ARCH armv4l (generic)
big-endian no
ARMv5TE enabled yes
ARMv6 enabled no
IWMMXT enabled yes
gprof enabled no
debug symbols yes
strip symbols yes
optimize yes
static yes
shared yes
postprocessing support no
software scaler enabled no
video hooking yes
Imlib2 support no
FreeType support no
network support yes
IPv6 support yes
threading support pthreads
SDL support yes
Sun medialib support no
AVISynth enabled no
liba52 support no
liba52 dlopened no
libamr-nb support no
libamr-wb support no
libfaac enabled no
libfaad enabled no
faadbin enabled no
libgsm enabled no
libmp3lame enabled no
libnut enabled no
libogg enabled no
libtheora enabled no
libvorbis enabled no
x264 enabled no
XviD enabled no
zlib enabled yes
License: LGPL
Creating config.mak and config.h...
-----------------------------------
I cannot attach log information from gdb because gdb doesn't work on the target for some reasons.
The following is the execution message.
-----------------------------------
[root at acumen:bin]# ./ffplay /root/armbuild-1.7.1/sample.avi
Value 0.000000 for parameter 'probesize' out of range.
Value 0.000000 for parameter 'muxrate' out of range.
Value 0.000000 for parameter 'packetsize' out of range.
Value 0.000000 for parameter 'fflags' out of range.
......................... ( repeating error message )
Value 0.000000 for parameter 'max_partition_order' out of range.
Value 0.000000 for parameter 'timecode_frame_start' out of range.
var: pixclock=63492 pcd=3
var: pixclock=27000 pcd=1
Floating point exception
-----------------------------------
I consider the problem could be the configure option or floating point handling on the board.
I'm not sure and have no idea how to solve it.
I have tried to do it with lots of effort, though.
I just posted here for the first time.
Sorry about the previous mistake.
I hope I won't make many mistake later on.
Please don't disregard this question.
I appreciate all your support
Kim.
-----------------------------------------------
Hi
On Mon, Jun 04, 2007 at 07:40:49AM +0900, Kim Hong-gyu wrote:
> Hello,
>
> I have cross compiled ffmpeg and ported it on my arm based board.
> Currently, mplayer is working great.
> I have run into a serious problem when I run ffplay.
> The following is the error message.
>
> ----------------------------------------------
> Value 0.000000 for parameter 'b' out of range.
> Value 0.000000 for parameter 'ab' out of range.
> Value 0.000000 for parameter 'bt' out of range.
> Value 0.000000 for parameter 'flags' out of range.
> ......
> ----------------------------------------------
>
> The same message is repeating over 20 times, just changing the name of the
> parameter.
> I have no idea why the parameter is passing 0.000000.
>
> My display is specifically 3.5"(240*320), 7"(800*480) TFT-LCD.
> I'm wondering what's the difference between mplayer and ffplay.
> Basically, mplayer is also using ffmpeg library, as far as I know.
>
> Could you please give me an idea?
yes read bugreports.html
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
_________________________________________________________________
??? ?? ???, Windows Live Messenger!
http://im.msn.co.kr/new/function/function_01.asp
More information about the ffmpeg-devel
mailing list