rdp / screen-capture-recorder-to-video-windows-free

a free open source windows "screen capture" device and recorder (also allows VLC/ffmpeg and others to capture/stream desktop/audio)
https://github.com/rdp/screen-capture-recorder-to-video-windows-free/releases
Other
2.11k stars 463 forks source link

Issue with saving part of the screen: Invalid too big or non positive size for width or height #73

Closed xiaose closed 7 years ago

xiaose commented 8 years ago

error: [Parsed_crop_0 @ 02e08da0] Invalid too big or non positive size for width '778' or height '540'

I have issue with saving part of the screen in this way:

ffmpeg.exe -rtbufsize 2000M -f dshow -i video=screen-capture-recorder -r 30 -vf crop=778:540:2:180:keep_aspect=1 -b:v 20M C:\temp\test.mpg

ffmpeg version N-79253-g8005b6d Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --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-libmfx --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. 20.100 / 55. 20.100
  libavcodec     57. 34.100 / 57. 34.100
  libavformat    57. 30.100 / 57. 30.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 40.102 /  6. 40.102
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100

Input #0, dshow, from 'video=screen-capture-recorder':
  Duration: N/A, start: 351764.613000, bitrate: N/A
    Stream #0:0: Video: rawvideo, bgr0, 772x436, 30 tbr, 10000k tbn, 30 tbc
[Parsed_crop_0 @ 02e08da0] Invalid too big or non positive size for width '778' or height '540'
[Parsed_crop_0 @ 02e08da0] Failed to configure input pad on Parsed_crop_0
Error opening filters!
rdp commented 8 years ago

possibly a bug with your crop command? Does it succeed without it?

On Tue, Apr 26, 2016 at 11:25 AM, xiaose notifications@github.com wrote:

error: [Parsed_crop_0 @ 02e08da0] Invalid too big or non positive size for width '778' or height '540'

I have issue with saving part of the screen in this way:

ffmpeg.exe -rtbufsize 2000M -f dshow -i video=screen-capture-recorder -r 30 -vf crop=778:540:2:180:keep_aspect=1 -b:v 20M C:\temp\test.mpg

ffmpeg version N-79253-g8005b6d Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --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-libmfx --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. 20.100 / 55. 20.100 libavcodec 57. 34.100 / 57. 34.100 libavformat 57. 30.100 / 57. 30.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 40.102 / 6. 40.102 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100

Input #0, dshow, from 'video=screen-capture-recorder': Duration: N/A, start: 351764.613000, bitrate: N/A Stream #0:0: Video: rawvideo, bgr0, 772x436, 30 tbr, 10000k tbn, 30 tbc [Parsed_crop_0 @ 02e08da0] Invalid too big or non positive size for width '778' or height '540' [Parsed_crop_0 @ 02e08da0] Failed to configure input pad on Parsed_crop_0 Error opening filters!

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/73

xiaose commented 8 years ago

Yes, it's issue with crop. I tried to cut part with size: 778x540 and cannot because screen-capture-recorder return video with size only 772x436. Not all screen

Stream #0:0: Video: rawvideo, bgr0, 772x436, 30 tbr, 10000k tbn, 30 tbc

How I can tell to screen-capture-recorder to grab all screen or some part of it?

rdp commented 8 years ago

Do you have some registry values set that make it capture just that portion of it?

On Thu, Apr 28, 2016 at 5:15 AM, xiaose notifications@github.com wrote:

Yes, it's issue with crop. I tried to cut part with size: 778x540 and cannot because screen-capture-recorder return video with size only 772x436. Not all screen

Stream #0:0: Video: rawvideo, bgr0, 772x436, 30 tbr, 10000k tbn, 30 tbc

How I can tell to screen-capture-recorder to grab all screen or some part of it?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/73#issuecomment-215391826

xiaose commented 8 years ago

No, I have no registry values... But is it possible to tell to screen-capture-recorder which part of screen I want to grab?

BTW, this issue happens when I want to grab video from http://totallyguitars.com/ but when I select video on YouTube than is no problem...

rdp commented 8 years ago

how are you doing the selection for youtube (cropping etc.)?

On Thu, Apr 28, 2016 at 2:17 PM, xiaose notifications@github.com wrote:

No, I have no registry values... But is it possible to tell to screen-capture-recorder which part of screen I want to grab?

BTW, this issue happens when I want to grab video from http://totallyguitars.com/ but when I select video on YouTube than is no problem...

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/73#issuecomment-215549234

rdp commented 7 years ago

closing no response