Monday, January 30, 2006


OpenGL ES : KDDI announced new mobile phones in Spring this year, I was surprised that the almost mobile phones support OpenGL ES on the BREW platform. I was developing a 3D graphics engine for mobile phones to browse X3D contents directly using J2ME about five years ago. I stopped the development now because X3D does not become popular, but I checked the 3D engine code to be able to run recent mobile phones this week. I could run it with no problem because the 3D engine is based on J2ME.

Acrobat 3D : Adobe announced the software that can include 3D contents in the PDF document. It can import major CAD formats, and capture 3D applications based on OpenGL directly. I would like to know how it can capture OpenGL rendering, but it might use the debugger interface like gldebug or ogldebug.

Friday, January 27, 2006


VLC : I knew that my DLNA, correctly UPnP/AV, media client patch was included in the recently version, but I had not been compile the source codes myself.

Before my try, a development user of CyberLink, Thus0, tried the compile and sent me the report. According to the report, I checked the step as the following.
$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clinkcc login 
$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/clinkcc co -P clinkcc
$ cd clinkcc
$ ./boostrap
$ ./configure --enable-expat
$ make
$ su
$ make install

$ svn co svn://svn.videolan.org/vlc/trunk vlc-trunk
$ cd vlc-trunk
$ boostrap
$ ./configure --enable-x11 --enable-xvideo --disable-gtk --enable-sdl
--enable-ffmpeg --with-ffmpeg-mp3lame --enable-mad --enable-libdvbpsi
--enable-a52 --enable-dts --enable-libmpeg2 --enable-dvdnav --enable-faad
--enable-vorbis --enable-ogg --enable-theora --enable-faac --enable-mkv
--enable-freetype --enable-fribidi --enable-speex --enable-flac
--enable-caca --enable-skins --enable-skins2 --enable-alsa --disable-kde
--disable-qt --enable-wxwindows --enable-ncurses --enable-release
--enable-cyberlink --with-cyberlink-tree=/home/skonno/src/clinkcc
.....
checking cybergarage/upnp/MediaServer.h usability... yes
checking cybergarage/upnp/MediaServer.h presence... yes
checking for cybergarage/upnp/MediaServer.h... yes
checking for libclink.a in /home/skonno/src/clinkcc... /home/skonno/src/clinkcc/lib/unix/libclink.a
checking for XML parser to link CyberLink with... -lexpat
.....
$ make
To compile VLC with the UPnP option, you have to comiple CyberLink for C++ with the expat option, and configure VLC with the CyberLink option, --enable-cyberlink and --with-cyberlink-tree.

To enable the option, you have to run VLC with the service discovery option as the following.
$./vlc --services-discovery upnp
Using the VLC, I could can see the content lists of DLNA media servers in my home using the playlist panel :-) However I cound not play the MPEG-TS streams X-<

I could play the MPEG-PS and x264 streams with no problem, and I could play MPEG-TS streams normally using the old VLC such as v0.7.4. I created the VLC using latest source codes of VLC and ffmpeg. I will check why I could not play.

Wednesday, January 25, 2006


x11vnc : I installed the VNC to my pdaXrom on Zaurus SLC-3100 from the IPK Feed because the keyboard is too small to develop.

I will compile CyberLink for C++ on the pdaXrom with the samples such as UPnP/AV media server. I have no development schedule about the media server now because the necessity is not in my home. However I would like to add more the function or conform the specification such as NMPR and DLNA if I can.

Thursday, January 19, 2006


dms2vodcast : I had received some questions about yesterday blog. It is only a sample application using CyberLink for Perl, the sample can get content lists from DLNA media servers in your local network, transcode the MPEG2 movies to MPEG4 format and output the result as the RSS file for Vodcasting. To run the sample, you have to check that ffmpeg and curl are installed on your platform. To distribute the generated RSS file, you have to check that HTTP server such as Apache is installed on your platform too.

In my home, I run the sample on my Fedora 4 server, EQUIUM S5010, to transcode my favorite movies in Cocoon that is not DLNA media server exactly but just UPnP/AV media server. Then I subscribe the RSS file on HTTP using iTunes, and transfer the MPEG4 movies to iPod.

