Android h264-Decoder

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Android h264-Decoder

mathisfoerst
Hello,

i try to stream video from my RaspberryPi to my Android Phone.
On the Pi I run the following pipeline:

/opt/vc/bin/raspivid -t 0 -fps 30 -b 2000000 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 !  gdppay ! tcpserversink host=192.168.178.52 port=5000

To receive the stream I successfully tested this pipeline on Ubuntu:

gst-launch-1.0 -v tcpclientsrc host=192.168.178.52 port=5000 ! gdpdepay ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false

To view the stream on my Android Phone aswell, I used the "Gstreamer Android Tutorial 3" ( link ) and modified the pipeline, like above.

The problem is, that I can't find a suitable h264-decoder. I already tried:

1. "avdec_h264" - "element not found"
2. "amcviddec-omxgoogleh264decoder" - "GStreamer encountered a general supporting library error"
3. "ffdec_h264" - "element not found"

Is there another h264-decoder which I can use on Android or a way to include "ffdec_h264" into the App?

Best Regards
Reply | Threaded
Open this post in threaded view
|

Re: Android h264-Decoder

Alberto Gomez
Dear all,
I know this is an old post, but I am facing the same issue. Any hibt on how
to solve it?
Thanks!

Alberto



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Android h264-Decoder

Alberto Gomez
In reply to this post by mathisfoerst
Hi,

I have the same problem. I have tried adding to android.mk the
GSTREAMER_PLUGIN_CODECS_RESTRICTRED but that not only does not fix the issue
but gives a compiler error. Moreover, I can't see a reason why this module
should be added.

Any advice?

Thanks!



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel