lost a non key frame in first serveral packet
Opened this issue · 3 comments
anqanq000 commented
在SE5设备上解码H264的视频帧时,提示
anqanq000 commented
在SE5设备上解码H264的视频帧时,提示:lost a non key frame in first serveral packet...
输入视频帧时已经从PS或者RTP中拆包的NALU,格式为:00 00 00 01 ** **
相同的代码在windows或者linux设备上使用ffmpeg编译运行没有问题,可以正常解码。
sophon-xun commented
这个问题的解决办法是第一个pkt加一个Keyflags标识
HDL199411 commented
这个问题的解决办法是第一个pkt加一个Keyflags标识
怎么加呢?是在av_read_frame收到pkt后加吗?