Skip to content

Commit af839b3

Browse files
committed
Added aliases for prores, pcm_bluray, dnxhd, prettier aliases for pcm
1 parent 9e816c9 commit af839b3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ff-utils-winforms/Media/Aliases.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,15 @@ public static string GetNicerCodecName (string codecName)
9090
if (lower.StartsWith("dvd_subtitle")) return "VobSub";
9191
if (lower == "truehd") return "TrueHD";
9292
if (lower == "opus") return "Opus";
93-
if (lower.StartsWith("pcm")) return codecName.ToUpper();
93+
if (lower == "pcm_bluray") return "Blu-ray PCM";
94+
if (lower.StartsWith("pcm")) return codecName.Replace("_", " ").ToUpper();
9495
if (lower == "vc1") return "VC-1";
9596
if (lower == "mjpeg") return "MJPEG";
9697
if (lower == "mpeg4") return "MPEG-4";
9798
if (lower == "mpeg2video") return "MPEG-2";
9899
if (lower == "msmpeg4v3") return "MS MPEG-4 V3";
100+
if (lower == "prores") return "ProRes";
101+
if (lower == "dnxhd") return "DNxHD";
99102
if (lower == "timed_id3") return "Timed ID3";
100103
if (lower == "text") return "Text";
101104
if (lower == "rawvideo") return "Raw Video";

0 commit comments

Comments
 (0)