-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roles not properly parsing #66
Comments
My first guess is that roles are not yet being fully parsed from compound clips, sync clips and multicam clips. Specific parsing logic is needed for them because of their more complex internal structure. Won't know for sure until I can debug. |
I now have Next one to tackle is multicam ( I'd like to get fixes for both in 0.2.8. |
While we're at it, there are two questions about how we should format data that I've had come up recently while reworking things. 1. Title Case for Default RolesWhat I'm observing is that sometimes FCP exports roles as lowercase. From what I can tell, it only does that for "built-in" or "default" roles. For example, FCP will show "Dialogue" but in the FCPXML it will output the role as "dialogue" or "dialogue.dialogue-1". I have noticed it happen with "Dialogue" and "Music" roles, and I believe "Effects" may be lowercased as well. (User-defined roles are always verbatim - character case is never changed when output to FCPXML.) This means that currently, some default roles may output to the manifest file as lowercase since MarkersExtractor is taking them as-is. (The only modification currently being done is reducing the subrole when appropriate. ie: "dialogue.dialogue-1" will be reduced to "dialogue" for the manifest file.)
2. Matching FCP's Display of Roles: Main vs. Sub-RoleFCP only shows the sub-role in the clip inspector. This is for both audio and video roles. Video roles have an automatic sub-role generated by FCP even though it's not obvious. The audio sub-role is more obvious since it breaks them out and forces you to use them. Small technical detail, but useful to know. Currently we output both main role and sub-role for video role when it's not reducible. ie: "VFX.Smoke". However, FCP will display this in the inspector view as just its sub-role, ie: "Smoke". Obviously, outputting main + sub-role provides more data for us to work with. However, with more recent refactors and bug fixes, I have made audio roles output as FCP displays them in certain cases such as For example, if two audio sources "Dialogue.MixL" and "Dialogue.MixR" are enabled, FCP displays it in the inspector as a comma-separated list of sub-roles, ie: "MixL, MixR". This is what MarkersExtractor will output to the manifest file for In consideration of making the manifest output consistent, do we also implement this for Video Role to only show sub-role? If we don't, then do we make Audio Role show main + sub-role for all roles? So instead of "MixL, MixR" it would read as "Dialogue.MixL, Dialogue.MixR". The trouble with this is that it can get very long very quickly. In that complex project you sent me, sometimes there are upwards of 6 audio sources and it is far more concise to use FCP's behavior of only using sub-role.
|
Sure, that's doable.
That would then be consistent, yes. More verbose, but no information is abbreviated or lost.
Sure. FCP uses
Clever. |
One possible wrinkle is that FCP allows the A possible solution might be to use a null character (ASCII code 0, or For example, the
With a comma delimiter, it would be entered in the manifest as follows (and would not parse correctly):
With a null delimiter, it would be possible to parse it. (Represented as
As a side note, this is a complication when using CSV for an output manifest as it is a fairly simple data format. If we used JSON instead, this would not be necessary, as it capable of nested collections. |
True! Let me try to get CSV2Notion Neo to support json upload. If that can be possible, we will drop csv and switch to json for both Notion and Airtable Profiles. |
It's not a bad idea, honestly. As the manifest data becomes more descriptive over time, we may outgrow the capabilities of CSV any way. |
I have now also resolved Multicam roles parsing issues, and the fix for both will be in 0.2.8. All roles should be parsing correctly now. That will allow us to move onto other features next-in-line, like role exclusion (#57). |
Default roles are now title-cased to match FCP. Will be in 0.2.8. |
Multiple roles are now output to the manifest with full |
Thanks for the update! |
In 0.2.5, roles are not being parsed fully in the test project (
BRS_LOCKED6_20210521 - 01 Opening Scene 2023-11-22 07-59-54
- #37).The text was updated successfully, but these errors were encountered: