Log in

View Full Version : x264 encoding error. Should I ignore it?


pcroland
22nd March 2015, 11:23
Hi! I demuxed a few m2ts files with tsMuxer to .264 files and I wanted to encode them. When I encode them with x264 I get error messages continuously but the encoded video looks well.

...
[h264 @ 0x20a2a00] non-existing SPS 1 referenced in buffering period
[h264 @ 0x20a1880] non-existing SPS 1 referenced in buffering period
[h264 @ 0x20a5aa0] non-existing SPS 1 referenced in buffering period
[h264 @ 0x20a1880] non-existing SPS 1 referenced in buffering period
[h264 @ 0x20a6220] non-existing SPS 1 referenced in buffering period
[h264 @ 0x20a1880] non-existing SPS 1 referenced in buffering period
[h264 @ 0x20a69a0] non-existing SPS 1 referenced in buffering period
[h264 @ 0x20a1880] non-existing SPS 1 referenced in buffering period
...
So what should I do?

LoRd_MuldeR
22nd March 2015, 22:48
I'm pretty sure that this is actually a decoding error (warning) and that the message originates from the FFmpeg/libavcodec decoder that is included with x264.

As long as you cannot spot any glitches, there probably isn't much reason to be concerned. The H.264 bitstream created by x264 should be perfectly fine, regardless of the decoding issues!

Anyway, you could try a different method for feeding the M2TS file into x264. What about using DGDecodeNV (http://rationalqm.us/dgdecnv/dgdecnv.html)? Or, if that is not an option, LSMASHSource (http://avisynth.nl/index.php/LSMASHSource)?

pcroland
23rd March 2015, 21:04
Well, I tried to encode the video without demuxing and now there is no error message :D I didn't know that I could easily encode it without demux the video :) Thanks for the answer :)