Ticket #787 (closed enhancement: fixed)
jpg: add support for YUV421 & YUV442
| Reported by: | ami_stuff | Owned by: | |
|---|---|---|---|
| Priority: | wish | Component: | avcodec |
| Version: | git-master | Keywords: | mjpeg yuv442 yuv421 |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
maybe easy
C:\>ffmpeg -i Test_421.jpg ffmpeg version N-35892-gc0bea18, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 17 2011 13:52:52 with gcc 4.6.2 configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger - -enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable- libxvid --enable-zlib --disable-demuxer=sbg libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 46. 0 / 53. 46. 0 libavformat 53. 26. 0 / 53. 26. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 53. 0 / 2. 53. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mjpeg @ 02625B60] Unhandled pixel format 0x22211100 [image2 @ 020C2320] Could not find codec parameters (Video: mjpeg, 1023x767 [SAR 96:96 DAR 1023:767]) Test_421.jpg: could not find codec parameters
C:\>ffmpeg -i Test_442.jpg ffmpeg version N-35892-gc0bea18, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 17 2011 13:52:52 with gcc 4.6.2 configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger - -enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable- libxvid --enable-zlib --disable-demuxer=sbg libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 46. 0 / 53. 46. 0 libavformat 53. 26. 0 / 53. 26. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 53. 0 / 2. 53. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mjpeg @ 02625B60] Unhandled pixel format 0x12121100 [image2 @ 020C2320] Could not find codec parameters (Video: mjpeg, 1023x767 [SAR 96:96 DAR 1023:767]) Test_442.jpg: could not find codec parameters
Attachments
Change History
comment:1 Changed 17 months ago by cehoyos
- Status changed from new to open
- Reproduced by developer set
- Component changed from undetermined to avcodec
- Priority changed from normal to wish
- Version changed from unspecified to git-master
- Type changed from defect to enhancement
Is there also a "441" format?
comment:2 Changed 17 months ago by cehoyos
- Keywords tif added
- Summary changed from swscale: add support for YUV421 & YUV442 to tiff: add support for YUV421 & YUV442
comment:3 Changed 17 months ago by cehoyos
- Keywords jpg added; tif removed
- Summary changed from tiff: add support for YUV421 & YUV442 to jpg: add support for YUV421 & YUV442
comment:4 Changed 17 months ago by ami_stuff
no, only these two (+ CMYK & YCbCrK which are not supported by FFmpeg).
comment:5 Changed 17 months ago by cehoyos
- Keywords mjpeg yuv442 yuv421 added; jpg removed
- Status changed from open to closed
- Resolution set to fixed
Should be fixed by "upscaling" the image to a supported colourspace.
Note: See
TracTickets for help on using
tickets.



