Hi,
Your transport stream is not segmented properly. Following the HLS standard, every TS segment must start with a key frame. The warning indicates that there is a segment which does not start with an IDR frame, i.e. NALU of type 5, but with coded slice of a non-IDR picture - NALU of type 1.
We provide a dedicated remuxer parameter for such streams - skip-first-non-idr.
If you set it to true, the remuxer will skip the packets until a key frame is detected.
What is the segmenter you use?
Most of the streaming servers are following the standard.
Khurshed Mirzoev
Hello there,
I'm looking for an HTML5 player for hls streaming. All streams are the same, video h264 and audio aac and work on demo player directly. Could you please help me figure out what exactly these two errors means: 1. First segment begins with a NON-IDR frame - nalu type: 1 This may break the decoder. 2. [WARN] pes discontinuity. Received payload packet without first receiving a packet with payload unit start indicator Pes dataLen=0. Dropping Ts.
Important! Most of them work without any issues, but some of them have errors. But the weirdest thing is they work on demo player. They start working if I transcode from native h264 to libx264. Means in ffmpeg instead of v copy > v libx264