errors when decode H.264 frames using ffmpeg

后端 未结 3 885
盖世英雄少女心
盖世英雄少女心 2021-01-30 13:18

I am getting the following errors when decoding H.264 frames received from the remote end of a H.264 based SIP video call. Appreciate any help in understanding there errors.

3条回答
  •  忘了有多久
    2021-01-30 13:43

    To decode a frame or a slice, sliceHeader is decoded, which refers to a PPS or "Picture Parameter Set". It has information regarding the specifics of the frame like width, height etc.

    I guess your data is coming through a streaming input channel, in which case SPS and PPS would have been sent earlier in the stream.

    You may have to concatenate the same to your stream.

提交回复
热议问题