Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openh264 can't decode video from linphone client #494

Open
rachelxj opened this issue Mar 8, 2017 · 6 comments
Open

openh264 can't decode video from linphone client #494

rachelxj opened this issue Mar 8, 2017 · 6 comments

Comments

@rachelxj
Copy link

rachelxj commented Mar 8, 2017

@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)

@AndrejHafner
Copy link

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.

@GurgleSSH
Copy link

GurgleSSH commented May 15, 2018

Use FFMPEG to replace OPENH264.

  1. open doubango/tinyDAV/src/tdav.c
  2. remove code at line334~line336:
    #if HAVE_OPENH264
        tmedia_codec_plugin_register(tdav_codec_h264_cisco_base_plugin_def_t);
    #endif

@AndrejHafner
Copy link

Thanks, the solution worked!

@santanu1122
Copy link

Hi, it's disconnecting the call after 1 second ring, please help

@GurgleSSH
Copy link

santanu1122, can you provide logs?

@Rayman230510
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants