non-existing pps 0 referenced
时间: 2023-04-26 20:02:37 浏览: 86
"非存在的 PPS 0 引用错误",这个错误消息表示程序试图引用了不存在的 PPS 0。PPS 是数据包分配单元,它通常用于网络通信。如果您收到此错误消息,可能是您的程序或网络出现问题,请检查您的代码和网络设置以解决问题。
相关问题
FFmpeg non-existing PPS 0 referenced问题描述
这个问题通常出现在使用FFmpeg进行视频编码或解码时,提示“non-existing PPS 0 referenced”的错误信息。这个错误通常是由于输入文件的格式不正确导致的,或者是输入文件中缺少必要的信息。
要解决这个问题,可以尝试以下几种方法:
1. 检查输入文件的格式是否正确,可以使用FFmpeg提供的工具ffprobe来查看输入文件的详细信息,例如:ffprobe input.mp4。
2. 如果输入文件格式正确,可以尝试使用FFmpeg的copy命令来复制视频流和音频流,例如:ffmpeg -i input.mp4 -c:v copy -c:a copy output.mp4。
3. 如果上述方法无效,可以尝试使用FFmpeg的force_key_frames命令来强制添加关键帧,例如:ffmpeg -i input.mp4 -force_key_frames "expr:gte(t,n_forced*2)" output.mp4。
如果以上方法都无法解决问题,可能需要进一步检查输入文件的内容和格式,或者考虑使用其他编码/解码工具。
[h264 @ 000001ef94ed8280] Format h264 detected only with low score of 1, misdetection possible! [h264 @ 000001ef94ed9f40] illegal POC type 5 [h264 @ 000001ef94ed9f40] non-existing PPS 10 referenced [AVBSFContext @ 000001ef94ee0280] Invalid NAL unit 0, skipping. Last message repeated 6 times [h264 @ 000001ef94ed9f40] Invalid NAL unit 0, skipping. Last message repeated 6 times [h264 @ 000001ef94ed9f40] slice type 32 too large at 25 [h264 @ 000001ef94ed9f40] decode_slice_header error [h264 @ 000001ef94ed9f40] no frame! [h264 @ 000001ef94ed9f40] non-existing PPS 0 referenced [AVBSFContext @ 000001ef94ee0280] Invalid NAL unit 16, skipping. Last message repeated 3 times [h264 @ 000001ef94ed9f40] Invalid NAL unit 16, skipping. Last message repeated 3 times [h264 @ 000001ef94ed9f40] data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [h264 @ 000001ef94ed9f40] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org) [h264 @ 000001ef94ed9f40] data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [h264 @ 000001ef94ed9f40] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org) [h264 @ 000001ef94ed9f40] data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [h264 @ 000001ef94ed9f40] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org) [h264 @ 000001ef94ed9f40] no frame! [h264 @ 000001ef94ed8280] Stream #0: not enough frames to estimate rate; consider increasing probesize [h264 @ 000001ef94ed8280] decoding for stream 0 failed [h264 @ 000001ef94ed8280] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, h264, from 'C:\Users\26742\Desktop\1.264': Duration: N/A, bitrate: N/A Stream #0:0: Video: h264, none, 25 tbr, 1200k tbn, 50 tbc At least one output file must be specified
这段错误信息是由FFmpeg解码器生成的。它指出在解码H.264视频时发生了一些问题。可能的原因包括:
1. 输入文件格式不正确或损坏。
2. 编码器参数设置不正确。
3. FFmpeg版本过旧,不支持特定的H.264功能。
解决方法可能包括:
1. 检查输入文件是否正确,并尝试使用其他工具或播放器打开文件,以确认文件是否有效。
2. 更新FFmpeg到最新版本,以支持更多的H.264功能。
3. 调整FFmpeg的分析持续时间(analyzeduration)和探测大小(probesize)选项的值。
如果问题仍然存在,可以考虑将文件示例上传到FFmpeg开发者邮件列表进行咨询,以获取更多帮助和支持。