Opened 21 months ago
Closed 19 months ago
#10190 closed defect (fixed)
jpeg rgb file with subsampling decodes incorrectly
Reported by: | ami_stuff | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | mjpeg |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
it has 4:4:1 (22:22:11) subsampling
./ffmpeg -i flower.png.im_q85_rgb_subsample_blue.jpg -y out.bmp ffmpeg version N-109855-g2296078397 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1) configuration: libavutil 58. 1.100 / 58. 1.100 libavcodec 60. 2.100 / 60. 2.100 libavformat 60. 2.100 / 60. 2.100 libavdevice 60. 0.100 / 60. 0.100 libavfilter 9. 1.100 / 9. 1.100 libswscale 7. 0.100 / 7. 0.100 libswresample 4. 9.100 / 4. 9.100 Input #0, image2, from 'flower.png.im_q85_rgb_subsample_blue.jpg': Duration: 00:00:00.04, start: 0.000000, bitrate: 215322 kb/s Stream #0:0: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 2268x1512, 25 fps, 25 tbr, 25 tbn Stream mapping: Stream #0:0 -> #0:0 (mjpeg (native) -> bmp (native)) Press [q] to stop, [?] for help [swscaler @ 0x55bc14914d40] deprecated pixel format used, make sure you did set range correctly Last message repeated 3 times Output #0, image2, to 'out.bmp': Metadata: encoder : Lavf60.2.100 Stream #0:0: Video: bmp, bgr24(pc, gbr/unknown/unknown, progressive), 2268x1512, q=2-31, 200 kb/s, 25 fps, 25 tbn Metadata: encoder : Lavc60.2.100 bmp frame= 0 fps=0.0 q=-0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed=N/[image2 @ 0x55bc147d68c0] The specified filename 'out.bmp' does not contain an image sequence pattern or a pattern is invalid. [image2 @ 0x55bc147d68c0] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image. frame= 1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed= 0x video:10047kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Attachments (1)
Change History (8)
by , 21 months ago
Attachment: | flower.png.im_q85_rgb_subsample_blue.jpg added |
---|
comment:1 by , 21 months ago
Status: | new → open |
---|
comment:2 by , 19 months ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Fixed in b18a9c29713abc3a1b081de3f320ab53a47120c6 (caused a fixit commit c3625ccfcd74bacff2ec6764dea8ef2beb5e9ef7). Some other patches still not applied:
https://patchwork.ffmpeg.org/project/ffmpeg/patch/CAB0OVGpcQJYzcskLUR4EJc+DCRs=gY=Dw4iggUs3K=fHVXtUxw@mail.gmail.com/
https://patchwork.ffmpeg.org/project/ffmpeg/patch/CAB0OVGqdim_-MK8Z8Ly=OddkCqEBAwfo_fOWigVaR-Bi1WEMRQ@mail.gmail.com/
https://patchwork.ffmpeg.org/project/ffmpeg/patch/CAB0OVGouY1QTbBUsHoyjGQpENMQSBXm=1qtf1o4gDTpfAofKdA@mail.gmail.com/
comment:4 by , 19 months ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:5 by , 19 months ago
comment:7 by , 19 months ago
Component: | undetermined → avcodec |
---|---|
Keywords: | mjpeg added |
Resolution: | → fixed |
Status: | reopened → closed |
Version: | unspecified → git-master |
Note:
See TracTickets
for help on using tickets.
Yep