Max rtbufsize Via dshow

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

Max rtbufsize Via dshow

Gabriel Balaich
Up until a few days ago I had been running two capture cards, 1x4K card and
1x1080P card, I would encode both streams with a
GTX 1080 no dropped frames no issues. But just recently I replaced the
1080P capture card with another 4K capture card to prep
for a new camera and can't get things working gracefully. On my first test
encoding 2x4K60 streams simultaneously I dropped
frames starting the recording *and *ending the recording, but nothing
in-between.

Errors displayed:
[dshow @ 000001499bb17180] real-time buffer [Video (00 Pro Capture HDMI
4K+)] [video input] too full or near too full (62% of
size: 2147480000 [rtbufsize parameter])! frame dropped!
[dshow @ 00000149944e7080] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (62% of
size: 2147480000 [rtbufsize parameter])! frame dropped!

The obvious answer, according to the warning, would be increasing rtbufsize
but I seem to have hit the cap... If I try to increase
rtbufsize passed 2147.48M I get another error:
[dshow @ 00000250df6c7080] Value 3000000000.000000 for parameter
'rtbufsize' out of range [0 - 2.14748e+09]
[dshow @ 00000250df6c7080] Error setting option rtbufsize to value 3000M.
video=AVerMedia HD Capture GC573 1:audio=SPDIF/ADAT (1+2) (RME Fireface
UC): Result too large

Is this a baked in limitation of FFmpeg or dshow? And if it is, why impose
said limitation?

Since then I've tried messing with other parts of my command and found that
by re-arranging my inputs / outputs I can prevent
frame drops upon starting a recording but I still can't end a recording
without dropping a bunch of frames.

Anyone know why re-arranging my inputs / outputs would prevent frames from
dropping when starting a recording or affect
anything? Is it possible to bypass the rtbufsize cap? Any other ideas?

