GNOME Bugzilla – Bug 751831
encode: h264: CBR encoded streams are unplayable with vaapidecode
Last modified: 2015-07-02 19:10:41 UTC
Failing to playback the stream encoded with vaapiencode_h264. How to reproduce the issue: gst-launch-1.0 -v videotestsrc num-buffers=300 ! vaapiencode_h264 rate-control=cbr bitrate=10000 ! filesink location=sample.264 Try to playback the stream with gst-play: gst-play-1.0 sample.264 Stream is playable with avplay but lots of SEI header truncated errors.
As per Initial investigation, the issue is because of SEI headers inserted by the driver itself. It is better to insert SEI headers from vaapiencoder_h264 itself: patch is here: https://bugzilla.gnome.org/show_bug.cgi?id=722734
commit a2604261946e0716dd2708686454d3ad6262f938 Author: Sreerenj Balachandran <sreerenj.balachandran@intel.com> Date: Thu Jul 2 21:00:14 2015 +0300 encoder: h264: submit SEI buffering_period() and picture_timing() messages for CBR mode