[vlc-devel] Picture size differs from encoder init fmt
Francois Cartegnie
fcvlcdev at free.fr
Wed Jan 15 19:32:11 CET 2014
Le 15/01/2014 04:08, Rémi Denis-Courmont a écrit :
>
> I think encoders have to use the plane sizes stored in the picture
> structure; the input format is only indicative of the user/useful size of
> the pictures. If you really need to know the physical picture size you can
> use picture_Setup() or something like that (e.g. rawvideo codec). It is not
> very pretty, but that's how Laurent has been dealing with it so far.
If I match the encoder width/height to the picture one, I got correctly
aligned planes as expected, but also junk in the padded zone.
(same bug as with video out ?)
Truncating isn't an option because of the different planes block sizes.
Francois
More information about the vlc-devel
mailing list