[FFmpeg-trac] #5654(avdevice:reopened): avfoundation screen capture produces misaligned picture at 1366x768 resolution
FFmpeg
trac at avcodec.org
Mon Jun 20 23:16:01 CEST 2016
#5654: avfoundation screen capture produces misaligned picture at 1366x768
resolution
-------------------------------------+-------------------------------------
Reporter: | Owner:
evanrinehart | Status: reopened
Type: defect | Component: avdevice
Priority: normal | Resolution:
Version: unspecified | Blocked By:
Keywords: capture | Reproduced by developer: 0
avfoundation skew alignment |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by evanrinehart):
{{{
> ffmpeg -f avfoundation -i "1:none" out.mov
ffmpeg version N-80421-g0ea5805 Copyright (c) 2000-2016 the FFmpeg
developers
built with Apple LLVM version 7.0.2 (clang-700.1.81)
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
shared --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-
libtheora --enable-libvorbis --enable-libx264 --enable-opengl
libavutil 55. 24.100 / 55. 24.100
libavcodec 57. 46.100 / 57. 46.100
libavformat 57. 38.102 / 57. 38.102
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 46.102 / 6. 46.102
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
[avfoundation @ 0x7fd0eb800000] Selected pixel format (yuv420p) is not
supported by the input device.
[avfoundation @ 0x7fd0eb800000] Supported pixel formats:
[avfoundation @ 0x7fd0eb800000] uyvy422
[avfoundation @ 0x7fd0eb800000] yuyv422
[avfoundation @ 0x7fd0eb800000] nv12
[avfoundation @ 0x7fd0eb800000] 0rgb
[avfoundation @ 0x7fd0eb800000] bgr0
[avfoundation @ 0x7fd0eb800000] Overriding selected pixel format to use
uyvy422 instead.
Input #0, avfoundation, from '1:none':
Duration: N/A, start: 18501.637500, bitrate: N/A
Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1366x768,
30 tbr, 1000k tbn, 1000k tbc
File 'out.mov' already exists. Overwrite ? [y/N] y
No pixel format specified, yuv422p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0x7fd0eb866a00] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x7fd0eb866a00] profile High 4:2:2, level 3.2, 4:2:2 8-bit
[libx264 @ 0x7fd0eb866a00] 264 - core 148 r2668 fd2c324 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options:
cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[mov @ 0x7fd0eb024a00] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
Output #0, mov, to 'out.mov':
Metadata:
encoder : Lavf57.38.102
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv422p,
1366x768, q=-1--1, 30 fps, 15360 tbn, 30 tbc
Metadata:
encoder : Lavc57.46.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame= 734 fps= 48 q=-1.0 Lsize= 2849kB time=00:00:24.36 bitrate=
957.9kbits/s dup=412 drop=0 speed= 1.6x
video:2840kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.328457%
[libx264 @ 0x7fd0eb866a00] frame I:4 Avg QP:16.87 size:278497
[libx264 @ 0x7fd0eb866a00] frame P:209 Avg QP:23.56 size: 7342
[libx264 @ 0x7fd0eb866a00] frame B:521 Avg QP:32.17 size: 497
[libx264 @ 0x7fd0eb866a00] consecutive B-frames: 3.8% 4.4% 0.8% 91.0%
[libx264 @ 0x7fd0eb866a00] mb I I16..4: 38.2% 11.2% 50.6%
[libx264 @ 0x7fd0eb866a00] mb P I16..4: 0.7% 1.0% 1.8% P16..4: 2.7%
1.1% 0.4% 0.0% 0.0% skip:92.3%
[libx264 @ 0x7fd0eb866a00] mb B I16..4: 0.1% 0.5% 0.0% B16..8: 1.8%
0.2% 0.0% direct: 0.1% skip:97.3% L0:51.5% L1:46.9% BI: 1.7%
[libx264 @ 0x7fd0eb866a00] 8x8 transform intra:35.5% inter:20.6%
[libx264 @ 0x7fd0eb866a00] coded y,uvDC,uvAC intra: 33.5% 27.7% 25.7%
inter: 0.5% 0.4% 0.3%
[libx264 @ 0x7fd0eb866a00] i16 v,h,dc,p: 45% 50% 4% 1%
[libx264 @ 0x7fd0eb866a00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 12% 71% 0%
0% 0% 0% 0% 0%
[libx264 @ 0x7fd0eb866a00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 49% 16% 1%
2% 1% 9% 1% 6%
[libx264 @ 0x7fd0eb866a00] i8c dc,h,v,p: 79% 11% 9% 1%
[libx264 @ 0x7fd0eb866a00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x7fd0eb866a00] ref P L0: 53.3% 10.0% 24.0% 12.7%
[libx264 @ 0x7fd0eb866a00] ref B L0: 70.6% 28.1% 1.3%
[libx264 @ 0x7fd0eb866a00] ref B L1: 97.6% 2.4%
[libx264 @ 0x7fd0eb866a00] kb/s:950.66
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5654#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list