Add preference to allow 4k hd video metadata auto detection (#164)

This commit is contained in:
Brett Pynn authored and GitHub committed 2026-10-05 07:57:25 +02:00
1 parent a3f73cf1f8
commit 85854a2f06
3 files changed
+50 -23

No files matched your search

+45 -21
View File
@@ -24,14 +24,14 @@
</declaredKeys> </declaredKeys>
</userDefaultsController> </userDefaultsController>
<customView id="94" userLabel="Advanced View"> <customView id="94" userLabel="Advanced View">
<rect key="frame" x="0.0" y="0.0" width="610" height="329"/> <rect key="frame" x="0.0" y="0.0" width="610" height="384"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<customView translatesAutoresizingMaskIntoConstraints="NO" id="W4x-d1-Fk8"> <customView translatesAutoresizingMaskIntoConstraints="NO" id="W4x-d1-Fk8">
<rect key="frame" x="112" y="-1" width="387" height="330"/> <rect key="frame" x="91" y="-1" width="429" height="385"/>
<subviews> <subviews>
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="101"> <textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="101">
<rect key="frame" x="18" y="236" width="133" height="16"/> <rect key="frame" x="18" y="324" width="133" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Convert:" id="102"> <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Convert:" id="102">
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -39,7 +39,7 @@
</textFieldCell> </textFieldCell>
</textField> </textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="rmU-Gb-jzF"> <popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="rmU-Gb-jzF">
<rect key="frame" x="171" y="184" width="138" height="25"/> <rect key="frame" x="174" y="272" width="146" height="24"/>
<popUpButtonCell key="cell" type="push" title="Discard DTS" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="2Ad-Fs-Zpj" id="bVg-GU-Gs9"> <popUpButtonCell key="cell" type="push" title="Discard DTS" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="2Ad-Fs-Zpj" id="bVg-GU-Gs9">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/> <behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/> <font key="font" metaFont="message"/>
@@ -60,7 +60,7 @@
</connections> </connections>
</popUpButton> </popUpButton>
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="189"> <textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="189">
<rect key="frame" x="18" y="76" width="133" height="16"/> <rect key="frame" x="18" y="153" width="133" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Bitrate (per channel):" id="190"> <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Bitrate (per channel):" id="190">
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -68,7 +68,7 @@
</textFieldCell> </textFieldCell>
</textField> </textField>
<button verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="3fA-qQ-VvX"> <button verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="3fA-qQ-VvX">
<rect key="frame" x="155" y="293" width="166" height="18"/> <rect key="frame" x="157" y="382" width="162" height="16"/>
<buttonCell key="cell" type="check" title="Keep groups organized" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="Yld-Or-7Hu"> <buttonCell key="cell" type="check" title="Keep groups organized" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="Yld-Or-7Hu">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
@@ -78,7 +78,7 @@
</connections> </connections>
</button> </button>
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="Z2f-U9-9ZT"> <textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="Z2f-U9-9ZT">
<rect key="frame" x="18" y="20" width="133" height="16"/> <rect key="frame" x="18" y="93" width="133" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="HEVC:" id="XpG-OO-ZNT"> <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="HEVC:" id="XpG-OO-ZNT">
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -86,7 +86,7 @@
</textFieldCell> </textFieldCell>
</textField> </textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="99"> <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="99">
<rect key="frame" x="155" y="165" width="140" height="18"/> <rect key="frame" x="157" y="250" width="136" height="16"/>
<buttonCell key="cell" type="check" title="AC-3 audio to AAC" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="104"> <buttonCell key="cell" type="check" title="AC-3 audio to AAC" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="104">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
@@ -96,7 +96,7 @@
</connections> </connections>
</button> </button>
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="113"> <textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="113">
<rect key="frame" x="18" y="105" width="133" height="16"/> <rect key="frame" x="18" y="187" width="133" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Downmix audio to:" id="114"> <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Downmix audio to:" id="114">
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -104,7 +104,7 @@
</textFieldCell> </textFieldCell>
</textField> </textField>
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="201"> <textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="201">
<rect key="frame" x="222" y="76" width="34" height="16"/> <rect key="frame" x="234" y="153" width="34" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" title="kbps" id="202"> <textFieldCell key="cell" sendsActionOnEndEditing="YES" title="kbps" id="202">
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -112,7 +112,7 @@
</textFieldCell> </textFieldCell>
</textField> </textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="115"> <popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="115">
<rect key="frame" x="154" y="99" width="145" height="25"/> <rect key="frame" x="157" y="183" width="153" height="24"/>
<popUpButtonCell key="cell" type="push" title="Dolby Pro Logic II" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="121" id="116"> <popUpButtonCell key="cell" type="push" title="Dolby Pro Logic II" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="121" id="116">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/> <behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/> <font key="font" metaFont="message"/>
@@ -132,7 +132,7 @@
</connections> </connections>
</popUpButton> </popUpButton>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hjZ-wQ-Sbb"> <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hjZ-wQ-Sbb">
<rect key="frame" x="155" y="235" width="123" height="18"/> <rect key="frame" x="157" y="324" width="119" height="16"/>
<buttonCell key="cell" type="check" title="VobSub to Tx3g" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="wgy-N5-9cB"> <buttonCell key="cell" type="check" title="VobSub to Tx3g" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="wgy-N5-9cB">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
@@ -142,7 +142,7 @@
</connections> </connections>
</button> </button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="olE-Dy-uJm"> <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="olE-Dy-uJm">
<rect key="frame" x="155" y="212" width="140" height="18"/> <rect key="frame" x="157" y="301" width="136" height="16"/>
<buttonCell key="cell" type="check" title="DTS audio to AAC" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="ZcC-1D-D4s"> <buttonCell key="cell" type="check" title="DTS audio to AAC" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="ZcC-1D-D4s">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
@@ -152,7 +152,7 @@
</connections> </connections>
</button> </button>
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="Pud-GM-vyU"> <textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="Pud-GM-vyU">
<rect key="frame" x="18" y="48" width="133" height="16"/> <rect key="frame" x="18" y="121" width="133" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="DRC:" id="kde-QJ-Sl9"> <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="DRC:" id="kde-QJ-Sl9">
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -160,7 +160,7 @@
</textFieldCell> </textFieldCell>
</textField> </textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ETf-LE-57P"> <popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ETf-LE-57P">
<rect key="frame" x="153" y="41" width="67" height="25"/> <rect key="frame" x="156" y="117" width="60" height="24"/>
<popUpButtonCell key="cell" type="push" title="0" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="aHL-pt-Ze0" id="sRN-fQ-JQy"> <popUpButtonCell key="cell" type="push" title="0" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="aHL-pt-Ze0" id="sRN-fQ-JQy">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/> <behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/> <font key="font" metaFont="message"/>
@@ -183,7 +183,7 @@
</connections> </connections>
</popUpButton> </popUpButton>
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="hgg-QV-i0I"> <textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="hgg-QV-i0I">
<rect key="frame" x="18" y="294" width="133" height="16"/> <rect key="frame" x="18" y="382" width="133" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Alternate Groups:" id="agM-jg-8mH"> <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Alternate Groups:" id="agM-jg-8mH">
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -191,7 +191,7 @@
</textFieldCell> </textFieldCell>
</textField> </textField>
<button verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="QpA-Yd-jpF"> <button verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="QpA-Yd-jpF">
<rect key="frame" x="155" y="271" width="187" height="18"/> <rect key="frame" x="157" y="360" width="227" height="16"/>
<buttonCell key="cell" type="check" title="Infer media characteristics" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="86R-Dj-j6Y"> <buttonCell key="cell" type="check" title="Infer media characteristics" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="86R-Dj-j6Y">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
@@ -202,7 +202,7 @@
</connections> </connections>
</button> </button>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="191"> <popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="191">
<rect key="frame" x="154" y="69" width="67" height="25"/> <rect key="frame" x="157" y="149" width="72" height="24"/>
<popUpButtonCell key="cell" type="push" title="64" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="64" imageScaling="proportionallyDown" inset="2" selectedItem="194" id="192"> <popUpButtonCell key="cell" type="push" title="64" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="64" imageScaling="proportionallyDown" inset="2" selectedItem="194" id="192">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/> <behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/> <font key="font" metaFont="message"/>
@@ -232,7 +232,7 @@
</connections> </connections>
</popUpButton> </popUpButton>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="edJ-A5-eyf"> <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="edJ-A5-eyf">
<rect key="frame" x="172" y="142" width="92" height="18"/> <rect key="frame" x="174" y="227" width="88" height="16"/>
<buttonCell key="cell" type="check" title="Keep AC-3" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="Zgy-z5-6UG"> <buttonCell key="cell" type="check" title="Keep AC-3" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="Zgy-z5-6UG">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
@@ -243,7 +243,7 @@
</connections> </connections>
</button> </button>
<button translatesAutoresizingMaskIntoConstraints="NO" id="fTk-UL-aoX"> <button translatesAutoresizingMaskIntoConstraints="NO" id="fTk-UL-aoX">
<rect key="frame" x="155" y="19" width="212" height="18"/> <rect key="frame" x="157" y="93" width="207" height="32"/>
<buttonCell key="cell" type="check" title="Force QuickTime Compatibility" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="bBF-Bs-9N7"> <buttonCell key="cell" type="check" title="Force QuickTime Compatibility" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="bBF-Bs-9N7">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
@@ -252,6 +252,24 @@
<binding destination="3" name="value" keyPath="values.SBForceHvc1" id="Hr9-j1-CiT"/> <binding destination="3" name="value" keyPath="values.SBForceHvc1" id="Hr9-j1-CiT"/>
</connections> </connections>
</button> </button>
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="4KV-Md-Lbl">
<rect key="frame" x="18" y="53" width="133" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="4K:" id="4KV-Md-LbC">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button toolTip="4K metadata may cause streaming issues with some Apple TV configurations." translatesAutoresizingMaskIntoConstraints="NO" id="4KV-Md-Tg1">
<rect key="frame" x="157" y="53" width="231" height="32"/>
<buttonCell key="cell" type="check" title="Autodetect 4K HD Video Metadata" bezelStyle="regularSquare" imagePosition="left" inset="2" id="4KV-Md-Cel">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<binding destination="3" name="value" keyPath="values.SBSet4KHDVideoMetadata" id="4KV-Md-Bnd"/>
</connections>
</button>
</subviews> </subviews>
<constraints> <constraints>
<constraint firstItem="113" firstAttribute="leading" secondItem="101" secondAttribute="leading" id="1YE-JW-6A6"/> <constraint firstItem="113" firstAttribute="leading" secondItem="101" secondAttribute="leading" id="1YE-JW-6A6"/>
@@ -261,8 +279,14 @@
<constraint firstItem="edJ-A5-eyf" firstAttribute="top" secondItem="99" secondAttribute="bottom" constant="7" id="2AJ-dD-Kor"/> <constraint firstItem="edJ-A5-eyf" firstAttribute="top" secondItem="99" secondAttribute="bottom" constant="7" id="2AJ-dD-Kor"/>
<constraint firstItem="olE-Dy-uJm" firstAttribute="trailing" secondItem="99" secondAttribute="trailing" id="2p6-fw-8YB"/> <constraint firstItem="olE-Dy-uJm" firstAttribute="trailing" secondItem="99" secondAttribute="trailing" id="2p6-fw-8YB"/>
<constraint firstItem="ETf-LE-57P" firstAttribute="top" secondItem="191" secondAttribute="bottom" constant="8" id="40j-P6-EiA"/> <constraint firstItem="ETf-LE-57P" firstAttribute="top" secondItem="191" secondAttribute="bottom" constant="8" id="40j-P6-EiA"/>
<constraint firstItem="4KV-Md-Lbl" firstAttribute="baseline" secondItem="4KV-Md-Tg1" secondAttribute="baseline" id="4KV-Lbl-Bas"/>
<constraint firstItem="4KV-Md-Lbl" firstAttribute="leading" secondItem="Z2f-U9-9ZT" secondAttribute="leading" id="4KV-Lbl-Ldg"/>
<constraint firstItem="4KV-Md-Lbl" firstAttribute="width" secondItem="Z2f-U9-9ZT" secondAttribute="width" id="4KV-Lbl-Wid"/>
<constraint firstItem="4KV-Md-Tg1" firstAttribute="leading" secondItem="fTk-UL-aoX" secondAttribute="leading" id="4KV-Md-Ldg"/>
<constraint firstItem="4KV-Md-Tg1" firstAttribute="top" secondItem="fTk-UL-aoX" secondAttribute="bottom" constant="8" id="4KV-Md-Top"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="4KV-Md-Tg1" secondAttribute="trailing" constant="20" symbolic="YES" id="4KV-Md-Trl"/>
<constraint firstAttribute="bottom" secondItem="4KV-Md-Tg1" secondAttribute="bottom" constant="20" symbolic="YES" id="4KV-Md-Btm"/>
<constraint firstItem="101" firstAttribute="baseline" secondItem="hjZ-wQ-Sbb" secondAttribute="baseline" id="8Vo-He-oN4"/> <constraint firstItem="101" firstAttribute="baseline" secondItem="hjZ-wQ-Sbb" secondAttribute="baseline" id="8Vo-He-oN4"/>
<constraint firstAttribute="bottom" secondItem="fTk-UL-aoX" secondAttribute="bottom" constant="20" symbolic="YES" id="9Kv-mG-JeK"/>
<constraint firstItem="hjZ-wQ-Sbb" firstAttribute="top" secondItem="QpA-Yd-jpF" secondAttribute="bottom" constant="20" id="9b8-nh-LgA"/> <constraint firstItem="hjZ-wQ-Sbb" firstAttribute="top" secondItem="QpA-Yd-jpF" secondAttribute="bottom" constant="20" id="9b8-nh-LgA"/>
<constraint firstItem="191" firstAttribute="top" secondItem="115" secondAttribute="bottom" constant="10" symbolic="YES" id="9lu-EL-fZW"/> <constraint firstItem="191" firstAttribute="top" secondItem="115" secondAttribute="bottom" constant="10" symbolic="YES" id="9lu-EL-fZW"/>
<constraint firstItem="fTk-UL-aoX" firstAttribute="leading" secondItem="Z2f-U9-9ZT" secondAttribute="trailing" constant="8" id="A9N-WD-P3O"/> <constraint firstItem="fTk-UL-aoX" firstAttribute="leading" secondItem="Z2f-U9-9ZT" secondAttribute="trailing" constant="8" id="A9N-WD-P3O"/>
+1 -1
View File
@@ -27,7 +27,7 @@ extension MP42File {
var hdType: TrackHDType? { var hdType: TrackHDType? {
for track in tracks(withMediaType: kMP42MediaType_Video) as! [MP42VideoTrack] { for track in tracks(withMediaType: kMP42MediaType_Video) as! [MP42VideoTrack] {
if (track.width > 1920 && track.height > 1088) { if (track.width > 1920 && track.height > 1088) {
return nil // .hd4k 4k breaks AppleTV streaming return Prefs.set4KHDVideoMetadata ? .hd4k : nil
} else if (track.width > 1280 || track.height > 720) && track.width <= 1920 && track.height <= 1088 { } else if (track.width > 1280 || track.height > 720) && track.width <= 1920 && track.height <= 1088 {
return .hd1080p return .hd1080p
} else if track.width >= 960 && track.height >= 720 || track.width >= 1280 { } else if track.width >= 960 && track.height >= 720 || track.width >= 1280 {
+4 -1
View File
@@ -104,7 +104,7 @@ enum Prefs {
_audioBitrate, _audioDRC, _audioConvertAC3, _audioKeepAC3, _audioConvertDts, _audioBitrate, _audioDRC, _audioConvertAC3, _audioKeepAC3, _audioConvertDts,
_audioDtsOptions, _subtitleConvertBitmap, _ratingsCountry, _chaptersPreviewPosition, _audioDtsOptions, _subtitleConvertBitmap, _ratingsCountry, _chaptersPreviewPosition,
_chaptersPreviewTrack, _mp464bitOffset, _mp464bitTimes, _mp4SaveAsOptimize, _forceHvc1, _chaptersPreviewTrack, _mp464bitOffset, _mp464bitTimes, _mp4SaveAsOptimize, _forceHvc1,
_logFormat, _saveAsLocation]) _logFormat, _saveAsLocation, _set4KHDVideoMetadata])
} }
@Stored(key: "NSApplicationCrashOnException", defaultValue: true) @Stored(key: "NSApplicationCrashOnException", defaultValue: true)
@@ -176,6 +176,9 @@ enum Prefs {
@Stored(key: "SBForceHvc1", defaultValue: true) @Stored(key: "SBForceHvc1", defaultValue: true)
static var forceHvc1: Bool static var forceHvc1: Bool
@Stored(key: "SBSet4KHDVideoMetadata", defaultValue: false)
static var set4KHDVideoMetadata: Bool
@Stored(key: "SBArtworkSelectorZoomLevel", defaultValue: 50) @Stored(key: "SBArtworkSelectorZoomLevel", defaultValue: 50)
static var artworkSelectorZoomLevel: Float static var artworkSelectorZoomLevel: Float