2010-02-11 05:34:34 VLC test
yihui zhang (AFGHANISTAN)
Message: 85984
I followed the wiki docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:vlc to test VLC on bf527. It didn't work. Who have really tested it? Please give me some help. Any information will be welcome. Thank you.
ps:I used uClinux-dist-2009R1-RC6.tar.bz2
QuoteReplyEditDelete
2010-02-11 20:17:54 Re: VLC test
Yi Li (CHINA)
Message: 85999
Yihui,
The wiki may be outdated. But you can tell us what error you see? What is your problem?
-Yi
QuoteReplyEditDelete
2010-02-18 22:25:36 Re: VLC test
Peter Naulls (UNITED STATES)
Message: 86211
Well, it doesn't build. For 2009R1.1 it's pulling host system headers/libraries:
bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I../../../vlc-0.8.6b/modules/audio_output -I../.. -I../../intl -DEMBED -D__uClinux__ -I/home/peter/projects/fish/uClinux-dist -mcpu=bf548-0.2 -DSYS_LINUX -I../../../vlc-0.8.6b/include `top_builddir="../.." ../../vlc-config --cflags builtin pic aout_file` -Wsign-compare -Wall -pipe -Wall -O2 -mcpu=bf548-0.2 -pipe -c -o libaout_file_a-file.o `test -f 'file.c' || echo '../../../vlc-0.8.6b/modules/audio_output/'`file.c
In file included from ../../../vlc-0.8.6b/include/vlc_threads.h:51,
from ../../../vlc-0.8.6b/include/vlc_common.h:467,
from ../../../vlc-0.8.6b/include/vlc/vlc.h:153,
from ../../../vlc-0.8.6b/modules/audio_output/sdl.c:34:
/usr/include/pthread.h:655: warning: '__regparm__' attribute directive ignored
/usr/include/pthread.h:667: warning: '__regparm__' attribute directive ignored
/usr/include/pthread.h:690: warning: '__regparm__' attribute directive ignored
/usr/include/pthread.h:703: warning: '__regparm__' attribute directive ignored
/usr/include/pthread.h:712: warning: '__regparm__' attribute directive ignored
../../../vlc-0.8.6b/include/vlc_common.h:554: warning: 'GCD' defined but not used
../../../vlc-0.8.6b/include/vlc_common.h:554: warning: 'GCD' defined but not used
../../../vlc-0.8.6b/include/vlc_common.h:554: warning: 'GCD' defined but not used
rm -f libaout_sdl_plugin.a
bfin-linux-uclibc-ar cru libaout_sdl_plugin.a libaout_sdl_plugin_a-sdl.o
bfin-linux-uclibc-ranlib libaout_sdl_plugin.a
rm -f libaout_file.a
bfin-linux-uclibc-ar cru libaout_file.a libaout_file_a-file.o
bfin-linux-uclibc-ranlib libaout_file.a
/bin/sh ../../libtool --mode=link bfin-linux-uclibc-gcc -Wsign-compare -Wall -pipe -Wall -O2 -mcpu=bf548-0.2 -pipe -mcpu=bf548-0.2 -o libaout_sdl_plugin.so libaout_sdl_plugin.a -shared -lpthread -fpic -fPIC -L/usr/lib -lSDL -u _vlc_entry__0_8_6
rm -f liboss_plugin.a
bfin-linux-uclibc-ar cru liboss_plugin.a liboss_plugin_a-oss.o
bfin-linux-uclibc-ranlib liboss_plugin.a
mkdir .libs
bfin-linux-uclibc-gcc -Wsign-compare -Wall -pipe -Wall -O2 -mcpu=bf548-0.2 -pipe -mcpu=bf548-0.2 -o libaout_sdl_plugin.so -shared -fpic -fPIC -u _vlc_entry__0_8_6 libaout_sdl_plugin.a -lpthread -L/usr/lib /usr/lib/libSDL.so
/bin/sh ../../libtool --mode=link bfin-linux-uclibc-gcc -Wsign-compare -Wall -pipe -Wall -O2 -mcpu=bf548-0.2 -pipe -mcpu=bf548-0.2 -o liboss_plugin.so liboss_plugin.a -shared -lpthread -fpic -fPIC -u _vlc_entry__0_8_6
/opt/uClinux/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.3.3/../../../../bfin-linux-uclibc/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/opt/uClinux/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.3.3/../../../../bfin-linux-uclibc/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/lib/libSDL.so: could not read symbols: File in wrong format
For trunk, it can't find the ffmpeg headers (I'm building that, but perhaps its headers are not exported):
checking mad.h usability... yes
checking mad.h presence... yes
checking for mad.h... yes
checking for mad_bit_init in -lmad... yes
checking id3tag.h usability... no
checking id3tag.h presence... no
checking for id3tag.h... no
checking for ffmpeg-config... no
checking for FFMPEG... yes
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
configure: error: Missing header file ffmpeg/avcodec.h.
make[4]: *** [build/Makefile] Error 1
QuoteReplyEditDelete
2010-02-24 08:14:06 Re: VLC test
yihui zhang (AFGHANISTAN)
Message: 86450
Thank you, Yi Li.
The error information is below:
root:/>vlc v4l:/dev/video0:size=cif:fps=15 --sout '#transcode{vcodec=mp4v}:rtp{
dst=192.168.0.101,port=1234,sdp= 192.168.0.107:8080/test.sdp}' --no-audio
--ttl 1
VLC media player 0.8.6b Janus
starting VLC root wrapper... using UID 0 (root)
***************************************
* Running VLC as root is discouraged. *
***************************************
It is potentially dangerous, and might not even work properly.
Remote control interface initialized. Type `help' for help.
status change: ( new input: v4l:/dev/video0:size=cif:fps=15 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000235] main private: creating httpd
[00000239] v4l demuxer error: cannot get channel infos (Invalid argument)
[00000239] v4l demuxer error: cannot set audio format (16b little endian) (Invalid argument)
[00000239] v4l demuxer error: cannot open device (No such file or directory)