Go to advanced search

by Domarius
Sun Apr 07, 2019 11:20 pm
Forum: Graphics programming
Topic: SDL + libvlc choppy full screen on Pi 3, but actual VLC playback is fine
Replies: 2
Views: 606

Re: SDL + libvlc choppy full screen on Pi 3, but actual VLC playback is fine

Wow thank you. That certainly is doing a lot more then.

Well, the python implementation seems to run fast, perhaps I’ll persevere with that...
I’ll try asking at the VLC forums, see what they say. Thanks again.
by Domarius
Sun Apr 07, 2019 2:50 am
Forum: Graphics programming
Topic: SDL + libvlc choppy full screen on Pi 3, but actual VLC playback is fine
Replies: 2
Views: 606

SDL + libvlc choppy full screen on Pi 3, but actual VLC playback is fine

Under Raspbarian, using the included VLC app, playing videos full screen on my 800x480 display works great, at full speed, no frames dropped. But in my app compiled with SDL 1.2 and libvlc, the full screen playback is choppy! More detail: I'm making an app with video playback in it, and using the SD...
by Domarius
Sat Feb 16, 2019 3:16 am
Forum: Python
Topic: ImportError: No module named 'sdl2'
Replies: 4
Views: 465

Re: ImportError: No module named 'sdl2'

Ah I see. Thank you for the explanation. I never saw them referred to anything else other than "python" (and eventually, "python3") in all the tutorials I found.
by Domarius
Fri Feb 15, 2019 7:11 pm
Forum: Python
Topic: ImportError: No module named 'sdl2'
Replies: 4
Views: 465

Re: ImportError: No module named 'sdl2'

Ahhh I see. From the terminal I innocently used "sudo python setup.py install" to install PySDL2, but the IDLE that comes with Raspbarian is using Python 3. I re-installed using "sudo python3 setup.py install" and that fixed the problem. Thank you. It was a matter of learning there is a separate "py...
by Domarius
Fri Feb 15, 2019 5:14 am
Forum: Python
Topic: ImportError: No module named 'sdl2'
Replies: 4
Views: 465

ImportError: No module named 'sdl2'

My python project works fine on my Ubuntu desktop, but not on my Raspberry Pi (under Raspbarian) despite having followed the same steps. I have followed the instructions at https://pysdl2.readthedocs.io/en/rel_0_9_6/install.html, making sure SDL2 is installed using "sudo apt-get install libsdl2-dev"...
by Domarius
Thu Jan 24, 2019 1:45 am
Forum: Graphics programming
Topic: Best way to render video inside my program?
Replies: 7
Views: 1334

Re: Best way to render video inside my program?

Thanks guys, this has been really informative, can't wait to get started on this after work slows down in a couple weeks.
by Domarius
Wed Jan 23, 2019 6:17 am
Forum: Graphics programming
Topic: Best way to render video inside my program?
Replies: 7
Views: 1334

Re: Best way to render video inside my program?

The Python Omxplayer wrapper works well, i’ve used it in various programs: Most likely, the easiest way is using omxplayer from your program. Wow, thanks guys, I think OMXPlayer wrapper might be just what I'm after, if it gives as fine control as it appears to - forcing the ratio is right there on ...
by Domarius
Mon Jan 21, 2019 9:37 pm
Forum: Graphics programming
Topic: Best way to render video inside my program?
Replies: 7
Views: 1334

Best way to render video inside my program?

I guess the simpler question is; is the answer to this question any different for the Pi than it is for the desktop? Do I just use the IDEs that come with the Pi and general programming libraries (like SDL)? My question is about rendering video on the Raspberry Pi, and having some control over its s...
by Domarius
Mon Jan 21, 2019 11:17 am
Forum: General programming discussion
Topic: Best way to render video inside my program?
Replies: 0
Views: 564

Best way to render video inside my program?

