[Ambulant-users] Ambulant Linux 2.2b2 inBoundsEvent, audioVisualFade, oversized region smilText fade/in issues

Jose Ramirez jose at multimedia4everyone.com
Sat Feb 27 18:11:57 CET 2010


Hi Kees,

I should be thanking you guys for making the only SMIL 3 player.
I'm just having fun here.

Except in trying to get it installed :)

Installed the following packages from Ubuntu repository:
libglibmm-2.4-dev (2.16.4-0ubuntu1)
libsigc++-2.0-dev (2.0.17-2ubuntu3)
libxml++2.6-dev (2.20.0-0ubuntu2)
libxml2-dev (2.6.31.dfsg-2ubuntu1.4)

Checked to see if there any other dependants:
sudo apt-get build-dep libxml2

Install those too.


----------------------------------------------------------------------------
configure output:
jose at the-desktop:~/Desktop/ambulant_2.2b9/ambulant-2.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether ln -s works... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking whether to enable assertions... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for a sed that does not truncate output... (cached) /bin/sed
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path...
LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
/lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib 
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_add... yes
checking for argz_append... yes
checking for argz_count... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking if argz actually works... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... yes
checking whether lt_dlinterface_register is declared... no
checking where to find libltdl headers... -I${top_srcdir}/libltdl
checking where to find libltdl library...
${top_build_prefix}libltdl/libltdlc.la
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for pkg-config... /usr/bin/pkg-config
checking for --with-universalsdk... false
checking for --with-macfat... false
checking for --with-ltdl-plugins... true
checking for --with-dummy-plugin... false
checking for --with-smil30... yes
checking for --with-seamless-playback... yes
checking for --with-clock-sync... yes
checking for --with-external-dom... yes
checking for --with-overlay-window... yes
checking for --with-smil-test... false
checking for expat XML handling library... checking for pkg-config...
/usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for EXPAT... yes
true
checking for xerces XML handling library... checking for XERCES... yes
true
checking for --with-xerces-plugin... false
checking for --with-cocoa... false
checking for --with-cg... false
checking for --with-uikit... false
checking dependency style of ... none
checking for --with-qt... checking for QT... no
false
checking for --with-qt-html-widget... false
checking for sdl - Simple Direct Media layer... true
checking for gtk - the GIMP Toolkit... checking for GTK... yes
true
checking for Nokia 770 Internet Tablet... false
checking for gstreamer multimedia framework... false
checking for live555.com RTSP support... true
checking for ffmpeg audio/video codec library... checking for
LIBAVUTIL... yes
checking for LIBAVCODEC... yes
checking for LIBAVFORMAT... yes
./configure: line 23207: LIBSWSCALE_CFLAGS: command not found
./configure: line 23208: C: command not found
./configure: line 23209: LIBSWSCALE_LIBS: command not found
./configure: line 23210: linker: command not found
checking for LIBSWSCALE... yes
true
checking whether to build Python interface... false - 
checking for --with-python-plugin... false
checking for --with-npambulant... false
checking whether we should link against core ambulant shared lib
(alternative is static)... false
checking for --with-webkit-dom... false
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the
--datarootdir setting
config.status: creating src/Makefile
config.status: creating src/npambulant/Makefile
config.status: creating src/libambulant/Makefile
config.status: creating src/player_unix/Makefile
config.status: creating src/player_gtk/Makefile
config.status: creating src/player_macosx/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/pyambulant/Makefile
config.status: creating include/Makefile
config.status: creating include/ambulant/Makefile
config.status: creating include/ambulant/config/Makefile
config.status: creating include/ambulant/config/compiler/Makefile
config.status: creating include/ambulant/config/platform/Makefile
config.status: creating include/ambulant/config/stdlib/Makefile
config.status: creating include/ambulant/common/Makefile
config.status: creating include/ambulant/compat/Makefile
config.status: creating include/ambulant/lib/Makefile
config.status: creating include/ambulant/lib/unix/Makefile
config.status: creating include/ambulant/lib/win32/Makefile
config.status: creating include/ambulant/smil2/Makefile
config.status: creating include/ambulant/net/Makefile
config.status: creating include/ambulant/gui/Makefile
config.status: creating include/ambulant/gui/dx/Makefile
config.status: creating include/ambulant/gui/none/Makefile
config.status: creating include/ambulant/gui/cocoa/Makefile
config.status: creating include/ambulant/gui/cg/Makefile
config.status: creating include/ambulant/gui/qt/Makefile
config.status: creating include/ambulant/gui/gtk/Makefile
config.status: creating include/ambulant/gui/SDL/Makefile
config.status: creating include/ambulant/gui/gstreamer/Makefile
config.status: creating third_party_packages/Makefile
config.status: creating Documentation/Makefile
config.status: creating Extras/Makefile
config.status: creating libambulant.pc
config.status: creating ambulant.spec
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing libtool_patch commands
=== configuring in libltdl
(/home/jose/Desktop/ambulant_2.2b9/ambulant-2.2/libltdl)
configure: running /bin/bash ./configure --disable-option-checking
'--prefix=/usr/local'  '--enable-ltdl-convenience'
--cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path...
LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
/lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib 
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_add... yes
checking for argz_append... yes
checking for argz_count... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking if argz actually works... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Attempting to fix libtool, assuming 2.2.6
263520
libext=a
/* The mapping between symbol names and symbols.  */
263564
257781
libext=a
/* The mapping between symbol names and symbols.  */
257825

