x264具有SPS和PPS的IDR存取单元 [英] x264 IDR access unit with a SPS and a PPS
问题描述
我试图在h.264中编码视频,当用苹果分析HTTP Live Streaming工具时,媒体文件分割器将通过媒体文件验证器,我在分割的MPEG-TS文件上收到两个错误
$ b $警告:媒体段包含视频轨道,但不包含任何具有SPS和PPS的IDR访问单元。警告:7个样本(17.073%)在轨道257(avc1)中没有时间戳。
经过几个小时的研究,我认为IDR警告涉及到在正确的位置没有关键帧分段的MPEG-TS文件,所以在我的ffmpeg命令中,我设置了-keyint_min 1,以确保在每个帧的关键帧,但这没有工作。
虽然会是很高兴得到一个答案,如果有人可以说明什么是具有SPS和PPS的IDR访问单元,或者什么时间戳警告意味着我将非常感谢,谢谢。
修复可以在这个线程上找到 https://devforums.apple.com/thread/45830?tstart=15
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
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.
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.
Fix can be found on this thread https://devforums.apple.com/thread/45830?tstart=15
这篇关于x264具有SPS和PPS的IDR存取单元的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!