Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
You can get the list of installed codecs with:
| #!/bin/bash | |
| PARAMS=('-m 6 -q 70 -mt -af -progress') | |
| if [ $# -ne 0 ]; then | |
| PARAMS=$@; | |
| fi | |
| cd $(pwd) |
| #include "/Users/cipherhack/Documents/Adobe Scripts/json2.js" | |
| // Suppress dialogs | |
| app.displayDialogs = DialogModes.NO; | |
| // Read cast data from json file | |
| const jsonFile = File("/Users/cipherhack/Documents/Adobe Scripts/cast.json"); | |
| jsonFile.open ('r'); | |
| const data = jsonFile.read(); | |
| jsonFile.close(); | |
| // Close the file as we don't need it anymore | |
| var castData= JSON.parse(data); |