go-astisub
go-astisub copied to clipboard
not support .ass file?
s1, err := astisub.OpenFile("Call.Me.by.Your.Name.2017.BluRay.ass")
if err != nil {
return nil, err
}
// s1.items is nil, why ,if subtitle file is .srt ,it works.
.ssa file is not .ass file?
Call.Me.by.Your.Name.2017.BluRay.ass.txt
i am sorry,just this ass file can not parse,i try others ok
ass two language trs like one,so i must write myself,but still thanks,.srt still works
I think the problem comes from the fact that the file is UTF16-LE encoded and astisub doesn't handle it well. If you encode your ass file in utf8 it seems to be fine 🤔