Created
April 12, 2019 09:46
-
-
Save hubgit/54da76c9c0f0379e92c4523f75f00193 to your computer and use it in GitHub Desktop.
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
brew install get_iplayer | |
PID=m00042g3 | |
get_iplayer --subtitles --file-prefix="<pid>" --output=$PWD --pid $PID | |
ffmpeg -i $PID.mp4 -ss 00:25:26 -t 00:01:59 -vf subtitles=$PID.srt $PID-clip-subtitles.mp4 |
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
brew install get_iplayer | |
PID=m00042g3 | |
get_iplayer --file-prefix="<pid>" --output=$PWD --pid $PID | |
ffmpeg -ss 00:25:26 -i $PID.mp4 -t 00:01:59 -c copy $PID-clip.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment