This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Destructure Zapier-defined variables | |
const { teamId, userId, resourceId, AUTH_TOKEN_KEY } = inputData; | |
// Frame.io variables. To run on Zapier you must provide your API Token | |
const AuthHeader = { | |
Authorization: `Bearer ${AUTH_TOKEN_KEY}`, | |
'Content-Type': 'application/json' | |
}; | |
const API_URL = "https://api.frame.io/v2"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
""" | |
This code demonstrates how to catch Frame.io comments in Zapier | |
to route them to another app such as Google Docs or Excel. | |
The following refactors could improve this code: | |
1. input_data (populated by Zapier) should be presumed to be a comment_id, | |
not an asset_id. This would simplify the code and reduce API calls. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
/ This sample code demonstrates applying a Folder template to a Frame.io Project. | |
/ A Zapier Code Step must be configured to catch webhook events emitted by Frame.io. | |
/ Learn about Frame.io webhooks: https://docs.frame.io/docs/webhooks | |
/ Learn about using JavaScript in Zapier: https://zapier.com/help/create/code-webhooks/use-javascript-code-in-zaps | |
*/ | |
// Destructure Zapier-defined variables | |
const { teamId, userId, resourceId, AUTH_TOKEN_KEY } = inputData; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# 2019-07-12 - Matt Crnich - v001 - Turn Movies into PNG Sequence | |
# | |
echo "ENTER SEARCH PATH : " | |
read srcFilePath | |
echo | |
echo "ENTER SEARCH EXTENSION : " | |
read fileExt |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#File: stillImage-exportCSV-removeMeta | |
# | |
#2019-01-11 Matt Crnich - Hacking on it | |
#2019-01-15 Matt Crnich - Removed find process in favor of exiftool native functionality | |
#2019-01-15 Matt Crnich - Adding function to remove metadata from files | |
#exiftool -IFD1:XResolution -IFD1:YResolution image.jpg | |
#Extract image resolution from EXIF IFD1 information (thumbnail image IFD). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#File: stillImage-remove-meta-v003.sh | |
# | |
# 2018-11-02 - Matt Crnich - v001 - Use exiftool to remove still image metadata | |
# 2018-11-06 - Matt Crnich - v002 - quieted output | |
# 2018-11-06 - Matt Crnich - v003 - added awk to calculate total number of processed files | |
# | |
# | |
echo "enter path" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# 2018-09-06 - Matthew Crnich - create WMV using FFMPEG | |
# | |
ffmpeg -i "input" -qscale 2 -vcodec msmpeg4 -acodec wmav2 "output.wmv" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find /sourceDir -name "*.jpg" -type f | xargs ./shellScript.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# 2018-09-05 - Matt Crnich - v001 - Setup for ASO Spring Footage | |
# | |
# | |
### Medium Preset, Fast Decode Tune with +Faststart at 1920x1080 ### | |
### copy Timecode track ### | |
### mix down multi-track audio track into stereo mix ### | |
# |
NewerOlder