[FFmpeg-devel] [PATCH]Fix linesize for pix_fmt pal8
Carl Eugen Hoyos
cehoyos at ag.or.at
Sun Jun 17 23:24:23 CEST 2012
Stefano Sabatini <stefasab <at> gmail.com> writes:
> > $ ./ffmpeg -i tests/lena.pnm -s 257x257 -pix_fmt pal8
> > -vcodec rawvideo out.avi
> > $ ./ffplay out.avi
> Elaborating more...
Afaict what you write is correct.
All I can add is that:
Afaict, the decoder behaves correctly (matching WMP and QT).
The encoder behaves differently and I don't think
avpicture_layout() is correct for PAL8 and any use case.
I am probably unable to suggest another solution.
More information about the ffmpeg-devel