Coder Social home page Coder Social logo

Streamon Error about easytello HOT 12 OPEN

ezrafielding avatar ezrafielding commented on June 18, 2024
Streamon Error

from easytello.

Comments (12)

ezrafielding avatar ezrafielding commented on June 18, 2024

Hi, what OS are you using? This seems to be an issue with calling openCV so the environment may come into play

from easytello.

kherath6 avatar kherath6 commented on June 18, 2024

Hi Virodroid,

I'm using Mac os.
I have all the packages installed in the environment.

from easytello.

ezrafielding avatar ezrafielding commented on June 18, 2024

I haven't been able to test easyTello on MacOS yet. Perhaps it doesn't like the way I'm calling OpenCV. I'll see if I can track down a Mac to do some testing on in future. Everything seems to work fine on Windows 10 and Ubuntu

from easytello.

acdgr8 avatar acdgr8 commented on June 18, 2024

Comments
@0bscur3
0bscur3 commented 13 days ago

Hi,

I was trying to get the example.py to work, but video stream does not seem to work. I am using python 3.6.9 on Mac OS.

This is my stdout:

pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
Send command: command
Response: ok
Send command: speed 10
Response: ok
Send command: streamoff
Response: ok
Send command: streamon
Response: ok
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] non-existing PPS 0 referenced
[h264 @ 0x7f86968c6600] decode_slice_header error
[h264 @ 0x7f86968c6600] no frame!
[h264 @ 0x7f869801c800] error while decoding MB 48 23, bytestream -5
[h264 @ 0x7f869801fe00] error while decoding MB 30 41, bytestream -8

Thanks!
@acdgr8
acdgr8 commented 1 hour ago

Hi, I'm getting a similar error when trying to switch on the stream. Interestingly, I am able to extract frames out of it using the following code -
from djitellopy import Tello
import cv2
import time
tello =Tello()
tello.connect()
tello.takeoff()
tello.streamon()
count = 0
vidcap = cv2.VideoCapture(tello.get_udp_video_address())
success,image = vidcap.read()
success = True
while success:
vidcap.set(cv2.CAP_PROP_POS_MSEC,(count*1000))
success,image = vidcap.read()
print ('Read a new frame: ', success)
cv2.imwrite("./img/frame%d.jpg" % count, image) # save frame as JPEG file
count = count + 5

And the frames are being stored correctly. Can someone please help out why the videostream is not being displayed in a separate window.
Thanks in advance!

from easytello.

tomschofield avatar tomschofield commented on June 18, 2024

Exactly the same issue here. Any progress on this please?

from easytello.

rdarmoul avatar rdarmoul commented on June 18, 2024

Me too, I try too run it with macOS,
h264 @ 0x7f99b384ac00] non-existing PPS 0 referenced [h264 @ 0x7f99b384ac00] non-existing PPS 0 referenced [h264 @ 0x7f99b384ac00] decode_slice_header error [h264 @ 0x7f99b384ac00] no frame! [h264 @ 0x7f99b384ac00] non-existing PPS 0 referenced [h264 @ 0x7f99b384ac00] non-existing PPS 0 referenced [h264 @ 0x7f99b384ac00] decode_slice_header error [h264 @ 0x7f99b384ac00] no frame! .... and so on

from easytello.

manujimele avatar manujimele commented on June 18, 2024

Me too, I try too run it with macOS,
h264 @ 0x7f99b384ac00] non-existing PPS 0 referenced [h264 @ 0x7f99b384ac00] non-existing PPS 0 referenced [h264 @ 0x7f99b384ac00] decode_slice_header error [h264 @ 0x7f99b384ac00] no frame! [h264 @ 0x7f99b384ac00] non-existing PPS 0 referenced [h264 @ 0x7f99b384ac00] non-existing PPS 0 referenced [h264 @ 0x7f99b384ac00] decode_slice_header error [h264 @ 0x7f99b384ac00] no frame! .... and so on

Tengo el mismo problema.... ¿Has encontrado alguna solución?
Gracias

from easytello.

ricafort avatar ricafort commented on June 18, 2024

@Virodroid i get the same errors and issue. seems like all 3rd party tello libraries needs to be updated, maybe caused by latest tello firmware update

from easytello.

faaip avatar faaip commented on June 18, 2024

Having the same issue here. Any news on this?

from easytello.

ramujin avatar ramujin commented on June 18, 2024

@Virodroid any updates on this issue?

from easytello.

ezrafielding avatar ezrafielding commented on June 18, 2024

Unfortunately, I'm not currently in possession of a DJI Tello to continue development of this library. So I won't be able to make or test any updates going forward. That's why this repo isn't really under "active" development anymore.

from easytello.

skomatin avatar skomatin commented on June 18, 2024

Turns out the issue for me was that opencv was opening windows in a separate thread. MacOS does not allow (or work well with) GUI operations outside the main thread. Workaround was to move all GUI operations to the main thread.

from easytello.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.