Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

And when ingesting srt files in ffmpeg. Ffmpeg expects the srt file to be utf8 encoded, but it is sometimes encoded in Windows-1252 which is the original format. So you might need to transcode it first.


Urghk. I had no idea, but then again I would never use .srt myself, it's a terrible format. I'm always using .ass, because then you can get proper left-aligned subtitles, proper font, and a proper box around them.


You can set the charenc option for other character sets.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: