Subtitle overlay not working with avi source
Posted: 19 Oct 2022 15:02
by m76
I'm trying to hardcode subtitles onto videos, but the subtitle is not overlayed on the output if the source file is uncompressed avi.
If I first encode it to h264 mp4, then the subtitle overlay works, but that's a double encoding for no reason, which means double the quality loss, and I'd like to avoid that if possible.
Thanks
Re: Subtitle overlay not working with avi source
Posted: 20 Oct 2022 09:52
by Lotesdelere
You should create a new report ticket on the VLC Trac with your above report and the link to this thread:
https://code.videolan.org/videolan/vlc/-/issues
A workaround would be to simply copy the video stream on the second encoding, so you encode only subtitles.
That said AVI is not a good container for H.264 because of B-frames, you should use MP4.
Re: Subtitle overlay not working with avi source
Posted: 20 Oct 2022 14:16
by m76
How would the subtitles get hardcoded into the image if I'm copying the video stream? That makes no sense.
And I didn't say anything about putting H.264 into an AVI container.
I do not have a github account to make a ticket on the link.
Re: Subtitle overlay not working with avi source
Posted: 21 Oct 2022 09:42
by Lotesdelere
Sorry, I misread. You can create a github account for creating your report.