flaschen-taschen icon indicating copy to clipboard operation
flaschen-taschen copied to clipboard

Streaming video through Flaschen Taschen to rgb led matrix

Open dennismamedov opened this issue 4 years ago • 2 comments

Hey!

I'm trying to setup flaschen taschen for my led matrix but I can't seem to stream the vlc to the udp server. I'm running: vlc --vout flaschen --flaschen-display=localhost --flaschen-width=64 --flaschen-height=64 "https://www.youtube.com/watch?v=QH2-TGUlwu4" --no-audio I'm getting:

VLC media player 3.0.10 Vetinari (revision 3.0.10-0-g7f145afa84) [01e52db0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused [01e775c0] main interface error: no suitable interface module [01dd7b58] main libvlc error: interface "globalhotkeys,none" initialization failed [01dd7b58] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [01e775c0] skins2 interface error: cannot initialize OSFactory [01e775c0] [cli] lua interface: Listening on host "*console". VLC media player 3.0.10 Vetinari Command Line Interface initialized. Type 'help' for help. [b0f00d58] http stream error: local stream 1 error: Cancellation (0x8) [b042ca40] mmal_codec decoder: VCSM init succeeded: CMA [b0d192f8] chain filter error: Too high level of recursion (3) [b0d18dd0] main filter error: Failed to create video converter [b0d192f8] chain filter error: Too high level of recursion (3) [b0d18dd0] main filter error: Failed to create video converter [b0d192f8] chain filter error: Too high level of recursion (3) [b0d18dd0] main filter error: Failed to create video converter [b0d192f8] chain filter error: Too high level of recursion (3) [b0d18dd0] main filter error: Failed to create video converter [b0d192f8] chain filter error: Too high level of recursion (3) [b0d18dd0] main filter error: Failed to create video converter mmal: mmal_vc_port_info_set: failed to set port info (3:0): EINVAL mmal: mmal_vc_port_set_format: mmal_vc_port_info_set failed 0xb0d05380 (EINVAL) [b0d03340] mmal_codec filter error: Failed to commit format for output port vc.ril.hvs:out:0(OPQV) (status=3 EINVAL) Segmentation fault`

Initialising the server with: ~/flaschen-taschen/server $ sudo ./ft-server --led-slowdown-gpio=4 --led-cols=64 --led-parallel=2 I built it with: make FT_BACKEND=rgb-matrix any idea?

dennismamedov avatar Jul 15 '20 10:07 dennismamedov

Have to say that simply running vlc "any youtube link" works, only when i use flaschen it gives me that error.

dennismamedov avatar Jul 15 '20 13:07 dennismamedov

Hi @DennisMamedov - not sure if you figured things out. It seems most likely to be down to UDP limits. See the answer here for details relating to VLC / UDP size limits: https://github.com/hzeller/flaschen-taschen/issues/61#issuecomment-886252029

As a temporary work-around / test, if you try using a smaller values for width and height, you should see an image come through (assuming everything else is working)

vlc --vout flaschen --flaschen-display=ledframe --flaschen-width=40 --flaschen-height=32 "https://www.youtube.com/watch?v=XXXXXXXXX" --no-audio

(edit: added the link to the answer, which had been left out by accident!)

nmstoker avatar Nov 07 '21 17:11 nmstoker