Skip to content

Instantly share code, notes, and snippets.

@justintaylor-dev
Last active June 27, 2019 18:34
Show Gist options
  • Save justintaylor-dev/c9663b4eb4a60f9195cb81de1ae6f2fe to your computer and use it in GitHub Desktop.
Save justintaylor-dev/c9663b4eb4a60f9195cb81de1ae6f2fe to your computer and use it in GitHub Desktop.
RED Log #code_ppro
// Sets colorspace of selected footage to REDLogFilm
for (var selection, viewIDs = app.getProjectViewIDs(), i = 0; i < viewIDs.length; i++)
if (app.getProjectFromViewID(viewIDs[i]).name == app.project.name) {
selection = app.getProjectViewSelection(viewIDs[i]);
break
}
for (i = 0; i < selection.length;i++){
var item = selection[i];
// item.videoComponents[0].properties[25].setValue(1); // set to REDgamma3
item.videoComponents[0].properties[25].setValue(4); // set to REDlogFilm
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment