Go to advanced search

by simonfish
Sat Jul 11, 2020 4:43 pm
Forum: Beginners
Topic: Omxplayer wrapper help.
Replies: 1
Views: 114

Omxplayer wrapper help.

Hello everyone I’m hopping someone can help me get a video playing using omxplayer wrapper. First off I don’t understand the script from omxplayer wrapper. I’m trying to play my video located at. Home/pi/video. And how is the volume controls once it starts ? . #!/usr/bin/env python3 from omxplayer.p...
by simonfish
Mon Jul 06, 2020 6:22 pm
Forum: Python
Topic: python code help.
Replies: 19
Views: 570

Re: python code help.

Thanks for all the help.
by simonfish
Mon Jul 06, 2020 4:14 pm
Forum: Python
Topic: python code help.
Replies: 19
Views: 570

Re: python code help.

Is there a way you could edit the code for me # out the code thats says use the tft display.
Maybe i could try a fresh install of Buster, and see if i then get it on screen
by simonfish
Mon Jul 06, 2020 4:09 pm
Forum: Python
Topic: python code help.
Replies: 19
Views: 570

Re: python code help.

After i set my rpi via $ sudo raspi-config. $ boot options $ B1 $ B2: Console autologin. Then reboot. Then from my pc SSH to rpi. pi@raspberrypi:~ $ DISPLAY=:0 python2 /home/pi/tracker/main.py pygame 1.9.4.post1 Hello from the pygame community. https://www.pygame.org/contribute.html xcb_connection_h...
by simonfish
Mon Jul 06, 2020 1:00 pm
Forum: Python
Topic: python code help.
Replies: 19
Views: 570

Re: python code help.

Dose this link mean anything to you.

Code: Select all

https://github.com/waveshare/LCD-show/issues/8
by simonfish
Mon Jul 06, 2020 12:48 pm
Forum: Python
Topic: python code help.
Replies: 19
Views: 570

Re: python code help.

That all looks fine to me but I'm no expert on frame buffers and video drivers. I can't see any reason pyscope.py / PyGame wouldn't be able to choose a video driver to use. The only time I've ever had PyGame not choose a driver is when I have tried to run a program over SSH/Telnet and have forgotte...
by simonfish
Mon Jul 06, 2020 11:13 am
Forum: Python
Topic: python code help.
Replies: 19
Views: 570

Re: python code help.

fbset -i ls /dev/fb* tvservice -l capied and paisted each line one by one. pi@raspberrypi:~ $ fbset -i mode "1360x768" geometry 1360 768 1360 768 32 timings 0 0 0 0 0 0 0 rgba 8/16,8/8,8/0,8/24 endmode Frame buffer device information: Name : BCM2708 FB Address : 0x1e7fe000 Size : 4177920 Type : PAC...
by simonfish
Mon Jul 06, 2020 9:46 am
Forum: Python
Topic: python code help.
Replies: 19
Views: 570

Re: python code help.

Maybe try those'fbset -i', 'ls /dev/fb*' and 'tvservice -l' commands to see if they give some clue. But how do I change them ? If loaded after desktop it works. But will not work if typed into the command prompt. You don't need to change anything. Just type the commands suggested at the command lin...
by simonfish
Mon Jul 06, 2020 6:29 am
Forum: Python
Topic: python code help.
Replies: 19
Views: 570

Re: python code help.

hippy wrote:
Sun Jul 05, 2020 10:54 pm
simonfish wrote:
Sun Jul 05, 2020 9:01 pm
Even if I have the RPI wired to my tv using HDMI get the same error message.
Maybe try those'fbset -i', 'ls /dev/fb*' and 'tvservice -l' commands to see if they give some clue.
But how do I change them ?
If loaded after desktop it works. But will not work if typed into the command prompt.
by simonfish
Sun Jul 05, 2020 9:01 pm
Forum: Python
Topic: python code help.
Replies: 19
Views: 570

Re: python code help.

Thanks for the reply. Are you saying to changesome code ? if so what should i change could you mabe explain to a newbie. Sorry; I was saying the code seems to be fine, and that seems to work for most people including myself. It therefore seems it is something with your set-up which seems problemati...
by simonfish
Sun Jul 05, 2020 3:20 pm
Forum: Python
Topic: python code help.
Replies: 19
Views: 570

Re: python code help.

The code used in the pyscope.py module to determine which frame buffer is available ... # Check which frame buffer drivers are available # Start with fbcon since directfb hangs with composite output drivers = ['fbcon', 'directfb', 'svgalib'] found = False for driver in drivers: # Make sure that SDL...
by simonfish
Sun Jul 05, 2020 10:58 am
Forum: Python
Topic: python code help.
Replies: 19
Views: 570

python code help.

I thought i would ask a new question as my problem has now changed. I`m using this github link for my first project and this is going to be my only rpi project as i wanted just a working movie prop. https://github.com/martinr1000/AliensMotionTracker I need help because i have no idea how to get thin...
by simonfish
Sat Jul 04, 2020 10:35 am
Forum: Beginners
Topic: Need help with everything for a github project.
Replies: 10
Views: 390

Re: Need help with everything for a github project.

I gave it a go in the console and i still let errors as above. I typed python /home/pi/tracker/main.py. It isn't clear from what you have written how you have installed the code from the github repository, but you could try - cd /home/pi/tracker python main.py I have no idea how to contact the crea...
by simonfish
Thu Jul 02, 2020 9:10 am
Forum: Beginners
Topic: Need help with everything for a github project.
Replies: 10
Views: 390

Re: Need help with everything for a github project.

I gave it a go in the console and i still let errors as above. I typed python /home/pi/tracker/main.py.
I have no idea how to contact the creator via github i dont see any contact infomation.
by simonfish
Wed Jul 01, 2020 5:01 pm
Forum: Beginners
Topic: Need help with everything for a github project.
Replies: 10
Views: 390

Re: Need help with everything for a github project.

I think your seeing it correctly. I will give it a go at the command line.
by simonfish
Wed Jul 01, 2020 4:33 pm
Forum: Beginners
Topic: Need help with everything for a github project.
Replies: 10
Views: 390

Re: Need help with everything for a github project.

I was hoping someone would know how to get it working on the newer OS. Or if someone could even change if for me to get it working. I have no idea how it all works.
by simonfish
Wed Jul 01, 2020 9:45 am
Forum: Beginners
Topic: Need help with everything for a github project.
Replies: 10
Views: 390

Re: Need help with everything for a github project.

I tryed running it in desktop and i get erros in a shell box. trackback (most recent call last); file "home/pi/tracker/main.py " line 15, <in module> from audioimport trackeraudio file "home/pi/tracker/audio.py "line 6, <in module> from pyscope import pyscope file "home/pi/tracker/psscope.py "line27...
by simonfish
Wed Jul 01, 2020 8:49 am
Forum: Beginners
Topic: Need help with everything for a github project.
Replies: 10
Views: 390

Need help with everything for a github project.

Hello this is my first post so hope its in the correct forum area if not can admin please move it. Hope you can all help me getting this github project working because i`m just getting started with the RPI. I`m trying to do this project in the link here https://github.com/martinr1000/AliensMotionTra...

Go to advanced search