ios hardware decoding
Sebastian Dröge
sebastian at centricular.com
Fri Aug 28 00:11:26 PDT 2015
On Do, 2015-08-27 at 21:22 +0300, 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
Use rpicamsrc instead of this duct tape solution with raspivid :)
https://github.com/thaytan/gst-rpicamsrc
> receiver iphone pipeline : udpsrc port=6000 ! application/x-rtp,
> payload=96 ! rtph264depay ! h264parse ! vtdec ! glimagesink
Can you successfully decode the stream with avdec_h264, on an iOS
device or any other system?
> 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.
Can you check in a profiler if there are any CPU bottlenecks, and if so
where they are?
> but in both cases i get greenish image and warning :
Do you only get a solid green image or does it contain anything else?
> 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
This looks like a bug somewhere where caps are created, can you provide
a debug log so we can check where it comes from?
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150828/65a4d5b7/attachment.sig>
More information about the gstreamer-devel
mailing list