Skip to content

SEI parsing error when nal-hrd=cbr is used

We use VideoLan x264enc with parameter nal-hrd=cbr to generate constant-bitrate video stream.

On the other end of the stream we have a gstreamer pipeline with x264 decoder and parser. It decodes everything fine but there's a message written to the log several times per second:

libav|||0|(NULL)|SEI type 0 size 40 truncated at 37

Here's a small fragment of stream that causes this error. https://drive.google.com/file/d/19C-d_qiT4E9QEEkRekp0gCTF-Ma4KwtK/view?usp=sharing

Of course, no problem for me to ignore this error.

According to Tim Muller this is caused by an error in encoder.

Here's a similar bug with ffmpeg ...does not look like you are using it, but maybe it's the same? https://stackoverflow.com/questions/22823599/ffmpeg-decode-video-h264-with-warning-sei-type-truncated-error-concealment

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information