Answer the question
In order to leave comments, you need to log in
AVCodec (ffmpeg) cannot decode slice header when parsing h264 after getting new SPS and PPS, why?
Greetings.
Scrap rtsp, get h264 stream from rtp, collect frames - everything is ok.
I save the frames to a file (*.h264) to make sure that everything is ok - VLC plays quietly (I also tried to convert the file via ffmpeg to AVI - the same is all ok - the whole conversion is without errors)
But if in runtime I decode by frames with help
avcodec_decode_video2(m_decoderContext, m_picture, &got_picture, &m_packet);
decode_slice_header error
concealing 1497 DC, 1497 AC, 1497 MV errors in P frame
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question