Hi all,

Seeing odd behavior with screen capture recorder.

This always works on win 7. No problems. Even when resolution is set to
1920 x 1080

c:\ffmpeg\ffmpeg\bin\ffmpeg.exe -f dshow -i
video="screen-capture-recorder":audio="Microphone Array (Realtek High
Definition Audio)" -vcodec libx264 -pix_fmt yuv420p -preset ultrafast
-acodec pcm_s16le -ac 1 -ar 22050 C:\CMT\output.mkv

But it isn't working on this win 10 computer with the resolution set to
1920 x 1080.  What happens is that it actually crops the image down to
1536x864

Output Below

c:\ffmpeg\ffmpeg\bin\ffmpeg.exe -f dshow -i
video="screen-capture-recorder":audio="Microphone Array (Realtek High
Definition Audio)" -vcodec libx264 -pix_fmt yuv420p -preset ultrafast
-acodec pcm_s16le -ac 1 -ar 22050 C:\CMT\output.mkv
ffmpeg version N-80923-g50747d6 Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth
--enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enable-iconv --enable-libass --enable-libbluray --enable-libbs2b
--enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm
--enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
--enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.103 / 57. 48.103
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
leaving aero onGuessed Channel Layout for Input Stream #0.1 : stereo
Input #0, dshow, from 'video=screen-capture-recorder:audio=Microphone Array
(Realtek High Definition Audio)':
  Duration: N/A, start: 5660.844000, bitrate: N/A
    Stream #0:0: Video: rawvideo, bgr0, 1536x864, 30 fps, 30 tbr, 10000k
tbn, 10000k tbc
    Stream #0:1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
[libx264 @ 050fdd00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
FMA3 AVX2 LZCNT BMI2
[libx264 @ 050fdd00] profile Constrained Baseline, level 4.0
[libx264 @ 050fdd00] 264 - core 148 r2705 3f5ed56 - H.264/MPEG-4 AVC codec
- Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=0
ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00
mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0
intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69
qpstep=4 ip_ratio=1.40 aq=0
[matroska @ 050fc3a0] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, matroska, to 'C:\CMT\output.mkv':
  Metadata:
    encoder         : Lavf57.41.100
    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p,
1536x864, q=-1--1, 30 fps, 1k tbn, 30 tbc
    Metadata:
      encoder         : Lavc57.48.103 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, mono,
s16, 352 kb/s
    Metadata:
      encoder         : Lavc57.48.103 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Past duration 0.609367 too large
Past duration 0.999992 too large
frame=   18 fps=0.0 q=23.0 size=       1kB time=00:00:00.48 bitrate=
 15.0kbits/Past duration 0.937492 too large
Past duration 0.984367 too large
frame=   33 fps= 33 q=18.0 size=     667kB time=00:00:00.99
bitrate=5497.2kbits/Past duration 0.937492 too large
Past duration 0.984367 too large
    Last message repeated 1 times
frame=   48 fps= 32 q=14.0 size=     838kB time=00:00:01.49
bitrate=4599.2kbits/frame=   64 fps= 32 q=13.0 size=    1064kB
time=00:00:01.99 bitrate=4373.2kbits/Past duration 0.999992 too large
Past duration 0.984367 too large
frame=   79 fps= 31 q=21.0 size=    1327kB time=00:00:02.49
bitrate=4359.7kbits/Past duration 0.953117 too large
Past duration 0.984367 too large
frame=   94 fps= 31 q=13.0 size=    1523kB time=00:00:02.99
bitrate=4167.5kbits/Past duration 0.999992 too large
Past duration 0.874992 too large
frame=  109 fps= 31 q=25.0 size=    1862kB time=00:00:03.49
bitrate=4366.0kbits/Past duration 0.999992 too large
frame=  124 fps= 31 q=13.0 size=    2180kB time=00:00:03.99
bitrate=4470.4kbits/Past duration 0.999992 too large
frame=  140 fps= 31 q=15.0 size=    2485kB time=00:00:04.49
bitrate=4531.6kbits/Past duration 0.906242 too large
Past duration 0.999992 too large
Past duration 0.984367 too large
Past duration 0.968742 too large
frame=  155 fps= 31 q=22.0 size=    2807kB time=00:00:04.99
bitrate=4604.7kbits/frame=  161 fps= 30 q=-1.0 Lsize=    3651kB
time=00:00:05.36 bitrate=5572.2kbits/s speed=1.02x
video:3434kB audio:215kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.059571%
[libx264 @ 050fdd00] frame I:1     Avg QP:20.00  size:237285
[libx264 @ 050fdd00] frame P:160   Avg QP:18.98  size: 20490
[libx264 @ 050fdd00] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 050fdd00] mb P  I16..4:  2.4%  0.0%  0.0%  P16..4: 14.4%  0.0%
 0.0%  0.0%  0.0%    skip:83.2%
