Go to advanced search

by Yggdrasil
Wed Aug 17, 2016 7:22 am
Forum: Graphics, sound and multimedia
Topic: timidity a2jmidid realtime
Replies: 3
Views: 1278

Re: timidity a2jmidid realtime

The sound quality from qsynth/fluidsynth is appalling for some reason. Hello, not an answer to your origin question, but did you use fluidsynth with multiple cores? I've got good results on three cpu cores and alsa. My startup command: fluidsynth -r 44100 -o synth.cpu-cores=3 -a alsa -m alsa_seq -l...
by Yggdrasil
Tue Aug 16, 2016 2:56 pm
Forum: Graphics, sound and multimedia
Topic: HOWTO: Add HEVC-Patches from LibreELEC to mplayer
Replies: 4
Views: 5697

Re: HOWTO: Add HEVC-Patches from LibreELEC to mplayer

The ffmpeg sources changed a bit and the above patches need a few changes. I packed all steps into a new patch file. The changed compiling instructions (testet on Raspbian+RPi3 ) are: 1) Fetch mplayer git clone --depth 0 git://git.mplayerhq.hu/mplayer (Or update, i.e with 'git pull origin master') 2...
by Yggdrasil
Tue Jul 05, 2016 8:55 am
Forum: General discussion
Topic: QPULib: a language and compiler for the QPUs
Replies: 11
Views: 4339

Re: QPULib: a language and compiler for the QPUs

Nevermind, I simply forgot to compile with 'QPU=1'. Now it scales as aspected. :)
I would suggest to echo'ing the status of the flags in the Makefile or add this info into the Readme file.
by Yggdrasil
Mon Jul 04, 2016 8:05 pm
Forum: General discussion
Topic: QPULib: a language and compiler for the QPUs
Replies: 11
Views: 4339

Re: QPULib: a language and compiler for the QPUs

Hello, first of all: Great idea/library. :) I've wondering if the usage of multiple QPU works because I can not produce any scaling effect. I've edited the Rot3D example and added some null operations into the rot3D_3 function: Float xTmp = xOld * cosTheta - yOld * sinTheta; Float yTmp = yOld * cosT...
by Yggdrasil
Thu Jun 16, 2016 5:55 pm
Forum: Graphics, sound and multimedia
Topic: HOWTO: Add HEVC-Patches from LibreELEC to mplayer
Replies: 4
Views: 5697

Re: HOWTO: Add HEVC-Patches from LibreELEC to mplayer

As I could not know if the patches of Kodi at all support RPi 1, I've compiled it on an older system (4.1.19+ kernel; RPi1). On this system the GPU-sided code hangs up and neither mplayer could not be terminated nor the system could be restared. A sobering result, but at least I could share the solu...
by Yggdrasil
Tue Jun 14, 2016 8:10 pm
Forum: Graphics, sound and multimedia
Topic: HOWTO: Add HEVC-Patches from LibreELEC to mplayer
Replies: 4
Views: 5697

Re: HOWTO: Add HEVC-Patches from LibreELEC to mplayer

Oh, I did not expect that mpv could play HEVC because the mplayer of Rasbian was not compiled with this option. I've tried it out now, but use the default Raspian variant. This has 'no -vo fbdev'-support. I've started X11 and use this command to compare it with the both values above. time DISPLAY=:0...
by Yggdrasil
Tue Jun 14, 2016 4:21 pm
Forum: Graphics, sound and multimedia
Topic: HOWTO: Add HEVC-Patches from LibreELEC to mplayer
Replies: 4
Views: 5697

HOWTO: Add HEVC-Patches from LibreELEC to mplayer

Hello, the Kodi/LibreELEC developer improved the HECV decoding capabilities off ffmpeg. I did not investigate the details of their impressing changes¹, but will describe here how the changes could be added to mplayer, too :) The instruction describes the native compiling under Rasbian (on a RPi3). 1...
by Yggdrasil
Fri Mar 18, 2016 1:13 am
Forum: General discussion
Topic: Pi3 incorrect results under load (possibly heat related)
Replies: 105
Views: 52724

Re: Pi3 incorrect results under load (possibly heat related)

