[FFmpeg-devel] [RFC] XSUB subtitle decoder

Reimar Döffinger Reimar.Doeffinger
Sun Aug 5 14:35:47 CEST 2007


Hello,
On Sun, Aug 05, 2007 at 02:21:19PM +0200, Reimar D?ffinger wrote:
> On Sun, Aug 05, 2007 at 01:21:22PM +0200, Michael Niedermayer wrote:
> > hmm, whats in AVCodecContext.width/height? it seems these get read from
> > avi for the subtitle stream?
> 
> Ah, right. That is how you get the original movie size. Now the question
> is how to handle it.
> Does adding a video_width and video_height to AVSubtitle and if set
> using that to rescale in ffplay.c sound like a sensible approach?

Hmm.. though that leaves the problem that the subtitle still might not
fit, unless we add rescaling to blend_subrect... :-(

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list