summaryrefslogtreecommitdiffstats
path: root/abs/core/linhes-scripts/myth2mkv
diff options
context:
space:
mode:
authorMichael Hanson <mihanson@linhes.org>2012-07-24 00:49:41 (GMT)
committerMichael Hanson <mihanson@linhes.org>2012-07-24 00:49:41 (GMT)
commitd51e88d864876da3582e1a0bfa7e2890c383c126 (patch)
tree18bca4b084ddf021feaab9714f4999449c67d949 /abs/core/linhes-scripts/myth2mkv
parent01ca135d1ebcdcfec78f68b58ad303508c3ed911 (diff)
downloadlinhes_pkgbuild-d51e88d864876da3582e1a0bfa7e2890c383c126.zip
linhes_pkgbuild-d51e88d864876da3582e1a0bfa7e2890c383c126.tar.gz
linhes_pkgbuild-d51e88d864876da3582e1a0bfa7e2890c383c126.tar.bz2
linhes-scripts: fix for myth2mkv
Diffstat (limited to 'abs/core/linhes-scripts/myth2mkv')
-rw-r--r--abs/core/linhes-scripts/myth2mkv7
1 files changed, 6 insertions, 1 deletions
diff --git a/abs/core/linhes-scripts/myth2mkv b/abs/core/linhes-scripts/myth2mkv
index 5035748..f180b31 100644
--- a/abs/core/linhes-scripts/myth2mkv
+++ b/abs/core/linhes-scripts/myth2mkv
@@ -2,7 +2,7 @@
#
# Convert video to AVC-1 / h264
#
-# version 0.25-001
+# version 0.25-002
#
# Prerequisites:
# - mythtv >= 0.25
@@ -156,6 +156,11 @@ if [[ ${FPS} = "29.970" ]] ; then
FPS="29.97"
fi
+# HandBrake does not like a framerate of 59.940, so let's drop the 0
+if [[ ${FPS} = "59.940" ]] ; then
+ FPS="59.94"
+fi
+
# A rough guestimation that if the video width is 1920, 1440, 852, 704, 640 or
# 528 pixels it is probably interlaced.
if [[ ${DEINT} = Y ]] ; then