Skip to content

Text

There is no “text input” plugin in Le Biniou (yet ?).

On Linux you can achieve live text display into Le Biniou using screen-message in combination with FFMPEG and v4l2loopback like this:

Screen Message

Start screen-message and resize the window to the size you want or leave it fullscreen.

sm -i -

-i makes the text white on black background. It gives better results in Le Biniou but you can do whatever you want. Read its man page for more information about color and font selection.

The command ending by - makes it read text from standard input, in this case the terminal, end your input sentence or paragraph with so that the program updates the display after hitting enter in the terminal.

FFMPEG

Let's use ffmpeg to stream this window into a virtual video device that can be used by Le Biniou.

  1. We need to get the window ID. Run

    $ xwininfo | grep Window id
    

    in a terminal then click on the screen-message window to retrieve it. Example: 0x880000a.

  2. Now is the v4l2loopback + ffmpeg part:

    $ sudo modprobe v4l2loopback
    $ ffmpeg -window_id 0x880000a -framerate 25 -f x11grab -i :0.0+0,0 -video_size 640x480 -pix_fmt yuyv422 -f v4l2 -s 640x480 /dev/video2
    

    Replace the -window_id value and the /dev/video2 path with the correct ones on your system.

  3. Now you can launch Le Biniou with the -W1 -D /dev/video2 arguments, according to the correct virtual video device path on your system. Pick any webcam plugin in a sequence, for example TV Webcam and type in the screen-message terminal like explained above to send messages.