diux-dev / rosettadrone

Android-based mavlink wrapper for DJI drones
BSD 3-Clause "New" or "Revised" License
113 stars 51 forks source link

gstreamer / vlc #16

Closed dronematt closed 6 years ago

dronematt commented 6 years ago

Can someone help with the command line switches to watch the mavic pro stream on gst-launch and or VLC? using the master.

sdowhy commented 6 years ago

gst-launch-1.0 -v udpsrc port=5600 caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! decodebin ! videoconvert ! autovideosink works for me.

gst-launch-1.0 udpsrc port=5600 ! h264parse ! avdec_h264 ! videoconvert ! videorate ! autovideosink is another option as well.