Trying to display video from a Tello drone

13 views
Skip to first unread message

bburd

unread,
Aug 2, 2025, 6:53:44 PMAug 2
to javacv
I'm running a Java program with JavaCV to display the video from a Tello drone. The program displays the video in a Swing frame. For the first few seconds, the video appears. (Yay!) But after a few seconds, the video goes away and I see the following error messages:

Info: avformat_open_input rejected some options: Option: pixes_format, value: bgr24, Option: flags, value: low_delay
[h264 @ 0x7fe7ff952b40] non-existing PPS 0 referenced
                                               decode slide header error
                                               no frame!

Samuel Audet

unread,
Aug 2, 2025, 8:53:29 PMAug 2
to jav...@googlegroups.com, bburd
That sounds like a network issue. Try to use TCP instead of UDP

bburd

unread,
Aug 2, 2025, 8:54:57 PMAug 2
to javacv
I'll try that. Thanks.

bburd

unread,
Aug 2, 2025, 9:14:10 PMAug 2
to javacv
Got an error message. Apparently, the Tello drone doesn't accept TCP connections.
I've seen a YouTube video where code like this works with a Python program, so I don't think the problem is with the Tello hardware.

Reply all
Reply to author
Forward
0 new messages