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

FFmpeg trac at avcodec.org
Tue Sep 17 16:49:20 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):

 Replying to [comment:6 cehoyos]:
 > Maybe not writing DQT?

 still doesn't decode (with neither program) with commented out

 //    put_marker(p, DQT);


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

 ffmpeg_2.jpg:
 offset $0 SOI
 offset $2 COM (length 16)
   Lavc55.31.101\000
 offset $57 DHT (length 418)
   table 0
   table 1
   table 16
   table 17
 offset $1fb 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 $20e 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 $1f741 EOI
 }}}

 so probably they want sample precision 8

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


More information about the FFmpeg-trac mailing list