My question is about rendering video and having some control over its scale and playback. So what's the best way to go about this? Is there a video playback library I should use? Or is video playback built into some SDK? I'm not concerned with what language has to be used (C++, Java, Python whatever...
by Domarius
Fri Apr 27, 2018 4:38 am
Forum: Troubleshooting
Topic: Loud buzzing when using any USB powered speakers
Replies: 8
Views: 1254

Re: Loud buzzing when using any USB powered speakers

Okay after asking around on some electronics forums, we finally found the solution. It was a ground loop issue, and easily fixed with this product, a ground loop isolator with 3.5mm connections; https://www.jaycar.com.au/ground-loop-noise-isolator-stereo-3-5mm/p/AA3086 You connect it directly to the...
by Domarius
Fri Apr 27, 2018 4:36 am
Forum: Graphics, sound and multimedia
Topic: 4:3 screen ratio in DosBox
Replies: 4
Views: 1029

Re: 4:3 screen ratio in DosBox

Hah, not exactly a portable solution for my project. Sometimes it seems like no one is using these things for small scale projects, but I thought this was the biggest appeal? The solution was to include the following text in the config.txt - then Dosbox is magically able to correct the aspect ratio....
by Domarius
Sat Apr 14, 2018 6:22 am
Forum: Graphics, sound and multimedia
Topic: 4:3 screen ratio in DosBox
Replies: 4
Views: 1029

Re: 4:3 screen ratio in DosBox

Does anyone know? I'm still searching for the answer and my own posts are coming up in my search results.

I have a 800x480 display and that's perfect if it could just render 640x480 it would be a pixel perfect image with the old 320x240 games scaled up by 2.
by Domarius
Fri Apr 13, 2018 9:23 am
Forum: Troubleshooting
Topic: Loud buzzing when using any USB powered speakers
Replies: 8
Views: 1254

Re: Loud buzzing when using any USB powered speakers

Thanks guys - yes it's more of an extension of my previous question - everything learned thus far in one concise post. Replies had dried up there so I thought I'd take a shot on a different sub forum. Well, I don't have the parts to make my own sound hardware, but if someone were able to tell me "Ye...
by Domarius
Fri Apr 13, 2018 1:49 am
Forum: Graphics, sound and multimedia
Topic: 4:3 screen ratio in DosBox
Replies: 4
Views: 1029

4:3 screen ratio in DosBox

I cannot find any info on how to fix the screen ratio on DosBox games on the Raspberry Pi. From what I can tell, everyone on the net running Dosbox on the Raspberry Pi is content with playing DosBox games stretched to widescreen and looking at fat stocky characters in their games because they're str...
by Domarius
Fri Apr 13, 2018 1:19 am
Forum: Troubleshooting
Topic: Loud buzzing when using any USB powered speakers
Replies: 8
Views: 1254

Loud buzzing when using any USB powered speakers

So, I have a 5 inch display that uses HDMI but has no audio, so I need to use the analogue audio jack on my Raspberry Pi 3. I've narrowed the buzzing down to being reproduced whenever the USB powered Speakers and the Rasberry Pi share a common DC power source. Eg. from the same USB hub, or even with...
by Domarius
Tue Apr 10, 2018 10:06 am
Forum: Graphics, sound and multimedia
Topic: Pi 3: Screeching feedback noise when using USB powered speakers
Replies: 11
Views: 2040

Re: Pi 3: Screeching feedback noise when using USB powered speakers

Hmm... that line is already present and uncommented in my config.txt. Just confirming that there is no # character at the beginning of that line? Sorry dude - I just edited my post. Yes it's "uncommented" no hash. Also I updated the post with some new info - pulling the plug out halfway reduces the...
by Domarius
Tue Apr 10, 2018 9:59 am
Forum: Graphics, sound and multimedia
Topic: Pi 3: Screeching feedback noise when using USB powered speakers
Replies: 11
Views: 2040

Re: Pi 3: Screeching feedback noise when using USB powered speakers

The Pi's 3.5mm jack includes both audio and composite video, so if you have the wrong type of cable, you'll get problems. Normally, shorting the video to ground is fine for audio, but if your cable shorts the video to the left or right channels, then you've got problems. Thank you - I actually had ...
by Domarius
Mon Apr 09, 2018 7:46 pm
Forum: Graphics, sound and multimedia
Topic: Pi 3: Screeching feedback noise when using USB powered speakers
Replies: 11
Views: 2040

Re: Pi 3: Screeching feedback noise when using USB powered speakers

What cable are you using between that and the speaker? Just the male to male audio cable that came with the USB speakers. I noticed the buzzing changed to a different tone the same time as the screen went dim, so that may suggest it has something to do with the video, but why would this buzzing wou...
by Domarius
Sun Apr 08, 2018 9:00 am
Forum: Graphics, sound and multimedia
Topic: Pi 3: Screeching feedback noise when using USB powered speakers
Replies: 11
Views: 2040

Re: Pi 3: Screeching feedback noise when using USB powered speakers

1. It is not a feedback issue. It is not a screeching noise. But I mentioned that it gets worse when you play games, and it does indeed become a screeching noise :) It is a feedback of some kind, because it changes in response to activity on the Pi. This isn't something I caught on the video in ord...
by Domarius
Sat Apr 07, 2018 11:24 pm
Forum: Graphics, sound and multimedia
Topic: Pi 3: Screeching feedback noise when using USB powered speakers
Replies: 11
Views: 2040

Pi 3: Screeching feedback noise when using USB powered speakers

So, I have a 5 inch display that uses HDMI but has no audio, so I need to use the analogue audio jack on my Raspberry Pi 3. When using the audio jack; Headphones; no problem Speakers running off separate power supply; no problem Speakers running off USB power on either the Pi or the same USB hub as ...
by Domarius
Sat Dec 02, 2017 10:15 pm
Forum: Gaming
Topic: Fast refresh rates up to 60fps with an SPI display (ILI9341)
Replies: 8
Views: 3669

Re: Fast refresh rates up to 60fps with an SPI display (ILI9341)

Ah good point, yes it does seem all the cute tiny screens are GPIO only now that you mention it. Good luck with your endeavours guys. Having a super tiny arcade etc. was one of the projects that appealed to me a while back but isn't my current project. I actually bought a 2 inch "rear view camera" d...
by Domarius
Sat Dec 02, 2017 9:32 pm
Forum: Gaming
Topic: Fast refresh rates up to 60fps with an SPI display (ILI9341)
Replies: 8
Views: 3669

Re: Fast refresh rates up to 60fps with an SPI display (ILI9341)

Is there an advantage to using an SPI screen over an HDMI one, or is it just a technical challenge to get it running fast?
by Domarius
Fri Nov 24, 2017 10:10 pm
Forum: Gaming
Topic: Nintendo games on RPI
Replies: 2
Views: 974

Re: Nintendo games on RPI

You could've easily googled that, there's so much emulation going on for the Pi it's not funny :) Check out RetroPi.
by Domarius
Fri Nov 24, 2017 10:06 pm
Forum: Gaming
Topic: C64 for Raspberry Pi 3 download link
Replies: 10
Views: 6399

Re: C64 for Raspberry Pi 3 download link

Thank you, this is exactly in line with what I'm trying to do at the moment. I want to be able to boot from USB and have different USBs configured to be different retro computers, eg. DOS, Amiga, C64...

Go to advanced search