summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorGreg Frost <gregfrost1@bigpond.com>2010-04-24 05:35:18 (GMT)
committerGreg Frost <gregfrost1@bigpond.com>2010-04-24 05:35:18 (GMT)
commit1c253bc91fa87e7ae4ec1fa8447c4a3754e341fc (patch)
treec178d5084e1ce217f151c89cb8eccb150d9f7a9f /abs
parent440fc28966ffed32deed166b01284ef689b07961 (diff)
downloadlinhes_pkgbuild-1c253bc91fa87e7ae4ec1fa8447c4a3754e341fc.zip
linhes_pkgbuild-1c253bc91fa87e7ae4ec1fa8447c4a3754e341fc.tar.gz
linhes_pkgbuild-1c253bc91fa87e7ae4ec1fa8447c4a3754e341fc.tar.bz2
test-pattern: aspect ratio support for interlaced video
Diffstat (limited to 'abs')
-rw-r--r--abs/core-testing/test-pattern/PKGBUILD4
-rwxr-xr-xabs/core-testing/test-pattern/test_pattern.bash6
2 files changed, 6 insertions, 4 deletions
diff --git a/abs/core-testing/test-pattern/PKGBUILD b/abs/core-testing/test-pattern/PKGBUILD
index 4b71f68..7ac825b 100644
--- a/abs/core-testing/test-pattern/PKGBUILD
+++ b/abs/core-testing/test-pattern/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=test-pattern
pkgver=1.0
-pkgrel=5
+pkgrel=6
arch=('i686')
pkgdesc="script to create test pattern videos"
depends=(imagemagick)
@@ -13,4 +13,4 @@ build() {
install -m755 -D test_pattern.bash $startdir/pkg/usr/bin/test_pattern.bash
}
-md5sums=('0bcfa657a2b5f31c62a37738016beb1f')
+md5sums=('3a427a5dee0763c6b0a5938fedbde883')
diff --git a/abs/core-testing/test-pattern/test_pattern.bash b/abs/core-testing/test-pattern/test_pattern.bash
index 76db158..d220fb0 100755
--- a/abs/core-testing/test-pattern/test_pattern.bash
+++ b/abs/core-testing/test-pattern/test_pattern.bash
@@ -313,10 +313,12 @@ fi
if [ -n "$interlaced" ] ; then
ffmpeg -r ${rate} -i ${TEMPDIR}/interlaced%03d.png -r ${rate} \
- -vcodec mpeg2video -flags +ilme+ildct ${bitrate_flags} -y test.mpg
+ -vcodec mpeg2video -flags +ilme+ildct -aspect $aspect_ratio \
+ ${bitrate_flags} -y test.mpg
else
ffmpeg -r ${rate} -i ${TEMPDIR}/test%03d.png -r ${rate} \
- -vcodec mpeg2video -aspect $aspect_ratio ${bitrate_flags} -y test.mpg
+ -vcodec mpeg2video -aspect $aspect_ratio \
+ ${bitrate_flags} -y test.mpg
fi
if [ -n "$remove_tempdir" ] ; then