ArduPilot / MissionPlanner

Mission Planner Ground Control Station for ArduPilot (c# .net)
http://ardupilot.org/planner/
GNU General Public License v3.0
1.79k stars 2.41k forks source link

Mission planner Gstreamer Pipeline setup #1619

Open roque-canales opened 7 years ago

roque-canales commented 7 years ago

I use latest mission planner 1.3.49 + latest GSTREAMER msi.

I have no issues for open the pipeline below through windows cmd: gst-launch-1.0 rtspsrc location=rtspu://admin:admin@192.168.100.103:554/cam1/h264 latency=50 ! decodebin3 ! autovideosink

Quality and lag is perfect.

But I can't open it though Mission Planner > vidéo set gstreamer source > ctrl+F Gstream.

Does anybody could help and tell me how to?

meee1 commented 7 years ago

right click the hud > video> set gstream source and try

rtspsrc location=rtspu://admin:admin@192.168.100.103:554/cam1/h264 latency=50 ! decodebin3 ! avenc_mjpeg

roque-canales commented 7 years ago

Thank you, but this no work....

roque-canales commented 7 years ago

Hello Michael,

Thank you for your help,

I tried what you told to me, but this no work.

From where this issue could come?

Thanks you so much for your help.


De : Michael Oborne notifications@github.com Envoyé : dimanche 30 juillet 2017 01:06 À : ArduPilot/MissionPlanner Cc : roque-canales; Author Objet : Re: [ArduPilot/MissionPlanner] Mission planner Gstreamer Pipeline setup (#1619)

right click the hud > video> set gstream source and try

gst-launch-1.0 rtspsrc location=rtspu://admin:admin@192.168.100.103:554/cam1/h264 latency=50 ! decodebin3 ! avenc_mjpeg

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ArduPilot/MissionPlanner/issues/1619#issuecomment-318865491, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIDS0KwUq0be0_FS_I3uM80EmfbE_-Qsks5sS7sJgaJpZM4OnXoE.

meee1 commented 7 years ago

Try creating a pipeline that doesn't use decodebin

roque-canales commented 7 years ago

Ok, I test many combinations, without succes.

So Even when I test your YouTube demo, it no work, ball appear freezed, ball is not moving.

gst-launch-1.0.exe videotestsrc pattern=ball ! queue ! x264enc ! rtph264pay ! queue ! udpsink host=127.0.0.1 port=5600

What do you think?

meee1 commented 7 years ago

what version of gstreamer did you install.

ive tested with 1.9.2

meee1 commented 7 years ago

does gst-launch-1.0.exe videotestsrc pattern=ball ! queue ! x264enc ! rtph264pay ! queue ! decodebin ! autovideosink work?

roque-canales commented 7 years ago

Yes! it move fluently! but in mission planner, it's freezed

gshmakov commented 7 years ago

Confirm video freeze in mission planner with h264 rtp payload. When I run same pipeline through cmd all works well. I use gstreamer 1.12.2.