Skip to content

tello 视频获取 #81

@Jerryporter

Description

@Jerryporter

使能无人机发送视频后,可以用opencv中的videocapture(udp://@0.0.0.0:11111)进行播放,但是没有办法使用ffplay中的h264解码器进行播放,请问这个问题该怎么解决?

使用opencv的代码:
cv.videocapture(udp://@0.0.0.0:11111)

使用ffplay代码:
ffplay -f h264 udp://0.0.0.0:11111
(我也尝试了将udp后面的0.0.0.0换成localhost,tello的地址:192.168.10.1,以及自己的ip地址,但是都没起作用。命令会一直卡在下面这个步骤,不会做任何事)

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions