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

lost a non key frame in first serveral packet #2

Open
anqanq000 opened this issue Jan 3, 2024 · 3 comments
Open

lost a non key frame in first serveral packet #2

anqanq000 opened this issue Jan 3, 2024 · 3 comments

Comments

@anqanq000
Copy link

在SE5设备上解码H264的视频帧时,提示

@anqanq000 anqanq000 reopened this Jan 3, 2024
@anqanq000
Copy link
Author

在SE5设备上解码H264的视频帧时,提示:lost a non key frame in first serveral packet...
输入视频帧时已经从PS或者RTP中拆包的NALU,格式为:00 00 00 01 ** **
相同的代码在windows或者linux设备上使用ffmpeg编译运行没有问题,可以正常解码。

@sophon-xun
Copy link
Collaborator

这个问题的解决办法是第一个pkt加一个Keyflags标识

@HDL199411
Copy link

这个问题的解决办法是第一个pkt加一个Keyflags标识

怎么加呢?是在av_read_frame收到pkt后加吗?

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

3 participants