title: gstreamer vaapih264enc generated ts segment dont play on AVPlayer
body: <p>I have a pipeline that transcodes an rtsp stream into hls segments. The manifest is playable in browsers(with hlsjs) and ffplay and VLC. However when I play the stream or individual ts segments in Quicktime player or my IOS App that uses avplayer, it doesnt work.</p>
  <p>This seems to be an issue only with <code>vaapih264enc</code>. When I try the same with software encode like <code>x264enc</code> it works fine.</p>
  <p>The following is a simple pipeline where this is reproducible.</p>
  <pre><code>GST_DEBUG=3 gst-launch-1.0 rtspsrc location='rtsp://user:pass@10.10.10.12:554/' name=rtpsrc0 \
   rtpsrc0. ! rtph264depay ! queue ! decodebin ! vaapih264enc ! mpegtsmux name=mux ! filesink location=mymux.ts \
   rtpsrc0. ! decodebin ! queue ! fdkaacenc ! mux.
  </code></pre>
  <p>when I run the following command to copy the encoded stream as is from the generated ts segment it works</p>
  <pre><code>ffmpeg -i mymux.ts -c copy mymux_ffmpeg.ts
  </code></pre>
  <p>Is the ffmpeg adding some additional header information that the quicktime player is happy with?</p>
  <p>I appreciate any help with this.</p>