ios hardware decoding

Laurent Eschenauer laurent at eschenauer.be
Fri Aug 28 13:12:54 PDT 2015


I run a similar pipeline (not on ios though) and I have added a
rtpjitterbuffer element which seems to take care of missing packets,
timestamping and all other kind of issues.

On my laptop, I use the following pipeline to decode a similar stream:

gst-launch-1.0 udpsrc port=6000 ! rtpjitterbuffer ! rtph264depay !
avdec_h264 ! xvimagesink

Laurent

On 08/27/2015 08:22 PM, Dmitriy Nikolin wrote:
> 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*
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 


-- 
Laurent Eschenauer
https://eschnou.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150828/a02ad7cc/attachment.sig>


More information about the gstreamer-devel mailing list