video: corrupted frames
Issue generated from Tuleap's migration script. Originally submitted by: Stepan Salenikovich (ssalenik)
The video feed from the peer became corrupted (see attached image) during an ip2ip call after the peer switched to a higher resolution camera. The image stayed this way until the call ended. A part of the log is pasted bellow:
[1446582437.227| 6798|video_sender.cpp:66 ] keyframe requested
[1446582437.639|30833|sipvoiplink.cpp:1155 ] [INVITE:0xcfa258] RX SIP method 6 (INFO)
[1446582437.640|30833|sipvoiplink.cpp:1026 ] handling picture fast update request
[1446582437.640|30833|sipvoiplink.cpp:1137 ] [INVITE:0xcfa258] tsx_role=1, tsx_state=4, ev_type=5, tsx_state_type=2
[1446582437.701|30833|sipvoiplink.cpp:1137 ] [INVITE:0xcfa258] tsx_role=1, tsx_state=6, ev_type=5, tsx_state_type=1
[1446582437.723| 6798|video_sender.cpp:66 ] keyframe requested
[1446582437.802|30833|sipvoiplink.cpp:1137 ] [INVITE:0xcfa258] tsx_role=1, tsx_state=6, ev_type=5, tsx_state_type=1
[h264 @ 0x7fff8c012c40] RTP: missed 1 packets
[h264 @ 0x7fff8c012c40] RTP: missed -1 packets
[h264 @ 0x7fff8c3dcdc0] out of range intra chroma pred mode at 91 65
[h264 @ 0x7fff8c3dcdc0] error while decoding MB 91 65
[1446582438.160|30833|sipvoiplink.cpp:1155 ] [INVITE:0xcfa258] RX SIP method 6 (INFO)
[1446582438.160|30833|sipvoiplink.cpp:1026 ] handling picture fast update request
[1446582438.160|30833|sipvoiplink.cpp:1137 ] [INVITE:0xcfa258] tsx_role=1, tsx_state=4, ev_type=5, tsx_state_type=2
[1446582438.223| 6798|video_sender.cpp:66 ] keyframe requested
[1446582441.101| 6808|video_rtp_session.cpp:394] [0/5] packetLostRate=3.255208 -> change bitrate to 812
[1446582441.108|30833|sipcall.cpp:883 ] [call:4417450236372263453] restarting TX media streams
[1446582441.108|30833|audio_rtp_session.cpp:373] Restarting audio sender
[libopus @ 0x7fffa4082e80] 1 frames left in the queue on closing
[Thread 0x7fff97b49700 (LWP 7489) exited]
[New Thread 0x7fff97b49700 (LWP 7498)]
[1446582441.138| 7498|audio_rtp_session.cpp:109] audioEncoder_->openOutput rtp://192.168.49.77:27812
[1446582441.139| 7498|media_encoder.cpp:538 ] [NULL] Using 4 threads
[1446582441.139| 7498|media_encoder.cpp:591 ] [NULL] Frame size 960
[1446582441.139| 7498|media_encoder.cpp:144 ] Using max bitrate 0
[libopus @ 0x7fffa4084220] No bit rate set. Defaulting to 96000 bps.
[1446582441.142| 7498|audio_rtp_session.cpp:163] Creating audio resampler
[1446582441.145| 7498|ice_transport.cpp:63 ] Registered thread 0x7fff97b490f0 (0x7871)
[1446582441.176|30833|video_rtp_session.cpp:71] Restarting video sender
[Thread 0x7fff9effd700 (LWP 7490) exited]
[Thread 0x7fffc67fb700 (LWP 7493) exited]
[Thread 0x7fffc48ef700 (LWP 7491) exited]
[Thread 0x7fffc5ffa700 (LWP 7492) exited]
[Thread 0x7fff9e7fc700 (LWP 7497) exited]
[Thread 0x7fffc6ffc700 (LWP 7496) exited]
[Thread 0x7fffc77fd700 (LWP 7495) exited]
[Thread 0x7fffc7ffe700 (LWP 7494) exited]
[1446582441.232|30833|media_encoder.cpp:538 ] [NULL] Using 4 threads
[1446582441.232|30833|media_encoder.cpp:144 ] Using max bitrate 812000
[1446582441.232|30833|media_encoder.cpp:653 ] Using profile 42 and level 20
[libx264 @ 0xb044c0] frame MB size (80x45) > level limit (396)
[libx264 @ 0xb044c0] DPB size (1 frames, 3600 mbs) > level limit (0 frames, 2376 mbs)
[libx264 @ 0xb044c0] MB rate (36000) > level limit (11880)
[New Thread 0x7fff9e7fc700 (LWP 7499)]
[New Thread 0x7fffc6ffc700 (LWP 7500)]
[New Thread 0x7fffc77fd700 (LWP 7501)]
[New Thread 0x7fffc7ffe700 (LWP 7502)]
[New Thread 0x7fffc67fb700 (LWP 7503)]
[New Thread 0x7fffc5ffa700 (LWP 7504)]
[New Thread 0x7fffc48ef700 (LWP 7505)]
[New Thread 0x7fff9effd700 (LWP 7506)]
[1446582441.419| 6798|video_sender.cpp:66 ] keyframe requested
[1446582441.692|30833|sipvoiplink.cpp:1137 ] [INVITE:0xcfa258] tsx_role=1, tsx_state=6, ev_type=5, tsx_state_type=1
[h264 @ 0x7fff8c012c40] RTP: missed 1 packets
[h264 @ 0x7fff8c012c40] RTP: missed -1 packets
[h264 @ 0x7fff8c2dd4e0] corrupted macroblock 102 70 (total_coeff=-1)
[h264 @ 0x7fff8c2dd4e0] error while decoding MB 102 70
[1446582445.101| 6808|video_rtp_session.cpp:394] [1/5] packetLostRate=0.390625 -> change bitrate to 1406
[1446582445.103|30833|sipcall.cpp:883 ] [call:4417450236372263453] restarting TX media streams
[1446582445.103|30833|audio_rtp_session.cpp:373] Restarting audio sender
[libopus @ 0x7fffa4084220] 1 frames left in the queue on closing
[Thread 0x7fff97b49700 (LWP 7498) exited]
[New Thread 0x7fff97b49700 (LWP 7517)]
[1446582445.121| 7517|audio_rtp_session.cpp:109] audioEncoder_->openOutput rtp://192.168.49.77:27812
[1446582445.121| 7517|media_encoder.cpp:538 ] [NULL] Using 4 threads
[1446582445.121| 7517|media_encoder.cpp:591 ] [NULL] Frame size 960
[1446582445.121| 7517|media_encoder.cpp:144 ] Using max bitrate 0
[libopus @ 0x7fffa40855c0] No bit rate set. Defaulting to 96000 bps.
[1446582445.128|30833|video_rtp_session.cpp:71] Restarting video sender