FYI: Some notes on building denemo (
http://denemo.org/index.php/Get_Denemo ) on Fedora:
---------- Forwarded message ----------
From: Niels Mayer <nielsmayer(a)gmail.com>
Date: Thu, Jul 8, 2010 at 9:41 AM
Subject: Re: [LAU] Denemo 0.8.18 Release - Free and Open Music Notation Editor
To: Nils Hammerfest <nils(a)hammerfeste.com>
Cc: linux-audio-dev(a)lists.linuxaudio.org
On Thu, Jul 8, 2010 at 6:50 AM, Nils Hammerfest <nils(a)hammerfeste.com> wrote:
> Get Denemo 0.8.18 http://denemo.org/index.php/Get_Denemo
I was especially excited to try this out due to it's excellent use of
guile as an extension language and it's support for chording, MIDI,
and Jack... very interesting and cool project. What are the advantages
of Denemo over http://frescobaldi.org/ ?
There were a few wrinkles to build this on fedora and I wasn't able to
get it to compile completely. But I was able to run and test it and
get a feel for what it does. Very nice!
Here's the issues I had compiling on Fedora:
(1) After successfully doing "./configure --prefix=/usr/local --enable-jack"
make dies with
>/usr/bin/ld: cannot find -lltdl
> collect2: ld returned 1 exit status
> make[2]: *** [smfsh] Error 1
> make[2]: Leaving directory `/home/npm/denemo-git/libsmf'
After installing libtool-ltdl-devel-2.2.6-18.fc12.1.x86_64 I was able
to compile further.
FYI, to get denemo compiling on fedora, I had to install the following
additional -devel packages:
sudo yum install guile-devel
--> guile-devel-1.8.7-3.fc12.x86_64
sudo yum install aubio-devel
--> aubio-devel-0.3.2-7.fc12.x86_64
sudo yum install portaudio-devel
--> portaudio-devel-19-9.fc12.x86_64
sudo yum install gtksourceview2-devel
--> gtksourceview2-devel-2.8.2-1.fc12.x86_64
sudo yum install fluidsynth-devel
--> fluidsynth-devel-1.1.1-1.fc12.x86_64
sudo yum install libtool-ltdl-devel
--> libtool-ltdl-devel-2.2.6-18.fc12.1.x86_64
(2) Compilation dies completely and confusingly in building documentation:
>Making all in doc
>./make: line 1: html:: command not found
>warning: failed to load external entity "/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl"
I have docbook-style-xsl-1.75.2-6.fc12.noarch installed which installs
using paths like
/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl
At this point, I tried changing some of the files with the wrong paths
and everything started breaking more so I gave up....
(3) Before giving up, I cd'd to "src" and typed make. It built denemo
and it runs but complains about missing files (since I never installed
it).
(4) Deciding I don't need the documentation, I changed the toplevel
makefile to exclude documentation
and rebuilt successfully. For details, see:
http://nielsmayer.com/npm/denemo.COMPILE.txthttp://nielsmayer.com/npm/denemo.INSTALL.txt
And this is the change needed to allow compilation to complete:
> gnulem-234-~/denemo-git> diff Makefile.~1~ Makefile
> 294c294
> < SUBDIRS = libsmf m4 doc actions pixmaps po src \
> ---
> > SUBDIRS = libsmf m4 actions pixmaps po src \
(5) Now it runs -- i can put notes on the screen and hear fluidsynth's
output in my headphones .... It produces the following output at
launch:
.................................
gnulem-231-~> denemo
BinReloc failed to initialize:
Domain: 1 (GBinReloc)
Code: 4
Message: Binary relocation support is disabled.
----------------
(denemo:583): Gtk-WARNING **: LilyToggleShow: missing action LilyToggleShow
(denemo:583): Gtk-WARNING **: LilyToggleShow: missing action LilyToggleShow
(denemo:583): Gtk-WARNING **: LilyCreateCustom: missing action LilyCreateCustom
(denemo:583): Gtk-WARNING **: LilyToggleShow: missing action LilyToggleShow
(denemo:583): Gtk-WARNING **: LilyDelete: missing action LilyDelete
GNU Denemo, a gtk+ frontend for GNU Lilypond
(c) 1999-2005, 2009 Matthew Hiller, Adam Tee, and others
This program is provided with absolutely NO WARRANTY; see
the file COPYING for details.
This software may be redistributed and modified under the
terms of the GNU General Public License; again, see the file
COPYING for details.
Version 0_8_19fluidsynth: warning: Requested a period size of 64, got
1024 instead
fluidsynth: warning: Requested 16 periods, got 4 instead
init.denemo loadedParent: child exited, pid = 586, exit status = 0
..................
-- Niels
http://nielsmayer.com
FYI: http://space.twc.de/~stefan/gst123.php is a nice command-line
audio/video file-playing utility that should be part of Fedora or
PlanetCCRMA. It uses the gstreamer interface so it provides
better-integrated access to your audio devices or servers. Below are
some simple tips on compiling on fedora.
---------- Forwarded message ----------
From: Niels Mayer <nielsmayer(a)gmail.com>
Date: Tue, Jul 6, 2010 at 2:43 PM
Subject: Re: [LAA] gst123-0.1.2
To: Stefan Westerfeld <stefan(a)space.twc.de>
Cc: Linux Audio Developers <linux-audio-dev(a)lists.linuxaudio.org>
On Mon, Jul 5, 2010 at 9:11 AM, Stefan Westerfeld <stefan(a)space.twc.de> wrote:
> gst123-0.1.2 has been released.
> Website: http://space.twc.de/~stefan/gst123.php
> Download: http://space.twc.de/~stefan/gst123/gst123-0.1.2.tar.bz2
Stefan -- very nice and useful program. Thanks for making this available!
FYI -- To compile on Fedora, I had to install the following to get
'configure' to stop complaining:
1) yum install 'gstreamer-devel' (obviously)
2) yum install gstreamer-plugins-base-devel (less obvious as config complains:
No package 'gstreamer-interfaces-0.10' found // No package
'gstreamer-video-0.10' found )
3) yum install ncurses-devel
The application compiles and works nicely after that.
However, I have some questions/issues/bugs:
(1) I do not have pulseaudio running, and all gstreamer apps have a
pause as they attempt to contact pulseaudio, and then emit a message:
"socket(): Address family not supported by protocol" ... in a GUI app,
this might make less of a difference, since you don't end up having
the app respond to ^C signals. However, gst123 does -- and during the
period when gstreamer is contacting the pulseaudio socket, the
application becomes temporarily unresponsive, even to signals like ^C.
By the time it starts responding again it's already loaded the next
file and gone unresponsive again due to timing out on the nonexistent
pulseaudio socket. This makes the program very hard to interrupt.
Question: is there a way to disable checking for pulseaudio for each
new file when specifying multiple media files. e.g.: "gst123 *.ogg" ?
For example: do it once at application startup, or even better, a way
to prevent it from happening all-together via environment variable,
configuration, etc. Best would be some kind of environmental check so
that the timeout on socket needn't occur.The timeout significantly
slows down operation of the program even when not issuing ^C's.
(2) For HD Video recorded off digital broadcasts, but not for regular
def broadcast video, there's a problem when issuing the '->' (forward
arrow) or '<-' (backward arrow) commands to skip forwards or back: As
you go forward, there's an increasingly longer delay before the audio
syncs up and starts playing. Hit '->' a few times and the audio never
seems to sync up, and sometimes the video stays paused on the same
frame, even though the time display in the terminal continues
updating.
Note that the files producing these errors have some oddball results
output from "ffmpeg -i" but that's how mythtv's mpg files look, for HD
broadcasts:
...............
[mpeg2video @ 0x1c2fcd0]mpeg_decode_postinit() failure
Last message repeated 7 times
[mpegts @ 0x1c2b5f0]MAX_READ_SIZE:5000000 reached
Input #0, mpegts, from '/home/npm/Videos/1551_20100407195900.mpg':
Duration: 02:06:59.36, start: 55515.108733, bitrate: 10490 kb/s
Program 1
Stream #0.0[0x7c0]: Video: mpeg2video, yuv420p, 1280x720 [PAR 1:1
DAR 16:9], 38810 kb/s, 62.39 fps, 59.94 tbr, 90k tbn, 119.88 tbc
Stream #0.1[0x7c1]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Stream #0.2[0x7c2]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
At least one output file must be specified
................
(3) Note that if the above file is played out of a list 'gst123 *.mpg'
then at least it gets audio playback. The same file, started
standalone, shows video, but gives plays no audio:
.............
gnulem-346-~> gst123 /home/npm/Videos/1551_20100407195900.mpg
Playing file:///home/npm/Videos/1551_20100407195900.mpg
** (gst123:12323): CRITICAL **: gst_mpeg_descriptor_find: assertion
`desc != NULL' failed
** (gst123:12323): CRITICAL **: gst_mpeg_descriptor_find: assertion
`desc != NULL' failed
No accelerated IMDCT transform found
** (gst123:12323): CRITICAL **: gst_mpeg_descriptor_find: assertion
`desc != NULL' failed
** (gst123:12323): CRITICAL **: gst_mpeg_descriptor_find: assertion
`desc != NULL' failed
No accelerated IMDCT transform found
socket(): Address family not supported by protocol
Codec : Dolby Digital (AC-3) (audio) Bitrate : 192.0 kbit/s
............................
Niels
http://nielsmayer.com
PS: Feature request: decode caption information from videos, and
display in video. And/or output a timed-text, SMIL or other file
containing the caption information and time-of-presentation
information. This can be very useful in searching content of video
files.