amymcgovern / pyparrot

Python interface for Parrot Drones
MIT License
274 stars 129 forks source link

Unable to obtain stream with VLC in demoMamboVisionGUI #187

Open Kaynelua opened 4 years ago

Kaynelua commented 4 years ago

Hi amy,

Appreciate the work put in for this project of yours! I would like to read the RTSP stream from the mambo drone as numpy arrays for further processing. I have tried your method with vlc but all i could get is a black (empty) screen, with following errors:

[00007fb5ac06a4b8] core video output error: video output creation failed [00007fb5c000d0b8] core decoder error: failed to create video output [00007fb5ac0988d8] core video output error: video output creation failed [00007fb5c000d0b8] core decoder error: failed to create video output [h264 @ 0x7fb5c00cc600] number of reference frames (0+2) exceeds max (1; probably corrupt input), discarding one

I am currently using this VLC version installed with snap : VLC media player 3.0.7 Vetinari (revision 3.0.7-0-g86cee31) VLC version 3.0.7 Vetinari (3.0.7-0-g86cee31) Compiled by jenkins on e672859d050d (Jun 7 2019 10:27:35) Compiler: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)

Do you think this version might be the cause of the problem? i tried installing version 3.0 with apt-get but wasnt successful.

With version 2.2.7 i am able to see the stream but snapshotting doesnt work with that vlc version. Am wondering if u have any ideas as to how i can fix this. Thank you very much!

khizar-anjum commented 4 years ago

Can you also post which computer you are running this on? and architecture?

Kaynelua commented 4 years ago

Hi, i was running on linux 16.04. But i have concluded that the problem lies with the version of VLC player.