fbpx
3 Post Moderation Rule for New Boarders (25 Jan 2021)

New boarders will have their posts moderated - Don't worry if you cannot see your post immediately.

Caption Export Error

More
13 Sep 2021 16:13 - 13 Sep 2021 16:25 #116230 by Andreas Kiel
Just saw by chance on the Apple FCP forum that there is a bug when exporting SRT caption – formatting can't be turned off.
Here a little "how to get rid of formatting".
The Terminal script below:

sed -i '' -e 's/<font color=\"#[0-9,A-F,a-f][0-9,A-F,a-f][0-9,A-F,a-f][0-9,A-F,a-f][0-9,A-F,a-f][0-9,A-F,a-f]\">//g' \

-e 's/<\/font>//g' \

-e 's/<[biu]>//g' \

-e 's/<\/[biu]>//g'

Paste into a Terminal.app window


In Finder select the caption file and drag into the Terminal window


Hit return. The caption file will be converted and saved.

Unfortunately I can't paste/display code here in this forum anymore, so you may have a look at the OP: discussions.apple.com/thread/253130428 ?
Attachments:
Last edit: 13 Sep 2021 16:25 by Andreas Kiel.

Please Log in to join the conversation.