Package: libtheora-bin Version: 1.0-1 Severity: wishlist Tags: patch Hi,
I wrote this small script as a wrapper to actually make theora_encoder_example useful. Without it, one would have to setup named pipes and mplayer processes by hand, which is annoying and possibly a showstopper for less experienced users. Perhaps you could include it in the package. -- System Information: Debian Release: 5.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libtheora-bin depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libogg0 1.1.3-4 Ogg Bitstream Library ii libpng12-0 1.2.27-2 PNG library - runtime ii libsdl1.2debian 1.2.13-2 Simple DirectMedia Layer ii libtheora0 1.0-1 The Theora Video Compression Codec ii libvorbis0a 1.2.0.dfsg-3.1 The Vorbis General Audio Compressi ii libvorbisenc2 1.2.0.dfsg-3.1 The Vorbis General Audio Compressi libtheora-bin recommends no packages. libtheora-bin suggests no packages. -- no debconf information
#!/bin/sh -x video=`mktemp` audio=`mktemp` rm -f $video $audio mkfifo $video $audio # A single process can handle both, but this results in deadlock because # mplayer is single-threaded. mplayer "$1" -ao null -vo yuv4mpeg:file=$video > /dev/null 2>&1 & mplayer "$1" -vo null -ao pcm:file=$audio > /dev/null 2>&1 & theora_encoder_example $video $audio > "$2" rm -f $video $audio