Here is my full command, Ignore the blank numbers next to -ss, will be used
to sync outputs when everything is working:
ffmpeg -y -hide_banner -thread_queue_size 9999 -indexmem 9999
-guess_layout_max 0 -f dshow -rtbufsize 2147.48M `
-i audio="Analog (1+2) (RME Fireface UC)" `
-thread_queue_size 9999 -indexmem 9999 -guess_layout_max 0 -f dshow
-rtbufsize 2147.48M `
-i audio="ADAT (5+6) (RME Fireface UC)" `
-thread_queue_size 9999 -indexmem 9999 -r 25 -f lavfi -rtbufsize 2147.48M
-i color=c=black:s=50x50 `
-thread_queue_size 9999 -indexmem 9999 -guess_layout_max 0 -f dshow
-video_size 3840x2160 -rtbufsize 2147.48M `
-framerate 60 -pixel_format nv12 -i video="AVerMedia HD Capture GC573
1":audio="SPDIF/ADAT (1+2) (RME Fireface UC)" `
-thread_queue_size 9999 -indexmem 9999 -guess_layout_max 0 -f dshow
-video_size 3840x2160 -rtbufsize 2147.48M `
-framerate 60 -pixel_format nv12 -i video="Video (00 Pro Capture HDMI
4K+)":audio="ADAT (3+4) (RME Fireface UC)" `
-map 2,0 -map 0 -c:v libx264 -r 25 -rc-lookahead 50 -forced-idr 1
-sc_threshold 0 -flags +cgop `
-force_key_frames "expr:gte(t,n_forced*2)" -preset ultrafast -pix_fmt nv12
-b:v 16K -minrate 16K -maxrate 16K -bufsize 16k `
-c:a aac -ar 44100 -b:a 384k -ac 2 -af "aresample=async=250" -vsync 1 -ss
00:00:00.000 `
-max_muxing_queue_size 9999 -f segment -segment_time 600 -segment_wrap 9
-reset_timestamps 1 `
-segment_format_options max_delay=0
C:\Users\djcim\Videos\Main\Discord\Discord%02d.ts `
-map 2,1 -map 1 -c:v libx264 -r 25 -rc-lookahead 50 -forced-idr 1
-sc_threshold 0 -flags +cgop `
-force_key_frames "expr:gte(t,n_forced*2)" -preset ultrafast -pix_fmt nv12
-b:v 16K -minrate 16K -maxrate 16K -bufsize 16k `
-c:a aac -ar 44100 -b:a 384k -ac 2 -af "aresample=async=250" -vsync 1 -ss
00:00:00.000 `
-max_muxing_queue_size 9999 -f segment -segment_time 600 -segment_wrap 9
-reset_timestamps 1 `
-segment_format_options max_delay=0
C:\Users\djcim\Videos\Main\Soundboard\Soundboard%02d.ts `
-map 3:0,3:1 -map 3:1 -c:v h264_nvenc -r 60 -rc-lookahead 120 -forced-idr 1
-strict_gop 1 -sc_threshold 0 -flags +cgop `
-force_key_frames "expr:gte(t,n_forced*2)" -preset: llhp -pix_fmt nv12 -b:v
250M -minrate 250M -maxrate 250M -bufsize 250M `
-c:a aac -ar 44100 -b:a 384k -ac 2 -af "pan=mono|c0=c0,
aresample=async=250" -vsync 1 -ss 00:00:00.000 `
-max_muxing_queue_size 9999 -f segment -segment_time 600 -segment_wrap 9
-reset_timestamps 1 `
-segment_format_options max_delay=0
C:\Users\djcim\Videos\Main\Camera\Camera%02d.ts `
-map 4:0,4:1 -map 4:1 -c:v h264_nvenc -r 60 -rc-lookahead 120 -forced-idr 1
-strict_gop 1 -sc_threshold 0 -flags +cgop `
-force_key_frames "expr:gte(t,n_forced*2)" -preset: llhp -pix_fmt nv12 -b:v
250M -minrate 250M -maxrate 250M -bufsize 250M `
-c:a aac -ar 44100 -b:a 384k -ac 2 -af "atrim=0.086, asetpts=PTS-STARTPTS,
aresample=async=250" -vsync 1 -ss 00:00:00.000 `
-max_muxing_queue_size 9999 -f segment -segment_time 600 -segment_wrap 9
-reset_timestamps 1 `
-segment_format_options max_delay=0
C:\Users\djcim\Videos\Main\Magewell\Magewell%02d.ts
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Max rtbufsize Via dshow

Carl Eugen Hoyos-2
2018-09-14 18:26 GMT+02:00, Gabriel Balaich <[hidden email]>:

> Errors displayed:
> [dshow @ 000001499bb17180] real-time buffer [Video (00 Pro Capture
> HDMI 4K+)] [video input] too full or near too full (62% of
> size: 2147480000 [rtbufsize parameter])! frame dropped!

This indicates a performance issue...

> Here is my full command

... but it's easier to debug if you also provide the complete,
uncut console output.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Max rtbufsize Via dshow

Gabriel Balaich
>
> This indicates a performance issue...
>
> ... but it's easier to debug if you also provide the complete,
> uncut console output.
>

Thank you for the reply.

System specs:
Asus X99-E
Intel 6800K
Nvidia GTX 1080
G.Skill Tridentz 32GB DDR4
1TB Samsung 860 Evo
Magwell Pro Capture HDMI 4K Plus
Avermedia Live Gamer 4K
Corsair HX750

Uncut console:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\djcim> ffmpeg -y -hide_banner -thread_queue_size 9999 -indexmem
9999 -guess_layout_max 0 -f dshow -rtbufsize 2147.48M `
>> -i audio="Analog (1+2) (RME Fireface UC)" `
>> -thread_queue_size 9999 -indexmem 9999 -guess_layout_max 0 -f dshow
-rtbufsize 2147.48M `
>> -i audio="ADAT (5+6) (RME Fireface UC)" `
>> -thread_queue_size 9999 -indexmem 9999 -r 25 -f lavfi -rtbufsize
2147.48M -i color=c=black:s=50x50 `
>> -thread_queue_size 9999 -indexmem 9999 -guess_layout_max 0 -f dshow
-video_size 3840x2160 -rtbufsize 2147.48M `
>> -framerate 60 -pixel_format nv12 -i video="AVerMedia HD Capture GC573
1":audio="SPDIF/ADAT (1+2) (RME Fireface UC)" `
>> -thread_queue_size 9999 -indexmem 9999 -guess_layout_max 0 -f dshow
-video_size 3840x2160 -rtbufsize 2147.48M `
>> -framerate 60 -pixel_format nv12 -i video="Video (00 Pro Capture HDMI
4K+)":audio="ADAT (3+4) (RME Fireface UC)" `
>> -map 2,0 -map 0 -c:v libx264 -r 25 -rc-lookahead 50 -forced-idr 1
-sc_threshold 0 -flags +cgop `
>> -force_key_frames "expr:gte(t,n_forced*2)" -preset ultrafast -pix_fmt
nv12 -b:v 16K -minrate 16K -maxrate 16K -bufsize 16k `
>> -c:a aac -ar 44100 -b:a 384k -ac 2 -af "aresample=async=250" -vsync 1
-ss 00:00:00.000 `
>> -max_muxing_queue_size 9999 -f segment -segment_time 600 -segment_wrap 9
-reset_timestamps 1 `
>> -segment_format_options max_delay=0
C:\Users\djcim\Videos\Main\Discord\Discord%02d.ts `
>> -map 2,1 -map 1 -c:v libx264 -r 25 -rc-lookahead 50 -forced-idr 1
-sc_threshold 0 -flags +cgop `
>> -force_key_frames "expr:gte(t,n_forced*2)" -preset ultrafast -pix_fmt
nv12 -b:v 16K -minrate 16K -maxrate 16K -bufsize 16k `
>> -c:a aac -ar 44100 -b:a 384k -ac 2 -af "aresample=async=250" -vsync 1
-ss 00:00:00.000 `
>> -max_muxing_queue_size 9999 -f segment -segment_time 600 -segment_wrap 9
-reset_timestamps 1 `
>> -segment_format_options max_delay=0
C:\Users\djcim\Videos\Main\Soundboard\Soundboard%02d.ts `
>> -map 3:0,3:1 -map 3:1 -c:v h264_nvenc -r 60 -rc-lookahead 120
-forced-idr 1 -strict_gop 1 -sc_threshold 0 -flags +cgop `
>> -force_key_frames "expr:gte(t,n_forced*2)" -preset: llhp -pix_fmt nv12
-b:v 250M -minrate 250M -maxrate 250M -bufsize 250M `
>> -c:a aac -ar 44100 -b:a 384k -ac 2 -af "pan=mono|c0=c0,
aresample=async=250" -vsync 1 -ss 00:00:00.000 `
>> -max_muxing_queue_size 9999 -f segment -segment_time 600 -segment_wrap 9
-reset_timestamps 1 `
>> -segment_format_options max_delay=0
C:\Users\djcim\Videos\Main\Camera\Camera%02d.ts `
>> -map 4:0,4:1 -map 4:1 -c:v h264_nvenc -r 60 -rc-lookahead 120
-forced-idr 1 -strict_gop 1 -sc_threshold 0 -flags +cgop `
>> -force_key_frames "expr:gte(t,n_forced*2)" -preset: llhp -pix_fmt nv12
-b:v 250M -minrate 250M -maxrate 250M -bufsize 250M `
>> -c:a aac -ar 44100 -b:a 384k -ac 2 -af "atrim=0.086,
asetpts=PTS-STARTPTS, aresample=async=250" -vsync 1 -ss 00:00:00.000 `
>> -max_muxing_queue_size 9999 -f segment -segment_time 600 -segment_wrap 9
-reset_timestamps 1 `
>> -segment_format_options max_delay=0
C:\Users\djcim\Videos\Main\Magewell\Magewell%02d.ts
Input #0, dshow, from 'audio=Analog (1+2) (RME Fireface UC)':
  Duration: N/A, start: 72723.212000, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Input #1, dshow, from 'audio=ADAT (5+6) (RME Fireface UC)':
  Duration: N/A, start: 72723.898000, bitrate: 1411 kb/s
    Stream #1:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Input #2, lavfi, from 'color=c=black:s=50x50':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #2:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 50x50 [SAR
1:1 DAR 1:1], 25 tbr, 25 tbn, 25 tbc
Input #3, dshow, from 'video=AVerMedia HD Capture GC573 1:audio=SPDIF/ADAT
(1+2) (RME Fireface UC)':
  Duration: N/A, start: 72724.839000, bitrate: 1411 kb/s
    Stream #3:0: Video: rawvideo (NV12 / 0x3231564E), nv12, 3840x2160, 60
fps, 60 tbr, 10000k tbn, 10000k tbc
    Stream #3:1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Input #4, dshow, from 'video=Video (00 Pro Capture HDMI 4K+):audio=ADAT
(3+4) (RME Fireface UC)':
  Duration: N/A, start: 72726.999000, bitrate: N/A
    Stream #4:0: Video: rawvideo (NV12 / 0x3231564E), nv12, 3840x2160, 60
fps, 60 tbr, 10000k tbn, 10000k tbc
    Stream #4:1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Stream mapping:
  Stream #2:0 -> #0:0 [sync #0:0] (rawvideo (native) -> h264 (libx264))
  Stream #0:0 -> #0:1 (pcm_s16le (native) -> aac (native))
  Stream #2:0 -> #1:0 [sync #1:0] (rawvideo (native) -> h264 (libx264))
  Stream #1:0 -> #1:1 (pcm_s16le (native) -> aac (native))
  Stream #3:0 -> #2:0 [sync #3:1] (rawvideo (native) -> h264 (h264_nvenc))
  Stream #3:1 -> #2:1 (pcm_s16le (native) -> aac (native))
  Stream #4:0 -> #3:0 [sync #4:1] (rawvideo (native) -> h264 (h264_nvenc))
  Stream #4:1 -> #3:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 000001a8f7a97ec0] using SAR=1/1
[libx264 @ 000001a8f7a97ec0] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001a8f7a97ec0] profile Constrained Baseline, level 1.0,
4:2:0, 8-bit
[libx264 @ 000001a8f7a97ec0] 264 - core 157 r2932 303c484 - H.264/MPEG-4
AVC codec - Copyleft 2003-2018 - 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=1 8x8dct=0
cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=2
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_lookahead=50 rc=cbr mbtree=0
bitrate=16 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=16
vbv_bufsize=16 nal_hrd=none filler=0 ip_ratio=1.40 aq=0
[libx264 @ 000001a8f7adefc0] using SAR=1/1
[libx264 @ 000001a8f7adefc0] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001a8f7adefc0] profile Constrained Baseline, level 1.0,
4:2:0, 8-bit
[libx264 @ 000001a8f7adefc0] 264 - core 157 r2932 303c484 - H.264/MPEG-4
AVC codec - Copyleft 2003-2018 - 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=1 8x8dct=0
cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=2
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_lookahead=50 rc=cbr mbtree=0
bitrate=16 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=16
vbv_bufsize=16 nal_hrd=none filler=0 ip_ratio=1.40 aq=0
[segment @ 000001a8fd0abd00] Opening
'C:\Users\djcim\Videos\Main\Discord\Discord00.ts' for writing
Output #0, segment, to 'C:\Users\djcim\Videos\Main\Discord\Discord%02d.ts':
  Metadata:
    encoder         : Lavf58.18.100
    Stream #0:0: Video: h264 (libx264), nv12(progressive), 50x50 [SAR 1:1
DAR 1:1], q=-1--1, 16 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.27.101 libx264
    Side data:
      cpb: bitrate max/min/avg: 16000/0/16000 buffer size: 16000 vbv_delay:
-1
    Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 384 kb/s
    Metadata:
      encoder         : Lavc58.27.101 aac
[segment @ 000001a8f7ad6e40] Opening
'C:\Users\djcim\Videos\Main\Soundboard\Soundboard00.ts' for writing
Output #1, segment, to
'C:\Users\djcim\Videos\Main\Soundboard\Soundboard%02d.ts':
  Metadata:
    encoder         : Lavf58.18.100
    Stream #1:0: Video: h264 (libx264), nv12(progressive), 50x50 [SAR 1:1
DAR 1:1], q=-1--1, 16 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.27.101 libx264
    Side data:
      cpb: bitrate max/min/avg: 16000/0/16000 buffer size: 16000 vbv_delay:
-1
    Stream #1:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 384 kb/s
    Metadata:
      encoder         : Lavc58.27.101 aac
[Parsed_pan_0 @ 000001a8f0b24c40] Pure channel mapping detected: 0
[segment @ 000001a8fd1c4780] Opening
'C:\Users\djcim\Videos\Main\Camera\Camera00.ts' for writing
Output #2, segment, to 'C:\Users\djcim\Videos\Main\Camera\Camera%02d.ts':
  Metadata:
    encoder         : Lavf58.18.100
    Stream #2:0: Video: h264 (h264_nvenc) (Main), nv12, 3840x2160, q=-1--1,
250000 kb/s, 60 fps, 90k tbn, 60 tbc
    Metadata:
      encoder         : Lavc58.27.101 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 250000000/0/250000000 buffer size:
250000000 vbv_delay: -1
    Stream #2:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 384 kb/s
    Metadata:
      encoder         : Lavc58.27.101 aac
[segment @ 000001a8fd26a480] Opening
'C:\Users\djcim\Videos\Main\Magewell\Magewell00.ts' for writinged=0.359x
Output #3, segment, to
'C:\Users\djcim\Videos\Main\Magewell\Magewell%02d.ts':
  Metadata:
    encoder         : Lavf58.18.100
    Stream #3:0: Video: h264 (h264_nvenc) (Main), nv12(progressive),
3840x2160, q=-1--1, 250000 kb/s, 60 fps, 90k tbn, 60 tbc
    Metadata:
      encoder         : Lavc58.27.101 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 250000000/0/250000000 buffer size:
250000000 vbv_delay: -1
    Stream #3:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 384 kb/s
    Metadata:
      encoder         : Lavc58.27.101 aac
frame=  425 fps= 21 q=-1.0 Lq=-1.0 q=8.0 q=9.0 size=N/A time=00:00:16.96
bitrate=N/A dup=105 drop=0 speed=0.825x
video:145040kB audio:776kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: unknown
[libx264 @ 000001a8f7a97ec0] frame I:9     Avg QP: 0.19  size:    28
[libx264 @ 000001a8f7a97ec0] frame P:416   Avg QP: 0.00  size:    10
[libx264 @ 000001a8f7a97ec0] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 000001a8f7a97ec0] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:
0.0%  0.0%  0.0%  0.0%  0.0%    skip:100.0%
[libx264 @ 000001a8f7a97ec0] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter:
0.0% 0.0% 0.0%
[libx264 @ 000001a8f7a97ec0] i16 v,h,dc,p: 75%  0% 25%  0%
[libx264 @ 000001a8f7a97ec0] i8c dc,h,v,p: 100%  0%  0%  0%
[libx264 @ 000001a8f7a97ec0] kb/s:2.08
[aac @ 000001a8f7a95a40] Qavg: 65446.918
[libx264 @ 000001a8f7adefc0] frame I:9     Avg QP: 0.19  size:    28
[libx264 @ 000001a8f7adefc0] frame P:416   Avg QP: 0.00  size:    10
[libx264 @ 000001a8f7adefc0] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 000001a8f7adefc0] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:
0.0%  0.0%  0.0%  0.0%  0.0%    skip:100.0%
[libx264 @ 000001a8f7adefc0] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter:
0.0% 0.0% 0.0%
[libx264 @ 000001a8f7adefc0] i16 v,h,dc,p: 75%  0% 25%  0%
[libx264 @ 000001a8f7adefc0] i8c dc,h,v,p: 100%  0%  0%  0%
[libx264 @ 000001a8f7adefc0] kb/s:2.08
[aac @ 000001a8f7ad8240] Qavg: 65446.918
[dshow @ 000001a8f0b2da40] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (62% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 000001a8f0b2da40] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (64% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 000001a8f0b2da40] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (67% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 000001a8f0b2da40] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (69% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 000001a8f0b2da40] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (71% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[aac @ 000001a8f7adbd80] Qavg: 65466.938
[dshow @ 000001a8f0b2da40] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (72% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 000001a8f0b2da40] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (74% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 000001a8f0b2da40] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (76% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
    Last message repeated 1 times
[dshow @ 000001a8f0b2da40] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (77% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
    Last message repeated 1 times
[dshow @ 000001a8f0b2da40] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (78% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
    Last message repeated 1 times
[dshow @ 000001a8f0b3a7c0] real-time buffer [Video (00 Pro Capture HDMI
4K+)] [video input] too full or near too full (62% of size: 2147480000
[rtbufsize parameter])! frame dropped!
[dshow @ 000001a8f0b2da40] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (79% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
    Last message repeated 1 times
[dshow @ 000001a8f0b2da40] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (80% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
    Last message repeated 1 times
[dshow @ 000001a8f0b3a7c0] real-time buffer [Video (00 Pro Capture HDMI
4K+)] [video input] too full or near too full (66% of size: 2147480000
[rtbufsize parameter])! frame dropped!
[aac @ 000001a8f7ade200] Qavg: 65458.449
[dshow @ 000001a8f0b3a7c0] real-time buffer [Video (00 Pro Capture HDMI
4K+)] [video input] too full or near too full (67% of size: 2147480000
[rtbufsize parameter])! frame dropped!
[dshow @ 000001a8f0b3a7c0] real-time buffer [Video (00 Pro Capture HDMI
4K+)] [video input] too full or near too full (69% of size: 2147480000
[rtbufsize parameter])! frame dropped!
[dshow @ 000001a8f0b2da40] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (81% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 000001a8f0b3a7c0] real-time buffer [Video (00 Pro Capture HDMI
4K+)] [video input] too full or near too full (71% of size: 2147480000
[rtbufsize parameter])! frame dropped!
[dshow @ 000001a8f0b3a7c0] real-time buffer [Video (00 Pro Capture HDMI
4K+)] [video input] too full or near too full (72% of size: 2147480000
[rtbufsize parameter])! frame dropped!
[dshow @ 000001a8f0b2da40] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (81% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 000001a8f0b3a7c0] real-time buffer [Video (00 Pro Capture HDMI
4K+)] [video input] too full or near too full (74% of size: 2147480000
[rtbufsize parameter])! frame dropped!
[dshow @ 000001a8f0b3a7c0] real-time buffer [Video (00 Pro Capture HDMI
4K+)] [video input] too full or near too full (76% of size: 2147480000
[rtbufsize parameter])! frame dropped!
    Last message repeated 1 times
[dshow @ 000001a8f0b3a7c0] real-time buffer [Video (00 Pro Capture HDMI
4K+)] [video input] too full or near too full (77% of size: 2147480000
[rtbufsize parameter])! frame dropped!
    Last message repeated 1 times
[dshow @ 000001a8f0b3a7c0] real-time buffer [Video (00 Pro Capture HDMI
4K+)] [video input] too full or near too full (78% of size: 2147480000
[rtbufsize parameter])! frame dropped!
    Last message repeated 1 times
[dshow @ 000001a8f0b3a7c0] real-time buffer [Video (00 Pro Capture HDMI
4K+)] [video input] too full or near too full (79% of size: 2147480000
[rtbufsize parameter])! frame dropped!
    Last message repeated 1 times
[dshow @ 000001a8f0b3a7c0] real-time buffer [Video (00 Pro Capture HDMI
4K+)] [video input] too full or near too full (80% of size: 2147480000
[rtbufsize parameter])! frame dropped!
PS C:\Users\djcim>

If I watch my encoding performance through task manager everything is
consistent / flat at about 60% usage, until I end the recording, then it
jumps up to 100% usage for a few seconds. VRAM, RAM, CPU, GPU (3D), and
DISK are well below 50% usage throughout the entire process.

I don't really know anything but I would assume this has something to do
with the buffer being off-loaded to the encoder all at once when
ending a recording?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Max rtbufsize Via dshow

Gabriel Balaich
>
> If I watch my encoding performance through task manager everything is
> consistent / flat at about 60% usage, until I end the recording, then it
> jumps up to 100% usage for a few seconds. VRAM, RAM, CPU, GPU (3D), and
> DISK are well below 50% usage throughout the entire process.
>
> I don't really know anything but I would assume this has something to do
> with the buffer being off-loaded to the encoder all at once when
> ending a recording?
>

Bump, hoping I can find a solution to this.

For whatever reason I thought that rtbufsize was a component of dshow but
that is clearly not the case as it is called before dshow / it clearly
states that it is a format option and part of the "libavformat library" in
the documentation. I tried downloading the source code and tracing the
error back to where the limit is defined but I can only make it back so far
before getting lost in the code. As far as I can tell "libaveformat" is a
library exclusive to FFmpeg, anyone in here from the devel list that would
know why a limit is imposed? Also, if anyone knows, is rtbufsize
using my system RAM, VRAM, or the RAM on the capture card? My system as
32GB of memory as stated before, GPU has 8GB, but I'm
not sure how much the capture card has, could that be the limiting factor?

Could be possible that increasing the buffer size wouldn't even help, if
anyone has any other ideas I'm all ears.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Max rtbufsize Via dshow

rogerdpack2
In reply to this post by Gabriel Balaich
On Fri, Sep 14, 2018 at 10:33 AM Gabriel Balaich <[hidden email]> wrote:

>
> Up until a few days ago I had been running two capture cards, 1x4K card and
> 1x1080P card, I would encode both streams with a
> GTX 1080 no dropped frames no issues. But just recently I replaced the
> 1080P capture card with another 4K capture card to prep
> for a new camera and can't get things working gracefully. On my first test
> encoding 2x4K60 streams simultaneously I dropped
> frames starting the recording *and *ending the recording, but nothing
> in-between.
>
> Errors displayed:
> [dshow @ 000001499bb17180] real-time buffer [Video (00 Pro Capture HDMI
> 4K+)] [video input] too full or near too full (62% of
> size: 2147480000 [rtbufsize parameter])! frame dropped!
> [dshow @ 00000149944e7080] real-time buffer [AVerMedia HD Capture GC573 1]
> [video input] too full or near too full (62% of
> size: 2147480000 [rtbufsize parameter])! frame dropped!
>
> The obvious answer, according to the warning, would be increasing rtbufsize
> but I seem to have hit the cap... If I try to increase
> rtbufsize passed 2147.48M I get another error:
> [dshow @ 00000250df6c7080] Value 3000000000.000000 for parameter
> 'rtbufsize' out of range [0 - 2.14748e+09]
> [dshow @ 00000250df6c7080] Error setting option rtbufsize to value 3000M.
> video=AVerMedia HD Capture GC573 1:audio=SPDIF/ADAT (1+2) (RME Fireface
> UC): Result too large
>
> Is this a baked in limitation of FFmpeg or dshow? And if it is, why impose
> said limitation?

The limits "max signed INT" I believe (2B).
Anyway this message typically means your system isn't keeping up with
encoding.  I'd think nvenc would be able to handle it but maybe not?

> Since then I've tried messing with other parts of my command and found that
> by re-arranging my inputs / outputs I can prevent
> frame drops upon starting a recording but I still can't end a recording
> without dropping a bunch of frames.
>
> Anyone know why re-arranging my inputs / outputs would prevent frames from
> dropping when starting a recording or affect
> anything? Is it possible to bypass the rtbufsize cap? Any other ideas?
>
> Here is my full command, Ignore the blank numbers next to -ss, will be used
> to sync outputs when everything is working:
> ffmpeg -y -hide_banner -thread_queue_size 9999 -indexmem 9999
> -guess_layout_max 0 -f dshow -rtbufsize 2147.48M `
> -i audio="Analog (1+2) (RME Fireface UC)" `
> -thread_queue_size 9999 -indexmem 9999 -guess_layout_max 0 -f dshow
> -rtbufsize 2147.48M `
> -i audio="ADAT (5+6) (RME Fireface UC)" `
> -thread_queue_size 9999 -indexmem 9999 -r 25 -f lavfi -rtbufsize 2147.48M
> -i color=c=black:s=50x50 `
> -thread_queue_size 9999 -indexmem 9999 -guess_layout_max 0 -f dshow
> -video_size 3840x2160 -rtbufsize 2147.48M `
> -framerate 60 -pixel_format nv12 -i video="AVerMedia HD Capture GC573
> 1":audio="SPDIF/ADAT (1+2) (RME Fireface UC)" `
> -thread_queue_size 9999 -indexmem 9999 -guess_layout_max 0 -f dshow
> -video_size 3840x2160 -rtbufsize 2147.48M `
> -framerate 60 -pixel_format nv12 -i video="Video (00 Pro Capture HDMI
> 4K+)":audio="ADAT (3+4) (RME Fireface UC)" `
> -map 2,0 -map 0 -c:v libx264 -r 25 -rc-lookahead 50 -forced-idr 1
> -sc_threshold 0 -flags +cgop `
> -force_key_frames "expr:gte(t,n_forced*2)" -preset ultrafast -pix_fmt nv12
> -b:v 16K -minrate 16K -maxrate 16K -bufsize 16k `
> -c:a aac -ar 44100 -b:a 384k -ac 2 -af "aresample=async=250" -vsync 1 -ss
> 00:00:00.000 `
> -max_muxing_queue_size 9999 -f segment -segment_time 600 -segment_wrap 9
> -reset_timestamps 1 `
> -segment_format_options max_delay=0
> C:\Users\djcim\Videos\Main\Discord\Discord%02d.ts `
> -map 2,1 -map 1 -c:v libx264 -r 25 -rc-lookahead 50 -forced-idr 1
> -sc_threshold 0 -flags +cgop `
> -force_key_frames "expr:gte(t,n_forced*2)" -preset ultrafast -pix_fmt nv12
> -b:v 16K -minrate 16K -maxrate 16K -bufsize 16k `
> -c:a aac -ar 44100 -b:a 384k -ac 2 -af "aresample=async=250" -vsync 1 -ss
> 00:00:00.000 `
> -max_muxing_queue_size 9999 -f segment -segment_time 600 -segment_wrap 9
> -reset_timestamps 1 `
> -segment_format_options max_delay=0
> C:\Users\djcim\Videos\Main\Soundboard\Soundboard%02d.ts `
> -map 3:0,3:1 -map 3:1 -c:v h264_nvenc -r 60 -rc-lookahead 120 -forced-idr 1
> -strict_gop 1 -sc_threshold 0 -flags +cgop `
> -force_key_frames "expr:gte(t,n_forced*2)" -preset: llhp -pix_fmt nv12 -b:v
> 250M -minrate 250M -maxrate 250M -bufsize 250M `
> -c:a aac -ar 44100 -b:a 384k -ac 2 -af "pan=mono|c0=c0,
> aresample=async=250" -vsync 1 -ss 00:00:00.000 `
> -max_muxing_queue_size 9999 -f segment -segment_time 600 -segment_wrap 9
> -reset_timestamps 1 `
> -segment_format_options max_delay=0
> C:\Users\djcim\Videos\Main\Camera\Camera%02d.ts `
> -map 4:0,4:1 -map 4:1 -c:v h264_nvenc -r 60 -rc-lookahead 120 -forced-idr 1
> -strict_gop 1 -sc_threshold 0 -flags +cgop `
> -force_key_frames "expr:gte(t,n_forced*2)" -preset: llhp -pix_fmt nv12 -b:v
> 250M -minrate 250M -maxrate 250M -bufsize 250M `
> -c:a aac -ar 44100 -b:a 384k -ac 2 -af "atrim=0.086, asetpts=PTS-STARTPTS,
> aresample=async=250" -vsync 1 -ss 00:00:00.000 `
> -max_muxing_queue_size 9999 -f segment -segment_time 600 -segment_wrap 9
> -reset_timestamps 1 `
> -segment_format_options max_delay=0
> C:\Users\djcim\Videos\Main\Magewell\Magewell%02d.ts
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Max rtbufsize Via dshow

Michael Shaffer
In reply to this post by Gabriel Balaich
>
> If I watch my encoding performance through task manager everything is
> consistent / flat at about 60% usage, until I end the recording, then it
> jumps up to 100% usage for a few seconds. VRAM, RAM, CPU, GPU (3D), and
> DISK are well below 50% usage throughout the entire process.
>
> I don't really know anything but I would assume this has something to do
> with the buffer being off-loaded to the encoder all at once when
> ending a recording?
>

I'm using a GeForce 1060 3GB and when I stop the process the GPU usage
spikes. Not sure why..

http://kdca.neocities.org/gpuspike.jpg
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Max rtbufsize Via dshow

Gabriel Balaich
In reply to this post by rogerdpack2
>
> The limits "max signed INT" I believe (2B).
> Anyway this message typically means your system isn't keeping up with
> encoding.  I'd think nvenc would be able to handle it but maybe not?


That actually makes a lot of sense! So I assume when I put it 2147.48M
it's being converted to  2,147,480,000 which is just below the maximum
number an int can hold. So simple, can't believe that didn't cross my
mind.

It seems like it would be fairly easy to change the variable to a
unsigned long int... but that doesn't seem very future proof with 8k, 12k,
& 16K just around the corner. Wouldn't it make more sense to use a
double in the 64-Bit version of FFmpeg? Or maybe changing the
conversion... is anyone really setting a buffer lower than 1KB?

As for performance, the encoder is around 60% usage except for when
I start and end recordings in-which there are spikes. I was able to
alleviate the spike when starting a recording by re-arranging my inputs
and outputs... which doesn't make a ton of sense to me. But I haven't
been able to do anything about the spike when ending a recording. It
seems like the entire buffer is being thrown at the encoder at once
when ending a recording or something. I'm just pressing Q to quit, is
there a more "graceful" way?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Max rtbufsize Via dshow

Gabriel Balaich
In reply to this post by Michael Shaffer
>
> I'm using a GeForce 1060 3GB and when I stop the process the GPU usage
> spikes. Not sure why..
>
> http://kdca.neocities.org/gpuspike.jpg


Thank you for your corroboration!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Max rtbufsize Via dshow

Gabriel Balaich
So I kinda shelved this issue as I had others to resolve, but since then
I've fixed all but 2 of my issues, this being one of them.

I worry less about dropping frames when ending a recording, however it is
fairly obtrusive in both the console and the resulting file to drop /
duplicate 100 frames from the get go. As far as I can tell this is
happening solely because max rtbufsize is limited by it's INT32 container,
if the buffer was larger rather than dropping frames at the beginning I'd
theoretically just be transcoding under real time for a few seconds while
the GPU catches up.

Looking at the source code I can see the rtbufsize option inside the
"option_table.h" file:
[image: image.png]

It seems that a single variable, "AV_OPT_TYPE_INT", is being passed to many
of the options including this one, but there is also an "AV_OPT_TYPE_INT64"
being passed to others in proximity.

Would fixing the issue be as simple as passing rtbufsize AV_OPT_TYPE_INT64
instead of AV_OPT_TYPE_INT?

Apologies if this isn't the best place to ask about this, I'm not the most
experienced when it comes to working with code, and I definitely don't
understand the process of proposing such a change for official builds.

In the end, I think users could benefit from rtbufsize being stored in a
larger container.

>

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

image.png (114K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Max rtbufsize Via dshow

Carl Eugen Hoyos-2
2019-01-10 22:42 GMT+01:00, Gabriel Balaich <[hidden email]>:
> So I kinda shelved this issue as I had others to resolve, but since then
> I've fixed all but 2 of my issues, this being one of them.
>
> I worry less about dropping frames when ending a recording, however it is
> fairly obtrusive in both the console and the resulting file to drop /
> duplicate 100 frames from the get go. As far as I can tell this is
> happening solely because max rtbufsize is limited by it's INT32 container,

I find this not completely convincing.

Could you provide command line including complete, uncut
console output (no -hide_banner please) to show how your
ffmpeg command initially drops frames and later catches up
so that encoding speed is clearly above real-time and no
further frames are dropped?

As an alternative, simply patch libavdevice/dshow.c to avoid
dropping frames so you can test if the parameter is really
too small.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Max rtbufsize Via dshow

Gabriel Balaich
>
> Could you provide command line including complete, uncut
> console output (no -hide_banner please) to show how your
> ffmpeg command initially drops frames and later catches up
> so that encoding speed is clearly above real-time and no
> further frames are dropped?
>

It doesn't appear to rewrite the line displaying speed fps, speed, etc so I
took a snip of when it started and when I ended it:
[image: Start.jpg]
[image: end.jpg]

As you can see speed is under 1x at the beginning but rises to 1x within a
minute.

Here is the full console output:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\djcim> ffmpeg -y `
>> -thread_queue_size 9999 -indexmem 9999 -f dshow -rtbufsize 2147.48M -i
audio="Analog (1+2) (RME Fireface UC)" `
>> -thread_queue_size 9999 -indexmem 9999 -f dshow -rtbufsize 2147.48M -i
audio="ADAT (5+6) (RME Fireface UC)" `
>> -thread_queue_size 9999 -indexmem 9999 -r 25 -f lavfi -rtbufsize
2147.48M -i color=c=black:s=256x120 `
>> -thread_queue_size 9999 -indexmem 9999 -f dshow -rtbufsize 2147.48M
-video_size 1920x1080 -framerate 60 `
>> -pixel_format yuv420p -i video="Game Capture HD60 Pro (Video)
(#01)":audio="Game Capture HD60 Pro (Audio) (#01)" `
>> -thread_queue_size 9999 -indexmem 9999 -f dshow -rtbufsize 2147.48M
-video_size 3840x2160 -framerate 60 `
>> -pixel_format nv12 -i video="Video (Pro Capture)":audio="ADAT (3+4) (RME
Fireface UC)" `
>> -thread_queue_size 9999 -indexmem 9999 -f dshow -rtbufsize 2147.48M
-video_size 3840x2160 -framerate 60 `
>> -pixel_format nv12 -i video="AVerMedia HD Capture GC573 1":audio="Analog
(1+2) (RME Fireface UC)" `
>> -map 2,0 -map 0 -c:v h264_nvenc -preset: llhp -r 25 -rc-lookahead 25
-pix_fmt nv12 -b:v 288M -minrate 288M `
>> -maxrate 288M -bufsize 288M -c:a aac -ar 44100 -b:a 384k -vsync 1
-max_muxing_queue_size 9999 `
>> C:\Users\djcim\Videos\FFmpeg\CP\CP.ts `
>> -map 2,1 -map 1 -c:v h264_nvenc -preset: llhp -r 25 -rc-lookahead 25
-pix_fmt nv12 -b:v 288M -minrate 288M `
>> -maxrate 288M -bufsize 288M -c:a aac -ar 44100 -b:a 384k -vsync 1
-max_muxing_queue_size 9999 `
>> C:\Users\djcim\Videos\FFmpeg\SB\SB.ts `
>> -map 3:0,3:1 -map 3:1 -c:v h264_nvenc -preset: llhp -r 60 -rc-lookahead
60 -pix_fmt yuv420p -b:v 288M -minrate 288M `
>> -maxrate 288M -bufsize 288M -c:a aac -ar 44100 -b:a 384k -vsync 1
-max_muxing_queue_size 9999 `
>> C:\Users\djcim\Videos\FFmpeg\EL\EL.ts `
>> -map 4:0,4:1 -map 4:1 -c:v h264_nvenc -preset: llhp -r 60 -rc-lookahead
60 -pix_fmt nv12 -b:v 288M -minrate 288M `
>> -maxrate 288M -bufsize 288M -c:a aac -ar 44100 -b:a 384k -vsync 1
-max_muxing_queue_size 9999 `
>> C:\Users\djcim\Videos\FFmpeg\MW\MW.ts `
>> -map 5:0,5:1 -map 5:1 -c:v h264_nvenc -preset: llhp -r 60 -rc-lookahead
60 -pix_fmt nv12 -b:v 288M -minrate 288M `
>> -maxrate 288M -bufsize 288M -c:a aac -ar 44100 -b:a 192k -vsync 1
-max_muxing_queue_size 9999 `
>> C:\Users\djcim\Videos\FFmpeg\AM\AM.ts
ffmpeg version N-91808-g70a708713a Copyright (c) 2000-2018 the FFmpeg
developers
  built with gcc 8.2.1 (GCC) 20180813
  configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libfreetype --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2
--enable-libzimg --enable-lzma --enable-zlib --enable-gmp
--enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc
--enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom
--enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid
--enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2
--enable-avisynth
  libavutil      56. 19.100 / 56. 19.100
  libavcodec     58. 27.101 / 58. 27.101
  libavformat    58. 18.100 / 58. 18.100
  libavdevice    58.  4.101 / 58.  4.101
  libavfilter     7. 26.100 /  7. 26.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, dshow, from 'audio=Analog (1+2) (RME Fireface UC)':
  Duration: N/A, start: 78704.569000, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Guessed Channel Layout for Input Stream #1.0 : stereo
Input #1, dshow, from 'audio=ADAT (5+6) (RME Fireface UC)':
  Duration: N/A, start: 78705.273000, bitrate: 1411 kb/s
    Stream #1:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Input #2, lavfi, from 'color=c=black:s=256x120':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #2:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 256x120 [SAR
1:1 DAR 32:15], 25 tbr, 25 tbn, 25 tbc
Guessed Channel Layout for Input Stream #3.1 : stereo
Input #3, dshow, from 'video=Game Capture HD60 Pro (Video) (#01):audio=Game
Capture HD60 Pro (Audio) (#01)':
  Duration: N/A, start: 78707.183731, bitrate: 1411 kb/s
    Stream #3:0: Video: rawvideo (YV12 / 0x32315659), yuv420p, 1920x1080,
60 fps, 60 tbr, 10000k tbn, 10000k tbc
    Stream #3:1: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Guessed Channel Layout for Input Stream #4.1 : stereo
Input #4, dshow, from 'video=Video (Pro Capture):audio=ADAT (3+4) (RME
Fireface UC)':
  Duration: N/A, start: 78707.610000, bitrate: N/A
    Stream #4:0: Video: rawvideo (NV12 / 0x3231564E), nv12, 3840x2160, 60
