Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rtsp player gstreamer Android #1

Open
hafeelgadgeon opened this issue Feb 26, 2022 · 3 comments
Open

Rtsp player gstreamer Android #1

hafeelgadgeon opened this issue Feb 26, 2022 · 3 comments

Comments

@hafeelgadgeon
Copy link

How to play this streamed video using rtsp url from gstreamer android tutorial 4 or any other android network players like vlc etc

@mareksuma1985
Copy link
Owner

I'm sorry, the stream is not compatible with VLC Media Player. I did manage to view it with QGroundControl - it's a ground station software for small UAVs.

@hafeelgadgeon
Copy link
Author

I am using gstreamer tutorial for playing a rtsp streaming video in andorid using gst_parse_launch("playbin3") but there is a latency of around 2 seconds, Can u share me a code how to run this in gstreamer android
gst-launch-1.0 -v udpsrc auto-multicast=true port=5000 caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=JPEG, payload=(int)96" ! rtpjitterbuffer latency=0 ! decodebin ! videoconvert ! autovideosink
when i removed the playbin inside gst_parse_launch() and added this i am getting errors.

@mareksuma1985
Copy link
Owner

It's not that easy. Your pipeline may be ok but every plugin you use must be listed in Android.mk file, in GSTREAMER_PLUGINS variable. Check if all plugins you're trying to use are listed. For example: To be able to use openh264enc, you must include openh264. To be able to use udpsink, you must include udp or $(GSTREAMER_PLUGINS_NET) package, and so on. You can check what plugins each package contains in file plugins.mk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants