vMix Forums
»
General
»
General Discussion
»
Streaming error real-time buffer [vMix Video] [video input] too full or near too full
Rank: Newbie
Groups: Registered
Joined: 7/13/2015(UTC) Posts: 7 Location: Manchester
|
Hello I'm looking for help with a streaming problem. Here is the streaming log:
frame= 5506 fps= 25 q=29.0 size= 7284kB time=00:03:40.28 bitrate= 270.9kbits/s frame= 5514 fps= 25 q=29.0 size= 7324kB time=00:03:40.60 bitrate= 272.0kbits/s frame= 5521 fps= 25 q=28.0 size= 7357kB time=00:03:40.90 bitrate= 272.8kbits/s frame= 5524 fps= 25 q=30.0 size= 7376kB time=00:03:41.01 bitrate= 273.4kbits/s [dshow @ 00148bc0] real-time buffer [vMix Video] [video input] too full or near too full (62% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 00148bc0] real-time buffer [vMix Video] [video input] too full or near too full (64% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 00148bc0] real-time buffer [vMix Video] [video input] too full or near too full (64% of size: 256000000 [rtbufsize parameter])! frame dropped! frame= 5531 fps= 25 q=29.0 size= 7414kB time=00:03:41.28 bitrate= 274.5kbits/s [dshow @ 00148bc0] real-time buffer [vMix Video] [video input] too full or near too full (65% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 00148bc0] real-time buffer [vMix Video] [video input] too full or near too full (65% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 00148bc0] real-time buffer [vMix Video] [video input] too full or near too full (66% of size: 256000000 [rtbufsize parameter])! frame dropped! frame= 5537 fps= 25 q=28.0 size= 7445kB time=00:03:41.52 bitrate= 275.3kbits/s
I had all this working perfectly on the second of Jan, but that was vMix 112 not 114.
The first line is here (I've removed some stream key info).
"C:\\Program Files (x86)\\vMix\\streaming\\ffmpeg.exe" -report -rtbufsize 256M -f dshow -i "video=vMix Video:audio=vMix Audio" -codec:v libx264 -s:v 1280x720 -pix_fmt:v yuv420p -threads 3 -bufsize:v 800k -g:v 125 -preset:v veryfast -profile:v baseline -level:v 3.0 -b:v 800k -maxrate:v 880k -codec:a libfaac -b:a 128k -strict -2 -rtmp_flashver "FMLE/3.0 (compatible; vMix/16.0.0.114)" -f flv "rtmp://ingest.alldigital.net:1935/B5B1FC01-live/<removed>/livefor20434473_tb414_in1_vb800_ab128_fps1280x720_disk?key=<removed>&time=name\x0a\x0a"
I'm using the same video files as before on the same hardware. I've changed ISP but I've got a faster upstream now - about 18MB.
Can anyone advise me? thanks Andy
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 5/11/2016(UTC) Posts: 1 Location: Toronto
|
Thanks for this post! I have absolutely the same problem. Did you solve this issue?
will be really greatfull if you would help with this thank you!!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/7/2015(UTC) Posts: 635 Location: California
Thanks: 122 times Was thanked: 123 time(s) in 115 post(s)
|
I had this error message on Sunday while streaming sports
======================================== 17.0.0.76 - FFMPEG.Exited - 5/9/2016 1:47:57 PM ======================================== dzzzzzr: Streaming [rtmp @ 005e0fc0] Cannot open connection Input/output error ---> dzzzzzr: [dshow @ 006d87e0] real-time buffer [vMix Video] [video input] too full or near too full (93% of size: 256000000 [rtbufsize parameter])! frame dropped! Last message repeated 1 times [dshow @ 006d87e0] real-time buffer [vMix Video] [video input] too full or near too full (94% of size: 256000000 [rtbufsize parameter])! frame dropped! Last message repeated 1 times [dshow @ 006d87e0] real-time buffer [vMix Video] [video input] too full or near too full (95% of size: 256000000 [rtbufsize parameter])! frame dropped! Last message repeated 3 times [dshow @ 006d87e0] real-time buffer [vMix Video] [video input] too full or near too full (96% of size: 256000000 [rtbufsize parameter])! frame dropped! Last message repeated 1 times [dshow @ 006d87e0] real-time buffer [vMix Video] [video input] too full or near too full (97% of size: 256000000 [rtbufsize parameter])! frame dropped! Last message repeated 3 times [dshow @ 006d87e0] real-time buffer [vMix Video] [video input] too full or near too full (98% of size: 256000000 [rtbufsize parameter])! frame dropped! Last message repeated 1 times [dshow @ 006d87e0] real-time buffer [vMix Video] [video input] too full or near too full (99% of size: 256000000 [rtbufsize parameter])! frame dropped! Last message repeated 1 times [dshow @ 006d87e0] real-time buffer [vMix Video] [video input] too full or near too full (100% of size: 256000000 [rtbufsize parameter])! frame dropped! Last message repeated 55 times
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/23/2013(UTC) Posts: 122 Location: North Thanks: 12 times Was thanked: 13 time(s) in 11 post(s)
|
Those errors could be related to the actual upload bandwidth being insufficient for the selected bitrate.
Although Speedtest.net (or similar) gives a high reading, during broadcast there can be intermittent drops in the network speed. I have encountered this sometimes during long (5h+) streams, although the connevtion has been over 4G.
|
2 users thanked jip for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/24/2015(UTC) Posts: 370 Location: Netherlands
Thanks: 16 times Was thanked: 81 time(s) in 72 post(s)
|
Jip is right. I can confirm that this happens when your upload bandwidth gets less than needed to continue uploading the stream. You can try it yourself with a network appliance that has bandwidth throttling or a software solution that does the same.
|
1 user thanked Mathijs for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2013(UTC) Posts: 280 Location: Poland Thanks: 29 times Was thanked: 40 time(s) in 37 post(s)
|
There could also be issue with your ISP or your CDN bandwidth. I had two situations, where I had similar log, and:
1. My upload speed was 20 mbps, solid fiber connection. Streaming to YouTube, 4 mbps. The error appeared. Soon I proved, that my ISP had problems with his connection to Google/YouTube servers. Speedtest to my ISP was 20 mbps all the time.
2. Streaming to Dailymotion and YouTube simultaneously, 2 different PC-s, more than 20mbps upload speed. No problems with internet connection. Suddenly this error came on Dailymotion streaming PC. I did a new Dailymotion player setup, started again and after 10 minutes the error appeared again. At the same time no problems with streaming to YouTube, so it looked to be Dailymotion network/server/service problem.
|
1 user thanked r@wisla for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/7/2015(UTC) Posts: 635 Location: California
Thanks: 122 times Was thanked: 123 time(s) in 115 post(s)
|
Thanks r@wisla, Mathijs & jip
I had an upload speed of about 13.7 mbps and was streaming at 2.2 mbps using Dacast as my CDN. Never have run into this before with Dacast. However this was the first time we had streamed from this venue/school.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/7/2012(UTC) Posts: 2,636 Location: Canada Thanks: 33 times Was thanked: 506 time(s) in 475 post(s)
|
This raises some interesting questions, I'm not an IT or Network guy, but is there a way, an app or a tool to 'explore' or predict these potential bandwidth throttling situations? It is certainly frustrating for this to happen unexpectedly when all preliminary tests indicate ample bandwidth. I have always suspected that there is some sort of 'Auto Monitoring' and/or 'Throttling down' app set up by the network administrator for shared bandwidth usage whenever this sort of thing happens, but I have no way to prove it since I rarely have contact with such a person, but I would certainly make a stronger effort to do so if I knew that that was the case and ask if there might be some sort of manual override that would secure a dedicated connection on the network. Once again, I am no expert in these matters, it's just a suspicion and anytime I have ever talked to an IT person, they hold their cards very close to the chest and are reluctant to tell you anything.
Ice
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/13/2012(UTC) Posts: 1,162 Location: Melbourne Thanks: 220 times Was thanked: 199 time(s) in 181 post(s)
|
Often in Corporate (and that includes large school environments) the network has QOS applied so even though you might see 13mpbs up by using SpeedTest you are not actually able to get it for the video traffic. Talk to the network guy before the event to ensure that the Video traffic is given priority on the network during the broadcast. (Mind you....that is where you can run into resistance too.) As for a tool to test. SolarWinds is commonly used but the network admins might get upset if you start scanning their network. Iperf is another commonly used tool
|
2 users thanked ask for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/6/2015(UTC) Posts: 103 Thanks: 20 times Was thanked: 7 time(s) in 6 post(s)
|
ping plotter may help narrow down if it is in your network or the hops out in internet land causing issues
great tool
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/18/2014(UTC) Posts: 1,837 Location: Stockholm
Thanks: 144 times Was thanked: 297 time(s) in 250 post(s)
|
I think that in addition to what have been said a couple of other things might be in play.
1. That the CDN server (you are streaming to) stops to respond for some reason.
2. That an IPS-service (internet provider security) decides to shut you off. We recently encountered that at one of our customers offices. They subscribe to such a service offered via their ISP. If my memory serves me right we were shut off after about 10 minutes. After a minute we could stream again, but was shut off after a few more minutes. In hindsight one can ask the "network guys" to make sure that the IPS is not triggered by your stream. And of course start asking beforehand if they use IPS services.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 12/3/2015(UTC) Posts: 2 Location: Kiev
Thanks: 2 times
|
Use URL rtmp backup server, e.c. for youtube: rtmp://b.rtmp.youtube.com/live2?backup=1
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/16/2017(UTC) Posts: 178 Location: Denmark
Thanks: 27 times Was thanked: 18 time(s) in 15 post(s)
|
When live streaming to Facebook, there is a four hour limit. At some point when surpassing this limit, vMix will report the same error and the Stream-button will turn yellow.: Code:[dshow @ 02e580e0] real-time buffer [vMix Video] [video input] too full or near too full (100% of size: 256000000 [rtbufsize parameter])! frame dropped!
[rtmp @ 04ff9620] Server error: Initialization failed (2: Broadcast state is bad)
rtmp://rtmp-api.facebook.com:80/rtmp//xxxxxxxxxxxxxxxx?ds=1&s_l=1&a=xxxxxxxxxxxxxxxx: Operation not permitted
[dshow @ 02e580e0] real-time buffer [vMix Video] [video input] too full or near too full (100% of size: 256000000 [rtbufsize parameter])! frame dropped!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/19/2013(UTC) Posts: 600 Location: Belgium Thanks: 75 times Was thanked: 91 time(s) in 75 post(s)
|
Sometimes we have this too when streaming over 4g. Stopping the stream and restarting with a lower bitrate solves it. Tip: set a high buffer 120 seconds) when streaming over 4g. It would be cool if there was a way for vmix to lower the bitrate by itself when it detects a bottleneck.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 3/31/2017(UTC) Posts: 1 Location: Zagreb
|
Hi guys!
I try to use Livestream's CDN to transfer live content in a playout software (Livestream Studio). So I have content in a vMix, and settings for a rtmp. Also, I have opened a port 1935 (as Livestream sugested in a manual), and have error.... For the test I also connected youtube and ReStream, and without any problems... Any idea what to do???
FFMPEG.Exited Streaming [rtmp @ 0434cb60] Cannot open connection tcp://212.92.200.205:1935 rtmp://212.92.200.205/live//server1: Unknown error
Input #0, dshow, from 'video=vMix Video:audio=vMix Audio': Duration: N/A, start: 4338.305000, bitrate: 1536 kb/s Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1280x720, 50 tbr, 10000k tbn, 50 tbc Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s [tcp @ 04349420] TCP Buffer has been set to 6571008 bytes [dshow @ 02da8100] real-time buffer [vMix Video] [video input] too full or near too full (62% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 02da8100] real-time buffer [vMix Video] [video input] too full or near too full (64% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 02da8100] real-time buffer [vMix Video] [video input] too full or near too full (66% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 02da8100] real-time buffer [vMix Video] [video input] too full or near too full (69% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 02da8100] real-time buffer [vMix Video] [video input] too full or near too full (71% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 02da8100] real-time buffer [vMix Video] [video input] too full or near too full (73% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 02da8100] real-time buffer [vMix Video] [video input] too full or near too full (75% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 02da8100] real-time buffer [vMix Video] [video input] too full or near too full (77% of size: 256000000 [rtbufsize parameter])! frame dropped! Last message repeated 4 times [dshow @ 02da8100] real-time buffer [vMix Video] [video input] too full or near too full (78% of size: 256000000 [rtbufsize parameter])! frame dropped! Last message repeated 2 times [dshow @ 02da8100] real-time buffer [vMix Video] [video input] too full or near too full (79% of size: 256000000 [rtbufsize parameter])! frame dropped! Last message repeated 1 times [rtmp @ 0434cb60] Cannot open connection tcp://212.92.200.205:1935 rtmp://212.92.200.205/live//server1: Unknown error
|
|
|
|
Rank: Member
Groups: Registered
Joined: 4/20/2017(UTC) Posts: 18 Location: Atlanta, GA
Thanks: 4 times Was thanked: 1 time(s) in 1 post(s)
|
I see a lot of discussions about network performance, but I'm not convinced that bandwidth is the issue here. If you look at the way vMix calls the FFMPEG program, it specifically sets the "-rtbuffer 256M" When the FFMPEG process runs, there's not enough headroom for it to work.
In my case, I'm on a dual Xeon system with 32g of memory using SSD drives and a 1GB Fiber connection to the outside world. I think the entire issue would be mute if we could simply know where that parameter is set so we can change it. I'd like to change mine to 1G in order to handle what I'd like to send up.
"C:\\Program Files (x86)\\vMix\\streaming\\ffmpeg.exe" -report -rtbufsize 256M -f dshow -i "video=vMix Video:audio=vMix Audio"
This seems to be a problem when I kick off a multi-bitrate stream versus running a single stream.
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/13/2010(UTC) Posts: 5,214 Location: Gold Coast, Australia Was thanked: 4301 time(s) in 1523 post(s)
|
Hi,
If the computer performance can be ruled out (I.E the system is showing low render times (15ms or lower) and cpu usage under 70%) then the problem is almost always network bandwidth related. There are actually two buffers vMix manages for streaming:
Network buffer (this can be configured in the streaming settings) Real time video buffer (this is the rtbufsize you are seeing in the command line)
The real time video buffer should not need to be adjusted, it just needs to be fast enough to keep up with the encoder so you only need a couple of frames for moderately fast PCs which works out to be 20MB for 5 frames, so 256MB is more than enough and can handle up to 4K. So what happens if there is a network bandwidth issue and the network buffer becomes full, then the stream will back up and end up filling the video buffer as well causing those messages to appear in the log but they are a symptom of network issues rather than the cause.
So with that said, we need to determine what is causing issues on the network. If you have an extremely fast connection, then the issue could originate within the CDN's network or configuration.
One example is Facebook, which supports a maximum bitrate of 4000kbps and they say they will actually throttle the connection on their end if the bitrate is higher. Other CDNs, may also have their own bandwidth restrictions in place.
To verify this you can increase the network buffer setting in vMix as high as it will go and this should delay these buffering messages substantially until the throttling is encountered again. It is also worth noting these messages will appear initially for a few seconds as the stream is initialized.
Hope this helps.
Regards,
Martin vMix
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 1/19/2018(UTC) Posts: 6
Thanks: 1 times
|
hi, i have similiar problem on streaming. if i keep streaming for couple of hours but no error pop out just showing
ffmpeg started on 2018-01-18 at 19:11:14 Report written to "C:\ProgramData\vMix\streaming\streaming 20180118-191113.log" Command line: "C:\\Program Files (x86)\\vMix\\streaming\\ffmpeg2.exe" -report -rtbufsize 256M -f dshow -i "video=vMix Video YV12:audio=vMix Audio" -codec:v libx264 -s:v 1280x720 -pix_fmt:v yuv420p -threads 4 -bufsize:v 1000k -g:v 50 -preset:v veryfast -profile:v baseline -level:v 3.1 -b:v 1000k -maxrate:v 1100k -codec:a aac -b:a 128k -strict -2 -rtmp_flashver "FMLE/3.0 (compatible; vMix/20.0.0.46)" -f flv rtmp://13.250.153.31:1935/5-15-SaifuddinTest ffmpeg version 3.3.git Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.8.1 (rev2, Built by MinGW-W64 project) configuration: --enable-gpl --enable-version3 --enable-libx264 --enable-zlib --enable-nvenc --cpu=i686 Guessed Channel Layout for Input Stream #0.1 : stereo Input #0, dshow, from 'video=vMix Video YV12:audio=vMix Audio': Duration: N/A, start: 2666561.301000, bitrate: 1536 kb/s Stream #0:0: Video: rawvideo (YV12 / 0x32315659), yuv420p, 1280x720, 25 fps, 25 tbr, 10000k tbn, 10000k tbc Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s [tcp @ 06720d40] TCP Buffer has been set to 2820096 bytes [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (63% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (65% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (66% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (68% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (70% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (71% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (73% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (75% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (76% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (76% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (88% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (88% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (88% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (88% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (88% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (88% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (89% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (89% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (89% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (89% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (89% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (89% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (90% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (90% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (90% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (90% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (90% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (90% of size: 256000000 [rtbufsize parameter])! frame dropped! [dshow @ 049480c0] real-time buffer [vMix Video YV12] [video input] too full or near too full (100% of size: 256000000 [rtbufsize parameter])! frame dropped!
what should i do for next? Thanks.
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Streaming error real-time buffer [vMix Video] [video input] too full or near too full
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close