ffmpeg not properly rendering utf8 subtitle srt file

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ffmpeg not properly rendering utf8 subtitle srt file

Unni Krishnan
Hello,

I am using a utf8 srt file in mac to hardcode subtitle to a video.

--
$file -I Ernest_Celestine_2012.srt
Ernest_Celestine_2012.srt: text/plain; charset=utf-8

$uname -a
Darwin 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar  4 22:28:40 PST 2020;
root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64
--

But ffmpeg is not rendering it properly. But VLC is showing the same srt
file properly.

https://imgur.com/a/DhBcxT7

Currently I am using ffplay to test it.

ffplay -i Ernest_Celestine_2012.mp4 -sub_charenc UTF-8 -vf
subtitles='Ernest_Celestine_2012.srt':charenc='UTF-8':force_style='FontName=Manjari'

How can I fix it?

Regards,
Unni
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".