Some basic ffmpeg commands
ffmpeg -i INPUT.mkv INPUT.mp4ffmpeg -i INPUT.mkv INPUT.mp4| <?php | |
| // Detect any specific server environment config setup to apply | |
| // I use a custom variable where you can set like so in Apache VirtualHost or in .htaccess: | |
| // `SetEnv HTTP_SERVER_ENVIRONMENT "staging" | |
| // Default: development | |
| $server_environment = 'development'; | |
| if ( ! empty( $_SERVER['HTTP_SERVER_ENVIRONMENT'] ) ) { | |
| $server_environment = $_SERVER['HTTP_SERVER_ENVIRONMENT']; | |
| } |
| -- specify input and output directories | |
| set infile_directory to "/Users/doug/Desktop/inputs/" | |
| set outfile_directory to "/Users/doug/Desktop/outputs/" | |
| -- get the basenames of each input file | |
| tell application "System Events" | |
| set infile_list to files of folder infile_directory | |
| end tell | |
| -- process each input file |
This document will walk you through how to create or configure a Salesforce application for use with JWT authentication. These configuration steps and the example code works as of Salesforce API version 42.0.
Create an RSA x509 private key/certification pair