doubango
doubango copied to clipboard
openh264 can't decode video from linphone client
@DoubangoTelecom when I use openh264 as codec, it couldn't decode the video sent from linphone client. it always says
MSG: OpenH264: DecodeFrame failed: 18 *[DOUBANGO INFO]: Failed to decode the buffer with error code =18, size=0, append=yes *[DOUBANGO INFO]: Decoding failed -> request Full Intra Refresh (FIR) *[DOUBANGO INFO]: Outgoing SIP INFO ('picture_fast_update') requested but delay too close **[DOUBANGO WARN]: function: "tdav_codec_h264_cisco_decode()" file: "/Users/macdeveloper/sip-research/mydoubs/doubango/branches/2.0/doubango/tinyDAV/src/codecs/h264/tdav_codec_h264_cisco.cxx" line: "486" MSG: OpenH264: DecodeFrame failed: 4 *[DOUBANGO INFO]: Failed to decode the buffer with error code =4, size=0, append=no *[DOUBANGO INFO]: Decoding failed -> request Full Intra Refresh (FIR)
Have you found a solution or an alternative to this problem? I am getting the same error when trying to connect to a SIP camera (MileSight MS-C2963-PB). I also tried forcing doubango to use the other codecs but it doesn't work. It works on the boghe app v2.0 153.936, but since then doubango has been updated. I will probably checkout back on the commits to see when it starts working.
Use FFMPEG to replace OPENH264.
- open doubango/tinyDAV/src/tdav.c
- remove code at line334~line336:
#if HAVE_OPENH264
tmedia_codec_plugin_register(tdav_codec_h264_cisco_base_plugin_def_t);
#endif
Thanks, the solution worked!
Hi, it's disconnecting the call after 1 second ring, please help
santanu1122, can you provide logs?
it couldn't decode the remote video , when i used ffmpeg as codec, it always said
**[DOUBANGO WARN]: function: "tdav_codec_h264_get_pay()" file: "src/codecs/h264/tdav_codec_h264_rtp.c" line: "198" MSG: 24 not supported as valid NAL Unit type ***[DOUBANGO ERROR]: function: "tdav_codec_h264_decode()" file: "src/codecs/h264/tdav_codec_h264.c" line: "366" MSG: ./tinyDAV/src/codecs/h264/tdav_codec_h264.c Depayloader failed to get H.264 content *[DOUBANGO INFO]: Failed to decode the buffer with error code =-1, size=1681, append=no *[DOUBANGO INFO]: Decoding failed -> request Full Intra Refresh (FIR) *[DOUBANGO INFO]: Failed to decode the buffer with error code =-1, size=1167, append=yes *[DOUBANGO INFO]: Decoding failed -> request Full Intra Refresh (FIR)
pls help me to fix it. thks