Android Tablet or Phone with TERMUX

CINELERRA-GG can be run on Android, a non-x86 mostly posix system, tablet or phone after installing TERMUX, the terminal emulator. You will have to do your own build using the file in Cinelerra's blds subdirectory, termux.bld. Because this is a relatively new capability and of lesser use, some additional effort may have to be exerted on your part to get it going but it is easy to get help by contacting the mailing list.

Figure 1.1: Screencast of an Android tablet running CINELERRA-GG using TERMUX.
Image android

Some requirements include;

  1. Termux runs with X on Android 7+.
  2. Install takes 5 GB of internal storage. In addition you can download videos, and other files with wget to one specific location at sdcard after running termux-setup-storage inside termux (it will prompt you to give access to sdcard graphically the first time used).
  3. If you have empty versions of locale.alias, locale.dir, and
    $PREFIX/share/X11/locale/en_US.UTF-8/XLC_LOCALE
    you will have to request non-empty versions via the mailing list.
  4. Some helpful information on installing the X environment is at: https://wiki.termux.com/wiki/Graphical_Environment
  5. Audio for newer Termux versions with Alsa support should automatically work as the default.
  6. Audio for Termux without Alsa support, works when remote DISPLAY is pointing to your desktop.

    Launch CINELERRA-GG via: DISPLAY="ip_of_my_desktop:1.0".  
    Video will be displayed in the Xephyr window with e16 WM;  
    - does not quite fit into 640x480.  
    Launch Xephyr via: " -ac -listen tcp" parameters;  
    - in order to connect from another computer.  

  7. Audio fails if using vnc connection to realvnc but a workaround is explained next to prevent video from crashing.

If using the vnc connection to realvnc on the tablet with Audio failing, the workarouond to prevent a crash so you can still work on the video is explained in the guide:
https://www.reddit.com/r/termux/comments/bpa8jz/pulseaudio_streaming_client/. This guide explains the vnc/pulseaudio setup which will prevent a crash but you still will not be able to hear audio. Other pertinent information is available at:
https://android.stackexchange.com/questions/205576/how-to-play-sound-from-termux-when-using-linux.

The next few lines show a successful setup/usage.
$ pulseaudio --start
$ ps axv
  PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
 7003 pts/28 S<s 0:00 637 532 9039 1716 0.0 /data/data/com
13684 ? S<l 0:00 0 49 123898 16616 0.8 pulseaudio --
13692 pts/28 R<+ 0:00 0 63 7500 1420 0.0 ps axv
$ pactl load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=116
$ PULSE_SERVER=127.0.0.1 pactl info
Server String: 127.0.0.1
Library Protocol Version: 34
Server Protocol Version: 34
Is Local: no
Client Index: 2
Tile Size: 65496
User Name: u0_a116
Host Name: localhost
Server Name: pulseaudio
Server Version: 14.2
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: OpenSL_ES_sink
Default Source: OpenSL_ES_sink.monitor
Cookie: c659:c1b7

Now to start up CINELERRA-GG, type in:
        $ cd (your cinelerra directory)/cinelerra/cinelerra-5.1/
        $ PULSE_SERVER=127.0.0.1 ./cin.sh

You can even build a package version similiar to Debian, just with "pkg search pkg_name / pkg install pkg_name" instead of "apt search/install pkg_name" and with "*-static" instead of "*-dev/-devel packages". For more information on this, see:

https://wiki.termux.com/wiki/Package_Management
https://wiki.termux.com/wiki/Building_packages

The CINELERRA-GG Community, 2021
https://www.cinelerra-gg.org