[FFmpeg-devel] {WIP} {HELP} Dvb Subtitles and Hard Subtitles

JULIAN GARDNER joolzg at btinternet.com
Sun Jun 5 15:58:40 CEST 2011


Ok needing a bit of help here, ive added my current diff in the hope of some help from a more knowledgable ffmpeg developer.

My problem is that i need to get the main output loop to eventually call the do_subtitle_out for every frame of video that is produced.

I have attempted to change the code where the subtitle is decoded, only once in the case of dvbsubs, and to output it multiple times, but the output bit is still only called once.

Can anybody help me in getting the loop to make the multiple calls to output the subtitles, im trying not to have to write this as a filter, but to have the subs placed on the output video plane BEFORE resizing and ENCODING?

If you think im going about it the wrong way then let me know, and if the only way is to produce a filter i will spend my time on that instead.

So just for clarity i need to get the subs to be copied to the video before any resize or encoding is performed, if this works it should be possible to take any subs and have them placed on the video.

also one more problem is that the TS si still has the entry for "dvb subs" in its pmt, this will need removing, as i cant see the point of having hard subs and soft subs whch are the same.

joolz



More information about the ffmpeg-devel mailing list