简体   繁体   English

具有SPS和PPS的x264 IDR存取单元

[英]x264 IDR access unit with a SPS and a PPS

I am trying to encode video in h.264 that when split with Apples HTTP Live Streaming tools media file segmenter will pass the media file validator I am getting two errors on the split MPEG-TS file 我正在尝试在h.264中编码视频,当使用Apples HTTP Live Streaming工具进行拆分时,媒体文件分段器将通过媒体文件验证器,在拆分的MPEG-TS文件上出现两个错误

WARNING: Media segment contains a video track but does not contain any IDR access unit with a SPS and a PPS.
WARNING: 7 samples (17.073 %) do not have timestamps in track 257 (avc1).

After hours of research I think the "IDR" warning relates to not having keyframes in the right place on the segmented MPEG-TS file so in my ffmpeg command I set -keyint_min 1 to ensure keyframes where at every frame, but this didn't work. 经过数小时的研究,我认为“ IDR”警告与在分割的MPEG-TS文件上的正确位置没有关键帧有关,因此在我的ffmpeg命令中,我设置了-keyint_min 1以确保关键帧在每帧都在正确的位置,但这并没有工作。

Although it would be great to get an answer, if anyone can shed any light on what a "IDR access unit with a SPS and a PPS" is or what the timestamps warning means I would be very grateful, thanks. 尽管得到答案将是很棒的,但是如果有人能对“带SPS和PPS的IDR存取单元”是什么或时间戳警告表示什么,我将不胜感激,谢谢。

可以在此线程上找到修复程序https://devforums.apple.com/thread/45830?tstart=15

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM