| Good Afternoon all,
I am writing regarding another video issue I have encountered between SimpleOpal (Opal 2.2.4) linked with the ffmpeg codec library. I have been sucessful linking the ffmpeg lib with the SimpleOpal application and have been able to place h.263 calls between SimpleOpal and several H.263 enabled endpoints.
However, I recently noticed an issue while sending H.263 to a Polycom viewstation. The decoded h.263 stream, as displayed on the viewstation seems to freeze quite frequently, then starts up again.
If I telnet into the Polycom unit during these calls, I see a message repeating over and over again:
RTP: last eBit 2 plus new sBit 0 not equal 8! (instance 0)
I had run into this same issue awhile ago when placing H.261 calls to the same device. I was able to fix this issue by preserving the state of the sbit between encoded frames. With H.263, all of the encoding, including the rtp layer is done inside the the avcodec library.
Am I correct in assuming this issue is caused by the Polycom not dealing with a bitstream that is not always bit aligned? Examining several Ethereal traces of H.263 streams I notice that most if not all seem to have the sbit and the previous frame's ebit add up to 8. The ffmpeg h.263 stream does not seem to do that. I know this is not required by rfc 2190, but it seems to be standard practice.
Does anyone have workaround for this? Is perhaps the only answer to try to patch the ffmpeg code myself?
Any feedback would be appreciated.
Thanks.
|