ambulant-2.2 will be built with following parameters:

    targeted prefix:                /usr/local
    compiler:                       gcc

    Enable external DOM:            true
    Enable SMIL 3.0:                true
    Enable overlay window:          true
    Build with seamless playback:   yes
    Build with audio clock sync:    yes
    Enable SMIL test layout:        false
    Build with Python support:      false
    Build with Python plugin:       false

    Use expat XML library:          true
    Use xerces XML library:         true
    Enable Xerces as plugin:        false
    Build with ffmpeg:              true
    Build with SDL:                 true
    Build with live555.com RTSP:    true
    Build with gstreamer:           false

    Build Qt3 frontend:             false
    Build with GTK:                 true
    Build with NOKIA770:            false

    Build with WebKit DOM plugin:   false
    Build Cocoa frontend:           false
    Build UIKit frontend:           false
    Build OSX 10.4 universal:       false
    Build OSX 10.6 universal:       false

    Build with npambulant plugin:   false
    Use shared libs internally:     false
     






configure: WARNING: Built with ffmpeg libswscale, therefore under GPL
license
jose at the-desktop:~/Desktop/ambulant_2.2b9/ambulant-2.2$ 
--------------------------------------------------------------------------------------------


Now the new error.

---------------------------------------------------------------------------------

make install output:

