Closed Scoffins closed 1 month ago
Doesn't WebVTT require this? I think it's valid
I'm not sure about that but when I replace &
with &
in the subtitle file it works perfectly. But I've only tested with FFMPEG so I don't know how it would respond to other encoders/players. For now it's not a major issue as I'm using SED to automatically replace the html entity, but it would be nice to not need the extra command and temp file to accomplish it.
Very good work here btw, this tool is incredibly useful and much easier than making the calls manually via cURL. Thank you.
I'll be using a real subtitles library soon instead of my homegrown one which will support multiple subtitle formats. My WebVTT implementation is actually correct but unfortunately the support is a bit shoddy as it's not wildly used
Anyway it's not actually a bug, just caused by poor WebVTT support.
When outputting subtitles, ampersands (&) in text input are converted to & in the subtitles file.
This is a problem when using the subtitles file in things like FFMPEG.