[FFmpeg-trac] #328(undetermined:open): PGM to JPEG-LS identify error
FFmpeg
trac at avcodec.org
Tue Jul 5 04:05:30 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 sebastian0):
http://www.ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2:
ffmpeg version 0.7, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 5 2011 09:51:41 with gcc 4.4.3
Dunno. This is the git-HEAD-snapshot, right? O.o
But, anyway, let's have a look on the hexdumps:
$ most xxx.jls # created with ffmpeg from pgm
0x00000000: FFD8FFF7 00110802 4002D003 01110002 ........ at .......
0x00000010: 11000311 00FFDA00 0C030100 02000300 ................
0x00000020: 00010001 E57FFF69 FF7FFF7F FF7FF4F9 .......i........
0x00000030: 3FFF7FFF 7FFF7FEC FF7FFF7A 7FD3FF69 ?..........z...i
0x00000040: E9FF7FFF 7FFF727F FF13E9FF 7FF4FE4F ......r........O
0x00000050: FF508601 000001EB 00003F9C F19FA70C .P........?.....
0x00000060: 6ED6AC95 535B377B 953BA8B8 ABC0401C n...S[7{.;.... at .
...
$ most xxx.jls # created by the university project JPEG-LS2FAST
0x00000000: 4C530002 D0024000 FFFA8079 5FFFF4FF LS.... at ....y_...
0x00000010: FFFFFFFF FFD3E4FF FFFFFFFF FFFD9FFF ................
0x00000020: FFFD3FE9 FFE9E9FF FFFFFFFF 93FFF93E ..?............>
0x00000030: 9FFFFE9F C9FFF421 80400000 76002FCE .......!. at ..v./.
...
Do you see the "LS" at the beginning on the second hexdump?
I think that's why the identify on the last one works, and on the ffmpeg
one fails.
So isn't this a bad behaviour?
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/328#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list