You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DFXP has tag like below <tt xml:lang="en" xmlns="http://www.w3.org/ns/ttml" xmlns:tts="http://www.w3.org/ns/ttml#styling". pycaption converts to "en" always though the vet file has Language: en . Is it possible to specify language when its converted
The text was updated successfully, but these errors were encountered:
Hi, you can specify the language when reading the WebVTT file, like this: WebVTTReader().read(your_file, lang='en-US')
Unfortunately, the DFXPWriter doesn't support other languages for now and defaults to en.
DFXP has tag like below <tt xml:lang="en" xmlns="http://www.w3.org/ns/ttml" xmlns:tts="http://www.w3.org/ns/ttml#styling". pycaption converts to "en" always though the vet file has
Language: en
. Is it possible to specify language when its convertedThe text was updated successfully, but these errors were encountered: