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

FFmpeg trac at avcodec.org
Mon Sep 16 02:56:49 CEST 2013


#2967: mjpeg enc: ljpeg output is incompatible with other programs
-------------------------------------+-------------------------------------
               Reporter:  ami_stuff  |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 I have tried to load the output file from FFmpeg to "My ViewPad" and
 "PicTools Apollo", but these programs rejected the file as broken.

 {{{
 C:\>ffmpeg -i 1.bmp -vcodec ljpeg ffmpeg.jpg
 ffmpeg version N-56198-gbbcaf25 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Sep 11 2013 19:06:31 with gcc 4.7.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-av
 isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
 --enab
 le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-
 libfreetyp
 e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
 --ena
 ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-l
 ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
 --enable-libsp
 eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-
 libvo-aa
 cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
 libx264
  --enable-libxavs --enable-libxvid --enable-zlib
   libavutil      52. 43.100 / 52. 43.100
   libavcodec     55. 31.101 / 55. 31.101
   libavformat    55. 16.102 / 55. 16.102
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 84.100 /  3. 84.100
   libswscale      2.  5.100 /  2.  5.100
   libswresample   0. 17.103 /  0. 17.103
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, image2, from '1.bmp':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: bmp, bgr24, 320x240, 25 tbr, 25 tbn, 25 tbc
 Output #0, image2, to 'ffmpeg.jpg':
   Metadata:
     encoder         : Lavf55.16.102
     Stream #0:0: Video: ljpeg, bgr24, 320x240, q=2-31, 200 kb/s, 90k tbn,
 25 tbc

 Stream mapping:
   Stream #0:0 -> #0:0 (bmp -> ljpeg)
 Press [q] to stop, [?] for help
 frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
 video:126kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 -100.017076%
 }}}


 jpegdump outputs this:


 {{{
 C:\>JPEGDUMP.EXE C:\apollo.jpg

 C:\apollo.jpg:
   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

 C:\>JPEGDUMP.EXE C:\myvp.jpg

 C:\myvp.jpg:
   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

 C:\>JPEGDUMP.EXE C:\ffmpeg.jpg

 C:\ffmpeg.jpg:
   Approximate quality factor for qtable 0: 61 (scale 77.31, var 1710.91)
   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
 }}}

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


More information about the FFmpeg-trac mailing list