bgrins / videoconverter.js

[UNMAINTAINED] Convert videos in your browser
http://bgrins.github.io/videoconverter.js/
Other
2.35k stars 300 forks source link

Subtitle Input Example #77

Open mertakdut opened 5 years ago

mertakdut commented 5 years ago

I'm trying to add subtitlles to an .mp4 file but having this error:

a.srt: Invalid data found when processing input

I think subtitle format is correct, because it works well when issuing the same command from command line.

Tried converting string to arraybuffer as it's done on this link and by using the TextEncoder class' encode method. No luck.

It would be great if I could check out any examples with subtitle inputs.