[SCM] libav/experimental: drop debian/recordshow
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sat Jan 5 23:28:42 UTC 2013
The following commit has been merged in the experimental branch:
commit ad662726f9761178cd1252abf84dcbb1b36fd30b
Author: Reinhard Tartler <siretart at tauware.de>
Date: Sun Jan 6 00:22:59 2013 +0100
drop debian/recordshow
this script does not explicitly state it's license, and would need to be
ported to avconv anyways
diff --git a/debian/copyright b/debian/copyright
index 041e328..09a7fd8 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -252,11 +252,6 @@ Comments:
Some copyright holder details extracted from referenced sources at
<http://samples.libav.org/A-codecs/Nelly_Moser/ASAO/ASAO.zip>.
-Files: debian/recordshow.sh
-Copyright: 2008, Daniel Dickinson <cshore at wightman.ca>
-License: None
- FIXME
-
Files: doc/doxy/doxy_stylesheet.css
Copyright: 2012, Twitter, Inc
License: Apache-2.0
diff --git a/debian/recordshow.sh b/debian/recordshow.sh
deleted file mode 100644
index ebeaaf5..0000000
--- a/debian/recordshow.sh
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/bash
-
-# Copyright 2008, Daniel Dickinson <cshore at wightman.ca>
-#
-# This script script (which depends on xawtv for the v4lctl command to
-# select channel) and crontab show how one can record tv shows using
-# ffmpeg.
-
-STATION="$1"
-TODAY=$(date +"%A %B %d %Y")
-SHOWLENGTH="$2"
-SHOWDIR="$3"
-SHOWNAME="$4"
-
-function err_exit {
- EXITCODE=$1
- shift
- echo $* 1>&2
- exit $EXITCODE
-}
-
-BADPARAM=FALSE
-
-if [ -z "STATION" ]; then
- BADPARAM=TRUE
-fi
-
-if [ -z "$SHOWDIR" ]; then
- BADPARAM=TRUE
-fi
-
-if [ -z "$SHOWLENGTH" ]; then
- BADPARAM=TRUE
-fi
-
-if [ "$BADPARAM" != "FALSE" ]; then
- err_exit 2 "Usage: recordshow.sh station show-length show-dir [show-name]"
-fi
-
-if [ -z "$SHOWNAME" ]; then
- BASEFILENAME="$SHOWDIR/$TODAY"
-else
- BASEFILENAME="$SHOWDIR/$SHOWNAME-$TODAY"
-fi
-
-SECONDS=$(echo $SHOWLENGTH | cut -f3 -d:)
-MINUTES=$(echo $SHOWLENGTH | cut -f2 -d:)
-HOURS=$(echo $SHOWLENGTH | cut -f1 -d:)
-
-TOTALSECONDS=0
-
-TOTALSECONDS=$(expr $(expr $(expr $HOURS '*' 3600) + $(expr $MINUTES '*' 60)) + $SECONDS)
-
-/usr/bin/v4lctl setstation $1 >/dev/null || err_exit 1 "Unable to set station (channel) $STATION"
-/usr/bin/v4lctl volume mute off >/dev/null || err_exit 4 "Unable to unmute audio"
-/usr/bin/ffmpeg -y -tvstd ntsc -t "$TOTALSECONDS" -s 480x352 -re -deinterlace -f video4linux2 -i /dev/video0 -f audio_device -i /dev/dsp -ac 2 -s 768x576 -f mpegts -acodec mp2 -vcodec mpeg1video "$BASEFILENAME.mpegts" >/dev/null 2>&1 || err_exit 3 "Error recording show $BASEFILENAME to mpeg2 transport stream"
-/usr/bin/v4lctl volume mute on >/dev/null || err_exit 5 "Unable to mute audio"
-
diff --git a/debian/rules b/debian/rules
index a270ea4..79512d6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -214,7 +214,6 @@ ifeq ($(DEB_SOURCE), libav)
-plibavformat-dev -plibavfilter-dev -plibavresample-dev \
-plibswscale-dev -plibavutil-dev -plibav-doc \
doc/APIchanges
- dh_installexamples -p libav-tools doc/avserver.conf debian/recordshow.sh
dh_installexamples -p libavcodec-dev libavcodec/api-example.c
dh_strip --dbg-package=libav-dbg
dh_installchangelogs Changelog
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list