[FFmpeg-trac] #8412(undetermined:new): JPEG encoder produces extra RST marker

FFmpeg trac at avcodec.org
Wed Dec 4 09:19:05 EET 2019

#8412: JPEG encoder produces extra RST marker
             Reporter:  MartinPulec  |                     Type:  defect
               Status:  new          |                 Priority:  minor
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 FFMPEG MJPEG encoder produces extra RST marker at the end of the stream.

 Steps to reproduce:
 % ffmpeg -f lavfi -i color=c=black:s=1920x1080 -thread_type slice
 -frames:v 1 test.jpg
 fmpeg version N-95941-g637742b45d Copyright (c) 2000-2019 the FFmpeg
 % xxd -s -4 test.jpg
 000082c4: ffd3 ffd9                                ....

 0xFFD3 is a RST3 marker. If I understand it correctly, according to
 [https://www.w3.org/Graphics/JPEG/itu-t81.pdf ITU-T T.81] (figure E.3),
 there should not be a trailing restart marker after that there is no data.

Ticket URL: <https://trac.ffmpeg.org/ticket/8412>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list