错误
[h264 @ 000001549d341740] No start code is found.
[h264 @ 000001549d341740] Error splitting the input into NAL units.
方法
添加
avcodec_parameters_to_context(vctx, ifmt->streams[video_index]->codecpar);
本文介绍了一种解决[h264@000001549d341740]中未找到起始码及输入分割成NAL单元时出现的错误的方法。通过使用avcodec_parameters_to_context函数可以有效解决这一问题。
[h264 @ 000001549d341740] No start code is found.
[h264 @ 000001549d341740] Error splitting the input into NAL units.
添加
avcodec_parameters_to_context(vctx, ifmt->streams[video_index]->codecpar);
3946
3万+
1万+
5836
3952
3356

被折叠的 条评论
为什么被折叠?