[FFmpeg-trac] #5654(undetermined:closed): avfoundation screen capture produces misaligned picture at 1366x768 resolution
FFmpeg
trac at avcodec.org
Mon Jun 20 22:29:00 CEST 2016
#5654: avfoundation screen capture produces misaligned picture at 1366x768
resolution
-------------------------------------+-------------------------------------
Reporter: | Owner:
evanrinehart | Status: closed
Type: defect | Component:
Priority: normal | undetermined
Version: unspecified | Resolution: duplicate
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by evanrinehart):
I tried both the command that is the problem in #4079 and both suggested
workarounds, rgb24 and yuv444p and they both produce the same issue I am
having with a full screen capture (though the output is cropped). You can
see the problem by looking at the attached .mov or I can upload the
cropped version.
Command I used:
ffmpeg -f avfoundation -pix_fmt uyvy422 -video_device_index 1
-audio_device_index 0 -i "" -r 60 -c:v libx264 -crf 0 -vf
format=yuv444p,crop=426:240:507:339 -c:a pcm_s16le -ar 48000 out.mov
Because others seem to have no trouble on "normal" resolutions I think my
circumstances are caused by the 1366x768 resolution. I am still looking at
the avfoundation.m source file to try and understand where the bad width
is coming from.
I don't really consider this issue closed.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5654#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list