[FFmpeg-devel] [PATCH v3] lavc/rawdec: Only use AV_PIX_FMT_PAL8 for 1 bpp video in AVI

Michael Niedermayer michael at niedermayer.cc
Mon Feb 1 16:26:24 CET 2016


On Mon, Feb 01, 2016 at 08:02:02AM +0100, Mats Peterson wrote:
> Should be "1 bpp video in AVI", not just "1 bpp video".
> 
> Mats
> 
> -- 
> Mats Peterson
> http://matsp888.no-ip.org/~mats/

>  libavcodec/rawdec.c               |   43 +++++++-------------------------------
>  tests/ref/vsynth/vsynth1-bpp1     |    4 +--
>  tests/ref/vsynth/vsynth2-bpp1     |    4 +--
>  tests/ref/vsynth/vsynth3-bpp1     |    4 +--
>  tests/ref/vsynth/vsynth_lena-bpp1 |    4 +--
>  5 files changed, 17 insertions(+), 42 deletions(-)
> c8b4e410870af68b845e81a8ccd608286e94a7f0  0001-lavc-rawdec-Only-use-AV_PIX_FMT_PAL8-for-1-bpp-video.patch
> From c8e99942495c797067be55fb115a21955e11b76b Mon Sep 17 00:00:00 2001
> From: Mats Peterson <matsp888 at yahoo.com>
> Date: Sun, 31 Jan 2016 14:08:19 +0100
> Subject: [PATCH v3] lavc/rawdec: Only use AV_PIX_FMT_PAL8 for 1 bpp video in AVI

breaks converting to nut
example:
./ffmpeg -i test.avi -vcodec rawvideo test-new.nut
./ffplay test-new.nut
does not play
"-vcodec copy" instead of rawvideo also does not make it work

before the patch
./ffmpeg -i test.avi -vcodec rawvideo test.nut
./ffplay test.nut
works


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160201/a1319cd6/attachment.sig>


More information about the ffmpeg-devel mailing list