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)
|
Have any other of you experienced live streams ending prematurely, and what can we actually do to prevent this? Anyone knows what is causing this? In my tests at least 1/10 streams are ending too early. See one example below where we are live streaming to two FB live destinations. They should end after the maximum lenght of 4 hours, but instead they ended after 02h:56m: Code:
ffmpeg started on 2017-06-04 at 07:54:17
Report written to "C:\ProgramData\vMix\streaming\streaming 20170604-075416.log"
Command line:
"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 4 -bufsize:v 4000k -g:v 50 -preset:v veryfast -profile:v baseline -level:v 3.1 -b:v 4000k -maxrate:v 4400k -codec:a libfaac -b:a 320k -strict -2 -rtmp_flashver "FMLE/3.0 (compatible; vMix/19.0.0.50)" -f flv "rtmp://rtmp-api.facebook.com:80/rtmp//1489072937818445?ds=1&s_l=1&a=ATjG694kWqvN2Ldu" -codec:v libx264 -s:v 1280x720 -pix_fmt:v yuv420p -threads 4 -bufsize:v 4000k -g:v 50 -preset:v veryfast -profile:v baseline -level:v 3.1 -b:v 4000k -maxrate:v 4400k -codec:a libfaac -b:a 320k -strict -2 -rtmp_flashver "FMLE/3.0 (compatible; vMix/19.0.0.50)" -f flv "rtmp://rtmp-api.facebook.com:80/rtmp//1958727621081052?ds=1&s_l=1&a=ATgcUEMSwYSXPPEV"
ffmpeg version 2.8.git Copyright (c) 2000-2015 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-libfaac --enable-nonfree --cpu=i686 --enable-nvenc
libavutil 55. 2.100 / 55. 2.100
libavcodec 57. 3.100 / 57. 3.100
libavformat 57. 2.100 / 57. 2.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 9.100 / 6. 9.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, dshow, from 'video=vMix Video:audio=vMix Audio':
Duration: N/A, start: 326335.046000, bitrate: 1536 kb/s
Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1280x720, 25 tbr, 10000k tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[tcp @ 0559b4a0] TCP Buffer has been set to 21600256 bytes
[tcp @ 055c6920] TCP Buffer has been set to 21600256 bytes
[libx264 @ 05598060] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 05598060] profile Constrained Baseline, level 3.1
[libx264 @ 05598060] 264 - core 144 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=50 keyint_min=5 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=abr mbtree=1 bitrate=4000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=4400 vbv_bufsize=4000 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
[libx264 @ 055c9b20] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 055c9b20] profile Constrained Baseline, level 3.1
[libx264 @ 055c9b20] 264 - core 144 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=50 keyint_min=5 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=abr mbtree=1 bitrate=4000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=4400 vbv_bufsize=4000 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
Output #0, flv, to 'rtmp://rtmp-api.facebook.com:80/rtmp//1489072937818445?ds=1&s_l=1&a=ATjG694kWqvN2Ldu':
Metadata:
encoder : Lavf57.2.100
Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 1280x720, q=-1--1, 4000 kb/s, 25 fps, 1k tbn, 25 tbc
Metadata:
encoder : Lavc57.3.100 libx264
Stream #0:1: Audio: aac (libfaac) ([10][0][0][0] / 0x000A), 48000 Hz, stereo, s16, 320 kb/s
Metadata:
encoder : Lavc57.3.100 libfaac
Output #1, flv, to 'rtmp://rtmp-api.facebook.com:80/rtmp//1958727621081052?ds=1&s_l=1&a=ATgcUEMSwYSXPPEV':
Metadata:
encoder : Lavf57.2.100
Stream #1:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 1280x720, q=-1--1, 4000 kb/s, 25 fps, 1k tbn, 25 tbc
Metadata:
encoder : Lavc57.3.100 libx264
Stream #1:1: Audio: aac (libfaac) ([10][0][0][0] / 0x000A), 48000 Hz, stereo, s16, 320 kb/s
Metadata:
encoder : Lavc57.3.100 libfaac
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (libfaac))
Stream #0:0 -> #1:0 (rawvideo (native) -> h264 (libx264))
Stream #0:1 -> #1:1 (pcm_s16le (native) -> aac (libfaac))
Press [q] to stop, [?] for help
frame= 44 fps=0.0 q=16.0 q=16.0 size= 514kB time=00:00:01.68 bitrate=2501.0kbits/s
frame= 83 fps= 83 q=16.0 q=16.0 size= 1360kB time=00:00:03.24 bitrate=3437.4kbits/s
frame= 96 fps= 63 q=16.0 q=16.0 size= 1620kB time=00:00:03.75 bitrate=3534.7kbits/s
frame= 108 fps= 53 q=16.0 q=16.0 size= 1862kB time=00:00:04.26 bitrate=3574.7kbits/s
frame= 121 fps= 48 q=17.0 q=17.0 size= 2188kB time=00:00:04.75 bitrate=3768.3kbits/s
frame= 134 fps= 44 q=16.0 q=16.0 size= 2419kB time=00:00:05.26 bitrate=3761.0kbits/s
frame= 146 fps= 41 q=16.0 q=16.0 size= 2669kB time=00:00:05.78 bitrate=3783.1kbits/s
frame= 159 fps= 39 q=16.0 q=16.0 size= 2976kB time=00:00:06.29 bitrate=3874.9kbits/s
frame= 172 fps= 38 q=18.0 q=18.0 size= 3469kB time=00:00:06.78 bitrate=4190.1kbits/s
frame= 184 fps= 36 q=19.0 q=19.0 size= 3756kB time=00:00:07.29 bitrate=4218.4kbits/s
frame= 197 fps= 35 q=18.0 q=18.0 size= 4030kB time=00:00:07.80 bitrate=4229.3kbits/s
frame= 209 fps= 34 q=18.0 q=18.0 size= 4173kB time=00:00:08.29 bitrate=4120.1kbits/s
frame= 222 fps= 34 q=17.0 q=17.0 size= 4316kB time=00:00:08.81 bitrate=4012.9kbits/s
frame= 235 fps= 33 q=16.0 q=16.0 size= 4507kB time=00:00:09.32 bitrate=3961.0kbits/s
frame= 248 fps= 33 q=15.0 q=15.0 size= 4672kB time=00:00:09.83 bitrate=3891.6kbits/s
frame= 260 fps= 32 q=14.0 q=14.0 size= 4866kB time=00:00:10.32 bitrate=3861.5kbits/s
frame= 273 fps= 32 q=14.0 q=14.0 size= 5111kB time=00:00:10.83 bitrate=3863.7kbits/s
frame= 285 fps= 31 q=14.0 q=14.0 size= 5378kB time=00:00:11.34 bitrate=3882.7kbits/s
frame= 298 fps= 31 q=14.0 q=14.0 size= 5589kB time=00:00:11.83 bitrate=3867.4kbits/s
frame= 311 fps= 31 q=20.0 q=20.0 size= 5950kB time=00:00:12.35 bitrate=3946.9kbits/s
frame= 323 fps= 30 q=28.0 q=28.0 size= 6373kB time=00:00:12.86 bitrate=4058.9kbits/s
frame= 336 fps= 30 q=24.0 q=24.0 size= 6663kB time=00:00:13.37 bitrate=4081.2kbits/s
frame= 348 fps= 30 q=22.0 q=23.0 size= 6945kB time=00:00:13.86 bitrate=4103.3kbits/s
frame= 361 fps= 30 q=23.0 q=23.0 size= 7197kB time=00:00:14.35 bitrate=4106.6kbits/s
...
frame=263979 fps= 25 q=18.0 q=18.0 size= 5557239kB time=02:55:59.08 bitrate=4311.4kbits/s
frame=263991 fps= 25 q=17.0 q=17.0 size= 5557492kB time=02:55:59.59 bitrate=4311.4kbits/s
frame=264004 fps= 25 q=17.0 q=17.0 size= 5557761kB time=02:56:00.10 bitrate=4311.4kbits/s
frame=264017 fps= 25 q=17.0 q=17.0 size= 5558078kB time=02:56:00.59 bitrate=4311.5kbits/s
frame=264029 fps= 25 q=17.0 q=17.0 size= 5558391kB time=02:56:01.10 bitrate=4311.5kbits/s
frame=264042 fps= 25 q=18.0 q=18.0 size= 5558678kB time=02:56:01.62 bitrate=4311.5kbits/s
frame=264055 fps= 25 q=18.0 q=18.0 size= 5559053kB time=02:56:02.13 bitrate=4311.6kbits/s
frame=264067 fps= 25 q=18.0 q=18.0 size= 5559337kB time=02:56:02.62 bitrate=4311.6kbits/s
frame=264080 fps= 25 q=18.0 q=18.0 size= 5559637kB time=02:56:03.13 bitrate=4311.7kbits/s
frame=264093 fps= 25 q=18.0 q=18.0 size= 5559957kB time=02:56:03.62 bitrate=4311.7kbits/s
frame=264105 fps= 25 q=19.0 q=19.0 size= 5560266kB time=02:56:04.13 bitrate=4311.7kbits/s
frame=264118 fps= 25 q=18.0 q=18.0 size= 5560558kB time=02:56:04.62 bitrate=4311.8kbits/s
frame=264130 fps= 25 q=18.0 q=18.0 size= 5560752kB time=02:56:05.14 bitrate=4311.7kbits/s
frame=264143 fps= 25 q=19.0 q=19.0 size= 5561108kB time=02:56:05.65 bitrate=4311.8kbits/s
frame=264155 fps= 25 q=19.0 q=19.0 size= 5561402kB time=02:56:06.14 bitrate=4311.8kbits/s
frame=264168 fps= 25 q=19.0 q=19.0 size= 5561658kB time=02:56:06.65 bitrate=4311.8kbits/s
frame=264180 fps= 25 q=19.0 q=19.0 size= 5561991kB time=02:56:07.16 bitrate=4311.8kbits/s
frame=264193 fps= 25 q=19.0 q=19.0 size= 5562176kB time=02:56:07.65 bitrate=4311.8kbits/s
frame=264206 fps= 25 q=19.0 q=19.0 size= 5562391kB time=02:56:08.19 bitrate=4311.7kbits/s
frame=264219 fps= 25 q=18.0 q=18.0 size= 5562650kB time=02:56:08.68 bitrate=4311.7kbits/s
frame=264231 fps= 25 q=19.0 q=19.0 size= 5563025kB time=02:56:09.19 bitrate=4311.8kbits/s
frame=264244 fps= 25 q=20.0 q=20.0 size= 5563390kB time=02:56:09.68 bitrate=4311.9kbits/s
frame=264256 fps= 25 q=21.0 q=21.0 size= 5563660kB time=02:56:10.17 bitrate=4311.9kbits/s
av_interleaved_write_frame(): Unknown error
av_interleaved_write_frame(): Unknown error
[flv @ 055971e0] Failed to update header with correct duration.
[flv @ 055971e0] Failed to update header with correct filesize.
[flv @ 055c8c40] Failed to update header with correct duration.
[flv @ 055c8c40] Failed to update header with correct filesize.
frame=264263 fps= 25 q=-1.0 Lq=20.0 size= 5564110kB time=02:56:10.52 bitrate=4312.1kbits/s
video:10313198kB audio:787991kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 05598060] frame I:9174 Avg QP: 7.58 size: 59179
[libx264 @ 05598060] frame P:255089 Avg QP:10.67 size: 18572
[libx264 @ 05598060] mb I I16..4: 51.6% 0.0% 48.4%
[libx264 @ 05598060] mb P I16..4: 10.9% 0.0% 2.3% P16..4: 30.4% 15.0% 5.8% 0.0% 0.0% skip:35.5%
[libx264 @ 05598060] coded y,uvDC,uvAC intra: 41.2% 47.8% 36.1% inter: 22.0% 15.7% 2.6%
[libx264 @ 05598060] i16 v,h,dc,p: 66% 21% 10% 3%
[libx264 @ 05598060] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 26% 16% 4% 5% 4% 4% 3% 3%
[libx264 @ 05598060] i8c dc,h,v,p: 65% 16% 15% 3%
[libx264 @ 05598060] kb/s:3996.39
[libx264 @ 055c9b20] frame I:9174 Avg QP: 7.59 size: 59166
[libx264 @ 055c9b20] frame P:255089 Avg QP:10.67 size: 18573
[libx264 @ 055c9b20] mb I I16..4: 51.7% 0.0% 48.3%
[libx264 @ 055c9b20] mb P I16..4: 10.9% 0.0% 2.3% P16..4: 30.4% 15.0% 5.8% 0.0% 0.0% skip:35.5%
[libx264 @ 055c9b20] coded y,uvDC,uvAC intra: 41.2% 47.8% 36.1% inter: 22.0% 15.7% 2.6%
[libx264 @ 055c9b20] i16 v,h,dc,p: 66% 21% 10% 3%
[libx264 @ 055c9b20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 26% 16% 4% 5% 4% 4% 3% 3%
[libx264 @ 055c9b20] i8c dc,h,v,p: 65% 16% 15% 3%
[libx264 @ 055c9b20] kb/s:3996.38
Conversion failed!
|