fps, 60 tbr, 10000k tbn, 10000k tbc
    Stream #4:1: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (64% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (66% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (67% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (68% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (70% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
Guessed Channel Layout for Input Stream #5.1 : stereo
Input #5, dshow, from 'video=AVerMedia HD Capture GC573 1:audio=Analog
(1+2) (RME Fireface UC)':
  Duration: N/A, start: 78708.021000, bitrate: 1411 kb/s
    Stream #5:0: Video: rawvideo (NV12 / 0x3231564E), nv12, 3840x2160, 60
fps, 60 tbr, 10000k tbn, 10000k tbc
    Stream #5:1: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (72% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (74% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (75% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
Stream mapping:
  Stream #2:0 -> #0:0 [sync #0:0] (rawvideo (native) -> h264 (h264_nvenc))
  Stream #0:0 -> #0:1 (pcm_s16le (native) -> aac (native))
  Stream #2:0 -> #1:0 [sync #1:0] (rawvideo (native) -> h264 (h264_nvenc))
  Stream #1:0 -> #1:1 (pcm_s16le (native) -> aac (native))
  Stream #3:0 -> #2:0 [sync #3:1] (rawvideo (native) -> h264 (h264_nvenc))
  Stream #3:1 -> #2:1 (pcm_s16le (native) -> aac (native))
  Stream #4:0 -> #3:0 [sync #4:1] (rawvideo (native) -> h264 (h264_nvenc))
  Stream #4:1 -> #3:1 (pcm_s16le (native) -> aac (native))
  Stream #5:0 -> #4:0 [sync #5:1] (rawvideo (native) -> h264 (h264_nvenc))
  Stream #5:1 -> #4:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (75% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
