rtph264depay broken in some cases when stream-format=avc
Submitted by Sean-Der
Created attachment 368244
FLV with 1 H264 track showing error
The following H264 is corrupted after depayloading, it only seems to happen when AVC is requested. The following pipeline demonstrates, you will get errors from libav and visible corruption.
gst-launch-1.0 filesrc location=bad.flv ! flvdemux ! h264parse ! video/x-h264, stream-format=avc ! rtph264pay ! rtph264depay ! video/x-h264, stream-format=avc ! decodebin ! autovideosink
I am still investigating, this is from a git build (~12 hrs old). Would love to fix this myself, but if anyone has quick fixes/ideas would love to know.
Attachment 368244, "FLV with 1 H264 track showing error":