Posts by elonesna

    I was never able to use transcoding with the native LE or CE tvheadend addons services. Only after installing docker linuxserver/tvheadend service (very latest version 4.3-1964) I been able to verify that h264 hardware transcoding works fine on my x86_64 device. I don't know if this will work on RPi.

    Dont work, i think

    I do not know what you are doing. You have two alternatives to install Zerotier: (1) the thoradia addon, and (2) using some docker service. For different reasons I recommend option (2). How is it done?:

    (1) Install the Docker addon that you have on your LE. Reboot.

    (2) Open an SSH session and run the command

    (3) To make sure the Zerotier service is running run "docker start zerotier"

    (4) To know the ID of your device LE run "docker exec zerotier zerotier-cli status"

    (5) To join your private Zerotier network run "docker exec zerotier zerotier-cli join xyzxyzxyz" (xyzxyzxyz is the name of your zerotier virtual network)

    (6) Go to the Zerotier website to authorize the entry of this new ID device and finish preparing your Zerotier network

    What should I do to keep using syncthing with my Raspberry Pi 3?

    Two years ago I started using syncthing, I first tried the CoreELEC addon and had problems (very outdated version of syncthing and strange service startup problems), a few days later I uninstalled this addon and have not used it again. Later I tried the syncthing service from the entware repository (this is not possible in LibreELEC, but is possible in CoreELEC) and it worked great for over a year. For six months I have been using an x86_64 device with LibreELEC 9.2.6 and now the syncthing service is installed from the Docker repository hub.docker.com with the command

    This service can be configured from http://<syncthing-ip>: 8384

    Note:

    I no longer remember if this service starts automatically. In case this is not the case run 'docker start syncthing'.

    Obviously any other service running on ports 8384, 22000 and 21027 must be stopped. In addition, the Docker addon must be installed beforehand.

    This works with x86_64 and arm processors, including RPi 3.

    First of all I will tell you that I do not have the answer to your question, but I also use sshfs and I have no problems.

    I have an x86_64 device with LE 9.2.6 installed and I use the "/storage/shared" directory as common directory to all my multimedia devices (CoreELEC based), that is, when my Mecool KIII Pro device, which has an IP surveillance camera connected, is writing to /storage/shared is writing to the LE server many kilometers away. At the same time, all remote devices find here the common multimedia library in read-only mode left by the server.

    I do the /storage/shared mount on remote devices with the following commands:

    Code
    echo n | ssh-keygen -t rsa -f /storage/.ssh/id_rsa # only once
    ssh root@<ip-server-on-vpn-net> "mkdir -p /storage/.ssh" # only once
    cat /storage/.ssh/id_rsa.pub | ssh root@<ip-server-on-vpn-net> "cat >> /storage/.ssh/authorized_keys" # only once
    /opt/bin/sshfs root@<ip-server-on-vpn-net>:/storage/shared /storage/shared -o reconnect,delay_connect,_netdev # every time at boot in autostart.sh

    LE and CE do not allow the use of /etc/fstab.

    The transcoder works great on my device, I use this to limit the bandwidth of the TV channel stream on a remote device.

    Work environment:

    Device: Intel i5 x86_64

    Graphics: Intel Iris 6100

    Operating System: LE 9.2.6 Stable

    Tvheadend service: 4.3-1964 from docker linuxserver/tvheadend

    Hardware transcoding: h264-vaapi (very low CPU consumption)

    Limitations:

    - H265 transcoding does not work

    - H265 local decoding unusable (high CPU consumption)

    - H265 remote decoding on amlogic S905X3 and S912 devices works great

    ... you can enable kodi's webserver, you can configure and control quite a lot of things with it ...

    Sorry if I don't agree with you. SSH, SFTP, and VNC are the three must-have tools for handling an unattended remote device. The inability to use VNC is a major reason not to buy a device.

    I have no problem with my x86_64 and amlogic devices.

    The answer is yes. The way to do this is harder to tell because I am not familiar with Adguard VPN and I assume it will modify the routing and DNS of your device. Basically it is about starting the PiHole service and redirecting all DNS requests to it.

    I don't know what you want. The rest when we do not want to have partition duplication errors we use some precautions: (1) we use linux to save and recover partitions in another storage, and (2) we verify the recovered partitions before using them.

    Sorry, my opinion is different if the option is that in order not to have security holes then we should not share anything, which is evident. LE is not security oriented but we can try to encapsulate it in reasonably secure VPN networks, and even use internet access services from providers that use CG-NAT which are quite common today. One thing is certain, you must take security very seriously in any matter related to internet communications.

    Your question itself has a very long answer that needs knowledge, some simple and others somewhat more complex.

    You need, first of all, the setting up of an ftp server on your device (this is easy with the ProFTP-Server addon included in LE), and remote client access, on your friend's device, to the ftp server (this it's also easy with "Kodi share search" in LE). With these two things your friend will have ftp access to your hard drive when you are both on the same WiFi and you both know the IP of the other device.

    The most complex part is the connection from the internet. There are many alternatives and all of them must use VPN techniques, I suggest you use Zerotier. You should create a virtual network where, for example, lan could be 10.10.10.0/24 with two devices, 10.10.10.1 the IP of your device, and you should authorize your friend's device with the IP address 10.10.10.2. Once this is done, your friend can now use the ftp client and connect to your ftp server at IP address 10.10.10.1 from anywhere in the world. Obviously it is necessary to install the Zerotier service on your device and on your friend's device. You don't need ddns, or open ports on the router, or anything.

    You will have to start studying!

    You give little information but I see that using docker with 2 GB of RAM is not the most appropriate, nor do you say the size of your storage that could also cause problems, and finally you do not say the name of the docker image that you are testing.

    I can only say that docker works great, I have seven services running permanently and four other services that I start or stop when I need them. Updates to docker images are also done automatically without any problems.

    OS: LE 9.2.6

    Docker: 9.2.0.127

    HW: x86_64 RAM: 8G

    ... can see it streams (rtsp://192.168.0.14:554/11 or /12) in vlc or ie + fp in a win computer normally.

    When i try it in kodi 18.9 + Rpi4 2Gb , got nothing. I tryed with add-on surveillance cameras and with a strm file ...

    These last few days I have been studying how to use, see, and record, from an IP camera accessible from LibreELEC. As I did not know everything, I have been looking for docker services, and almost none can work on small devices with an arm processor, and those that work as kerberos do not allow continuous recordings, they only allow recordings by motion detection through software, which leads to the use of CPU and impermissible heating. In the end I have not found any practical and usable software so I have had to make one that can work with any CPU.

    The commands are:

    • the 'find' and 'rm' command is responsible for deleting a record older than 7 days
    • 'ffmpeg' command records continuous 30 minute video and audio files
    • /storage/shared is for me a network directory mounted with sshfs shared and visible by all my multimedia devices that is physically located on a hard disk managed by LibreELEC
    • the saved files have a practical camx_yyyymmdd_hhmmss.mkv format
    • I have chosen the mkv format because it allows ffmpeg to record any codec even if it does not recognize it

    With all this, the workload of the remote arm recording device and of the x86_64 LibreELEC server, are very small.

    Obviously seeing the image of the IP camera in real time is very easy, you can use the Surveillance Cameras addon or add it to your list of TV channels. For me it is more practical to do it with my smartphone and VLC.

    Hope my solution gives you ideas on how to solve your problem.

    Sorry, I can't answer you, I only use the official LibreELEC kodi addon tvheadend.

    You may need to look up information about tvheadend to use sockets in a way similar to:

    Using socat: cat tv.xml | socat - UNIX-CONNECT: /path/to/xmltv.sock

    Using netcat (from the nmap project): cat tv.xml | nc -w 5 -U /path/to/xmltv.sock

    Using curl: cat tv.xml | curl -d @ - -m 5 -X POST --unix-socket /path/to/xmltv.sock Google

    I don't use this and I don't know if this is supported by LibreELEC.