Remove some unused scripts from tools/.
This commit is contained in:
parent
a8d44f9dd5
commit
eb7505e429
@ -1,9 +0,0 @@
|
||||
#!/bin/sh
|
||||
sed 's/unsigned//g' |\
|
||||
sed 's/enum//g' |\
|
||||
egrep '^ *(int|float|double|AVRational|char *\*) *[a-zA-Z_0-9]* *;' |\
|
||||
sed 's/^ *\([^ ]*\)[ *]*\([^;]*\);.*$/{"\2", NULL, OFFSET(\2), FF_OPT_TYPE_\U\1, DEFAULT, \1_MIN, \1_MAX},/' |\
|
||||
sed 's/AVRATIONAL_M/INT_M/g'|\
|
||||
sed 's/TYPE_AVRATIONAL/TYPE_RATIONAL/g'|\
|
||||
sed 's/FLOAT_M/FLT_M/g'|\
|
||||
sed 's/FF_OPT_TYPE_CHAR/FF_OPT_TYPE_STRING/g'
|
@ -1,11 +0,0 @@
|
||||
#!/bin/sh
|
||||
sed '/^+[^+]/!s/ /TaBBaT/g' |\
|
||||
expand -t $(seq -s , 9 8 200) |\
|
||||
sed 's/TaBBaT/ /g' |\
|
||||
sed '/^+[^+]/s/ * $//' |\
|
||||
tr -d '\015' |\
|
||||
tr '\n' '°' |\
|
||||
sed 's/\(@@[^@]*@@°[^@]*\)/\n\1/g' |\
|
||||
egrep -v '@@[^@]*@@°(( [^°]*°)|([+-][[:space:]]*°)|(-[[:space:]]*([^°]*)°\+[[:space:]]*\5°))*$' |\
|
||||
tr -d '\n' |\
|
||||
tr '°' '\n'
|
@ -1,21 +0,0 @@
|
||||
#!/bin/sh
|
||||
#GPL
|
||||
#TODO
|
||||
#add pixelformat/sampleformat into the path of the codecs
|
||||
|
||||
FFP=../ffprobe
|
||||
TMP=$(mktemp) || exit 1
|
||||
TARGET=$1
|
||||
shift
|
||||
|
||||
for v do
|
||||
BASE=$(basename $v)
|
||||
echo $v | egrep -i '(public|private)' >/dev/null && echo Warning $v may be private
|
||||
$FFP $v 2> $TMP
|
||||
FORM=$((grep 'Input #0, ' -m1 $TMP || echo 'Input #0, unknown') | sed 's/Input #0, \([a-zA-Z0-9_]*\).*/\1/' )
|
||||
mkdir -p $TARGET/container/$FORM
|
||||
ln -s $v $TARGET/container/$FORM/$BASE
|
||||
eval $(grep 'Stream #0\.[^:]*: [a-zA-Z0-9][^:]*: [a-zA-Z0-9]' $TMP | sed 's#[^:]*: \([a-zA-Z0-9]*\)[^:]*: \([a-zA-Z0-9]*\).*#mkdir -p '$TARGET'/\1/\2 ; ln -s '$v' '$TARGET'/\1/\2/'$BASE' ; #')
|
||||
done
|
||||
|
||||
rm $TMP
|
@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
tr '\n' '\001' | sed 's/\x01\x01/\x01 \x01/g' | sed 's/\x01\([^-+ @]\)/ \1/g' | tr '\001' '\n'
|
Loading…
x
Reference in New Issue
Block a user