Greetings,
We are a small church that broadcasts a service, usually once a week. We have used VMix for over a year and really like the product. However, we are encountering an issue with an intermittent failure of the broadcast during services that we have not be able to isolate. I have scanned the forums for similar issues and have attempted some suggestions to no avail. I am seeking other ideas based on the data below.
Facts
0. We are using VMix 24.0.0.1
1. We are sending only one stream -- destination: Facebook Live
2. We have a (relatively) high-speed Internet broadband connection. We have used both wired and wireless connections.
3. Issue is intermittent. We can go up to 30 minutes without issue. At other times, we have repeated issues all in a row.
4. We will lose connection (streaming button goes yellow) for 5-15 seconds then broadcast resumes. (We do not have to restart)
5. Drops do not seem to correlate to what is being broadcast. Sometimes it drops during a live camera broadcast, sometimes during a video, etc.
Steps we have attempted to no avail:
1. We usually broadcast using H264 720p 1.5 mbps AAC 128kbps.
We have also used Facebook H264 720p 1.5 mbps AAC 128kbps setting.
Either way, we have intermittent glitches.
2. We have trying turning Strict CBR on.
3. We have run a ping loop to Facebook in the background. When Vmix lost connection, no ping failures occurred, suggesting the Internet connection is still alive.
The logs below are from a recent 1-hour long session that failed approx five times at different points.
I will be happy to provide more information if needed.
Thx!
PS: I do question that the bitrate in some places in the log file seems to exceed the 1.5 mbps limit we use. I may be misreading something.
-----------One drop in connection (partial log)
frame= 6353 fps= 30 q=2.0 size= 33102kB time=00:03:32.43 bitrate=1276.5kbits/s speed=1.02x
frame= 6368 fps= 30 q=6.0 size= 33103kB time=00:03:32.94 bitrate=1273.5kbits/s speed=1.02x
frame= 6383 fps= 30 q=2.0 size= 33111kB time=00:03:33.43 bitrate=1270.9kbits/s speed=1.02x
frame= 6399 fps= 30 q=2.0 size= 33113kB time=00:03:33.95 bitrate=1267.9kbits/s speed=1.02x
frame= 6414 fps= 30 q=2.0 size= 33114kB time=00:03:34.44 bitrate=1265.0kbits/s speed=1.02x
[flv @ 0481b560] Failed to update header with correct duration.
[flv @ 0481b560] Failed to update header with correct filesize.
frame= 6414 fps= 30 q=-1.0 Lsize= 33122kB time=00:03:34.50 bitrate=1264.9kbits/s speed=1.02x
video:31379kB audio:1450kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.891274%
[libx264 @ 0481cb60] frame I:109 Avg QP: 9.24 size: 33071
[libx264 @ 0481cb60] frame P:6305 Avg QP:10.84 size: 4524
[libx264 @ 0481cb60] mb I I16..4: 72.9% 0.0% 27.1%
[libx264 @ 0481cb60] mb P I16..4: 3.9% 0.0% 0.1% P16..4: 23.4% 2.2% 0.2% 0.0% 0.0% skip:70.2%
[libx264 @ 0481cb60] coded y,uvDC,uvAC intra: 18.9% 62.3% 46.3% inter: 3.3% 20.8% 3.8%
[libx264 @ 0481cb60] i16 v,h,dc,p: 48% 30% 15% 7%
[libx264 @ 0481cb60] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 29% 14% 5% 6% 5% 6% 4% 4%
[libx264 @ 0481cb60] i8c dc,h,v,p: 61% 21% 13% 5%
[libx264 @ 0481cb60] kb/s:1198.48
[aac @ 0481ef40] Qavg: 38374.474\
-------------Another drop in connection (partial log)
Note: I have an entire log file made up of "Part duration 0.99992 too large". This is an atypical error as I tend to see
the header issue and occasionally the "Writing encrypted data to socket failed" error much more often.
Past duration 0.999992 too large
frame= 7438 fps= 30 q=26.0 size= 63786kB time=00:04:08.16 bitrate=2105.6kbits/s speed= 1x
Past duration 0.999992 too large
Past duration 0.999992 too large
Past duration 0.999992 too large
Past duration 0.999992 too large
Past duration 0.999992 too large
Past duration 0.999992 too large
Past duration 0.999992 too large
Past duration 0.999992 too large
Past duration 0.999992 too large
Past duration 0.999992 too large
[flv @ 047d89a0] Failed to update header with correct duration.
[flv @ 047d89a0] Failed to update header with correct filesize.
frame= 7448 fps= 30 q=-1.0 Lsize= 64068kB time=00:04:08.55 bitrate=2111.6kbits/s speed= 1x
video:61577kB audio:2152kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.532396%
[libx264 @ 047d9fa0] frame I:125 Avg QP:14.80 size: 78022
[libx264 @ 047d9fa0] frame P:7323 Avg QP:15.46 size: 7279
[libx264 @ 047d9fa0] mb I I16..4: 51.4% 0.0% 48.6%
[libx264 @ 047d9fa0] mb P I16..4: 4.2% 0.0% 0.1% P16..4: 33.4% 2.8% 0.3% 0.0% 0.0% skip:59.3%
[libx264 @ 047d9fa0] coded y,uvDC,uvAC intra: 25.3% 76.6% 62.5% inter: 6.1% 27.1% 5.8%
[libx264 @ 047d9fa0] i16 v,h,dc,p: 37% 36% 19% 8%
[libx264 @ 047d9fa0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 28% 12% 5% 6% 5% 6% 5% 5%
[libx264 @ 047d9fa0] i8c dc,h,v,p: 55% 25% 12% 7%
[libx264 @ 047d9fa0] kb/s:2029.78
[aac @ 047dc3a0] Qavg: 30331.471
------------------Another drop in connection (partial log)
frame= 4013 fps= 30 q=27.0 size= 43177kB time=00:02:13.92 bitrate=2641.0kbits/s speed=1.01x
frame= 4029 fps= 30 q=27.0 size= 43338kB time=00:02:14.41 bitrate=2641.2kbits/s speed=1.01x
frame= 4044 fps= 30 q=27.0 size= 43544kB time=00:02:14.93 bitrate=2643.7kbits/s speed=1.01x
[tls @ 047cf080] Writing encrypted data to socket failed
av_interleaved_write_frame(): I/O error
av_interleaved_write_frame(): I/O error
[flv @ 047c9b60] Failed to update header with correct duration.
[flv @ 047c9b60] Failed to update header with correct filesize.
Error writing trailer of rtmps://live-api-s.facebook.com:443/rtmp/10219693829829472?s_bl=1&s_sc=10219693829989476&s_sw=0&s_vt=api-s&a=Abx95VGkPBkLA78c: I/O error
frame= 4047 fps= 30 q=27.0 Lsize= 43563kB time=00:02:15.05 bitrate=2642.3kbits/s speed=1.01x
video:41286kB audio:2111kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.382446%
[tls @ 047cf080] Writing encrypted data to socket failed
[tls @ 047cf080] Writing encrypted data to socket failed
[tls @ 047cf080] Failed to send close message
[libx264 @ 047cafa0] frame I:68 Avg QP:20.34 size: 66759
[libx264 @ 047cafa0] frame P:3979 Avg QP:23.43 size: 9516
[libx264 @ 047cafa0] mb I I16..4: 40.7% 0.0% 59.3%
[libx264 @ 047cafa0] mb P I16..4: 7.2% 0.0% 0.0% P16..4: 52.7% 4.5% 0.4% 0.0% 0.0% skip:35.2%
[libx264 @ 047cafa0] coded y,uvDC,uvAC intra: 24.2% 94.9% 80.4% inter: 6.9% 48.3% 8.1%
[libx264 @ 047cafa0] i16 v,h,dc,p: 29% 41% 22% 8%
[libx264 @ 047cafa0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 28% 12% 5% 7% 5% 6% 5% 5%
[libx264 @ 047cafa0] i8c dc,h,v,p: 46% 31% 14% 9%
[libx264 @ 047cafa0] kb/s:2512.14
[aac @ 047cd3a0] Qavg: 711.554
Conversion failed!