[Ffmpeg-devel] 208x104 image after avcodec_decode_video

Måns Rullgård mru
Sat May 21 12:21:23 CEST 2005

"Paolo Giacon" <pgiacon at ing.unife.it> writes:

> after the calling of avcodec_decode_video i obtain an AVFrame picture where
> linesize[0] is 208 and linesize[1] is 104
> i should obtain a 176x144
> i'm using a carphone.mpg (encoded with mpeg1video)
> why does it happen? what could i do?

It's normal to have some padding around each line.  AFAICT, you're
doing it right.

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list