Go to advanced search

by ThijsDeschildre
Mon Mar 30, 2020 8:54 pm
Forum: General discussion
Topic: RPi4 video performance
Replies: 66
Views: 4199

Re: RPi4 video performance

could be a chroma subsampling issue, since my TV doesn't support as many modes in 4K the file I'm playing is 4:2:0 alright. hmm, which field is this exactly? you can find my edid file here https://pastebin.com/kdvPXci4 I can't see any 3840x2160 or 4096x2160 modes that are >30Hz in that. You're proba...
by ThijsDeschildre
Mon Mar 30, 2020 8:47 pm
Forum: General discussion
Topic: RPi4 video performance
Replies: 66
Views: 4199

Re: RPi4 video performance

I went back to the SD card with Raspbian and enabled MMAL for the video output. on 1920x1080 VLC can now play 4K movies, but at 4K it doesn't play anything (either with MMAL or the standard video output) Code snippets doesn't help... only full logs. Try LibreELEC. VLC media player 3.0.8 Vetinari (re...
by ThijsDeschildre
Sat Mar 28, 2020 2:54 pm
Forum: General discussion
Topic: RPi4 video performance
Replies: 66
Views: 4199

Re: RPi4 video performance

"MMAL x11 splitter for Raspberry Pi" is one of the video output modes of VLC (on the RPi). If you would ever have tried to configure VLC, you woukd have seen it (Settings, Video). It means: Render into X11 window while running in window mode and switch to overlay mode (similar to omxplayer) when ru...
by ThijsDeschildre
Thu Mar 26, 2020 11:20 pm
Forum: General discussion
Topic: RPi4 video performance
Replies: 66
Views: 4199

Re: RPi4 video performance

And that long ago was pretty much the start of the 1080p era, with no sign of HEVC for example. So the fact that the Pi4 can playback HEVC 4k and even 1080p60 is remarkable, but it also shows how much effort has to go in to make a slower machine like the Pi capable of doing these modern things - un...
by ThijsDeschildre
Wed Mar 25, 2020 11:29 am
Forum: General discussion
Topic: RPi4 video performance
Replies: 66
Views: 4199

Re: RPi4 video performance

I wonder why video playback on Raspbian is so crappy. It's the standard OS for the Pi, so it doesn't make much sense.
by ThijsDeschildre
Mon Mar 23, 2020 11:28 pm
Forum: General discussion
Topic: RPi4 video performance
Replies: 66
Views: 4199

Re: RPi4 video performance

Took only 10 minutes to download, flash and set up libreelec. Amazing. 4K is playing now. Kodi is much more responsive. The mouse is a little bit slow but acceptable. Maybe I'll set up an old PC/laptop to use as desktop, and automatically suspend to save power, and just keep the RPi4 for Kodi (since...
by ThijsDeschildre
Mon Mar 23, 2020 10:51 pm
Forum: General discussion
Topic: RPi4 video performance
Replies: 66
Views: 4199

Re: RPi4 video performance

alright, no 60fps then. not a big deal, but very enlightening how it all works. Yes it does. The default 76MB (I believe that's the default now, not sure) for the GPU is only enough to allocate the textures of Kodi interface. Other skins (most of them) may consume more GPU memory. It can probably pl...
by ThijsDeschildre
Sun Mar 22, 2020 9:38 pm
Forum: General discussion
Topic: RPi4 video performance
Replies: 66
Views: 4199

Re: RPi4 video performance

Then grab the EDID, and run it through edidparser. Other things to check are that you've got the thing plugged into an HDMI 2.0 (or higher) port on the TV -- 1.4 can only handle the slower speeds, and <1.4 can't even handle those (at least, officially). I can't find a definitive list of versions th...
by ThijsDeschildre
Sun Mar 22, 2020 8:55 pm
Forum: General discussion
Topic: RPi4 video performance
Replies: 66
Views: 4199

Re: RPi4 video performance

dickon wrote:
Sun Mar 22, 2020 5:29 pm
You've got

Code: Select all

hdmi_enable_4kp60=1
in /boot/config.txt, yes?
yes
by ThijsDeschildre
Sun Mar 22, 2020 5:21 pm
Forum: General discussion
Topic: RPi4 video performance
Replies: 66
Views: 4199

Re: RPi4 video performance

dickon wrote:
Sun Mar 22, 2020 4:45 pm
Er, that sounds like you've not enabled the >30fps modes in config.txt...
I'm on 30hz, the 60hz option isn't available. All of the sudden I'm not sure if my TV supports 4K 60hz... it's a Samsung ue40mu6120
by ThijsDeschildre
Sun Mar 22, 2020 4:34 pm
Forum: General discussion
Topic: RPi4 video performance
Replies: 66
Views: 4199

Re: RPi4 video performance

I spent quite a bit of time on the RPI4 again. Increased GPU memory allocation to 512mb and set my resolution to 3840x2160. Mouse responsiveness went down again, took me some time to adjust the whole desktop for running at a higher resolution. Bah. smplayer didnt improve, VLC now refuses to show any...
by ThijsDeschildre
Sun Mar 22, 2020 10:44 am
Forum: General discussion
Topic: RPi4 video performance
Replies: 66
Views: 4199

Re: RPi4 video performance

Have you tried LibreELEC ? https://libreelec.tv/raspberry-pi-4/ not yet. Ivaguely recall reading how libreelec should have the best performance, but I couldn't find any confirmation when I tried looking this up t should also play any 720p video file even at software decoding. I suspect that you did...
by ThijsDeschildre
Sat Mar 21, 2020 10:34 pm
Forum: General discussion
Topic: RPi4 video performance
Replies: 66
Views: 4199

RPi4 video performance

I don't know what forum this question would suit best, so I put it here. I set up a RPi4 with 4GB ram up as home theater PC, with a heatsink and fan, fast SD card, Raspbian and Kodi. The Kodi interface is very slow to navigate. There's plenty of plugins to stream South Park and TV, and the performan...
by ThijsDeschildre
Fri Jul 19, 2019 9:53 am
Forum: Camera board
Topic: Streaming mjpg from Raspberry Cam
Replies: 223
Views: 202743

Re: Streaming mjpg from Raspberry Cam

I'm trying to tweak the mjpg settings on OctoPrint. It uses mjpg-streamer, but it doesn't accept any changes. Whenever I change a setting or the resolution in the Octoprint config, the webcam function just breaks. I see mjpg_streamer running with the parameters, kill it and try running the command m...
by ThijsDeschildre
Fri Sep 28, 2012 9:03 pm
Forum: C/C++
Topic: reading GPIO input
Replies: 17
Views: 20619

Re: reading GPIO input

well yes, in Python it's easier to read a pin, but I insist to write in C. I'm working with a really old fashioned 5x10 LED matrix that's multiplexed. At 1000hz refresh rate I get 17% CPU usage in Python, and 2.5% in C. There are various standardised methods for dealing with GPIO in Linux though (th...
by ThijsDeschildre
Fri Sep 28, 2012 1:44 am
Forum: C/C++
Topic: reading GPIO input
Replies: 17
Views: 20619

Re: reading GPIO input

I just got it working with Wiringpi. I had to find out you need some additional commands when you used an installer for it, and the additional commands listed somewhere in the blog contained an error too. Why doesn't the standard library support something like GPIO_READ, instead of fumbling with reg...
by ThijsDeschildre
Thu Sep 27, 2012 11:45 pm
Forum: C/C++
Topic: reading GPIO input
Replies: 17
Views: 20619

reading GPIO input

I spent a few wonderful hours raging out, trying to read input from GPIO. The wiki documents the use of setting an output: http://elinux.org/RPi_Low-level_peripherals#GPIO_Driving_Example_.28C.29 How do I set output in a similar fashion? Where do I find the complete documentation of the GPIO functio...

Go to advanced search