Would you mind humouring me, and recompile your OpenBLAS library and test again? Build OpenBLAS with "make TARGET=ARMV6 DYNAMIC_ARCH=0 USE_THREAD=1 USE_OPENMP=0". From multiple runs, do you still see any residual failures on Pi3B? @Deater: And please post the information which benchmark you has use...
by Yggdrasil
Mon Mar 14, 2016 4:04 pm
Forum: Troubleshooting
Topic: [RPi3] SSH not working via wifi
Replies: 155
Views: 98387

Re: [RPi3] SSH not working via wifi

As suggested, I ran: [...] SSH still does work from PuTTY under Windows XP. Symptoms: It requests the login name It requests the password It rejects invalid passwords with "Access denied" It does not accept the valid password I can confirm this error, too. Used image was 2016-02-26-raspbian-jessie....
by Yggdrasil
Mon Feb 01, 2016 5:48 pm
Forum: Media centres
Topic: Openelec >= 6.0. How to play file directly (Pulseaudio?!)
Replies: 0
Views: 686

Openelec >= 6.0. How to play file directly (Pulseaudio?!)

Hello guys, in a previous version of Openelec I've used the Alsa-util aplay to play a (raw) audio file directly. Now, after an update to a newer version of Openelec, it seems that it does not support the Alsa stuff any more, but uses Pulseaudio. Older posts mentioned that snd_bcm2835 should be loade...
by Yggdrasil
Wed Sep 23, 2015 12:59 am
Forum: Graphics, sound and multimedia
Topic: OpenMAX: Is qsynth_reader a midi synthesizer?
Replies: 0
Views: 381

OpenMAX: Is qsynth_reader a midi synthesizer?

Hello folks,

the ARM side libraries of the Videocore blob contain the following file: userland/containers/qsynth/qsynth_reader.c
Can this reader be used to decode midi streams by the QPU?

Regards YggdrasiI
by Yggdrasil
Wed Jun 04, 2014 12:31 pm
Forum: Camera board
Topic: Blob extractor for motion detection
Replies: 17
Views: 9005

Alignmend exception crash

Hi, I've found the reason for the spontaneous crashes: [613296.539867] Alignment trap: not handling instruction e1931f9f at [<0003f728>] [613296.539925] Unhandled fault: alignment exception (0x011) at 0x0000001f [/s] I found something about this problem here: http://www.raspberrypi.org/forums/viewto...
by Yggdrasil
Thu May 29, 2014 4:20 pm
Forum: Camera board
Topic: Draw a white line in the center of video?
Replies: 10
Views: 3092

Re: Draw a white line in the center of video?

