[FFmpeg-trac] #328(undetermined:open): PGM to JPEG-LS identify error
FFmpeg
trac at avcodec.org
Mon Jul 4 11:27:59 CEST 2011
#328: PGM to JPEG-LS identify error
------------------------+---------------------------
Reporter: sebastian0 | Owner: michael
Type: defect | Status: open
Priority: normal | Component: undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced: 0
Analyzed: 0 |
------------------------+---------------------------
Comment (by cehoyos):
(Please note that you are not using latest git head and, unfortunately,
the version you are using is not supported, only the branches master and
oldabi and currently the releases 0.7.1 and 0.8 are.)
I tested the following:
{{{
./ffmpeg -i tests/lena.pnm -f image2 -pix_fmt gray16le -vcodec jpegls
out.jls
ffmpeg version N-31202-g976a8b2, Copyright (c) 2000-2011 the FFmpeg
developers
built on Jul 4 2011 10:37:33 with gcc 4.5.3
configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl --enable-
libopencore-amrnb --enable-version3
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 5. 0 / 53. 5. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 24. 1 / 2. 24. 1
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 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 @ 0x12cbd60] w:256 h:256 pixfmt:rgb24 tb:1/1000000 sar:0/1
sws_param:
[buffersink @ 0x12cb1e0] auto-inserting filter 'auto-inserted scaler 0'
between the filter 'src' and the filter 'out'
[scale @ 0x12c4720] w:256 h:256 fmt:rgb24 -> w:256 h:256 fmt:gray16le
flags:0x4
Output #0, image2, to 'out.jls':
Metadata:
encoder : Lavf53.5.0
Stream #0.0: Video: jpegls, gray16le, 256x256, q=2-31, 200 kb/s, 90k
tbn, 25 tbc
Stream mapping:
Stream #0.0 -> #0.0
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:99kB audio:0kB global headers:0kB muxing overhead -100.021595%
}}}
The resulting file out.jls decodes fine with ffmpeg and the UBC
implementation of jpeg-ls, V.2.2
--
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/328#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list