v=0o=- 3641290734 3641290734 IN IP4 127.0.0.1s=ffmpegc=IN IP4 127.0.0.1t=0 0m=audio 5005 RTP/AVP 0a=rtpmap:0 PCMU/8000a=recvonlym=video 5007 RTP/AVP 101a=rtpmap:101 H264/90000a=recvonlyffmpeg -protocol_whitelist file,udp,rtp -re -i offer.sdp -y -vcodec libx264 -vprofile baseline -acodec libmp3lame -ar 44100 -ac 1 -f flv rtmp://127.0.0.1:1935/hls/test
[sdp @ 0x266ac40] max delay reached. need to consume packet
[sdp @ 0x266ac40] RTP: missed 156 packets
[sdp @ 0x266ac40] max delay reached. need to consume packet
[sdp @ 0x266ac40] RTP: missed 156 packets
[h264 @ 0x272abe0] Invalid level prefix
[h264 @ 0x272abe0] error while decoding MB 8 14
[h264 @ 0x272abe0] concealing 681 DC, 681 AC, 681 MV errors in I frame
[h264 @ 0x2950f80] corrupted macroblock 22 25 (total_coeff=-1)
[h264 @ 0x2950f80] error while decoding MB 22 25
--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
From: kur...@googlegroups.com [mailto:kur...@googlegroups.com] On Behalf Of alb...@axiomzen.co
Sent: Thursday, July 14, 2016 6:48 PM
To: kurento
Subject: [kurento-public] Bad results in WebRTC -> RTC -> RTMP -> HLS using kurento, ffmpeg and nginx
From: Mark Hassman [mailto:ma...@hassman.org]
Sent: Friday, July 15, 2016 6:46 AM
To: 'kur...@googlegroups.com'
Subject: RE: [kurento-public] Bad results in WebRTC -> RTC -> RTMP -> HLS using kurento, ffmpeg and nginx
I can't help with the video quality issues, but why not simplify your process flow? i.e. removing rtmpwebrtc -> kurento -> rtp -> ffmpeg -> hls -> nginxSample ffmpeg parameters:ffmpeg -protocol_whitelist file,udp,rtp -loglevel 99 -analyzeduration 2048M -probesize 2048M -y -nostdin -i /tmp/offer.sdp -threads 3 -s 480x270 -c:v libx264 -tune zerolatency -flags +global_header -movflags +faststart -pix_fmt yuv420p -profile:v main -level 3.1 -preset medium -b:v 400K -maxrate 500K -bufsize 2M -r 10 -g 20 -keyint_min 20 -sc_threshold 0 -x264opts keyint=5:min-keyint=1:level=41 -c:a libfdk_aac -profile:a aac_low -ac 1 -strict -2 -f tee -map 0:v -map 0:a [f=hls:hls_time=2:hls_list_size=10:hls_wrap=30:start_number=1]/tmp/480x270.m3u8Misc additional performance improvements:- Write the hls files to a ram drive for i/o efficiency.- Re-order the webrtc sdp to prioritize h.264 and pcmu. This way, there's only one transcode (ffmpeg).Hope this helps..
From: kur...@googlegroups.com [mailto:kur...@googlegroups.com] On Behalf Of alb...@axiomzen.co
Sent: Thursday, July 14, 2016 6:48 PM
To: kurento
Subject: [kurento-public] Bad results in WebRTC -> RTC -> RTMP -> HLS using kurento, ffmpeg and nginx