Wednesday, January 18, 2006


CyberLink for Perl : I have released the latest version, v1.1.3. I add a option to the sample script for DLNA and Vodcast, dms2vodcast.pl that can convert from MPEG2 movies of DLNA media servers to MPEG4 and the RSS file for Vodcast, to specify only your favorite movies. The changes are bellow.
* Changed postcontrol() in Net::UPnP::Service to create 
the absolute control url normally using the url base and the relative control url.
* Added '--search-title' option to selet the taget contents by
the regular expression.
Using the sample script, I can convert only my favorite broadcast movies such as business news automatically every night, check out the MPEG4 movies from my Cocoon to my IPod using the RSS file and iTunes such as the following cron :-)
$ dms2vodcast.pl --help
Usage : dms2vodcast.pl [options...] <output RSS file name>
Options :
-b/--base-url <url> Set the base url in the item link property of the output RSS file
-B/--base-directory <url> Set the base directory to output the RSS file and the MPEG4 files
-d/--rss-description <description> Set the description tag in the output RSS file
-g/--rss-language <language> Set the language tag in the output RSS file
-h/--help This is help text.
-l/--rss-link <link> Set the link tag in the output RSS file
-r/--requested-count <url> Set the max request count to the media server contents
-t/--rss-title <file> Set the title tag in the output RSS file
-f/--mp4-format <ipod | psp> Set the MPEG4 format
-s/--search-title <regular expression> Set the regular expression of the content titles by UTF-8