Output #0, mpegts, to 'C:\Users\djcim\Videos\FFmpeg\CP\CP.ts':
  Metadata:
    encoder         : Lavf58.18.100
    Stream #0:0: Video: h264 (h264_nvenc) (Main), nv12(progressive),
256x120 [SAR 1:1 DAR 32:15], q=-1--1, 288000 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.27.101 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 288000000/0/288000000 buffer size:
288000000 vbv_delay: -1
    Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 384 kb/s
    Metadata:
      encoder         : Lavc58.27.101 aac
Output #1, mpegts, to 'C:\Users\djcim\Videos\FFmpeg\SB\SB.ts':0kB
time=00:00:00.44 bitrate=   0.0kbits/s speed=0.81x
  Metadata:
    encoder         : Lavf58.18.100
    Stream #1:0: Video: h264 (h264_nvenc) (Main), nv12(progressive),
256x120 [SAR 1:1 DAR 32:15], q=-1--1, 288000 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.27.101 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 288000000/0/288000000 buffer size:
288000000 vbv_delay: -1
    Stream #1:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 384 kb/s
    Metadata:
      encoder         : Lavc58.27.101 aac
Output #2, mpegts, to 'C:\Users\djcim\Videos\FFmpeg\EL\EL.ts':
  Metadata:
    encoder         : Lavf58.18.100
    Stream #2:0: Video: h264 (h264_nvenc) (Main), yuv420p, 1920x1080,
