[FFmpeg-devel] [PATCH] lavc/dvdsubdec: parse the size from the extradata.

Clément Bœsch ubitux at gmail.com
Tue Sep 4 19:00:36 CEST 2012

On Tue, Sep 04, 2012 at 06:52:25PM +0200, Nicolas George wrote:
> Le nonidi 19 fructidor, an CCXX, Clément Bœsch a écrit :
> > ...does not have any size information in the dvd extradata; it's likely
> > the pgs decoder didn't set them since the dvdsubenc supports that. So to
> > answer your question, no the output didn't change.
> It was mentioned in one of the comments: the PGS decoder needs to decode a
> packet, and the first packet it at almost 20s, so either "-analyzeduration
> 20E6" or "-s:s 1280x720" (or 1920x1080?).

Ah my bad. OK indeed now the size is indeed in the extradata, and sets
correctly the avctx->{width,height} (to 1920x1080). But the scaling in
ffplay doesn't change.

Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120904/a380c9e0/attachment.asc>

More information about the ffmpeg-devel mailing list