Opened 11 years ago
Closed 11 years ago
#5264 closed defect (fixed)
GBRAP16 conversion artefacts
| Reported by: | Carl Eugen Hoyos | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | swscale |
| Version: | git-master | Keywords: | alpha |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
I will attach a GBRAP16 image that can be converted (correctly) into rgba64 png and yuv444p jpg. Conversion to (for example) yuvj420p and yuvj422p shows image corruption.
$ ffmpeg -i gbrap16.tif -pix_fmt yuvj420p out.jpg
ffmpeg version N-78637-g7586b3a Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 55. 18.100 / 55. 18.100
libavcodec 57. 24.105 / 57. 24.105
libavformat 57. 26.100 / 57. 26.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 35.100 / 6. 35.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, tiff_pipe, from 'gbrap16.tif':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: tiff, gbrap16le, 480x270, 25 tbr, 25 tbn, 25 tbc
[swscaler @ 0x2ed9700] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to 'out.jpg':
Metadata:
encoder : Lavf57.26.100
Stream #0:0: Video: mjpeg, yuvj420p(pc), 480x270, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc57.24.105 mjpeg
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
Stream #0:0 -> #0:0 (tiff (native) -> mjpeg (native))
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=5.2 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=2.27x
video:26kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
out.jpg looks ugly.
Attachments (1)
Change History (2)
by , 11 years ago
| Attachment: | gbrap16.tif added |
|---|
comment:1 by , 11 years ago
| Reproduced by developer: | set |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Fixed in df36257a53561a51af969a6ea6319dd2579509b9 and 67e5bd0c501f7568fc8d93284d0f7eb40663ab06