vtdec: iOS stream freezes
Submitted by Nikolin Dmitriy
Link to original bug (#755043)
Description
sender raspberry pipeline: raspivid -t 0 -w 960 -h 540 -fps 30 -b 1500000 -pf baseline -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=2 pt=96 mtu=1380 ! udpsink host=192.168.0.103 port=6000
receiver iphone pipeline : udpsrc port=6000 ! application/x-rtp, payload=96 ! rtph264depay ! h264parse ! vtdec ! glimagesink
With vtdec. No more broken colors or latency but have new bug. Avery 1-2 maybe 3 seconds get 1ms freeze. Test on iPhone 4s, iPhone 5 and iPad Retina. changes of frame size or bitrate does not help. 40-50% CPU usage.
If use decodebin - 90-100% CPU usage but no freezes.
GST_LEVEL_WARNING - https://www.dropbox.com/s/czb0etk1j2wapme/warnings_log.txt?dl=0
GST_LEVEL_DEBUG - https://www.dropbox.com/s/sd1igl9b6y83cr5/debug_log.txt?dl=0
GST_LEVEL_DEBUG iphone can't start stream. black screen and infinity log.