1 /* 2 * @(#)Keys.java - static, fixed keys 3 * 4 * Copyright (c) 2005-2009 by dvb.matt, All rights reserved. 5 * 6 * This file is part of ProjectX, a free Java based demux utility. 7 * By the authors, ProjectX is intended for educational purposes only, 8 * as a non-commercial test project. 9 * 10 * 11 * This program is free software; you can redistribute it and/or modify 12 * it under the terms of the GNU General Public License as published by 13 * the Free Software Foundation; either version 2 of the License, or 14 * (at your option) any later version. 15 * 16 * This program is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 * GNU General Public License for more details. 20 * 21 * You should have received a copy of the GNU General Public License 22 * along with this program; if not, write to the Free Software 23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 24 * 25 */ 26 package net.sourceforge.dvb.projectx.common; 27 28 import net.sourceforge.dvb.projectx.common.Resource; 29 30 31 public class Keys extends Object { 32 33 public final static String KEY_Tip = ".Tip"; 34 35 /** 36 * General 37 */ 38 public final static String[] KEY_Agreement = { "Application.Agreement", "0" }; //rbutton[1] 39 public final static String[] KEY_ActiveDirectory = { "Application.ActiveDirectory", "" }; 40 public final static String[] KEY_LookAndFeel = { "Application.LookAndFeel", "" }; 41 public final static String[] KEY_InputDirectoriesDepth = { "Application.InputDirectoriesDepth", "0" }; 42 public final static String KEY_InputDirectories = "Application.InputDirectories."; 43 public final static String KEY_OutputDirectories = "Application.OutputDirectories."; 44 public final static String[] KEY_OutputDirectory = { "Application.OutputDirectory", "" }; 45 public final static String[] KEY_Language = { "Application.Language", "en" }; 46 public final static String[] KEY_SaveSettingsOnExit = { "Application.SaveSettingsOnExit", "1" }; 47 48 public final static String[] KEY_FtpServer_Commands = { "FtpServer.Commands", "" }; 49 public final static String[] KEY_WindowPositionMain_X = { "WindowPosition.Main.X", "50" }; 50 public final static String[] KEY_WindowPositionMain_Y = { "WindowPosition.Main.Y", "50" }; 51 public final static String[] KEY_WindowPositionMain_Width = { "WindowPosition.Main.Width", "852" }; //866 52 public final static String[] KEY_WindowPositionMain_Height = { "WindowPosition.Main.Height", "632" }; //626 53 54 /** 55 * PostCommands 56 */ 57 public final static String[] KEY_PostCommands_Cmd1 = { "PostCommands.Cmd1", "" }; 58 public final static String[] KEY_PostCommands_Cmd2 = { "PostCommands.Cmd2", "" }; 59 public final static String[] KEY_PostCommands_Cmd3 = { "PostCommands.Cmd3", "" }; 60 public final static String[] KEY_PostCommands_Cmd4 = { "PostCommands.Cmd4", "" }; 61 public final static String[] KEY_PostCommands_Cmd5 = { "PostCommands.Cmd5", "" }; 62 public final static String[] KEY_PostCommands_Cmd6 = { "PostCommands.Cmd6", "" }; 63 public final static String[] KEY_PostCommands_Cmd7 = { "PostCommands.Cmd7", "" }; 64 public final static String[] KEY_PostCommands_Cmd8 = { "PostCommands.Cmd8", "" }; 65 66 /** 67 * MessagePanel 68 */ 69 public final static String[] KEY_MessagePanel_Msg1 = { "MessagePanel.logSequenceError", "1" }; //cbox[40] sequence error 70 public final static String[] KEY_MessagePanel_Msg2 = { "MessagePanel.logMissingStartcode", "1" }; //cbox[3] missing startcode 71 public final static String[] KEY_MessagePanel_Msg3 = { "MessagePanel.logESError", "1" }; //cbox[74] pes in es 72 public final static String[] KEY_MessagePanel_Msg4 = { "MessagePanel.leadingTimeIndex", "0" }; //cbox[72] timeindex 73 public final static String[] KEY_MessagePanel_Msg5 = { "MessagePanel.logWSS", "1" }; //WSS 74 public final static String[] KEY_MessagePanel_Msg6 = { "MessagePanel.logVPS", "1" }; //VPS 75 public final static String[] KEY_MessagePanel_Msg7 = { "MessagePanel.logRDS", "1" }; //RDS 76 public final static String[] KEY_MessagePanel_Msg8 = { "MessagePanel.logErrorMaximum", "1" }; 77 78 /** 79 * MainPanel 80 */ 81 public static Object[] ITEMS_ConversionMode = null; 82 83 public final static String[] KEY_ConversionMode = { "MainPanel.ConversionMode", "0" }; //combox[19], index 84 public final static String[] KEY_ConversionModePriority = { "MainPanel.ConversionModePriority", "0" }; 85 public final static String[] KEY_useAllCollections = { "MainPanel.useAllCollections", "0" }; //cbox[18] 86 public final static String[] KEY_enablePostProcessing = { "MainPanel.enablePostProcessing", "0" }; //cbox[25] 87 public final static String[] KEY_minimizeMainFrame = { "MessagePanel.minimizeMainFrame", "0" }; 88 public final static String[] KEY_hideProcessWindow = { "MessagePanel.hideProcessWindow", "0" }; 89 public final static String[] KEY_showSubpictureWindow = { "MessagePanel.showSubpictureWindow", "0" }; 90 public final static String[] KEY_simpleMPG = { "MainPanel.simpleMPG", "0" }; //cbox[14] 91 public final static String[] KEY_enhancedPES = { "MainPanel.enhancedPES", "0" }; //cbox[14] 92 public final static String[] KEY_useAutoPidFilter = { "MainPanel.useAutoPidFilter", "0" }; 93 public final static String[] KEY_PostProcessCompletion = { "MainPanel.PostProcessCompletion", "0" }; 94 public final static String[] KEY_useGOPEditor = { "MainPanel.useGOPEditor", "0" }; 95 96 /** 97 * LogWindowPanel 98 */ 99 public final static String[] KEY_showTtxHeader = { "LogwindowPanel.showTtxHeader", "0" }; //cbox[19] 100 101 102 /** 103 * ExportPanel 104 */ 105 public final static String[] KEY_SplitSize = { "ExportPanel.SplitSize", "0" }; //cbox[5] 106 public final static String[] KEY_Streamtype_MpgVideo = { "ExportPanel.Streamtype.MpgVideo", "1" }; //cbox[55] 107 public final static String[] KEY_Streamtype_MpgAudio = { "ExportPanel.Streamtype.MpgAudio", "1" }; //cbox[56] 108 public final static String[] KEY_Streamtype_Ac3Audio = { "ExportPanel.Streamtype.Ac3Audio", "1" }; //cbox[57] 109 public final static String[] KEY_Streamtype_PcmAudio = { "ExportPanel.Streamtype.PcmAudio", "1" }; //cbox[58] 110 public final static String[] KEY_Streamtype_Teletext = { "ExportPanel.Streamtype.Teletext", "1" }; //cbox[59] 111 public final static String[] KEY_Streamtype_Subpicture = { "ExportPanel.Streamtype.Subpicture", "1" }; //cbox[60] 112 public final static String[] KEY_Streamtype_Vbi = { "ExportPanel.Streamtype.Vbi", "1" }; //cbox[81] 113 public final static String[] KEY_WriteOptions_writeVideo = { "ExportPanel.WriteOptions.writeVideo", "1" }; //cbox[6] 114 public final static String[] KEY_WriteOptions_writeAudio = { "ExportPanel.WriteOptions.writeAudio", "1" }; //cbox[7] 115 public final static String[] KEY_additionalOffset = { "ExportPanel.additionalOffset", "0" }; //cbox[8] 116 public final static String[] KEY_ExportPanel_Export_Overlap = { "ExportPanel.Overlap", "0" }; 117 public final static String[] KEY_ExportPanel_createSubDirNumber = { "ExportPanel.createSubDirNumber", "0" }; //cbox[2] 118 public final static String[] KEY_ExportPanel_createSubDirName = { "ExportPanel.createSubDirName", "0" }; //cbox[71] 119 public final static String[] KEY_ExportPanel_createSubDirVdr = { "ExportPanel.createSubDirVdr", "0" }; 120 public final static String[] KEY_ExportPanel_SplitSize_Value = { "ExportPanel.SplitSize.Value", "650" }; //combox[2] 121 public final static String[] KEY_ExportPanel_Overlap_Value = { "ExportPanel.Overlap.Value", "0" }; //combox[25] 122 public final static String[] KEY_ExportPanel_Infoscan_Value = { "ExportPanel.Infoscan.Value", "5" }; //combox[21] 123 public final static String[] KEY_ExportPanel_additionalOffset_Value = { "ExportPanel.additionalOffset.Value", "0" }; //combobox[8], item 124 125 public static Object[] ITEMS_Export_SplitSize = { 126 "650", "700", "735", "792", "2000", "4700" 127 }; 128 129 public static Object[] ITEMS_Export_Overlap = { 130 "1 MB", "2 MB", "3 MB", "4 MB", "5 MB", "6 MB", "7 MB", "8 MB", "9 MB", "10 MB" 131 }; 132 133 public static Object[] ITEMS_Infoscan = { "5", "10", "25" }; 134 135 136 /** 137 * OptionPanel 138 */ 139 public final static String[] KEY_DebugLog = { "OptionPanel.DebugLog", "0" }; //cbox[11] - group1 140 public final static String[] KEY_NormalLog = { "OptionPanel.NormalLog", "1" }; //cbox[21] -group1 141 public final static String[] KEY_dumpDroppedGop = { "OptionPanel.dumpDroppedGop", "0" }; //cbox[43] 142 public final static String[] KEY_closeOnEnd = { "OptionPanel.closeOnEnd", "0" }; //cbox[78] 143 public final static String[] KEY_StartPath_Value = { "OptionPanel.StartPath.Value", "" }; 144 public final static String[] KEY_MainBuffer = { "OptionPanel.MainBuffer", "4096000" }; //combobox[10] 145 public final static String[] KEY_ScanBuffer = { "OptionPanel.ScanBuffer", "1024000" }; //combobox[37] 146 public final static String[] KEY_PreviewBuffer = { "OptionPanel.PreviewBuffer", "1024000" }; //combobox[38] 147 public final static String[] KEY_holdStreamInfoOnOSD = { "OptionPanel.holdStreamInfoOnOSD", "0" }; 148 public final static String[] KEY_OptionPanelIndex = { "OptionPanel.PanelIndex", "0" }; 149 public final static String[] KEY_additionalInputBuffer = { "OptionPanel.additionalInputBuffer", "0" }; //test 150 public final static String[] KEY_enableHDDemux = { "OptionPanel.enableHDDemux", "0" }; 151 152 /** 153 * SpecialPanel 154 */ 155 public final static String[] KEY_PVA_FileOverlap = { "SpecialPanel.PVA.FileOverlap", "0" }; //cbox[48] 156 public final static String[] KEY_PVA_Audio = { "SpecialPanel.PVA.Audio", "1" }; //cbox[28], true 157 public final static String[] KEY_VOB_resetPts = { "SpecialPanel.VOB.resetPts", "1" }; //cbox[76], true 158 public final static String[] KEY_TS_ignoreScrambled = { "SpecialPanel.TS.ignoreScrambled", "1" }; //cbox[38], true 159 public final static String[] KEY_TS_blindSearch = { "SpecialPanel.TS.blindSearch", "1" }; //cbox[61], true 160 public final static String[] KEY_TS_joinPackets = { "SpecialPanel.TS.joinPackets", "1" }; //cbox[53], true 161 public final static String[] KEY_TS_HumaxAdaption = { "SpecialPanel.TS.HumaxAdaption", "0" }; //cbox[70] 162 public final static String[] KEY_TS_FinepassAdaption = { "SpecialPanel.TS.FinepassAdaption", "0" }; 163 public final static String[] KEY_TS_JepssenAdaption = { "SpecialPanel.TS.JepssenAdaption", "0" }; 164 public final static String[] KEY_TS_KoscomAdaption = { "SpecialPanel.TS.KoscomAdaption", "0" }; 165 public final static String[] KEY_TS_ArionAdaption = { "SpecialPanel.TS.ArionAdaption", "0" }; 166 public final static String[] KEY_TS_generatePmt = { "SpecialPanel.TS.generatePmt", "1" }; //cbox[41], true 167 public final static String[] KEY_TS_generateTtx = { "SpecialPanel.TS.generateTtx", "0" }; //cbox[42] --ts !! 168 public final static String[] KEY_TS_setMainAudioAc3 = { "SpecialPanel.TS.setMainAudioAc3", "0" }; //cbox[37] --ts !! 169 public final static String[] KEY_Input_getEnclosedPackets = { "SpecialPanel.Input.getEnclosedPackets", "1" }; //cbox[33], true 170 public final static String[] KEY_Input_concatenateForeignRecords = { "SpecialPanel.Input.concatenateForeignRecords", "1" }; //cbox[49], true 171 public final static String[] KEY_Input_useReadOverhead = { "SpecialPanel.Input.useReadOverhead", "1" }; 172 public final static String[] KEY_Audio_ignoreErrors = { "SpecialPanel.Audio.ignoreErrors", "0" }; //cbox[24] 173 public final static String[] KEY_Audio_limitPts = { "SpecialPanel.Audio.limitPts", "0" }; //cbox[15] 174 public final static String[] KEY_Audio_allowFormatChanges = { "SpecialPanel.Audio.allowFormatChanges", "0" }; 175 public final static String[] KEY_Video_ignoreErrors = { "SpecialPanel.Video.ignoreErrors", "0" }; //cbox[39] 176 public final static String[] KEY_Video_trimPts = { "SpecialPanel.Video.trimPts", "0" }; //cbox[73] 177 public final static String[] KEY_Video_cutPts = { "SpecialPanel.Video.cutPts", "0" }; 178 public final static String[] KEY_Conversion_startWithVideo = { "SpecialPanel.Conversion.startWithVideo", "1" }; //cbox[23] -streamconv !! 179 public final static String[] KEY_Conversion_addPcrToStream = { "SpecialPanel.Conversion.addPcrToStream", "1" }; //cbox[36] -streamconv !! 180 public final static String[] KEY_Conversion_PcrCounter = { "SpecialPanel.Conversion.PcrCounter", "0" }; //cbox[46] -streamconv !! 181 182 public final static String[] KEY_TsHeaderMode = { "SpecialPanel.TS.HeaderMode", "0" }; //combox[20] 183 public final static String[] KEY_PtsShift_Value = { "SpecialPanel.PtsShift.Value", "0" }; //combox[27] 184 public final static String[] KEY_PcrDelta_Value = { "SpecialPanel.PcrDelta.Value", "65000" }; //combox[23] 185 186 public static Object[] ITEMS_TsHeaderMode = null; 187 188 public static Object[] ITEMS_PtsShift = { 189 "auto", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13" 190 }; 191 192 public static Object[] ITEMS_PcrDelta = { 193 "25000", "35000", "45000", "55000", "65000", "80000", "100000", "125000", "150000" 194 }; 195 196 197 /** 198 * ExternPanel 199 */ 200 public final static String[] KEY_ExternPanel_createVdrIndex = { "ExternPanel.createVdrIndex", "0" }; //cbox[54] 201 public final static String[] KEY_ExternPanel_createCellTimes = { "ExternPanel.createCellTimes", "1" }; //cbox[26] !! 202 public final static String[] KEY_ExternPanel_exportPts = { "ExternPanel.exportPts", "0" }; //cbox[64] !! 203 public final static String[] KEY_ExternPanel_save1stFrameOfGop = { "ExternPanel.save1stFrameOfGop", "0" }; //cbox[65] 204 public final static String[] KEY_ExternPanel_createChapters = { "ExternPanel.createChapters", "0" }; //cbox[63] 205 public final static String[] KEY_ExternPanel_renameAudio = { "ExternPanel.renameAudio", "0" }; //cbox[16] 206 public final static String[] KEY_ExternPanel_renameVideo = { "ExternPanel.renameVideo", "0" }; //cbox[32] 207 public final static String[] KEY_ExternPanel_appendExtension = { "ExternPanel.appendExtension", "0" }; //cbox[66] !! 208 public final static String[] KEY_ExternPanel_createM2sIndex = { "ExternPanel.createM2sIndex", "0" }; //cbox[34] 209 public final static String[] KEY_ExternPanel_createD2vIndex = { "ExternPanel.createD2vIndex", "0" }; //cbox[29] 210 public final static String[] KEY_ExternPanel_createDgiIndex = { "ExternPanel.createDgiIndex", "0" }; //cbox[82] !! 211 public final static String[] KEY_ExternPanel_splitProjectFile = { "ExternPanel.splitProjectFile", "0" }; //cbox[30] !! 212 public final static String[] KEY_ExternPanel_ProjectFileSplitSize = { "ExternPanel.ProjectFileSplitSize", "2048" }; 213 public final static String[] KEY_ExternPanel_createInfoIndex = { "ExternPanel.createInfoIndex", "0" }; 214 public final static String[] KEY_ExternPanel_appendPidToFileName = { "ExternPanel.appendPidToFileName", "0" }; 215 public final static String[] KEY_ExternPanel_appendLangToFileName = { "ExternPanel.appendLangToFileName", "0" }; 216 217 public final static String[] KEY_killFtpClient = { "FtpPanel.killFtpClient", "0" }; //cbox[80] !! 218 public final static String[] KEY_useFtpServerResume = { "FtpPanel.useFtpServerResume", "1" }; 219 public final static String[] KEY_autostartWebServer = { "NetPanel.autostartWebServer", "0" }; 220 public final static String[] KEY_WebServerPort = { "NetPanel.WebServerPort", "-1" }; 221 public final static String[] KEY_WebServerAccess = { "NetPanel.WebServerAccess", "" }; 222 223 224 /** 225 * VideoPanel 226 */ 227 public final static String[] KEY_VideoPanel_addEndcode = { "VideoPanel.addEndcode", "1" }; //cbox[13] 228 public final static String[] KEY_VideoPanel_insertEndcode = { "VideoPanel.insertEndcode", "0" }; //cbox[75] 229 public final static String[] KEY_VideoPanel_addSequenceHeader = { "VideoPanel.addSequenceHeader", "0" }; //cbox[27] 230 public final static String[] KEY_VideoPanel_clearCDF = { "VideoPanel.clearCdf", "1" }; //cbox[35] 231 public final static String[] KEY_VideoPanel_patchToProgressive = { "VideoPanel.patchToProgressive", "0" }; //cbox[31] 232 public final static String[] KEY_VideoPanel_patchToInterlaced = { "VideoPanel.patchToInterlaced", "0" }; //cbox[44] 233 public final static String[] KEY_VideoPanel_toggleFieldorder = { "VideoPanel.toggleFieldorder", "0" }; //cbox[45] 234 public final static String[] KEY_VideoPanel_addSde = { "VideoPanel.addSde", "1" }; //cbox[77] 235 public final static String[] KEY_VideoPanel_SdeValue = { "VideoPanel.SdeValue", "" }; 236 237 public final static String[] KEY_ChangeVbvBuffer = { "VideoPanel.ChangeVbvBuffer", "0" }; //combox[4] 238 public final static String[] KEY_ChangeVbvDelay = { "VideoPanel.ChangeVbvDelay", "1" }; //combox[5] 239 public final static String[] KEY_ChangeAspectRatio = { "VideoPanel.ChangeAspectRatio", "0" }; //combox[6] 240 public final static String[] KEY_ChangeBitrateInAllSequences = { "VideoPanel.ChangeBitrateInAllSequences", "1" }; //combox[3] 241 public final static String[] KEY_ChangeBitrateInFirstSequence = { "VideoPanel.ChangeBitrateInFirstSequence", "2" }; //combox[15] 242 243 public final static String[] KEY_ConditionalHorizontalPatch = { "VideoPanel.ConditionalHorizontalPatch", "0" }; //combox[35] 244 public final static String[] KEY_ConditionalHorizontalResolution = { "VideoPanel.ConditionalHorizontalResolution", "352" }; //combox[22] 245 246 public static Object[] ITEMS_ConditionalHorizontalPatch = null; 247 public static Object[] ITEMS_ChangeVbvBuffer = null; 248 public static Object[] ITEMS_ChangeVbvDelay = null; 249 public static Object[] ITEMS_ChangeAspectRatio = null; 250 public static Object[] ITEMS_BitrateInAllSequences = null; 251 public static Object[] ITEMS_BitrateInFirstSequence = null; 252 253 254 public final static String[] KEY_SubtitlePanel_decodeMegaradio = { "SubtitlePanel.decodeMegaradio", "0" }; //cbox[17] 255 public final static String[] KEY_SubtitlePanel_decodeHiddenRows = { "SubtitlePanel.decodeHiddenRows", "0" }; //cbox[22] 256 public final static String[] KEY_SubtitlePanel_rebuildPTS = { "SubtitlePanel.rebuildPTS", "0" }; //cbox[62] !! 257 public final static String[] KEY_SubtitlePanel_rebuildPictPTS = { "SubtitlePanel.rebuildPictPTS", "0" }; 258 public final static String[] KEY_SubtitlePanel_keepOriginalTimecode = { "SubtitlePanel.keepOriginalTimecode", "0" }; //cbox[67] 259 public final static String[] KEY_SubtitlePanel_exportTextAsUnicode = { "SubtitlePanel.exportTextAsUnicode", "0" }; 260 public final static String[] KEY_SubtitlePanel_exportTextAsUTF8 = { "SubtitlePanel.exportTextAsUTF8", "0" }; 261 public final static String[] KEY_SubtitlePanel_useTextOutline = { "SubtitlePanel.useTextOutline", "1" }; //cbox[79] !! 262 public final static String[] KEY_SubtitlePanel_Format_SUP_Values = { "SubtitlePanel.Format.SUP.Values", "26;10;32;80;560;720;576;-1;4;3;1" }; 263 public final static String[] KEY_SubtitlePanel_PageId_Value = { "SubtitlePanel.PageId.Value", "" }; 264 public final static String[] KEY_SubtitlePanel_MaxParityErrors = { "SubtitlePanel.maxParityErrors", "2" }; 265 266 public final static String[] KEY_SubtitlePanel_TtxPage1 = { "SubtitlePanel.TtxPage1", "null" }; //combobox[28] 267 public final static String[] KEY_SubtitlePanel_TtxPage2 = { "SubtitlePanel.TtxPage2", "null" }; //combobox[29] 268 public final static String[] KEY_SubtitlePanel_TtxPage3 = { "SubtitlePanel.TtxPage3", "null" }; //combobox[30] 269 public final static String[] KEY_SubtitlePanel_TtxPage4 = { "SubtitlePanel.TtxPage4", "null" }; //combobox[31] 270 public final static String[] KEY_SubtitlePanel_TtxPage5 = { "SubtitlePanel.TtxPage5", "null" }; //combobox[32] 271 public final static String[] KEY_SubtitlePanel_TtxPage6 = { "SubtitlePanel.TtxPage6", "null" }; //combobox[33] 272 public final static String[] KEY_SubtitlePanel_TtxPage7 = { "SubtitlePanel.TtxPage7", "null" }; //combobox[33] 273 public final static String[] KEY_SubtitlePanel_TtxPage8 = { "SubtitlePanel.TtxPage8", "null" }; //combobox[33] 274 public final static String[] KEY_TtxLanguagePair = { "SubtitlePanel.TtxLanguagePair", "0" }; //combobox[18], index 275 public final static String[] KEY_SubtitleFont = { "SubtitlePanel.SubtitleFont", "Tahoma" }; //combobox[26], item 276 public final static String[] KEY_SubtitleExportFormat = { "SubtitlePanel.SubtitleExportFormat", "SUB" }; 277 public final static String[] KEY_SubtitleExportFormat_2 = { "SubtitlePanel.SubtitleExportFormat_2", "null" }; 278 public final static String[] KEY_SubpictureColorModel = { "SubtitlePanel.SubpictureColorModel", "(0) 4 colors" }; 279 public final static String[] KEY_SubtitleChangeDisplay = { "SubtitlePanel.ChangeDisplay", "0" }; 280 public final static String[] KEY_SubtitleMovePosition_Value = { "SubtitlePanel.MovePosition.Value", "" }; 281 public final static String[] KEY_SubtitlePanel_specialTermination = { "SubtitlePanel.specialTermination", "1" }; 282 public final static String[] KEY_SubtitlePanel_keepColourTable = { "SubtitlePanel.keepColourTable", "0" }; 283 public final static String[] KEY_SubtitlePanel_exportAsVobSub = { "SubtitlePanel.exportAsVobSub", "0" }; 284 public final static String[] KEY_SubtitlePanel_TtxExportBoxedOnly = { "SubtitlePanel.TtxExportBoxedOnly", "0" }; 285 public final static String[] KEY_SubtitlePanel_useTextAlignment = { "SubtitlePanel.useTextAlignment", "0" }; 286 287 public final static String[] KEY_SubtitlePanel_enableHDSub = { "SubtitlePanel.enableHDSub", "0" }; 288 289 public static Object[] ITEMS_TtxLanguagePair = { 290 "auto", "basic latin", "polish", "turkish", "cro,slo,rum", "est,lit,rus", 291 "res.", "greek,latin", "res.", "arabic,latin", "res.", "hebrew,arabic" 292 }; 293 294 public static Object[] ITEMS_SubtitleExportFormat = null; 295 public static Object[] ITEMS_SubtitleChangeDisplay = null; 296 297 298 public final static String[] KEY_AudioPanel_decodeMpgAudio = { "AudioPanel.decodeMpgAudio", "0" }; //cbox[50] 299 public final static String[] KEY_AudioPanel_validateCRC = { "AudioPanel.validateCRC", "1" }; //cbox[68] 300 public final static String[] KEY_AudioPanel_clearCRC = { "AudioPanel.clearCRC", "1" }; //cbox[1] 301 public final static String[] KEY_AudioPanel_fillGapsWithLastFrame = { "AudioPanel.fillGapsWithLastFrame", "0" }; //cbox[0] 302 public final static String[] KEY_AudioPanel_addFrames = { "AudioPanel.addFrames", "1" }; //cbox[20] 303 public final static String[] KEY_AudioPanel_AC3_patch1stHeader = { "AudioPanel.patch1stAc3Header", "0" }; //cbox[9] 304 public final static String[] KEY_AudioPanel_AC3_replaceWithSilence = { "AudioPanel.replaceAc3withSilence", "0" }; //cbox[10] 305 public final static String[] KEY_AudioPanel_AC3_BitrateAdaption = { "AudioPanel.AC3BitrateAdaption", "0" }; 306 public final static String[] KEY_AudioPanel_allowSpaces = { "AudioPanel.allowSpaces", "0" }; //cbox[69] 307 public final static String[] KEY_AudioPanel_addRiffToAc3 = { "AudioPanel.addRiffToAc3", "0" }; //cbox[12] 308 public final static String[] KEY_AudioPanel_addRiffToMpgAudio = { "AudioPanel.addRiffToMpgAudioL12", "0" }; //cbox[4] + rbutton[14] riff f�r layer1+2 309 public final static String[] KEY_AudioPanel_pitchAudio = { "AudioPanel.pitchAudio", "0" }; //cbox[51] 310 public final static String[] KEY_AudioPanel_Normalize = { "AudioPanel.decodeMpgAudio.Normalize", "0" }; //rbutton[2] + exefield[8] normalize 311 public final static String[] KEY_AudioPanel_Downmix = { "AudioPanel.decodeMpgAudio.Downmix", "0" }; //rbutton[3] 312 public final static String[] KEY_AudioPanel_changeByteorder = { "AudioPanel.decodeMpgAudio.changeByteorder", "0" }; //rbutton[4] 313 public final static String[] KEY_AudioPanel_addRiffHeader = { "AudioPanel.decodeMpgAudio.addRiffHeader", "1" }; //rbutton[5] 314 public final static String[] KEY_AudioPanel_addAiffHeader = { "AudioPanel.decodeMpgAudio.addAiffHeader", "0" }; //rbutton[9] 315 public final static String[] KEY_AudioPanel_addRiffToMpgAudioL3 = { "AudioPanel.addRiffToMpgAudioL3", "0" }; //cbox[4] + rbutton[15] riff f�r layer3 316 public final static String[] KEY_AudioPanel_PitchValue = { "AudioPanel.PitchValue", "0" }; 317 public final static String[] KEY_AudioPanel_NormalizeValue = { "AudioPanel.NormalizeValue", "98" }; 318 public final static String[] KEY_AudioPanel_createDDWave = { "AudioPanel.createDDWave", "0" }; 319 public final static String[] KEY_AudioPanel_fadeInOut = { "AudioPanel.fadeInOut", "0" }; 320 public final static String[] KEY_AudioPanel_fadeInOutMillis = { "AudioPanel.fadeInOutMillis", "2000" }; 321 322 public final static String[] KEY_AudioPanel_losslessMpaConversionMode = { "AudioPanel.losslessMpaConversionMode", "0" }; 323 324 public static Object[] ITEMS_losslessMpaConversionMode = null; 325 326 public final static String[] KEY_AudioPanel_resampleAudioMode = { "AudioPanel.decodeMpgAudio.resampleAudioMode", "0" }; 327 328 public static Object[] ITEMS_resampleAudioMode = null; 329 330 public final static String[] KEY_Preview_disable = { "CollectionPanel.Preview.disable", "0" }; 331 public final static String[] KEY_Preview_fastDecode = { "CollectionPanel.Preview.fastDecode", "0" }; //rbutton[10] 332 public final static String[] KEY_Preview_LiveUpdate = { "CollectionPanel.Preview.LiveUpdate", "1" }; //rbutton[16] 333 public final static String[] KEY_Preview_fullScaled = { "CollectionPanel.Preview.fullScaled", "0" }; 334 public final static String[] KEY_Preview_AllGops = { "CollectionPanel.Preview.AllGops", "0" }; //rbutton[6] 335 public final static String[] KEY_Preview_SliderWidth = { "CollectionPanel.Preview.SliderWidth", "1" }; 336 public final static String[] KEY_Preview_YGain = { "CollectionPanel.Preview.YGain", "0" }; 337 public final static String[] KEY_OptionHorizontalResolution = { "CollectionPanel.OptionHorizontalResolution", "0" }; //cbox[52] 338 public final static String[] KEY_OptionDAR = { "CollectionPanel.OptionDAR", "0" }; //cbox[47] 339 340 public final static String[] KEY_ExportHorizontalResolution = { "CollectionPanel.ExportHorizontalResolution", "720" }; //combox[34] 341 public final static String[] KEY_ExportDAR = { "CollectionPanel.ExportDAR", "2" }; //combox[24] 342 public final static String[] KEY_CutMode = { "CollectionPanel.CutMode", "0" }; //combox[17] 343 344 public static Object[] ITEMS_ExportHorizontalResolution = { 345 "304", "320", "352", "384", "480", "528", "544", "576", "640", "704", "720" 346 }; 347 348 public static Object[] ITEMS_ExportDAR = { 349 "1.000 (1:1)", "0.6735 (4:3)", "0.7031 (16:9)", "0.7615 (2.21:1)", "0.8055", 350 "0.8437", "0.9375", "0.9815", "1.0255", "1.0695", "1.1250", "1.1575", "1.2015" 351 }; 352 353 public static Object[] ITEMS_CutMode = null; 354 355 public static Object[] ITEMS_FileTypes = null; 356 357 358 /** 359 * Constructor 360 */ Keys()361 public Keys() 362 { 363 Object[] ITEMS_ConversionMode = { 364 Resource.getString("MainPanel.ConversionMode.demux"), 365 Resource.getString("MainPanel.ConversionMode.toVDR"), 366 Resource.getString("MainPanel.ConversionMode.toM2P"), 367 Resource.getString("MainPanel.ConversionMode.toPVA"), 368 Resource.getString("MainPanel.ConversionMode.toTS"), 369 Resource.getString("MainPanel.ConversionMode.PidFilter"), 370 Resource.getString("MainPanel.ConversionMode.binaryCopy") 371 }; 372 this.ITEMS_ConversionMode = ITEMS_ConversionMode; 373 374 Object[] ITEMS_TsHeaderMode = { 375 Resource.getString("SpecialPanel.TS.HeaderMode0"), 376 Resource.getString("SpecialPanel.TS.HeaderMode1"), 377 Resource.getString("SpecialPanel.TS.HeaderMode2"), 378 Resource.getString("SpecialPanel.TS.HeaderMode3"), 379 Resource.getString("SpecialPanel.TS.HeaderMode4"), 380 Resource.getString("SpecialPanel.TS.HeaderMode5") 381 }; 382 this.ITEMS_TsHeaderMode = ITEMS_TsHeaderMode; 383 384 Object[] ITEMS_ConditionalHorizontalPatch = { 385 Resource.getString("VideoPanel.patchResolutionValue.0"), 386 Resource.getString("VideoPanel.patchResolutionValue.1"), 387 Resource.getString("VideoPanel.patchResolutionValue.2"), 388 Resource.getString("VideoPanel.patchResolutionValue.3") 389 }; 390 this.ITEMS_ConditionalHorizontalPatch = ITEMS_ConditionalHorizontalPatch; 391 392 Object[] ITEMS_ChangeVbvBuffer = { 393 Resource.getString("VideoPanel.Unchanged"), 394 Resource.getString("VideoPanel.ChangeVbvBuffer.Mode1") 395 }; 396 this.ITEMS_ChangeVbvBuffer = ITEMS_ChangeVbvBuffer; 397 398 Object[] ITEMS_ChangeVbvDelay = { 399 Resource.getString("VideoPanel.Unchanged"), 400 Resource.getString("VideoPanel.ChangeVbvDelay.Mode1") 401 }; 402 this.ITEMS_ChangeVbvDelay = ITEMS_ChangeVbvDelay; 403 404 Object[] ITEMS_ChangeAspectRatio = { 405 Resource.getString("VideoPanel.Unchanged"), 406 "1.000 (1:1)", "0.6735 (4:3)", "0.7031 (16:9)", "0.7615 (2.21:1)", "0.8055", 407 "0.8437", "0.9375", "0.9815", "1.0255", "1.0695", "1.1250", "1.1575", "1.2015" 408 }; 409 this.ITEMS_ChangeAspectRatio = ITEMS_ChangeAspectRatio; 410 411 Object[] ITEMS_BitrateInAllSequences = { 412 Resource.getString("VideoPanel.patchBitrateValue.0"), 413 Resource.getString("VideoPanel.patchBitrateValue.1"), 414 Resource.getString("VideoPanel.patchBitrateValue.2"), 415 Resource.getString("VideoPanel.patchBitrateValue.3"), 416 Resource.getString("VideoPanel.patchBitrateValue.4"), 417 Resource.getString("VideoPanel.patchBitrateValue.5"), 418 Resource.getString("VideoPanel.patchBitrateValue.6"), 419 Resource.getString("VideoPanel.patchBitrateValue.7"), 420 Resource.getString("VideoPanel.patchBitrateValue.8") 421 }; 422 this.ITEMS_BitrateInAllSequences = ITEMS_BitrateInAllSequences; 423 424 Object[] ITEMS_BitrateInFirstSequence = { 425 Resource.getString("VideoPanel.patch1stBitrateValue.0"), 426 Resource.getString("VideoPanel.patch1stBitrateValue.1"), 427 Resource.getString("VideoPanel.patch1stBitrateValue.2"), 428 Resource.getString("VideoPanel.patch1stBitrateValue.3"), 429 Resource.getString("VideoPanel.patch1stBitrateValue.4") 430 }; 431 this.ITEMS_BitrateInFirstSequence = ITEMS_BitrateInFirstSequence; 432 433 Object[] ITEMS_losslessMpaConversionMode = { 434 Resource.getString("AudioPanel.losslessMpaConversionMode0"), 435 Resource.getString("AudioPanel.losslessMpaConversionMode1"), 436 Resource.getString("AudioPanel.losslessMpaConversionMode2"), 437 Resource.getString("AudioPanel.losslessMpaConversionMode3"), 438 Resource.getString("AudioPanel.losslessMpaConversionMode4"), 439 Resource.getString("AudioPanel.losslessMpaConversionMode5"), 440 Resource.getString("AudioPanel.losslessMpaConversionMode6") 441 }; 442 this.ITEMS_losslessMpaConversionMode = ITEMS_losslessMpaConversionMode; 443 444 Object[] ITEMS_resampleAudioMode = { 445 Resource.getString("AudioPanel.decodeMpgAudio.resampleAudioMode0"), 446 Resource.getString("AudioPanel.decodeMpgAudio.resampleAudioMode1"), 447 Resource.getString("AudioPanel.decodeMpgAudio.resampleAudioMode2") 448 }; 449 this.ITEMS_resampleAudioMode = ITEMS_resampleAudioMode; 450 451 Object[] ITEMS_CutMode = { 452 Resource.getString("CollectionPanel.CutMode.Bytepos"), 453 Resource.getString("CollectionPanel.CutMode.Gop"), 454 Resource.getString("CollectionPanel.CutMode.Frame"), 455 Resource.getString("CollectionPanel.CutMode.Pts"), 456 Resource.getString("CollectionPanel.CutMode.Timecode") 457 }; 458 this.ITEMS_CutMode = ITEMS_CutMode; 459 460 Object[] ITEMS_SubtitleExportFormat = { 461 Resource.getString("SubtitlePanel.Format.Free"), "SC", "SUB", "SRT", "STL", "SSA", "SON", "SUP", "null" 462 }; 463 this.ITEMS_SubtitleExportFormat = ITEMS_SubtitleExportFormat; 464 465 Object[] ITEMS_SubtitleChangeDisplay = { 466 "no change", "all forced", "all not forced" 467 }; 468 this.ITEMS_SubtitleChangeDisplay = ITEMS_SubtitleChangeDisplay; 469 470 Object[] ITEMS_FileTypes = { 471 Resource.getString("scan.unsupported"), //0 472 "PES (incl. MPEG Video)", //1 473 "MPEG-1 PS/SS (PES Container)", //2 474 "MPEG-2 PS/SS (PES Container)", //3 475 "PVA (TT� PES Container)", //4 476 "TS (generic PES Container)", //5 477 "PES (MPEG Audio first)", //6 478 "PES (private stream 1 first)", //7 479 "ES (MPEG Video)", //8 480 "ES (MPEG Audio)", //9 481 "ES (AC-3 Audio)", //10 482 "ES (AC-3 Audio) (psb. SMPTE)", //11 483 "ES (DTS Audio)", //12 484 "ES (DTS Audio) (psb. SMPTE)", //13 485 "ES (RIFF Audio)", //14 486 "ES (compressed RIFF Audio)", //15 487 "ES (Subpicture 2-bit RLE)", //16 488 "", "", "", "", "", "", "", "", "", "", "", "", "", "", //17-30 489 "PjX PTS File" //31 490 }; 491 this.ITEMS_FileTypes = ITEMS_FileTypes; 492 } 493 }