summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/test-pattern/test_pattern.bash
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/core-testing/test-pattern/test_pattern.bash
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/core-testing/test-pattern/test_pattern.bash')
-rwxr-xr-xabs/core-testing/test-pattern/test_pattern.bash6
1 files changed, 4 insertions, 2 deletions
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