ios hardware decoding

Dmitriy Nikolin nikolindima at gmail.com
Wed Sep 2 03:35:58 PDT 2015


Hello. i tried to decode stream with avdec_h264 and it’s works like decodebin - normal stream with normal colors but 100% CPU usage.

> >but in both cases i get greenish image and warning :
> Do you only get a solid green image or does it contain anything else?

that i get: https://dl.dropboxusercontent.com/u/3808405/IMG_2155.PNG <https://dl.dropboxusercontent.com/u/3808405/IMG_2155.PNG> 

here is the log: https://dl.dropboxusercontent.com/u/3808405/gstreamer-log.txt <https://dl.dropboxusercontent.com/u/3808405/gstreamer-log.txt> 


> 27 авг. 2015 г., в 21:22, Dmitriy Nikolin <nikolindima at gmail.com> написал(а):
> 
> Hello, 
> i try to use gsteamer for live streaming from raspberry to iPhone and i get some problems. i want to use hardware decoding on iPhone and what i get ( gstreamer 1.5.9, ios 8.4.1)
> 
> sender raspberry pipeline: raspivid -t 0 -w 1024 -h 576 -fps 30 -b 3000000 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=5 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
> 
> and i get warnings : 
> 0:00:13.707789000 [331m 2418[00m  0x49875e0 [31;01mERROR  [00m [00m               vtdec vtdec.c:700:gst_vtdec_session_output_callback:<vtdec0>[00m Error decoding frame -12909
> 0:00:13.707903000 [331m 2418[00m  0x49875e0 [33;01mWARN   [00m [00m               vtdec vtdec.c:736:gst_vtdec_session_output_callback:<vtdec0>[00m Frame dropped 0x41be530 52
> 0:00:13.744789000 [331m 2418[00m  0x49872c0 [31;01mERROR  [00m [00m               vtdec vtdec.c:700:gst_vtdec_session_output_callback:<vtdec0>[00m Error decoding frame -12909
> 0:00:13.744913000 [331m 2418[00m  0x49872c0 [33;01mWARN   [00m [00m               vtdec vtdec.c:736:gst_vtdec_session_output_callback:<vtdec0>[00m Frame dropped 0x41be7b0 53
> State changed to PLAYING
>  0:00:18.596555000 [331m 2418[00m  0x48ed1c0 [33;01mWARN   [00m [00m            basesink gstbasesink.c:2846:gboolean gst_base_sink_is_too_late(GstBaseSink *, GstMiniObject *, GstClockTime, GstClockTime, GstClockReturn, GstClockTimeDiff, gboolean):<sink>[00m warning: A lot of buffers are being dropped.
> 0:00:18.596658000 [331m 2418[00m  0x48ed1c0 [33;01mWARN   [00m [00m            basesink gstbasesink.c:2846:gboolean gst_base_sink_is_too_late(GstBaseSink *, GstMiniObject *, GstClockTime, GstClockTime, GstClockReturn, GstClockTimeDiff, gboolean):<sink>[00m warning: There may be a timestamping problem, or this computer is too slow.
> 
> if i add glimagesink sync=false to ios pipeline i have no warnings about buffer of timestamping problem but i get huge latency.
> 
> but in both cases i get greenish image and warning : 0:00:12.215515000 [331m 2418[00m  0x48ed1c0 [33;01mWARN   [00m [00m          video-info video-info.c:391:gboolean gst_video_info_from_caps(GstVideoInfo *, const GstCaps *):[00m invalid colorimetry, using default

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150902/1f1b47ba/attachment.html>


More information about the gstreamer-devel mailing list