19.11.2017, 06:24
(19.11.2017, 05:54)Selur Wrote: About adding both 'Inform' and 'Encoding settings':Sure, it would have it's uses, however it wouldn't be quite as useful by itself as with a blacklist for baseline settings.
To allow mixing of 'Inform' and 'Encoding settings' multiple instances of both parameters would be accepted and their order would determine the order in which they are added.
Options like:
could result in a name addition like:--Separator="#" --Merger="_" --Inform="Video#Width %Width%%" --EncodingSettings="CRF %crf=%" -Inform="Video;Height %Height%%"
Width 660_CRF 18.0_Height 480
=> Should I add this? Any thoughts about it?
I've been trying to identify and categorize potential problems and solutions relating to special characters for couple of hours now. Looks like MediaTab output differs in some ways from what MediaInfoRenamer produces, so the list below might not be completely accurate, but here goes:
I'd use a RegEx based output filter for replacing any unusable characters, the main ones i keep seeing used in MediaInfo output being: '/' & ':'
- RegEx Replace: all instances of "kb/s" with "Kbps".
- As exceptions to oncoming stages: RegEx Replace ':' with '÷' for 'Display aspect ratio' & '/' with '÷' for 'frame rate'.
- RegEx Replace ':' with either '¦' or ' - As these would be very readable in the context of timecodes, which seem to be the main usage case here (aside from 'Display aspect ratio'), unlike '.' or ';' which already seem to have a specific uses in the context of timecodes and would require further replace actions for the sake of clarity.
- RegEx Replace '/' with ';' - As the former seems to be mostly used in listing stuff like 'Channel positions' & 'Encoding settings' (aside from 'Frame rate'), while the latter is previously unused in those contexts while also having a similar meaning in everyday use.
- RegEx Replace " with ' - I'm not sure if this is even used anywhere as i didn't encounter any examples, however it's the closest match.
- RegEx Replace any of these: '/\|?*' with '' (as in nothing) or perhaps '_'