Video streaming error

JPM jpmelian at gmail.com
Thu Sep 5 10:13:49 PDT 2013


Hi Andoni, thank you for your tip.

I forgot to add <uses-permission android:name="android.permission.INTERNET"
/> to the Manifest xml file.

I can already see the Raspberry Pi camera video in the Android mobile phone
screen.

Anyway there is a weird thing, the delay is 20 Sec :( . When the client was
Ubuntu PC the delay was 200 mS
or so, that's why I think there is a huge buffer inside some pipeline
element.

Thanks again.

Best regards.


2013/9/5 Andoni Morales <ylatuya at gmail.com>

>
> El 05/09/2013 13:24, "JPM" <jpmelian at gmail.com> escribió:
>
> >
> > Hi,
> >
> >
> > I have tested these pipelines in order to send camera video from
> Raspberry Pi to a Ubuntu PC :
> >
> > Raspberry Pi (server) :  raspivid -t 999999 -w 640 -h 480 -fps 25 -hf -b
> 2000000 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay
> config-interval=1 pt=96 ! gdppay ! tcpserversink host=192.168.1.150
> port=5000
> >
> > Ubuntu PC (client) : gst-launch-1.0 -v tcpclientsrc host=192.168.1.150
> port=5000 ! gdpdepay ! rtph264depay ! avdec_h264 ! videoconvert !
> autovideosink sync=false
> >
> >
> > Everything worked properly and now I am testing with a android client
> changing the pipeline in tutorial-3.c from
> >
> > data->pipeline = gst_parse_launch("videotestsrc ! warptv !
> ffmpegcolorspace ! autovideosink", &error); to
> >
> > data->pipeline = gst_parse_launch("tcpclientsrc host=192.168.1.150
> port=5000 ! gdpdepay ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace !
> autovideosink sync=false", &error);
> >
> >
> > But appear the following error : "Error received from element
> tcpclientsrc0: Could not open resource for reading"
> >
> > Any idea why this happens ?. Thanks in advance.
> >
> Hi,
> Did you configure the networking permissions of your app correctly in the
> manifest?
> > _______________________________________________
> > gstreamer-android mailing list
> > gstreamer-android at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
> >
>
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130905/ef937976/attachment.html>


More information about the gstreamer-android mailing list