[FFmpeg-trac] #7121(undetermined:new): Changing framerate of an MJPEG stream with piping drops malformed images

FFmpeg trac at avcodec.org
Tue Apr 3 17:56:49 EEST 2018


#7121: Changing framerate of an MJPEG stream with piping drops malformed images
-------------------------------------+-------------------------------------
             Reporter:  firesharker  |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 Changing framerate of an MJPEG stream with piping drops malformed images.

 How to reproduce:
 {{{
 % ffmpeg -i test.avi -c copy -f image2pipe - | ffmpeg -f image2pipe
 -framerate 10 -i - -c copy out.avi

 ffmpeg version 3.2.4 and N-45595-g5710fdaea-static
 on ubuntu 16.04 or OS X 10.9.5
 }}}
 In test.avi and out.avi there should be equal number of frames, but with
 10 fps instead of 1.

 The same job done with
 {{{
 ffmpeg -i test.avi -c copy frames%d.jpg
 ffmpeg -framerate 10 -i frames%d.jpg -c copy out.avi
 }}}
 works correctly.

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


More information about the FFmpeg-trac mailing list