Hello Tello Pilot!
Join our DJI Tello community & remove this banner.
Sign up

KivyTello: a Kivy app to control your Ryze Tello

Ok, ho rifatto tutto su un PC nuovo di zecca.

Probabilmente ecco cosa manca:

devi copiare i files inttypes.h e stdint.h in

C:\Users\<Nome utente>\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\include

I files li puoi prendere qui

Fammi sapere!

... scaricato e installato VC for Python e copiato i files nel folder da te indicato ... ancora nulla ... stesso (o quasi ...) errore :(

running config
looking for avformat_open_input... missing
looking for pyav_function_should_not_exist... missing
looking for av_calloc... missing
looking for av_frame_get_best_effort_timestamp... missing
looking for avformat_alloc_output_context2... missing
looking for avformat_close_input... missing
looking for avcodec_send_packet... missing
looking for AV_OPT_TYPE_INT...missing
looking for PYAV_ENUM_SHOULD_NOT_EXIST...missing
looking for AV_OPT_TYPE_BOOL...missing
looking for AVStream.index... missing
looking for PyAV.struct_should_not_exist... missing
looking for AVFrame.mb_type... missing

We didn't find `AV_OPT_TYPE_INT` in the libraries.
We look for it only as a sanity check to make sure the build
process is working as expected. It is not, so we must abort.

AD MAIORA
 
Last edited:
Ascolta, nella cartella ho messo un file ffmpeg.zip.
Prova a scompattarlo in c:\ffmpeg e riprova con questo.
Fammi sapere

P.S.: sulla macchina vergine non ho fatto altro che:

  • installato python 2.7.15 x86-64
  • copiate le ffmpeg che ti ho messo in condivisione
  • aggiornato pip con python -m pip install --upgrade pip
  • installato msvc++ compiler for python 2.7
  • copiati i due file inttypes.h e stdint.h
  • eseguito set_env.cmd
  • installato PyAV: pip install av
  • OK!
 
Last edited:
Ascolta, nella cartella ho messo un file ffmpeg.zip.
Prova a scompattarlo in c:\ffmpeg e riprova con questo.
Fammi sapere

P.S.: sulla macchina vergine non ho fatto altro che:

  • installato python 2.7.15 x86-64
  • copiate le ffmpeg che ti ho messo in condivisione
  • aggiornato pip con python -m pip install --upgrade pip
  • installato msvc++ compiler for python 2.7
  • copiati i due file inttypes.h e stdint.h
  • eseguito set_env.cmd
  • installato PyAV: pip install av
  • OK!

... grande !!!
... dopo qualche ulteriore smanettamento alla fine sono riuscito a far funzionare il tutto ...

Thanks so much !!! :D

AD MAIORA
 
  • Like
Reactions: mcecchi
This is all great programmer mumbo jumbo. I don’t understand anything of it. But I am looking forward to a Tello control app ( for ios) which involves fixed throttle and gyroscope control.
 
Hi,

... when I give pip install av, I get the following:

....
running build_ext
running reflect
running config
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools":
http://landinghub.visualstudio.com/visual-cpp-build-tools
looking for avformat_open_input...

----------------------------------------
Command ""d:\program files (x86)\python36-32\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\Giuseppe\\AppData\\Local\\Temp\\pip-install-99ustr3c\\av\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Giuseppe\AppData\Local\Temp\pip-record-323wcc0n\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Giuseppe\AppData\Local\Temp\pip-install-99ustr3c\av\

... and then:

C:\Users\Giuseppe\Desktop\KivyTello-videofeed>python main.py
Traceback (most recent call last):
File "main.py", line 3, in <module>
import av
ModuleNotFoundError: No module named 'av'

... why ? Thanks in advance

AD MAIORA

P.S. Microsoft Visual C++ Build Tools is installed ... :(:(:(

You can do it by installing miniconda and create a virtual environment. then run `conda install -c conda-forge av `. It will install successfully.
 
MY Framework 01.04.35.01 video not working

What version of the framework are you using?
I use the version 01.04.35.01 and the video does not work by the computer, only by the mobile app
 

Members online

Forum statistics

Threads
5,695
Messages
39,954
Members
17,052
Latest member
Madrid