vtdec: time glitches on h264 playback
I use gstreamer 1.22.1 on macOS. When I playback video stream from iPhone I have video glitches. Time to time video frames had backward playback. On macOS I have standard pipeline with appsrc
and I set ts-offset
to 2 seconds on sink glimagesink
. I can reproduce this bug only with iPhone Video Toolbox HW encoder, for example with android everything is fine. Also everything is fine with avdec_h264
on macOS. And it does not matter to use vtdec_hw
or vtdec
on macOS. On iPhone I use Video Toolbox H264 encoder from the same gstreamer version with main profile and I set allow-frame-reordering
to false. It was observed approximately from streamer 1.20 or above, I can't remember exactly. I use macOS Ventura with Apple M1 CPU.
Please see video:
Screen_Recording_2023-03-11_at_00.21.47