This file contains hidden or 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
| # Adds subtitles.srt to video.mp4 as solid black background, and saves as subbed_video.mp4 | |
| # via: https://stackoverflow.com/questions/25870169/how-to-set-background-to-subtitle-in-ffmpeg | |
| # Options: | |
| # OutlineContour=&AARRGGBB - [Alpha, Red, Green, Blue], Change Alpha value for semi-transparent background | |
| # Outline=3 - Specifies the padding for the background rectangle. | |
| ffmpeg -i video.mp4 -filter_complex "subtitles=subtitles.srt:force_style='OutlineColour=&000000000,BorderStyle=3,Outline=3,Shadow=0,MarginV=20'" subbed_video.mp4 |
This file contains hidden or 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
| # Customize BASH PS1 prompt to show current GIT repository and branch. | |
| # by Mike Stewart - http://MediaDoneRight.com | |
| # SETUP CONSTANTS | |
| # Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
| # I don't remember where I found this. o_O | |
| # Reset | |
| Color_Off="\[\033[0m\]" # Text Reset |