Encountring an error with videos - Kivy on Windows 7 - python

I want to make an application with Kivy that can manipulate videos, my problem is that i can't play videos when i am using kivy, my operating system is Windows7.
In the demo example given with Kivy, here is the result :
in this youtube video (https://www.youtube.com/watch?v=8zSNzUAfohA), in minute 1h18min30sec the video is actually working
The result i had before was this picture :
I hope u guys know what is the problem source.
Thank you for your time :)

Install kivy.deps.gstreamer if you don't have it yet. Catalog should then work.
The second image looks like you have non-existing files included.

Related

Import data and show data not working in jupyter lab

I am currently trying to build a machine learning model through watching a youtube video online, I am currently following the intro steps, downloaded juypter-lab and have imported the needed libraries and have tried to use the "data" command so that it can read the "housing.csv" file. However no matter how many times I try there is no data chart generated like in the tutorial video please help me figure out what the issue is.
It also seems as if the program did not even recognize the 4 import library commands
*Edit: I think there is a problem with my workspace? Whenever I click run nothing happens
[Tutorial jupyter-lab]
My Jupyter-lab
I have tried watching videos on solving the problem for 30 minutes without a solution so far

Pydroid TTS without kivy

I searched a lot but couldn't find anything working. The only option is gTTS, but I need a module that does not convert text into an audio file but plays it. I also tried the Android module and AndroidHelper but they don't work either.
I'm using Pydroid 3.
Thanks in advance.
PS: I can't download QPython

Kivy Video class rtsp stream not working on other pc

I have created an app that displays rtsp streams in Kivy grid view. It works just fine on my computer, but when I deploy it to another PC everything works up until the video needs to be playing in the grid (i just get white squares in the lower left of the tile). I strongly feel that there is a package I need to download that Kivy Documentation does not mention.
I have pip installed all kivy dependencies, Cython, and Pillow on the other PC.
I would like to see video in each block as I do on the PC that I built the app on
No RTSP Stream Coming Through
***Update: (On the other PC (mini PC)) I uninstalled Python 3.7.3, reinstalled it, installed kivy in the proper order according to their install for windows documentation, and installed Cython. This got it working but now some the text is missing in the app. Also, I am getting multiple .dll errors (libopus-0.dll and libgstopus.dll) I tried removing gstreamer from the python share folder and that got it back to just showing white boxes.

Error displaying video stream using Opencv on raspberry pi

I'm trying to access a live video feed from my Raspberry Pi with a PiCam attached. I have enabled the camera in the interface settings and even tested it by snapping some pictures and videos using the PiCam library. However, OpenCV is giving me troubles. I installed open CV following this tutorial (shoutout to Adrian Rosenbrock).
Check out the screenshot below for the code and the error message. I'm running everything from within a virtual environment with OpenCV installed, like Adrian suggests.
Code and error message
VIDEOIO ERROR: V4L: can't open camera by index 0
From what I've read from other problems people have had, this error is sometimes resolved by playing with the index value. If i change the index value to -1 or 1, like most solutions suggest, i either get the same thing or a slightly different "can't access camera" error.
I'm relatively new to OpenCV and RPi so I might just be missing something simple. Any suggestion is much appreciated, thanks!
You may need to enable access to the camera. Try typing:
sudo modprobe bcm2835-v4l2 in terminal on your RPI.

Access Webcam in Jupyter Notebook on Xilinx Pynq FPGA

Hey guys I want to get the live video frames from my usb webcam connected to my Pynq FPGA. The goal is to make motion detection on each frame but I've been struggling to get a live video. I've tried the first example in this link but I get a really bad frame rate. I tried to get a better rate by adding the following line:vc.set(cv2.CAP_PROP_FPS, 60) but it didn't change anything. I tried an example in MATLAB and I had no problems connecting to the webcam and I had a smooth frame rate.
I've read that OpenCV can't be used together with Python3 yet but I still get images in the notebook what I don't understand. I also don't know how to install other packages or libraries like pygame for jupyter notebooks on the pynq, it says everywhere that I have to enter pip install "name" and put the library in the site-packages directory but I haven't seen that directory on jupyter notebooks. So I'm trying to find a way without installing new libraries.
I really need your help guys, do you have some suggestions how to get a live video stream from my webcam on jupyter notebooks?
OpenCV can work with python3. I am using that
at first you need to install pip, it is pretty easy flow.
After that connect the board to the web and use pip install

Categories

Resources