[FFmpeg-trac] #8759(avcodec:new): ffmpeg generated Photo-JPEG QuickTime with yuvj422p won't play in QT on macOS Catalina/BigSur (10.15+)

FFmpeg trac at avcodec.org
Thu Jun 25 20:20:16 EEST 2020


#8759: ffmpeg generated Photo-JPEG QuickTime with yuvj422p won't play in QT on
macOS Catalina/BigSur (10.15+)
----------------------------------+----------------------------------
             Reporter:  dyamized  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avcodec   |                  Version:  4.2
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+----------------------------------
 Summary of the bug:

 Our software uses ffmpeg to generate PhotoJPEG QuickTime movies via the
 'mjpeg' codec, with pixel format yuvj422p.

 As of macOS 10.15 (Catalina), these generated movie files do not play in
 QuickTime.

 Catalina still supports the Photo-JPEG codec, and can play QuickTime-
 generated Photo-JPEG movies with the yuvj422p pixel format.

 However, files of the same format created with ffmpeg no longer work.

 Interestingly, if you use the default pixel format, yuvj420p, the movie
 file will work with QuickTime on Catalina.


 How to reproduce:
 {{{
 % ffmpeg -i anymovie.mov -c:v mjpeg -pix_fmt yuvj422p output_yuvj422p.mov

 ffmpeg version 4.3 Copyright (c) 2000-2020 the FFmpeg developers
   built with Apple clang version 11.0.0 (clang-1100.0.33.17)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3_1 --enable-shared
 --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-
 cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl
 --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame
 --enable-libopus --enable-librav1e --enable-librubberband --enable-
 libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora
 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp
 --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-
 libfontconfig --enable-libfreetype --enable-frei0r --enable-libass
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox
 --disable-libjack --disable-indev=jack
   libavutil      56. 51.100 / 56. 51.100
   libavcodec     58. 91.100 / 58. 91.100
   libavformat    58. 45.100 / 58. 45.100
   libavdevice    58. 10.100 / 58. 10.100
   libavfilter     7. 85.100 /  7. 85.100
   libavresample   4.  0.  0 /  4.  0.  0
   libswscale      5.  7.100 /  5.  7.100
   libswresample   3.  7.100 /  3.  7.100
   libpostproc    55.  7.100 / 55.  7.100
 Hyper fast Audio and Video encoder
 usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]
 outfile}...

 built on macOS 10.14.5 via homebrew
 }}}

 We witnessed this behavior with ffmpeg versions going back to 3.2.2, so it
 is not a regression.

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


More information about the FFmpeg-trac mailing list