nilaoda / Mp4SubtitleParser

从 mp4 中提取 wvtt/ttml 字幕. Extract embed wvtt/ttml subtitle in mp4.
40 stars 10 forks source link

Data at the root level is invalid. Line 1, position 39. #3

Closed toudas closed 2 years ago

toudas commented 2 years ago

Hi, when i try your example "samples-ttml" it works fine, but "samples-ttml(no init, need offset)" it always gives the error "Data at the root level is invalid. Line 1, position 39." With your init, or with my init too. Any idea what's wrong?

Thanks

nilaoda commented 2 years ago

fixed in v1.5.1