[FFmpeg-user] PhotoJPEG File doesn't playback properly on Quicktime 7

Patrick Cusack patrickcusack at mac.com
Fri Feb 25 19:49:58 EET 2022


>> I wouldn’t know if this is an ffmpeg or Quicktime 7 issue, but I am encountering  playback stutter on Quicktime 7 when playing back photo-jpeg encoded files. I don’t encounter this issue in Quicktime X or with other players. I only bring this up so I can verify that I am not missing anything. I am using the following example:
>> 
>> ffmpeg -i moviefile.mov -c:v mjpeg -pix_fmt yuv420p output.mov
>> 
>> How would you recommend I further diagnose this issue?

> please post the complete/unedited command output to the list (see https://ffmpeg.org/mailing-list-faq.html)

I have attached my command line. Again these files only stutter in Quicktime 7. Should this be a QT7 issue, then fine, but I would like to know any possibility that would cause this.

Thanks

User-MacBook-Pro-2:~ User$ ffmpeg -i /Users/User/Documents/Media/1/FF8_SMALL.mov -vf "scale=720x480" -c:v mjpeg -pix_fmt yuvj420p output.mov

ffmpeg version N-101101-gc0d0b1c4f6-tessus  https://evermeet.cx/ffmpeg/ <https://evermeet.cx/ffmpeg/>  Copyright (c) 2000-2021 the FFmpeg developers
 built with Apple clang version 11.0.0 (clang-1100.0.33.17)
 configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
 libavutil      56. 65.100 / 56. 65.100
 libavcodec     58.123.100 / 58.123.100
 libavformat    58. 67.100 / 58. 67.100
 libavdevice    58. 12.100 / 58. 12.100
 libavfilter     7.106.100 /  7.106.100
 libswscale      5.  8.100 /  5.  8.100
 libswresample   3.  8.100 /  3.  8.100
 libpostproc    55.  8.100 / 55.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/User/Documents/Media/1/FF8_SMALL.mov':
 Metadata:
   major_brand     : qt  
   minor_version   : 512
   compatible_brands: qt  
   encoder         : Lavf58.67.100
 Duration: 00:00:30.03, start: 0.000000, bitrate: 36139 kb/s
 Stream #0:0(eng): Video: dnxhd (DNXHD) (AVdn / 0x6E645641), yuv422p(tv, bt709/unknown/unknown), 1920x1080, 36139 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 23976 tbn, 23976 tbc (default)
   Metadata:
     handler_name    : Apple Video Media Handler
     vendor_id       : FFMP
     encoder         : DNxHD  709
     timecode        : 00:00:00:00
 Stream #0:1(eng): Data: none (tmcd / 0x64636D74), 0 kb/s
   Metadata:
     handler_name    : Apple Video Media Handler
     timecode        : 00:00:00:00
File 'output.mov' already exists. Overwrite? [y/N] y
Stream mapping:
 Stream #0:0 -> #0:0 (dnxhd (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[swscaler @ 0x7fcb1f4d6000] deprecated pixel format used, make sure you did set range correctly
Output #0, mov, to 'output.mov':
 Metadata:
   major_brand     : qt  
   minor_version   : 512
   compatible_brands: qt  
   encoder         : Lavf58.67.100
 Stream #0:0(eng): Video: mjpeg (jpeg / 0x6765706A), yuvj420p(pc, bt709/unknown/unknown, progressive), 720x480 [SAR 32:27 DAR 16:9], q=2-31, 200 kb/s, 0.04 fps, 11988 tbn (default)
   Metadata:
     handler_name    : Apple Video Media Handler
     vendor_id       : FFMP
     timecode        : 00:00:00:00
     encoder         : Lavc58.123.100 mjpeg
   Side data:
     cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
frame=  720 fps=226 q=24.8 Lsize=    7871kB time=00:00:29.98 bitrate=2150.2kbits/s speed=9.43x    
video:7867kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.055005%


More information about the ffmpeg-user mailing list