[FFmpeg-trac] #538(avcodec:new): J2K files with 444p are incorrectly written
FFmpeg
trac at avcodec.org
Sun Oct 9 20:55:18 CEST 2011
#538: J2K files with 444p are incorrectly written
--------------------------------------+---------------------------------
Reporter: cehoyos | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: git-master | Keywords:
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
--------------------------------------+---------------------------------
Files written with yuv444p cannot be read.
{{{
./ffmpeg -i tests/lena.pnm -pix_fmt yuv444p -strict experimental out.jp2
ffmpeg version N-33430-gcb50ada, Copyright (c) 2000-2011 the FFmpeg
developers
built on Oct 9 2011 20:28:29 with gcc 4.5.3
configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
libavutil 51. 20. 1 / 51. 20. 1
libavcodec 53. 19. 1 / 53. 19. 1
libavformat 53. 14. 0 / 53. 14. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 43. 6 / 2. 43. 6
libswscale 2. 1. 0 / 2. 1. 0
Input #0, image2, from 'tests/lena.pnm':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
[buffer @ 0x12d9e20] w:256 h:256 pixfmt:rgb24 tb:1/1000000 sar:0/1
sws_param:
[buffersink @ 0x12cf7e0] auto-inserting filter 'auto-inserted scale 0'
between the filter 'src' and the filter 'out'
[scale @ 0x12d0000] w:256 h:256 fmt:rgb24 -> w:256 h:256 fmt:yuv444p
flags:0x4
Output #0, image2, to 'out.jp2':
Metadata:
encoder : Lavf53.14.0
Stream #0:0: Video: j2k, yuv444p, 256x256, q=2-31, 200 kb/s, 90k tbn,
25 tbc
Stream mapping:
Stream #0.0 -> #0.0 (ppm -> j2k)
Press [q] to stop, [?] for help
frame= 1 fps= 0 q=0.0 Lsize= -0kB time=00:00:00.04 bitrate=
-4.4kbits/s
video:89kB audio:0kB global headers:0kB muxing overhead -100.024241%
}}}
{{{
/ffmpeg -i out.jp2
ffmpeg version N-33430-gcb50ada, Copyright (c) 2000-2011 the FFmpeg
developers
built on Oct 9 2011 20:28:29 with gcc 4.5.3
configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
libavutil 51. 20. 1 / 51. 20. 1
libavcodec 53. 19. 1 / 53. 19. 1
libavformat 53. 14. 0 / 53. 14. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 43. 6 / 2. 43. 6
libswscale 2. 1. 0 / 2. 1. 0
Input #0, image2, from 'out.jp2':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: j2k, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified
}}}
--
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/538>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list