Add download for MPlayer samples
This commit is contained in:
parent
e5c93e8293
commit
2d942a9f45
|
@ -62,7 +62,7 @@ download() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
download_rsync() {
|
download_custom() {
|
||||||
title="$1" cmd="$2"
|
title="$1" cmd="$2"
|
||||||
|
|
||||||
inform "Downloading \"$title\" ..."
|
inform "Downloading \"$title\" ..."
|
||||||
|
@ -92,10 +92,16 @@ download \
|
||||||
'matroska_test_w1_1.zip' \
|
'matroska_test_w1_1.zip' \
|
||||||
'matroska_wave1'
|
'matroska_wave1'
|
||||||
|
|
||||||
download_rsync \
|
destdir='mtx-test-data'
|
||||||
|
download_custom \
|
||||||
'MTX Test Data' \
|
'MTX Test Data' \
|
||||||
'rsync -rv --links --delete belgarath.bunkus.org::mtx-test-data mtx-test-data'
|
'rsync -rv --links --delete belgarath.bunkus.org::mtx-test-data mtx-test-data'
|
||||||
|
|
||||||
|
destdir='samples.mplayerhq.hu'
|
||||||
|
download_custom \
|
||||||
|
'MPlayer samples' \
|
||||||
|
'wget -r -np -R index.html* http://samples.mplayerhq.hu/A-codecs/lossless'
|
||||||
|
|
||||||
# convert FLAC files for FLAC tests with ffmpeg
|
# convert FLAC files for FLAC tests with ffmpeg
|
||||||
mkdir -p flac
|
mkdir -p flac
|
||||||
[[ ! -f flac/test.flac ]] && ffmpeg -i mtx-test-data/alac/othertest-itunes.m4a -c:a flac flac/test.flac # raw FLAC stream
|
[[ ! -f flac/test.flac ]] && ffmpeg -i mtx-test-data/alac/othertest-itunes.m4a -c:a flac flac/test.flac # raw FLAC stream
|
||||||
|
|
Loading…
Reference in New Issue