#7202: mjpeg compression creates laggy video
-------------------------------------+-------------------------------------
             Reporter:  jsteinkamp   |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Changes (by jsteinkamp):

 * status:  closed => reopened
 * resolution:  needs_more_info =>


Comment:

 Please don't close, changing the rgba to yuvj444p makes no difference.

 set input=tiffs\hibiscus1.%%04d.tif -pix_fmt yuvj444p
 set codec=-vcodec mjpeg -q:v 8 -f mov
 ffmpeg -y -framerate 30 -i %input% -frames 200 -vf "setsar=1" %codec%
 hibiscus1_ffmpeg_mjpeg.mov



 ffmpeg version N-91024-g293a6e8332 Copyright (c) 2000-2018 the FFmpeg
 developers

   built with gcc 7.3.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 bzlib --e
 nable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-
 libblur
 ay --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb
 --enable-
 libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine
 --enab
 le-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame
 --enable-li
 bvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
 libx265 --en
 able-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
 --enable-
 libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa
 --enabl
 e-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf
 --enabl
 e-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec
 --enab
 le-dxva2 --enable-avisynth
   libavutil      56. 18.100 / 56. 18.100
   libavcodec     58. 19.101 / 58. 19.101
   libavformat    58. 13.102 / 58. 13.102
   libavdevice    58.  4.100 / 58.  4.100
   libavfilter     7. 21.100 /  7. 21.100
   libswscale      5.  2.100 /  5.  2.100
   libswresample   3.  2.100 /  3.  2.100
   libpostproc    55.  2.100 / 55.  2.100
 Input #0, image2, from 'tiffs\hibiscus1.%04d.tif':
   Duration: 00:00:06.67, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: tiff, rgba, 1024x768 [SAR 1:1 DAR 4:3], 30 fps, 30
 tbr,
 30 tbn, 30 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (tiff (native) -> mjpeg (native))
 Press [q] to stop, [?] for help
 [swscaler @ 000000000291c000] deprecated pixel format used, make sure you
 did se
 t range correctly
 Output #0, mov, to 'hibiscus1_ffmpeg_mjpeg.mov':
   Metadata:
     encoder         : Lavf58.13.102
     Stream #0:0: Video: mjpeg (jpeg / 0x6765706A), yuvj444p(pc), 1024x768
 [SAR 1
 :1 DAR 4:3], q=2-31, 200 kb/s, 30 fps, 15360 tbn, 30 tbc
     Metadata:
       encoder         : Lavc58.19.101 mjpeg
     Side data:
       cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
 frame=   75 fps=0.0 q=8.0 size=    4096kB time=00:00:02.40
 bitrate=13980.8kbits/
 frame=  159 fps=158 q=8.0 size=    8960kB time=00:00:05.20
 bitrate=14115.3kbits/
 frame=  200 fps=160 q=8.0 Lsize=   11530kB time=00:00:06.63
 bitrate=14238.8kbits
 /s speed=5.31x
 video:11528kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing
  overhead: 0.014147%

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7202#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac

Reply via email to