fbpx
fcp.co logo transparent
fcp clapperboard
Welcome, Guest
Username: Password: Remember me
{JFBCLogin}
25 Jan 2021
New boarders will have their posts moderated - Don't worry if you cannot see your post immediately.
Read More...
  • Page:
  • 1

TOPIC:

Caption Export Error 13 Sep 2021 16:13 #116230

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:

Please Log in to join the conversation.

Last edit: by Andreas Kiel.
  • Page:
  • 1