[FFmpeg-trac] #9640(avformat:new): Re-add singlejpeg muxer

FFmpeg trac at avcodec.org
Fri Feb 11 16:32:11 EET 2022


#9640: Re-add singlejpeg muxer
-------------------------------------+-------------------------------------
             Reporter:  bubbleguuum  |                     Type:
                                     |  enhancement
               Status:  new          |                 Priority:  normal
            Component:  avformat     |                  Version:  git-
                                     |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 The singlejpeg muxer was removed in that commit, on April 10th 2021:

 https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/240aa70b798e99c15191d986261966bdbce59dba

 Whose text is:

 "It was added in 51ac1f616f due to ticket #4218, in order to show a single
 image via ffserver. With ffserver long gone, it serves no purpose."

 singlejpeg is useful for generating jpeg on stdout. For example here,
 extracting a cover embedded in an mp3:

 ffmpeg -i blargh.mp3 -map 0:1 -f singlejpeg - > /dev/null

 Command above is for illustrating purpose and not super useful in itself,
 but a program might want to generate a jpeg this way in memory (thus to
 stdout), for example to http stream it (without writing it to a file
 first).
 I have such program that make use of singlejpeg this way.

 Please consider re-adding singlejpeg.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9640>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list