Turbo-Rhonda
Freitag, 13. Juni 2008Wesnoth 1.4.3
official Release: 09.06.2008 22:10 Uhr
sid Paket: 09.06.2008 21:02 Uhr
ich hatte es mir schon vorher abgegriffen.. Ich weiß ja, dass er bei Wesnoth “sehr aktiv” mitmacht. :-)
Wesnoth 1.4.3
official Release: 09.06.2008 22:10 Uhr
sid Paket: 09.06.2008 21:02 Uhr
ich hatte es mir schon vorher abgegriffen.. Ich weiß ja, dass er bei Wesnoth “sehr aktiv” mitmacht. :-)
/usr/bin/flv2avi
#!/bin/sh
if [ -z "$1" ]; then
echo "Usage: $0 {-divx|-xvid} list_of_flv_files"
exit 1
fi
# video encoding bit rate
V_BITRATE=1000
while [ "$1" ]; do
case "$1" in
-divx)
MENC_OPTS="-ovc lavc -lavcopts \
vcodec=mpeg4:vbitrate=$V_BITRATE:mbd=2:v4mv:autoaspect"
;;
-xvid)
MENC_OPTS="-ovc xvid -xvidencopts bitrate=$V_BITRATE:autoaspect"
;;
*)
if file "$1" | grep -q "Macromedia Flash Video"; then
mencoder "$1" $MENC_OPTS -vf pp=lb -oac mp3lame \
-lameopts fast:preset=standard -o \
"`basename $1 .flv`.avi"
else
echo "$1 is not Flash Video. Skipping"
fi
;;
esac
shift
done
Mencoder muss installiert sein
Mist, darkice bringt bei Debian von Natur aus keine Ünterstützung für mp3 mit (und das ist lizenzmäßig auch gut so).
Das musste ich erstmal für meinen Hausgebrauch ändern :-)
debian/rules
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/autotools.mk
DEB_CONFIGURE_EXTRA_FLAGS := –prefix=/usr –sysconfdir=/usr/share/doc/darkice/examples –with-lame –with-faac
debian/control
Source: darkice
Section: sound
Priority: optional
Maintainer: Jochen Friedrich
Standards-Version: 3.7.2
Build-Depends: cdbs, debhelper (>=4.1.0), libvorbis-dev, libasound2-dev [!kfreebsd-i386], libjack0.100.0-dev, libtwolame-dev, liblame-dev, libfaac-dev
Package: darkice
Architecture: any
Depends: ${shlibs:Depends}
Description: Live audio streamer
DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It
takes audio input from a sound card, encodes it into mp3 and/or Ogg
Vorbis, and sends the mp3 stream to one or more IceCast and/or
ShoutCast servers, the Ogg Vorbis stream to one or more IceCast2
servers. DarkIce uses lame as a shared object as its mp3 encoder, and
the Ogg Vorbis as its Ogg Vorbis encoder.
cassmodiah@schafwiese:~$ ldd /usr/bin/darkice
linux-gate.so.1 => (0xb7f1f000)
libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb7e70000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7e6b000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7e43000)
libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb7d4a000)
libfaac.so.0 => /usr/lib/libfaac.so.0 (0xb7d39000)
libtwolame.so.0 => /usr/lib/libtwolame.so.0 (0xb7d17000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb7c56000)
libjack-0.100.0.so.0 => /usr/lib/libjack-0.100.0.so.0 (0xb7c3f000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7c36000)
libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7c20000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7b3b000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7b15000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7b0a000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb79d9000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb79c7000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb79c3000)
/lib/ld-linux.so.2 (0xb7f20000)
MP3: libmp3lame.so.0 => /usr/lib/libmp3lame.so.0
OGG: libvorbis.so.0 => /usr/lib/libvorbis.so.0
AAC: libfaac.so.0 => /usr/lib/libfaac.so.0