Skip to content

Commit

Permalink
Merge pull request #791 from dericed/tweak-aspect-ratio-in-mkv-policy
Browse files Browse the repository at this point in the history
Tweak aspect ratio in mkv policy
  • Loading branch information
JeromeMartinez authored Dec 8, 2024
2 parents b0b89e4 + 40eba9b commit 126dee6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Tools/Policies/sample_policy_4_mkv_ffv1_digitization.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
<rule name="Is it Matroska?" value="Format" tracktype="General" operator="=">Matroska</rule>
<rule name="Matroska version 4 or greater?" value="Format_Version" tracktype="General" operator="&gt;=">4</rule>
<rule name="Unique ID is present?" value="UniqueID" tracktype="General"/>
<rule name="Is the video FFV1?" value="Format" tracktype="Video">FFV1</rule>
<rule name="Is the video FFV1?" value="Format" tracktype="Video" operator="=">FFV1</rule>
<rule name="FFV1 is version 3.4 or later?" value="Format_Version" tracktype="Video" operator="&gt;=">3.4</rule>
<rule name="FFV1 is encoded in GOP size of 1?" value="Format_Settings_GOP" tracktype="Video" operator="=">N=1</rule>
<rule name="FFV1 uses slice crcs?" value="extra/ErrorDetectionType" tracktype="Video" operator="=">Per slice</rule>
<rule name="Display Aspect Ratio is 4/3?" value="DisplayAspectRatio" tracktype="Video" operator="=">1.333</rule>
<policy type="and" name="Display Aspect Ratio is 4/3ish?">
<rule name="Display Aspect Ratio is &gt;= 1.315?" value="DisplayAspectRatio" tracktype="Video" operator="&gt;=">1.315</rule>
<rule name="Display Aspect Ratio is &lt;= 1.351?" value="DisplayAspectRatio" tracktype="Video" operator="&lt;=">1.351</rule>
</policy>
<policy type="or" name="Is this NTSC or PAL SD?">
<description>A test to see if the files use NTSC or PAL frame rates and sizes.</description>
<policy type="or" name="Is this NTSC SD or PAL SD?">
Expand Down

0 comments on commit 126dee6

Please sign in to comment.