]> git.phdru.name Git - audio-cdr-video.git/blob - video/mplayer/m_encode_extract_a1
Move outdated scripts to separate subdirectories
[audio-cdr-video.git] / video / mplayer / m_encode_extract_a1
1 #! /bin/sh
2
3 if [ -z "$4" ]; then
4    echo "Usage: $0 aid1 aid2 scale1 scale2 [options]"
5    exit 1
6 fi
7
8 aid1="$1"
9 aid2="$2"
10 scale1="$3"
11 scale2="$4"
12 shift 4
13
14 aid="$aid1" ascale="$scale1" m_encode "$@" &&
15 m_extract_a1 "$aid2" -af volume="$scale2" "$@" &&
16 exec rm divx2pass.log output.avi