[FFmpeg-trac] #10228(undetermined:new): Screen recording on Mac produces a skewed output video

FFmpeg trac at avcodec.org
Tue Feb 28 23:19:44 EET 2023


#10228: Screen recording on Mac produces a skewed output video
-------------------------------------+-------------------------------------
             Reporter:  zachog       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Doing a screen capture recording on Mac results in a output video file
 where each line is offset from the prior line.  This is the same behavior
 described in this ticket that was marked as fixed from 4 years ago:
 https://trac.ffmpeg.org/ticket/5654.  However, this reproduces in a build
 with a build date from yesterday.

 How to reproduce:
 1. ffmpeg -f avfoundation -i "0:" out.avi
 2. Press 'q' after a second or two.

 Expected:
 A video file is produced of the screen contents.

 Actual:
 A video file is produced but the video contents are skewed and unusable.
 See attached video file.

 Console output:ffmpeg version N-109934-g891ed24f77-tessus
 https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2023 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      58.  3.100 / 58.  3.100
   libavcodec     60.  5.100 / 60.  5.100
   libavformat    60.  4.100 / 60.  4.100
   libavdevice    60.  2.100 / 60.  2.100
   libavfilter     9.  4.100 /  9.  4.100
   libswscale      7.  2.100 /  7.  2.100
   libswresample   4. 11.100 /  4. 11.100
   libpostproc    57.  2.100 / 57.  2.100
 [AVFoundation indev @ 0x7f9308504540] Configuration of video device
 failed, falling back to default.
 [avfoundation @ 0x7f9308504080] Selected pixel format (yuv420p) is not
 supported by the input device.
 [avfoundation @ 0x7f9308504080] Supported pixel formats:
 [avfoundation @ 0x7f9308504080]   uyvy422
 [avfoundation @ 0x7f9308504080]   yuyv422
 [avfoundation @ 0x7f9308504080]   nv12
 [avfoundation @ 0x7f9308504080]   0rgb
 [avfoundation @ 0x7f9308504080]   bgr0
 [avfoundation @ 0x7f9308504080] Overriding selected pixel format to use
 uyvy422 instead.
 [avfoundation @ 0x7f9308504080] Stream #0: not enough frames to estimate
 rate; consider increasing probesize
 Input #0, avfoundation, from '0:':
   Duration: N/A, start: 10275.945000, bitrate: N/A
   Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1877x915,
 1000k tbr, 1000k tbn
 File '/Users/runner/tmp/out.avi' already exists. Overwrite? [y/N] y
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
 Press [q] to stop, [?] for help
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10228>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list