q=-1--1, 288000 kb/s, 60 fps, 90k tbn, 60 tbc
    Metadata:
      encoder         : Lavc58.27.101 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 288000000/0/288000000 buffer size:
288000000 vbv_delay: -1
    Stream #2:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 384 kb/s
    Metadata:
      encoder         : Lavc58.27.101 aac
Output #3, mpegts, to 'C:\Users\djcim\Videos\FFmpeg\MW\MW.ts':0kB
time=00:00:00.44 bitrate=   0.0kbits/s dup=1 drop=0 speed=0.243x
  Metadata:
    encoder         : Lavf58.18.100
    Stream #3:0: Video: h264 (h264_nvenc) (Main), nv12(progressive),
3840x2160, q=-1--1, 288000 kb/s, 60 fps, 90k tbn, 60 tbc
    Metadata:
      encoder         : Lavc58.27.101 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 288000000/0/288000000 buffer size:
288000000 vbv_delay: -1
    Stream #3:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 384 kb/s
    Metadata:
      encoder         : Lavc58.27.101 aac
Output #4, mpegts, to 'C:\Users\djcim\Videos\FFmpeg\AM\AM.ts':
  Metadata:
    encoder         : Lavf58.18.100
    Stream #4:0: Video: h264 (h264_nvenc) (Main), nv12, 3840x2160, q=-1--1,
