Soft subtitles

Hi,

I would like to broadcast along with video and audio streams to broadcast all existing soft subtitle streams in the file to udp as well.

My case is the one described here in “Adding Soft Subtitles” section.

From what I see in the code, the producer is reading all the packets from the streams, but only audio and video are processed, the other packets(subtitle ones) are dropped. @Julusian If I a subtitle filter is added, should it first decode, filter and encode the subtitle content? Is it correct to push the encoded subtitle AVPacket to the Decoder directly?

Any help is appreciated!

I don’t know enough about how the ffmpeg code works or should work to answer with any confidence

@Julusian how do you propose to provide subtitles streams in different languages, for the end user to choose from?

Any suggestions?

I don’t have any suggestions here