Hello, I'm unsure if this would be simpler for you, but when you're able to compile Picam_gpu (see http://robotblogging.blogspot.de/2013/10/gpu-accelerated-camera-processing-on.html ), you can change the openGL shader (i.e simplefragshader.glsl) and add something like varying vec2 tcoord; uniform sa...
by Yggdrasil
Wed May 28, 2014 4:00 pm
Forum: Camera board
Topic: Blob extractor for motion detection
Replies: 17
Views: 9005

Re: Blob extractor for motion detection

1st demo was run with the command ./motion.start. The picture occupies the top left of the screen, it is inverted... Oh, I messed up with the rotating and flipping arguments of raspivid. The --hflip argument in the script turned it upside down. --vflip should be the right one. (If somebody want to ...
by Yggdrasil
Wed May 28, 2014 8:36 am
Forum: OpenGLES
Topic: A new 3D library
Replies: 5
Views: 7687

Re: A new 3D library

Hello,

your library looks exciting.
by Yggdrasil
Wed May 28, 2014 8:12 am
Forum: OpenGLES
Topic: Fragment shader for waterfall display
Replies: 6
Views: 4326

Re: Fragment shader for waterfall display

Yes, this shader example uses relativity random colors, but if you reduce the given scaling factors for the r,g,b- values the 'linearity' of the mapping will be increased. It's only necessary to distinct the 1-0 jumps for each the color components. But well, this is the laziest mapping for sure (and...
by Yggdrasil
Wed May 28, 2014 7:43 am
Forum: Camera board
Topic: Blob extractor for motion detection
Replies: 17
Views: 9005

Re: Blob extractor for motion detection

Ok, if power issues aren't the reason I has currently no idea why it crashes. The file-system hopefully wasn't corrupted on your SD card….

I will remove my changes from the config.txt will and test again if it's still running stable on my RPi.
Feedback from other testers are appreciate, too.
by Yggdrasil
Tue May 27, 2014 10:35 pm
Forum: OpenGLES
Topic: Fragment shader for waterfall display
Replies: 6
Views: 4326

Re: Fragment shader for waterfall display

Hello,

did you mean a mapping like this?

Code: Select all

varying vec2 tcoord;
uniform sampler2D tex;
void main(void) 
{
    float val = texture2D(tex,tcoord).x;

    vec3 res = vec3( val*25.0, val*49.0, val*3.0+0.75 );
    res = fract(res);
    gl_FragColor = vec4(res, 0.5) ;
}
Regards Yggdrasil
by Yggdrasil
Tue May 27, 2014 9:58 pm
Forum: Camera board
Topic: Blob extractor for motion detection
Replies: 17
Views: 9005

Re: Blob extractor for motion detection

Hmmm, that was interesting, it happily started playing pong (despite there not being enough light) but then the whole system became unresponsive (couldn't ssh, couldn't login with kbd) so I hit it with a jumper on the P6 header. Hi DougieLawson, thanks for your comment. I assume a power issue. Whic...
by Yggdrasil
Tue May 27, 2014 8:35 pm
Forum: Camera board
Topic: Blob extractor for motion detection
Replies: 17
Views: 9005

Re: Blob extractor for motion detection

If somebody is interested but fear the compiling… I've uploaded a binary release on Github. Edit: • Please the --hflip option from the startup skript if the image was flipped. Also note the arguments low, med, and high for the startup resolution. The resolution will not respect your monitor resoluti...
by Yggdrasil
Tue May 27, 2014 12:17 am
Forum: Camera board
Topic: Blob extractor for motion detection
Replies: 17
Views: 9005

Re: Blob extractor for motion detection

Currently I'm working on improvements of the blob tracking class. To improve the quality of the input motion vectors, I switched from 1-norm to 2-norm, now. If somebody is interested in an efficient evaluation of sqrt(a*a + b*b) on integer values take a look into https://github.com/YggdrasiI/RPIMoti...
by Yggdrasil
Sun May 25, 2014 7:09 pm
Forum: Camera board
Topic: CME -x postponed?
Replies: 56
Views: 15251

Re: CME -x postponed?

Hello Ethanol100, Edit: have pushed my changes to fix the exp mode to: https://github.com/ethanol100/userland/tree/expOff A new parameter "--waitAndFix 5000" will run the preview for 5s and than fix the exposure and continues as usual. Thanks for this patch. :) It works for me and I will patch it in...
by Yggdrasil
Sun May 25, 2014 4:50 pm
Forum: Camera board
Topic: Blob extractor for motion detection
Replies: 17
Views: 9005

Re: Blob extractor for motion detection

As second test application I've implement a tiny pong game :) The flying raspberry can be influenced by movings nearby the left or right border. The game runs in HD resolution with approx. 30fps. Look at the start script if you want use a lower resolution. Compiling (without OpenCV) and start: mkdir...
by Yggdrasil
Fri May 23, 2014 12:04 pm
Forum: OpenGLES
Topic: OpenGLES problem with GL_OES_EGL_image_external extension
Replies: 3
Views: 3905

Re: OpenGLES problem with GL_OES_EGL_image_external extensio

In my excitement I was a little too hasty. I has to invest some more time to find out why above code runs and my shaders not.

Edit: Some further tests confirms that the uniform ordering was the culprit.
by Yggdrasil
Fri May 23, 2014 11:00 am
Forum: OpenGLES
Topic: OpenGLES problem with GL_OES_EGL_image_external extension
Replies: 3
Views: 3905

Re: OpenGLES problem with GL_OES_EGL_image_external extensio

Hello Lagurus, many thanks! You found out the solution of my issue. :) If somebody made the same mistake: The shader variables for textures has to be placed in front of all other variables . Wrong: .uniform_names = {"texture1", "uniform1", "texture2", ...} Right: .uniform_names = {"texture1", "textu...

Go to advanced search