288000 kb/s, 60 fps, 90k tbn, 60 tbc
    Metadata:
      encoder         : Lavc58.27.101 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 288000000/0/288000000 buffer size:
288000000 vbv_delay: -1
    Stream #4:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 192 kb/s
    Metadata:
      encoder         : Lavc58.27.101 aac
frame= 1560 fps= 25 q=6.0 Lq=6.0 q=11.0 q=10.0 q=8.0 size=    1217kB
time=00:01:02.36 bitrate= 159.9kbits/s dup=113 drop=0 speed=0.992x
video:1563442kB audio:5615kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: unknown
[aac @ 0000024ed4bc7300] Qavg: 65514.273
[aac @ 0000024ed4bc2580] Qavg: 65514.273
[aac @ 0000024ed4bc37c0] Qavg: 65536.000
[aac @ 0000024f0acc9dc0] Qavg: 57249.551
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (63% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (64% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (66% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (68% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (63% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[aac @ 0000024f0acca700] Qavg: 65195.406
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (70% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (65% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (66% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (71% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (72% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (68% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (74% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (70% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (76% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (71% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (76% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (77% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (73% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (77% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (78% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (75% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (78% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (75% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (79% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (76% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (79% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (76% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (81% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (77% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (81% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (78% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (82% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (78% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (83% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (79% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (83% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (79% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (84% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (81% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (84% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (81% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (85% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (82% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (85% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (82% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (86% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (83% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (86% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (83% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (88% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (84% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (88% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (84% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (88% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
    Last message repeated 1 times
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (85% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (88% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (85% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (88% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (89% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (86% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (89% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
    Last message repeated 1 times
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (88% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (89% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (88% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (89% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (88% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (90% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (88% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (90% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (88% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (90% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (88% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (90% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (89% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (90% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (89% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (90% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (89% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (91% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (89% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (91% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (89% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (91% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (89% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (92% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (90% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (92% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (90% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (92% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (90% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (92% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (90% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (92% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (90% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (92% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (90% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (93% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (91% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (93% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (91% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (93% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (91% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
    Last message repeated 1 times
[dshow @ 0000024ed4acbe00] real-time buffer [Video (Pro Capture)] [video
input] too full or near too full (93% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (91% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
    Last message repeated 1 times
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (92% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
    Last message repeated 5 times
[dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
[video input] too full or near too full (93% of size: 2147480000 [rtbufsize
parameter])! frame dropped!
    Last message repeated 6 times
PS C:\Users\djcim>

Not sure if it is because I'm recording different sources but I'm
definitely dropping less frames pre-recording as I was even testing
previously today, yet I am dropping none the less. I drop a lot more frames
when ending the recording, I would think this is because the buffer is
being offloaded to the encoder all at once, but I'm not sure.


> As an alternative, simply patch libavdevice/dshow.c to avoid
> dropping frames so you can test if the parameter is really
> too small.
>

I just wasn't sure if it was as simple as switching the variable being
passed, I'm having a difficult time understanding the source code. I have
yet to compile FFmpeg myself but I'm sure I could figure it out one way or
another.

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

Start.jpg (17K) Download Attachment
end.jpg (17K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Max rtbufsize Via dshow

Carl Eugen Hoyos-2
2019-01-11 0:39 GMT+01:00, Gabriel Balaich <[hidden email]>:

> [dshow @ 0000024ed4b83580] real-time buffer [AVerMedia HD Capture GC573 1]
> [video input] too full or near too full (93% of size: 2147480000 [rtbufsize
> parameter])! frame dropped!
>     Last message repeated 6 times

What happens at this point?
Do the messages stop or does the system continue to drop frames?

> PS C:\Users\djcim>
>
> Not sure if it is because I'm recording different sources but I'm
> definitely dropping less frames pre-recording as I was even testing
> previously today, yet I am dropping none the less. I drop a lot more frames
> when ending the recording, I would think this is because the buffer is
> being offloaded to the encoder all at once, but I'm not sure.

What happens in-between? Do the drops stop at some point?

>> As an alternative, simply patch libavdevice/dshow.c to avoid
>> dropping frames so you can test if the parameter is really
>> too small.
>
> I just wasn't sure if it was as simple as switching the variable being
> passed, I'm having a difficult time understanding the source code. I have
> yet to compile FFmpeg myself but I'm sure I could figure it out one way or
> another.

Ignore the variable, patch the dropping away in shall_we_drop() in
libavdevice/dshow.c

I still find it not very likely that 2G buffer is not enough but a larger
buffer would help.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Max rtbufsize Via dshow

Gabriel Balaich
>
> What happens at this point?
> Do the messages stop or does the system continue to drop frames?
>

That's the end of the recording about a second after I hit q to quit, so
everything subsides as the process has ended.

What happens in-between? Do the drops stop at some point?
>

The sources are live, the first few frame drops occur before the recording
starts, or at least before the summary line starts to show and then they
stop until I decide to end the recording by pressing Q to quit (Ctrl+C
heeds same results).

Timeline:
I paste my command in terminal and hit enter >
Text flies across console, several frame drops can be spotted due to
"rtbufsize" overfilling >
console settles down revealing summary line (fps, time, speed etc.), speed
is around .5x (frame dropping has subsided at his point) >
About a minute in speed is around 1x >
I hit [q] to end the recording >
Frame drop warnings fly across the console due to "rtbufsize" overfilling >
Recording has ended all feedback is silenced

Ignore the variable, patch the dropping away in shall_we_drop() in
> libavdevice/dshow.c
>

I'll try to look at that and see if I can understand what you mean.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Max rtbufsize Via dshow

Carl Eugen Hoyos-2
2019-01-11 1:53 GMT+01:00, Gabriel Balaich <[hidden email]>:

>>
>> What happens at this point?
>> Do the messages stop or does the system continue to drop frames?
>>
>
> That's the end of the recording about a second after I hit q to quit, so
> everything subsides as the process has ended.
>
> What happens in-between? Do the drops stop at some point?
>>
>
> The sources are live, the first few frame drops occur before the recording
> starts, or at least before the summary line starts to show and then they
> stop until I decide to end the recording by pressing Q to quit (Ctrl+C
> heeds same results).
>
> Timeline:
> I paste my command in terminal and hit enter >
> Text flies across console, several frame drops can be spotted due to
> "rtbufsize" overfilling >
> console settles down revealing summary line (fps, time, speed etc.), speed
> is around .5x (frame dropping has subsided at his point) >
> About a minute in speed is around 1x >
> I hit [q] to end the recording >
> Frame drop warnings fly across the console due to "rtbufsize" overfilling >
> Recording has ended all feedback is silenced

Thank you for the explanation / confirmation!

Now the question is still if increasing the buffer size would
really help.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".