Re: [Opalvoip-devel] H.323 video-size and resolution downgrade bug
Brought to you by:
csoutheren,
rjongbloed
From: Alexander S. <ale...@gm...> - 2016-05-01 19:43:13
|
Got it. Anyway it more looks like a Polycom problem cause it happens only first conopal connection with a RealPresence acting as a mini-mcu (being on call with a third party). On first conopal connection problem is present but if I do disconnect, restart conopal and reconnect to RealPresence everything works as it should. Also SIP connections works fine. On 01.05.2016 21:09, Robert Jongbloed wrote: > RE: [Opalvoip-devel] H.323 video-size and resolution downgrade bug > This is a nasty problem, coming about due to a legal, but a bit odd, > configuration of the Polycom. > > If you look at the TCS, you can see that the "main" video is, as you > say at level 2.1 (parameter 42 is 50) however ,there is an extended > video capability for H.264 that has level 3.1. Extended video is > typically used for things like "slide show" secondary video. > > The problem is that OPAL only has one H.264 capability (one per > fundamental format) for a connection, and thus cannot distinguish > between the "main" or the "extended" video. Whatever is later in the > TCS is what gets used. > > It is a difficult problem and one for which I cannot think of a quick > fix for. :-( > > ---------- > *Robert Jongbloed* > /Vox Lucida Pty. Ltd./ > > -----Original message----- > *From:* Alexander Sbitnev > *Sent:* Wednesday, 27th April 2016, 17:11 > *To:* opa...@li... > *Subject:* [Opalvoip-devel] H.323 video-size and resolution > downgrade bug > > Got another problem with polycom and conopal. It happens if I > manually setup preferred video resolution (720p) in conopal and connect > to Polycom which can only receive a smaller video resolution (h264 level > 2.1) but can send a higher resolution (720p). As result during > negotiations and startup phase mediaformat and encoder first downgrade > to CIF: > > 0:00.209 H.245 Handler:16421 mediafmt.cxx(1331) > MediaFormat Merging H.264-1 into H.264-1 > 0:00.209 H.245 Handler:16421 mediafmt.cxx(1331) > MediaFormat Merging H.264-1 into YUV420P > 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Frame Height" from "720" to "576" > 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Frame Width" from "1280" to "352" > 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Max Bit Rate" from "1382400000" to > "1024000" > 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Max Rx Frame Height" from "1080" > to "576" > 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Max Rx Frame Width" from "1920" to > "352" > .... > 0:00.263 H.245 Handler:16421 h264-x264.cxx(773) > x264 Applied options: prof=66 lev=21 res=352x576 fps=30 > bps=1000000 period=1000 RTP=1400 NALU=1400 TSTO=31 Mode=1 > > and next get back to 720p: > > 0:00.269 H.245 Handler:16421 mediafmt.cxx(1331) > MediaFormat Merging H.264-1 into H.264-1 > 0:00.269 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Frame Height" from "576" to "720" > 0:00.269 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Frame Width" from "352" to "1280" > 0:00.269 H.245 Handler:16421 mediafmt.cxx(1331) > MediaFormat Merging H.264-1 into YUV420P > 0:00.269 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Frame Height" from "576" to "720" > 0:00.269 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Frame Width" from "352" to "1280" > .... > 0:00.286 H.245 Handler:16421 h264-x264.cxx(773) > x264 Applied options: prof=66 lev=21 res=1280x720 fps=6 > bps=1000000 period=1000 RTP=1400 NALU=1400 TSTO=31 Mode=1 > > As result tx video frame failing with a incorrect buffer size: > > 0:00.346 Tx video:16463 rtp_session.cxx(1257) > RTP Session 2, SSRC=321345223 (0x132756c7), sending (forced) > empty ReceiverReport > 0:00.346 Tx video:16463 rtp_session.cxx(1299) > RTP Session 2, SSRC=321345223 (0x132756c7), sending SDES > cname="dl056bmuVh+UNLzue1xTfQ" > 0:00.346 Tx video:16463 rtp_session.cxx(1409) > RTP Session 2, sent 1 forced reports: status=1 > 0:00.346 H.245 Handler:16421 opalpluginmgr.cx(625) > OpalPlugin Setting encoder options: H.264-1 res=1280x720 target=960000 > 0:00.346 Tx video:16463 mediastrm.cxx(1329) > Media Tried to read with insufficient buffer size - 304160 < > 1382400 > 0:00.346 Tx video:16463 patch.cxx(781) > Patch Thread ended because source read failed on > 14OpalMediaPatch[0x7fa3000e65e0] > 20OpalVideoMediaStream[0x7fa30011c5b0],Source,YUV420P,2 -> > 18OpalRTPMediaStream[0x7fa30007b5c0],Sink,H.264-1,2 > > Full logs and packet dumps I will send directly to Robert and anyone > else interested. > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > _______________________________________________ > Opalvoip-devel mailing list > Opa...@li... > <mailto:Opa...@li...> > https://lists.sourceforge.net/lists/listinfo/opalvoip-devel > > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > > > _______________________________________________ > Opalvoip-devel mailing list > Opa...@li... > https://lists.sourceforge.net/lists/listinfo/opalvoip-devel |