Go to advanced search

by dividuum
Thu Oct 10, 2019 8:02 pm
Forum: Graphics, sound and multimedia
Topic: Pi 4's driving 4k lcd monitor wall
Replies: 3
Views: 271

Re: Pi 4's driving 4k lcd monitor wall

wants: -manage the display of all tvs from centralized location. instead of ssh/or some x11 client to each PI, i would like to be able to configure what is displayed on each tv from central location. -would be great if it can have condition events.(site a issues REST'ful request, this "software" se...
by dividuum
Tue Oct 01, 2019 4:26 pm
Forum: Graphics programming
Topic: Lost video signal on screenshot capture @4K
Replies: 2
Views: 179

Re: Lost video signal on screenshot capture @4K

Sounds like your analysis might well be rigth - you are effectively try to do 2 4kp60 renders which overloads the system (the reason why we don't support 2 x 4kp60 displays, and limited to p30) . Have you tried overclocking the videocore? Should be able to get to 600. I think its 500 by default. Th...
by dividuum
Tue Oct 01, 2019 3:42 pm
Forum: Graphics programming
Topic: Lost video signal on screenshot capture @4K
Replies: 2
Views: 179

Lost video signal on screenshot capture @4K

Hey. For my service, I capture snapshots on what's currently on the screen using my pretty basic dispmanx->jpeg snapshot tool from https://github.com/info-beamer/tools/tree/master/screenshot This worked pretty well so far, but with [email protected] output and especially now with rendering 4K videos as well, th...
by dividuum
Mon Sep 30, 2019 8:21 am
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 669

Re: Span images/videos across two monitors 3840x1080

Just a quick update: I've now release a first public version of my software info-beamer with support for both dual HDMI display output and HEVC video decoding support. So you can now place a 3840x1080 HEVC video across two displays. You can learn more about both features in the blog post here: https...
by dividuum
Fri Sep 20, 2019 7:57 pm
Forum: Graphics programming
Topic: How to start OpenGL for RPI4
Replies: 4
Views: 459

Re: How to start OpenGL for RPI4

[email protected] ~ $ gcc -o hello_egl hello_egl.c -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads/ -I/opt/vc/include/interface/vmcs_host/linux -L/opt/vc/lib -lbcm_host -lEGL -lGLESv1_CM The Pi4 no longer supports the closed source Broadcom GL driver. You'll have to rewrite that to either ...
by dividuum
Fri Sep 20, 2019 5:27 pm
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 669

Re: Span images/videos across two monitors 3840x1080

Thanks a lot the the quick response! I'll digest all that and see how far I get. With regards to converting 10bit into textures: I already feel like FullHD is close to the limit of what makes sense. So realistically it would probably make sense to not support HEVC, which is probably mainly used for ...
by dividuum
Fri Sep 20, 2019 4:59 pm
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 669

Re: Span images/videos across two monitors 3840x1080

And I've managed to make all of that work. I can now decode H264>GL, H264>dispmanx, HEVC>dispmanx. All of that works across two displays as well. Here's a screenshot: https://usercontent.infobeamer.com/info-beamer-pi-decoding-modes.jpg Still missing is HEVC>GL. I'm a bit confused on how that's suppo...
by dividuum
Thu Sep 19, 2019 2:02 pm
Forum: OpenMAX
Topic: Dual HEVC decoding
Replies: 3
Views: 305

Re: Dual HEVC decoding

I haven't played with it yet, but I know the person who has been integrating hardware acceleration into VLC and Chromium has. I've asked him the question of whether he had multiple encodes sorted. I think he had, but had done a couple of fixes. I recall something along the lines of a block of memor...
by dividuum
Wed Sep 18, 2019 2:59 pm
Forum: OpenMAX
Topic: Dual HEVC decoding
Replies: 3
Views: 305

Dual HEVC decoding

I've modified dom's 2711 FFmpeg branch and I'm playing with it trying to decode multiple HEVC streams at the same time. From what I understand, the code should support multiple threads working with the argon (is there an official name for it?) hardware decoder. At least that's what I understand from...
by dividuum
Mon Sep 16, 2019 3:50 pm
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 669

Re: Span images/videos across two monitors 3840x1080

For very basic example apps of MMAL video_decode feeding DRM or GL see https://github.com/6by9/drm_mmal/blob/export/drm_mmal.c and https://github.com/6by9/drm_mmal/blob/x11_export/drm_mmal.c respectively. I haven't tested them that recently, but believe they were functional. They are. The existing ...
by dividuum
Mon Sep 16, 2019 1:25 pm
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 669

Re: Span images/videos across two monitors 3840x1080

So the answer is it is our code and are happy to licence it under any terms that make it most useful for projects. Any specific requests, or is LGPL2.1+ sufficient for your use case? LGPL is perfectly fine for that as that part is intermingled with FFmpeg anyway, so a more permissive license wouldn...
by dividuum
Mon Sep 16, 2019 1:06 pm
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 669

Re: Span images/videos across two monitors 3840x1080

dom wrote:
Mon Sep 16, 2019 12:59 pm
I've pushed an update to clarify LGPL 2.1 in headers to match ffmpeg's source code.
Thanks a lot!
by dividuum
Mon Sep 16, 2019 1:05 pm
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 669

Re: Span images/videos across two monitors 3840x1080

Right now I’m not sure if it’s possible to decode two videos at once, for example. I don't believe it is currently, but I'm slightly out of the loop on this. The hardware will follow the V4L2 stateless codec API, therefore it should allow multiple concurrent decodes. With the current FFmpeg solutio...
by dividuum
Mon Sep 16, 2019 12:55 pm
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 669

Re: Span images/videos across two monitors 3840x1080

I would say create an issue on Dom's repo, but it looks like issues have been disabled on it. I'll ask the question. Thanks a lot! It will certainly be deprecated once V4L2 is available. FFmpeg should be able to use either with very similar API calls, so if you use it then you should be in a good p...
by dividuum
Mon Sep 16, 2019 12:32 pm
Forum: Graphics programming
Topic: Atomic Plane updates with drm & fkms
Replies: 8
Views: 725

Re: Atomic Plane updates with drm & fkms

Well I got most things working. Only issue seems to be that if I update multiple planes in one atomic commit it takes longer than it should, ie 2 frames (well vblanks) instead of one. I would be interested if you find a solution for that. I haven't tried using the atomic API yet, but with the legac...
by dividuum
Mon Sep 16, 2019 11:57 am
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 669

Re: Span images/videos across two monitors 3840x1080

Got a first version working. Still very much unfinished, but splitting a 4K (or 3840x1080/1920x2160) video across two displays is indeed possible.
by dividuum
Fri Sep 13, 2019 5:35 pm
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 20
Views: 669

Re: Span images/videos across two monitors 3840x1080

I know dividuum has been working to get info-beamer to work on the dual displays of Pi4, but don't know if he's integrated HEVC decode into that yet. Working on that and that's definitely something I need to support. About that: What's the license for the code in the 2711 branch of popcornmix's FFm...
by dividuum
Tue Sep 03, 2019 1:45 pm
Forum: General programming discussion
Topic: RPi4 - GUI display to hdmi0 & hdmi1
Replies: 3
Views: 633

Re: RPi4 - GUI display to hdmi0 & hdmi1

Catch.Rahul wrote:
Wed Aug 28, 2019 5:02 am
I am trying to display kivy GUI on hdmi1 connected screen, but unable to get it to work. Also, none of the values for KIVY_BCM_DISPMANX_ID
If you're referring to the values here, you missed the ID for the secondary HDMI output. It's value is 7. See here.
by dividuum
Tue Sep 03, 2019 8:46 am
Forum: OpenMAX
Topic: Clear last rendered frame
Replies: 13
Views: 522

Re: Clear last rendered frame

1) According to https://www.raspberrypi.org/forums/viewtopic.php?t=163620, setting the layer requires the component to be in a state other than executing. I'd rather not juggle around with component states too often. Oh. I didn't know that and have been modifying these parameters for years without ...
by dividuum
Mon Sep 02, 2019 11:29 pm
Forum: OpenMAX
Topic: Clear last rendered frame
Replies: 13
Views: 522

Re: Clear last rendered frame

fd_ wrote:
Sun Sep 01, 2019 8:28 pm
Is there any API function for that or do I have to destroy the whole rendering pipeline and create it anew every time playback is paused?
I suggest using OMX_IndexConfigDisplayRegion on the video_render component to move the video out of the visible screen area or into a lower layer.
by dividuum
Fri Aug 30, 2019 3:39 pm
Forum: Graphics programming
Topic: MMAL_DISPLAY_SET_DEST_RECT usage
Replies: 6
Views: 542

Re: MMAL_DISPLAY_SET_DEST_RECT usage

I don't think it makes any realy difference.
Thanks.
by dividuum
Fri Aug 30, 2019 3:18 pm
Forum: Graphics programming
Topic: MMAL_DISPLAY_SET_DEST_RECT usage
Replies: 6
Views: 542

Re: MMAL_DISPLAY_SET_DEST_RECT usage

It all comes from the older OpenMax IL API and OMX_IndexConfigDisplayRegion While we're at it: Is there any difference in setting fullscreen to 1 compared to 0 and then setting the dest_rect to the full screen size? The result in `vcgencmd dispmanx_list` is exactly the same as expected. Is there so...
by dividuum
Thu Aug 29, 2019 3:35 pm
Forum: Graphics, sound and multimedia
Topic: Dual display video playback on the Pi4
Replies: 1
Views: 765

Dual display video playback on the Pi4

I've updated my software info-beamer in the last month to support the Pi4 and its new abilities. I've been making lots of progress recently and I wanted to show a small demo of one of the nicer and I think unique features at the moment: It is capable of playing H264 (H265 hopefully soonish) videos a...
by dividuum
Sat Aug 24, 2019 10:53 pm
Forum: Advanced users
Topic: Unattended bootloader updates on the Pi 4
Replies: 9
Views: 839

Re: Unattended bootloader updates on the Pi 4

rpdom wrote:
Sat Aug 24, 2019 10:43 pm
I'm pretty certain it has been stated that the goal is to have the EEPROM resident firmware/code from an apt package at some point. A reboot will be required to activate it of course.
Thanks. I guess that answers my question.
by dividuum
Sat Aug 24, 2019 9:59 pm
Forum: Advanced users
Topic: Unattended bootloader updates on the Pi 4
Replies: 9
Views: 839

Re: Unattended bootloader updates on the Pi 4

The means to do it are already there. It just hasn't been turned into a simple to use form. I appreciate your quick response, but I'm not sure how you end up with this conclusion. Although I too seriously doubt that this is all we'll ever get, right now the *only* way to update seems that recovery....

Go to advanced search