collect2: ld returned 1 exit status
make[2]: *** [AmbulantPlayer_gtk] Error 1
make[2]: Leaving directory
`/home/jose/Desktop/ambulant_2.2b9/ambulant-2.2/src/player_gtk'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/jose/Desktop/ambulant_2.2b9/ambulant-2.2/src'
make: *** [install-recursive] Error 1
jose at the-desktop:~/Desktop/ambulant_2.2b9/ambulant-2.2$ 
---------------------------------------------------------------------------------


I googled around looking for a fix, no luck.

Thanks for any help,
Jose Ramirez




==================================================================
-------- Original Message --------
Subject: Re: [Ambulant-users] Ambulant Linux 2.2b2 inBoundsEvent,
audioVisualFade, oversized region smilText fade/in issues
From: Kees Blom <Kees.Blom at cwi.nl>
Date: Wed, February 24, 2010 6:11 am
To: jose at multimedia4everyone.com
Cc: ambulant-users at ambulantplayer.org

Hello Jose,

thank you for your interest in SMIL 3.0 and Ambulant, we appreciate
that.

Also many thanks for your detailed bug report and extensive example.
I've filed these in our bug tracker at sourceforge.net # 2957973.

1. The Ubuntu build problem is probably caused by not having the libxml2

package installed.
 ./configure should have given a warning for this.

2. <transition type="audioVisualFade" /> has not been implemented yet.
 The Linux player (gtk) indeed crashes when it tries to tell you that,
 as it also does when it tries to tell you that some <region/> does 
not fit in the
<root-layout/> specified.

This is an error in the error reporting code, needs to be fixed ASAP, 
but not so easy to do.

Probably "audioVisualFade" is easy to add, since the underlying
components
have already been implemented.

3. I've not checked yet on your comment that smilText fades out but not
in.

4. The "inBoundsEvent" is indeed generated 10 pixels below the expected
spot
 on Linux/gtk, not on Linux/qt; but there the TOC images are misplaced.
 Did not check on WinXP yet.

Regards,

Kees Blom.


On 02/23/2010 09:06 PM, jose at multimedia4everyone.com wrote:
> Hello,
>
> Let me elaborate on the Linux Ambulant 2.2b2 bugs. I couldn't build
> 2.2b5 or 2.2b9 I sent
> messages to ambulant-feedback about that.
>
> ----------------------------------------------------------------------------------
> Oversized region bug:
> When the region height is larger than the root-layout height then the
> player crashes.
>
> root-layout height="720"
> region xml:id="region_credits" height="780"
>
> ----------------------------------------------------------------------------------
> audioVisualFade bug:
> Ambulant freezes when this video element starts.
>
> head
> transition xml:id="fade_visual_1" type="audioVisualFade"
> /head
>
> body
> video xml:id="timg_9a" transIn="fade_visual_1"
> /body
>
> ------------------------------------------------------------------------------------
> inBoundsEvent bug:
> In Linux the region that is activated with the inBoundsEvent needed to
> be moved up. The
> inBoundsEvent event works just as well as in Windows/Wine but the mouse
> has to be something like
> 20 pixels below the region for inBoundsEvent to occur.
>
> head
> region xml:id="region_toc" title="TOC" top="670" left="0" width="1000"
> height="10" z-index="9" /
>
> region xml:id="region_toc_2" title="TOC" top="670" left="0"
> width="1000" height="50" z-index="9" /
> /head
>
> body
> brush xml:id="toc_b_0" backgroundColor='black' region="region_toc"
> begin="1s" dur="indefinite" /
>
> brush xml:id="toc_b_1" backgroundColor='#ffffcc'
> backgroundOpacity="70%" region="region_toc_2"
> begin="toc_b_0.inBoundsEvent" end="toc_b_1.outOfBoundsEvent" /
> /body
>
> -------------------------------------------------------------------------------------
>
> With the timeline of contents panel I tried to make it easier to see the
> bugs in action,
> by moving the mouse over the bar at the bottom, remember move it lower
> in Linux.
>
> Then in TOC clicking on then 'Visual Fade' or 'Region Size' text. This
> way you don't have
> to see the whole presentation to get to those bugs.
>
> Didn't have time yesterday, hopefully I explained these issues better.
> Don't want to see Linux Ambulant left behind :)
>
> When Linux Ambulant is running the SMIL 3 features and could be
> installed from
> the distro's own repositories then it's time for small businesses and
> educational org.
> to start using it, IMHO.
>
> Keep up the good work,
> Jose
>
> http://www.multimedia4everyone.com/ambulant_test/toc/toc_linux_test.smil
> http://www.multimedia4everyone.com/ambulant_test/toc/toc_test.zip
>
>
>
>
>
> =======================================================================
>
> -------- Original Message --------
> Subject: [Ambulant-users] Ambulant Linux 2.2b2 inBoundsEvent,
> audioVisualFade, oversized region smilText fade/in issues
> From: "Jose Ramirez"<jose at multimedia4everyone.com>
> Date: Mon, February 22, 2010 7:17 am
> To: ambulant-users at ambulantplayer.org
>
> Hello,
>
> Testing a few other SMIL 3 features I noticed these bugs in Ambulant
> Linux 2.2b2.
>
> On the bottom of this smilFile is bar and when the mouse is over it, it
> should trigger inBoundsEvent. The inBoundsEvent happens but when the
> mouse is below the bar.
>
> The bar starts a links panel to the pages of the presentation, when the
> 'Visual Fade' text is click Ambulant will start the video page and it
> will stop playing when it reaches the video element using transition
> type="audioVisualFade".
>
> When the text 'Region Size' is clicked that page has the height of the
> region larger than that of the root-layout Ambulant will produce this
> error message then freeze.
>
> unix_critical_section:
> pthread_mutex_lock failed:
> Resource deadlock avoided
>
>
>
> smilText fades out but not in, in Linux
>
> Linux Ambulant test:
> http://www.multimedia4everyone.com/ambulant_test/toc/toc_linux_test.smil
>
> In Windows Ambulant 2.2b9 everything works except audioVisualFade, the
> player will ignore it:
> http://www.multimedia4everyone.com/ambulant_test/toc/toc_timeline-of-contents_no-prefetch.smil
>
> On Windows Ambulant 2.0.2 with prefetch, it works best, except the
> audioVisualFade:
> http://www.multimedia4everyone.com/ambulant_test/toc/toc_timeline-of-contents.smil
>
> All files zipped:
> http://www.multimedia4everyone.com/ambulant_test/toc/toc_test.zip
>
> Books have Table of Contents, I thought I add a Timeline of Contents. I
> was impressed on
> Ambulant 2.0.2 handled it, transition type="audioFade" sounded good.
> This turned out so well I had to add it to my SMIL 3 examples on my
> site.
>
> Take Care,
> Jose
>
> _______________________________________________
> Ambulant-users mailing list
> Ambulant-users at ambulantplayer.org
> http://www.ambulantplayer.org/mailman/listinfo/ambulant-users
>
> _______________________________________________
> Ambulant-users mailing list
> Ambulant-users at ambulantplayer.org
> http://www.ambulantplayer.org/mailman/listinfo/ambulant-users
>



More information about the Ambulant-users mailing list