[FFmpeg-trac] #2967(avcodec:new): mjpeg enc: ljpeg output is incompatible with other programs

FFmpeg trac at avcodec.org
Tue Sep 17 16:34:41 CEST 2013


#2967: mjpeg enc: ljpeg output is incompatible with other programs
------------------------------------+-----------------------------------
             Reporter:  ami_stuff   |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  ljpeg       |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by ami_stuff):

 (http://www.programmersheaven.com/download/17054/Download.aspx)
 jpegdump have an -v option:


 {{{
 C:\>jpegdump -v apollo.jpg

 apollo.jpg:
 offset $0 SOI
 offset $2 APP0 (length 15)
   LJIF\000\001\000\000\000\000\000\000\001
 offset $13 DHT (length 80)
   table 0
   table 1
   table 2
 offset $65 SOF3 (spatial lossless Huffman) (length 17)
   sample precision 8
   width 320, height 240  components 3
     id 1 horizontal sampling 1, vertical sampling 1, quantization table 0
     id 2 horizontal sampling 1, vertical sampling 1, quantization table 0
     id 3 horizontal sampling 1, vertical sampling 1, quantization table 0
 offset $78 SOS (length 12)
   components 3
     id 1 dc table 0, ac table 0
     id 2 dc table 1, ac table 0
     id 3 dc table 2, ac table 0
   spectral selection 1 to 0, bit position high 0, low 0
 offset $25bc0 EOI

 C:\>jpegdump -v myvp.jpg

 myvp.jpg:
 offset $0 SOI
 offset $2 APP14 (length 14)
   Adobed\000\000\000\000\000\000
 offset $12 COM (length 38)
   Created by fCoder Graphics Processor
 offset $3a SOF3 (spatial lossless Huffman) (length 17)
   sample precision 8
   width 320, height 240  components 3
     id 82 horizontal sampling 1, vertical sampling 1, quantization table 0
     id 71 horizontal sampling 1, vertical sampling 1, quantization table 0
     id 66 horizontal sampling 1, vertical sampling 1, quantization table 0
 offset $4d DHT (length 28)
   table 0
 offset $6b SOS (length 12)
   components 3
     id 82 dc table 0, ac table 0
     id 71 dc table 0, ac table 0
     id 66 dc table 0, ac table 0
   spectral selection 1 to 63, bit position high 0, low 0
 offset $25f0f EOI

 C:\>jpegdump -v ffmpeg.jpg

 ffmpeg.jpg:
 offset $0 SOI
 offset $2 COM (length 16)
   Lavc55.31.101\000
 offset $14 DQT (length 67)
   table 0 precision 8
   Approximate quality factor for qtable 0: 61 (scale 77.31, var 1710.91)
 offset $59 DHT (length 418)
   table 0
   table 1
   table 16
   table 17
 offset $1fd SOF3 (spatial lossless Huffman) (length 17)
   sample precision 9
   width 320, height 240  components 3
     id 1 horizontal sampling 1, vertical sampling 1, quantization table 0
     id 2 horizontal sampling 1, vertical sampling 1, quantization table 0
     id 3 horizontal sampling 1, vertical sampling 1, quantization table 0
 offset $210 SOS (length 12)
   components 3
     id 1 dc table 0, ac table 0
     id 2 dc table 1, ac table 0
     id 3 dc table 1, ac table 0
   spectral selection 1 to 0, bit position high 0, low 0
 offset $22ffb EOI
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2967#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list