WebVTT -> SRT conversion #25
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: fcode/delarte#25
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Exploring #24, I found more information about FFMPEG's WebVTT support and why we could not manage to mux the subtitles without converting them to SRT.
It turns out FFMPEG as a very poor support for WebVTT and stop processing the data as soon as it find's something it doesn't understand, the most problematic for us being styling wich is always used by ArteTV.
This issue has been submitted to FFMPEG and a patch was submitted but it did not get traction since October 2010. Which confort me to think converting to SRT is the way to go for us.
HOWEVER loosing style information is a pitty, especially for textual description (subtitles for people suffering from hearing impairement) that uses colors to identify between descriptions and transcriptions. But it looks like some SRT styling is kind of supported by most players through the use of
<font color="">
tag.To actually handle that sort of convertion (WebVTT styles to SRT font tags), it seems though that the
webvtt-py
would not help a lot (their parsing is rather primitive). This added to #24 that comes from the fact thatwebvtt-py
is too strict for us... well... looks like implementing it from scratch could be the way to go.