[FFmpeg-trac] #4523(avcodec:closed): JPEG2000 yuv420p file generated by ffmpeg with libopenjpeg codec is broken
FFmpeg
trac at avcodec.org
Tue Apr 28 12:55:11 CEST 2015
#4523: JPEG2000 yuv420p file generated by ffmpeg with libopenjpeg codec is broken
-------------------------------------+-------------------------------------
Reporter: saste | Owner:
Type: defect | Status: closed
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: libopenjpeg | worksforme
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* status: new => closed
* resolution: => worksforme
Comment:
Sorry for the last post, I didn't see the files.
Works fine here:
{{{
$ ffmpeg -i fate-suite/lena.pnm -pix_fmt yuv420p -f crc -
ffmpeg version N-71737-gb410c69 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl --enable-libopenjpeg
libavutil 54. 23.101 / 54. 23.101
libavcodec 56. 35.101 / 56. 35.101
libavformat 56. 31.100 / 56. 31.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 14.100 / 5. 14.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, image2, from 'fate-suite/lena.pnm':
Duration: 00:00:00.04, start: 0.000000, bitrate: 39333 kb/s
Stream #0:0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
Output #0, crc, to 'pipe:':
Metadata:
encoder : Lavf56.31.100
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 256x256,
q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc56.35.101 rawvideo
Stream mapping:
Stream #0:0 -> #0:0 (ppm (native) -> rawvideo (native))
Press [q] to stop, [?] for help
CRC=0xe29408ed
frame= 1 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.04 bitrate=
3.0kbits/s
video:96kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
{{{
$ ffmpeg -vcodec libopenjpeg -i lena.yuv420p.j2k -f crc -
ffmpeg version N-71737-gb410c69 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl --enable-libopenjpeg
libavutil 54. 23.101 / 54. 23.101
libavcodec 56. 35.101 / 56. 35.101
libavformat 56. 31.100 / 56. 31.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 14.100 / 5. 14.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, j2k_pipe, from 'lena.yuv420p.j2k':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: jpeg2000, yuv420p, 256x256, 25 tbr, 25 tbn, 25 tbc
Output #0, crc, to 'pipe:':
Metadata:
encoder : Lavf56.31.100
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 256x256,
q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc56.35.101 rawvideo
Stream mapping:
Stream #0:0 -> #0:0 (jpeg2000 (libopenjpeg) -> rawvideo (native))
Press [q] to stop, [?] for help
CRC=0xe29408ed
frame= 1 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.04 bitrate=
3.0kbits/s
video:96kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4523#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list