[libx264 @ 050fdd00] coded y,uvDC,uvAC intra: 45.7% 43.0% 41.8% inter: 5.7%
11.9% 10.2%
[libx264 @ 050fdd00] i16 v,h,dc,p: 70% 27%  3%  1%
[libx264 @ 050fdd00] i8c dc,h,v,p: 60% 16% 23%  1%
[libx264 @ 050fdd00] kb/s:5208.34
[dshow @ 0398ada0] real-time buffer [screen-capture-recorder] [video input]
too full or near too full (349% of size: 3041280 [rtbufsize parameter])!
frame dropped!


So I tried this:

c:\ffmpeg\ffmpeg\bin\ffmpeg.exe -f dshow -i
video="screen-capture-recorder":audio="Microphone Array (Realtek High
Definition Audio)" -s 1920x1080 -r 15 -vcodec libx264 -pix_fmt yuv420p
-preset ultrafast -acodec pcm_s16le -ac 1 -ar 22050 C:\CMT\output.mkv
ffmpeg version N-80923-g50747d6 Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth
--enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enable-iconv --enable-libass --enable-libbluray --enable-libbs2b
--enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm
--enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
--enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.103 / 57. 48.103
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
leaving aero onGuessed Channel Layout for Input Stream #0.1 : stereo
Input #0, dshow, from 'video=screen-capture-recorder:audio=Microphone Array
(Realtek High Definition Audio)':
  Duration: N/A, start: 5799.865000, bitrate: N/A
    Stream #0:0: Video: rawvideo, bgr0, 1536x864, 30 fps, 30 tbr, 10000k
tbn, 10000k tbc
    Stream #0:1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
[libx264 @ 0504e2e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
FMA3 AVX2 LZCNT BMI2
[libx264 @ 0504e2e0] profile Constrained Baseline, level 4.0
[libx264 @ 0504e2e0] 264 - core 148 r2705 3f5ed56 - H.264/MPEG-4 AVC codec
- Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=0
ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00
mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=15 scenecut=0
intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69
qpstep=4 ip_ratio=1.40 aq=0
[dshow @ 038cae60] real-time buffer [screen-capture-recorder] [video input]
too full or near too full (349% of size: 3041280 [rtbufsize parameter])!
frame dropped!
[matroska @ 0504c5a0] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, matroska, to 'C:\CMT\output.mkv':
  Metadata:
    encoder         : Lavf57.41.100
    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p,
1920x1080, q=-1--1, 15 fps, 1k tbn, 15 tbc
    Metadata:
      encoder         : Lavc57.48.103 libx264
    Side data:
      cpb: real-time buffer [screen-capture-recorder] [video input] too
full or near too full (349% of size: 3041280 [rtbufsize parameter])! frame
dropped!
bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, mono,
s16, 352 kb/s
    Metadata:
      encoder         : Lavc57.48.103 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (pcm_s16le (native) -> pcm_s16le (native))
[dshow @ 038cae60] real-time buffer [screen-capture-recorder] [video input]
too full or near too full (349% of size: 3041280 [rtbufsize parameter])!
frame dropped!
Press [q] to stop, [?] for help
frame=  320 fps= 15 q=-1.0 Lsize=    3724kB time=00:00:21.40
bitrate=1425.5kbits/s dup=0 drop=268 speed=1.01x
video:2816kB audio:904kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.094860%
[libx264 @ 0504e2e0] frame I:2     Avg QP:14.00  size:587260
[libx264 @ 0504e2e0] frame P:318   Avg QP:11.41  size:  5373
[libx264 @ 0504e2e0] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 0504e2e0] mb P  I16..4:  0.4%  0.0%  0.0%  P16..4:  9.8%  0.0%
 0.0%  0.0%  0.0%    skip:89.8%
[libx264 @ 0504e2e0] coded y,uvDC,uvAC intra: 46.5% 42.2% 41.2% inter: 1.6%
6.4% 0.9%
[libx264 @ 0504e2e0] i16 v,h,dc,p: 71% 24%  3%  2%
[libx264 @ 0504e2e0] i8c dc,h,v,p: 63% 14% 22%  1%
[libx264 @ 0504e2e0] kb/s:1074.48
[dshow @ 038cae60] real-time buffer [screen-capture-recorder] [video input]
too full or near too full (349% of size: 3041280 [rtbufsize parameter])!
frame dropped!


Again, the video is still cropped even though the output says it's 1920 x
1080

Any ideas?

Thanks!

Tim
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to