$dms2vodcast.pl -b http://xxx.xxx.xxx.xxx/ -B /var/www/html/ -d "CyberGarage Vodcast"
-g ja -t CyberGarage -s "ワールドビジネスサテライト" cgvodcast.xml
DLNA Media Sever 2 Vodcast (v1.0.3), Copyright (c) 2005 Satoshi Konno
Output RSS file name = cgvodcast.xml
title : CyberGarage
description : CyberGarage Vodcast
language : ja
base url : http://xxx.xxx.xxx.xxx/
base directory : /var/www/html/
requested_count : 0
mp4_format : ipod
search regexp : ワールドビジネスサテライト
[0] : CoCoon Channel Server CSV-EX9/11
[V9009] ワールドビジネスサテライト (GG) (http://xxx.xxx.xxx.xxx:51002/video?O=V9009&P=2&C=1&B=5&I=9009)
curl "http://xxx.xxx.xxx.xxx:51002/video?O=V8984&P=2&C=1&B=5&I=9009"
-o "CoCoonChannelServerCSV-EX9-11_uuid-ee041d0a-39aa-11d8-8000-080046d17d94_V9009.mpeg"
ffmpeg -y -i "CoCoonChannelServerCSV-EX9-11_uuid-ee041d0a-39aa-11d8-8000-080046d17d94_V9009.mpeg"
-bitexact -fixaspect -s 320x240 -r 29.97 -b 850 -acodec aac -ac 2 -ar 44100 -ab 64 -f mp4
"/var/www/html/CoCoonChannelServerCSV-EX9-11_uuid-ee041d0a-39aa-11d8-8000-080046d17d94_V9009_ipod.m4v"
[V8984] ワールドビジネスサテライト土曜版 (GG) (http://xxx.xxx.xxx.xxx:51002/video?O=V8984&P=2&C=1&B=5&I=8984)
curl "http://xxx.xxx.xxx.xxx:51002/video?O=V8984&P=2&C=1&B=5&I=8984"
-o "CoCoonChannelServerCSV-EX9-11_uuid-ee041d0a-39aa-11d8-8000-080046d17d94_V8984.mpeg"
ffmpeg -y -i "CoCoonChannelServerCSV-EX9-11_uuid-ee041d0a-39aa-11d8-8000-080046d17d94_V8984.mpeg"
-bitexact -fixaspect -s 320x240 -r 29.97 -b 850 -acodec aac -ac 2 -ar 44100 -ab 64 -f mp4
"/var/www/html/CoCoonChannelServerCSV-EX9-11_uuid-ee041d0a-39aa-11d8-8000-080046d17d94_V8984_ipod.m4v"
[V8968] ワールドビジネスサテライト (GG) (http://xxx.xxx.xxx.xxx:51002/video?O=V8968&P=2&C=1&B=5&I=8968)
curl "http://xxx.xxx.xxx.xxx:51002/video?O=V8968&P=2&C=1&B=5&I=8968"
-o "CoCoonChannelServerCSV-EX9-11_uuid-ee041d0a-39aa-11d8-8000-080046d17d94_V8968.mpeg"
ffmpeg -y -i "CoCoonChannelServerCSV-EX9-11_uuid-ee041d0a-39aa-11d8-8000-080046d17d94_V8968.mpeg"
-bitexact -fixaspect -s 320x240 -r 29.97 -b 850 -acodec aac -ac 2 -ar 44100 -ab 64 -f mp4
"/var/www/html/CoCoonChannelServerCSV-EX9-11_uuid-ee041d0a-39aa-11d8-8000-080046d17d94_V8968_ipod.m4v"
[V8950] ワールドビジネスサテライト (GG) (http://xxx.xxx.xxx.xxx:51002/video?O=V8950&P=2&C=1&B=5&I=8950)
curl "http://xxx.xxx.xxx.xxx:51002/video?O=V8950&P=2&C=1&B=5&I=8950"
-o "CoCoonChannelServerCSV-EX9-11_uuid-ee041d0a-39aa-11d8-8000-080046d17d94_V8950.mpeg"
ffmpeg -y -i "CoCoonChannelServerCSV-EX9-11_uuid-ee041d0a-39aa-11d8-8000-080046d17d94_V8950.mpeg"
-bitexact -fixaspect -s 320x240 -r 29.97 -b 850 -acodec aac -ac 2 -ar 44100 -ab 64 -f mp4
"/var/www/html/CoCoonChannelServerCSV-EX9-11_uuid-ee041d0a-39aa-11d8-8000-080046d17d94_V8950_ipod.m4v"
Outputed 4 RSS items to /var/www/html/cgvodcast.xml

Tuesday, January 17, 2006


pdaXrom : I would like to build the development environment on Linux, but I couldn't build the cross development tools. I reinstalled the latest ROM, v1.1.0beta, and installed the self developers tool as the following.
1. cp /mnt/card/zgcc-3.4.5.img /mnt/ide3/
2. mkdir -p /opt/native/arm/3.4.5-xscale-softvfp
3. mount -t cramfs loop,rw /mnt/card/zgcc/zgcc-3.4.5.img
/opt/native/arm/3.4.5-xscale-softvfp
4. Install cvs and perl using the Package manager.
I would like to create the configure script on Linux, but the following error messages were occurred.
/opt/native/arm/3.4.5-xscale-softvfp/share/aclocal-1.9/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/opt/native/arm/3.4.5-xscale-softvfp/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
autom4te: need GNU m4 1.4 or later: /opt/native/i686/3.4.5-2.2.5/bin/m4
aclocal: autom4te failed with exit status: 1
autom4te: need GNU m4 1.4 or later: /opt/native/i686/3.4.5-2.2.5/bin/m4
autoheader: /opt/native/arm/3.4.5-xscale-softvfp/bin/autom4te failed with exit status: 1
autom4te: need GNU m4 1.4 or later: /opt/native/i686/3.4.5-2.2.5/bin/m4
automake: autoconf failed with exit status: 1
autom4te: need GNU m4 1.4 or later: /opt/native/i686/3.4.5-2.2.5/bin/m4
Then, I created the configure script on Linux, and transferred the script files. Finally, I could compile and run the all projects of CyberLink for C using the following command.
LDFLAGS="-Wl,-rpath-link,/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/lib" ./configure --host=armv5tel-cacko-linux 
--build=i686-linux--x-includes=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/include
--x-libraries=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/lib

Sunday, January 15, 2006


QNX : I knew that a developer, Gansen Tobias, try to run CyberLink for C++ on QNX, and he resolved the network problem. It seems that the interface function gets a invalid interface which is MAC address. The patch has no problem on Unix platform, so I added the patch to the latest CVS tree for CyberLink for C++ and C.

I checked QNX DEMO disk. I could not use my NE2000 compatible network cards, but I understand that QNX is very small and powerful because the demo can be distributed in a floppy disk.

Saturday, January 14, 2006


pdaXrom : I installed the development tool to a linux server at my home using VNC because I am on a business trip now and I have no linux environments for the development, and I knew that it includes some XML parsers such as libxml2 and expat as the following.
$ ls -l /opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib/ | grep xml
lrwxrwxrwx 1 501 501 19 Jan 11 03:05 libefltk_xml.so -> libefltk_xml.so.2.0
-rwxr-xr-x 1 501 501 83476 Dec 21 14:24 libefltk_xml.so.2.0
lrwxrwxrwx 1 501 501 24 Jan 11 03:05 libwx_baseu_xml-2.6-armv5tel-cacko-linux.so -> libwx_baseu_xml-2.6.so.0
lrwxrwxrwx 1 501 501 28 Jan 11 03:06 libwx_baseu_xml-2.6.so.0 -> libwx_baseu_xml-2.6.so.0.0.0
-rwxr-xr-x 1 501 501 48376 Dec 21 21:01 libwx_baseu_xml-2.6.so.0.0.0
-rwxr-xr-x 1 501 501 852 Dec 21 12:03 libxml2.la
lrwxrwxrwx 1 501 501 17 Jan 11 03:05 libxml2.so -> libxml2.so.2.6.13
lrwxrwxrwx 1 501 501 17 Jan 11 03:06 libxml2.so.2 -> libxml2.so.2.6.13
-rwxr-xr-x 1 501 501 1195162 Dec 21 12:03 libxml2.so.2.6.13
-rw-r--r-- 1 501 501 320 Dec 21 12:03 xml2Conf.sh
$ ls -l /opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib/ | grep expat
lrwxrwxrwx 1 501 501 17 Jan 11 03:05 libexpat.so -> libexpat.so.0.5.0
lrwxrwxrwx 1 501 501 17 Jan 11 03:06 libexpat.so.0 -> libexpat.so.0.5.0
-rwxr-xr-x 1 501 501 131516 Dec 21 11:38 libexpat.so.0.5.0
$ ls -l /opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib/ | grep xerces
I would like to compile CyberLink for C at first, but the cofigure was aborted as the following. I didn't find out the solution yet, and I should might be build other development environment instead of the cross compiler.
$ /opt/cross/arm/3.4.5-xscale-softvfp/runsdk.sh
Type exit for leave armv5tel-cacko-linux cross environment.
$ LDFLAGS="-Wl,-rpath-link,/opt/arm/3.3.2/armv5tel-cack
o-linux/X11R6/lib" ./configure --host=armv5tel-cacko-linux --build=i686-linux--
x-includes=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/include--x-libraries=/opt/
arm/3.3.2/armv5tel-cacko-linux/X11R6/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for armv5tel-cacko-linux-strip... armv5tel-cacko-linux-strip
checking for armv5tel-cacko-linux-gcc... armv5tel-cacko-linux-gcc
checking for C compiler default output file name... configure: error: C compiler
cannot create executables
See `config.log' for more details.

Wednesday, January 11, 2006


VGP-MR200 : Sony announced the new DLNA media player that supports DTCP over IP, Windows Media DRM 10 and DivX, but MPEG-TS that is Cocoon's movie format is not supported yet X-< The new media player will be released from April in Japan.

VGP-MR100 : I have the DLNA media player at my home. I checked the support page, but the new upgrade software is not available yet. Sony might release the upgrade software for VGP-MR100 to support same functions as VGP-MR200 because the main CPU, Sigma Designs EM8620L, is same as VGP-MR200.

TA-LV700R : I checked the support page too, and I know the latest firmware was released about a years ago. I installed the firmware, v1.03.07.405060, but it doesn't support MPEG-TS yet X-<

Monday, January 09, 2006


Nokia 770 : I had the internet tablet, but I did't use until now because the power plug is different from Japanese type. I bought the power plug changer for Japan, and installed the latest software, v0.2005.38-18, last year. I would like to use on the first business trip of this year, but I didn't bring it for the trip because the browser can't display Japanese as default.

Maemo : It is the developer site for the internet tablet. I would like to develop some application on the internet tablet, but it may be complex to set the development environment.

This page is powered by Blogger. Isn't yours?