Go to advanced search

by jehutting
Sun Sep 27, 2015 1:59 pm
Forum: Official Foundation Display
Topic: Multiscreen=AWESOME- how to support via Python/PyGame?
Replies: 22
Views: 9063

Re: Multiscreen=AWESOME- how to support via Python/PyGame?

Waveshare Spotpear 3.5"... ehhhh, ahem, well, OK, :D ...

Isn't that touchscreen working through a SPI interface interacting with a framebuffer device /dev/fbX and not using the DSI interface at all?
by jehutting
Sun Sep 27, 2015 11:02 am
Forum: Official Foundation Display
Topic: Multiscreen=AWESOME- how to support via Python/PyGame?
Replies: 22
Views: 9063

Re: Multiscreen=AWESOME- how to support via Python/PyGame?

Could you try out the following to see if the DISPLAY setting fixes the open console terminal error and also getting more logging? DISPLAY=:0.0 python main.py -c kivy:log_level:trace When running the demo I get ... [INFO ] [Window ] Provider: egl_rpi [INFO ] [GL ] OpenGL version <OpenGL ES 2.0> [INF...
by jehutting
Sat Sep 26, 2015 4:29 pm
Forum: Python
Topic: Motion activated video player (PIR sensor)
Replies: 14
Views: 11155

Re: Motion activated video player (PIR sensor)

Is there a specific reason why you choose Kodi? If not, I suggest to use OMXPlayer. It is possible to run OMXPlayer (through Python's subprocess and stdin PIPE'd) and let the PIR sensor state change pause or resume OMXPlayer (pausing and resuming by sending the SPACE character, through the subproces...
by jehutting
Sun Sep 20, 2015 6:13 am
Forum: Official Foundation Display
Topic: Screen and Kivy
Replies: 10
Views: 9940

Re: Screen and Kivy

No visible mouse cursor? Try this.
by jehutting
Sat Sep 19, 2015 11:21 am
Forum: Official Foundation Display
Topic: Multiscreen=AWESOME- how to support via Python/PyGame?
Replies: 22
Views: 9063

Re: Multiscreen=AWESOME- how to support via Python/PyGame?

My pull request is merged into the Kivy (master repository) git. So, now it is just a git pull away :D
by jehutting
Sat Sep 19, 2015 8:45 am
Forum: Official Foundation Display
Topic: Multiscreen=AWESOME- how to support via Python/PyGame?
Replies: 22
Views: 9063

Re: Multiscreen=AWESOME- how to support via Python/PyGame?

Made the following modification to the (latest and greatest pulled) KIVY git code $ git diff diff --git a/kivy/lib/vidcore_lite/egl.pyx b/kivy/lib/vidcore_lite/egl.pyx index ee8491f..41218c1 100644 --- a/kivy/lib/vidcore_lite/egl.pyx +++ b/kivy/lib/vidcore_lite/egl.pyx @@ -603,7 +603,7 @@ def bcm_di...
by jehutting
Wed Aug 26, 2015 5:57 am
Forum: Graphics, sound and multimedia
Topic: USB Sound not working
Replies: 9
Views: 2917

Re: USB Sound not working

Can you post the output of the following commands

Code: Select all

$ cat /proc/asound/cards
$ amixer -c 0 contents
$ amixer -c 1 contents
Should give some info about your setup.

Are you using the correct amixer numids for the Playback Route/Switch/Volume?
by jehutting
Wed Aug 26, 2015 5:37 am
Forum: Graphics, sound and multimedia
Topic: omxplayer automation
Replies: 3
Views: 1204

Re: omxplayer automation

Yes, that's right. :D. Thanks for pointing out.
by jehutting
Tue Aug 25, 2015 5:57 am
Forum: Graphics, sound and multimedia
Topic: omxplayer automation
Replies: 3
Views: 1204

Re: omxplayer automation

See @chlacaux last comment here So change play_playlist() to play_playlist() { IFS=$'\n' # IFS: Internal field separator ; only separate on '\n' (= newline character) for line in $(cat "$PLAYLISTFILE") do IFS=$' \t\n' # Reset the IFS value to it's default <space><tab><newline> value echo "Read: $lin...
by jehutting
Fri Aug 21, 2015 8:30 am
Forum: Graphics, sound and multimedia
Topic: RTSP streams in omxplayer - disable audio?
Replies: 2
Views: 4109

Re: RTSP streams in omxplayer - disable audio?

See https://github.com/popcornmix/omxplayer/issues/180

Setting audiotrack to -1 disables the audio decode. E.g.

Code: Select all

omxplayer -n -1 file.mkv
by jehutting
Tue Aug 04, 2015 2:50 pm
Forum: Graphics, sound and multimedia
Topic: USB Sound not working
Replies: 9
Views: 2917

Re: USB Sound not working

Maybe this will help

viewtopic.php?f=27&t=16013

or

Code: Select all

sudo addgroup <user> audio
by jehutting
Sun Jul 05, 2015 2:03 pm
Forum: Python
Topic: OMXPLAYER no video after seek
Replies: 5
Views: 1374

Re: OMXPLAYER no video after seek

If that is the case, have a look at https://github.com/popcornmix/omxplayer/issues/360.
by jehutting
Sun Jul 05, 2015 10:35 am
Forum: Python
Topic: OMXPLAYER no video after seek
Replies: 5
Views: 1374

Re: OMXPLAYER no video after seek

The D-Bus interface of OMXPlayer supports two seek functions: - seek; which seeks relative (so to the current (time) position plus the given position), and - setposition, which seeks to an absolute position (OMXplayer starts playing from the given position). The position must be in microseconds (1 s...
by jehutting
Wed Jul 01, 2015 3:35 am
Forum: Beginners
Topic: Please need help with omxplayer keybinds
Replies: 8
Views: 1114

Re: Please need help with omxplayer keybinds

Maybe the following link helps to find the keycodes:
viewtopic.php?t=6695&p=85849

Just like popcornmix, I also do not have a keyboard with multimedia keys. So post the output of the showkey command.
https://github.com/popcornmix/omxplayer/issues/359
by jehutting
Mon Jun 29, 2015 1:24 am
Forum: Beginners
Topic: Please need help with omxplayer keybinds
Replies: 8
Views: 1114

Re: Please need help with omxplayer keybinds

You need to use

Code: Select all

EXIT:hex 0x0a
in your key config file. Be sure NOT to place a space between "EXIT:" and "hex".

Keyboard handling in omxplayer is made around a (non-blocking) getchar function, which returns the ENTER key as a single LF (Line Feed = '\n' = 0x0A = decimal 10) character.
by jehutting
Wed Apr 22, 2015 8:13 pm
Forum: Troubleshooting
Topic: Omxplayer won't play ASS/SSA Subtitles
Replies: 1
Views: 1130

Re: Omxplayer won't play ASS/SSA Subtitles

OMXPlayer does show SSA subtitles but NOT ASS subtitles.

see https://github.com/popcornmix/omxplayer/issues/289

Use mediainfo to determine the subtitle codec ID.
by jehutting
Sun Feb 15, 2015 8:47 am
Forum: Nederlands
Topic: raspberry pi 2 B radio
Replies: 2
Views: 845

Re: raspberry pi 2 B radio

Probeer eens Dit werkt op mijn RPI B, maar het zou ook moeten werken op de RPI 2.

Go to advanced search