gobot
gobot copied to clipboard
Unable to start Tello video on ubuntu 16.04
Hi, I'm trying to run your example (go run tello_video.go): all seems to work (tello connection is ok.. the last message displayed is "connected"), but mplayer does not displays any video. The command is correctly run (ps -ef | grep mplayer --> i find it as a running process with -fps 25 -)... but nothing is displayed. DO you have any suggestiong about it ? Many thanks in advance and congratulation for your hard work !!!
Hi @rlanari does the player window open, but no video in it?
I don;t think you should find the mplayer process running separately from the go process when the go code is not running. Perhaps you need to kill a stray mplayer process?
I checked it but before running go process I didn't find any mplayer process: I saw mplayer process only after typing the command: go run tello_video.go
I have this OS:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.4 LTS"
What OS are you using ? Is there some particulare mplayer plugin that should be installed ?
I am using same Ubuntu as you, and I installed from package manager. So nothing very interesting.
What output do you get when you run mplayer -h?
Also, what version of Go?
mplayer -h Usage: mplayer [options] [url|path/]filename
Basic options: (complete list in the man page)
-vo
Basic keys: (complete list in the man page, also check input.conf) <- or -> seek backward/forward 10 seconds down or up seek backward/forward 1 minute pgdown or pgup seek backward/forward 10 minutes < or > step backward/forward in playlist p or SPACE pause movie (press any key to continue) q or ESC stop playing and quit program
- or - adjust audio delay by +/- 0.1 second o cycle OSD mode: none / seekbar / seekbar + timer
-
or / increase or decrease PCM volume x or z adjust subtitle delay by +/- 0.1 second r or t adjust subtitle position up/down, also see -vf expand
-
-
- SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *
-
MPlayer 1.2.1 (Debian), built with gcc-5.3.1 (C) 2000-2016 MPlayer Team
go version go version go1.10.2 linux/amd64
You are using pretty much the exact same versions of everything as I am.
OK one thought is are you already using port 6038 for something else? I have intentions to allow changing the port used for the video when received, but still have not implemented that: https://github.com/hybridgroup/gobot/blob/master/platforms/dji/tello/driver.go#L248
Hi @rlanari, I'm having the same issue. Have you found a fix?
I can't run this with arch either. The tello works fine but no video window opens
I had a similar issue on MacOSX and found out that my company IT enforced a firewall rule on our laptops preventing to accept UDP packets. Disabling the firewall solved the problem.
On Mac : type sudo pfctl -d