[1] MLD-5.x / Systems / x86 Systeme (PC) / (MLD-5.5 testing) OpenWrt
 

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
(MLD-5.5 testing) OpenWrt
« on: May 22, 2022, 21:54:24 »








Hello,

I was successfully able to run OpenWrt under MLD-5.5 Testing using Virtualbox  :)
However they don't provide dvb packages.
You have to build it yourself in OpenWrt SDK.
Is there anyone here uses OpenWrt who build dvb packages?

Best Regards.
« Last Edit: May 23, 2022, 20:12:46 by gr4vity »

Offline Piet

  • Adv. Member
  • ***
  • Posts: 102
    • View Profile
(MLD-5.5 testing) OpenWrt
« Reply #1 on: May 23, 2022, 10:38:43 »
Why do you need DVB Modules in OpenWRT when it is already running on MLD? I just don‘t geht the Point.


Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
(MLD-5.5 testing) OpenWrt
« Reply #2 on: May 23, 2022, 20:18:22 »
Hi,

Code: [Select]
root@OpenWrt:~# opkg list | grep tvheadend
tvheadend - 4.2.8-8 - Tvheadend is a TV streaming server and recorder for Linux, FreeBSD and Android supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, SAT>IP and HDHomeRun as input sources.  Tvheadend offers the HTTP (VLC, MPlayer), HTSP (Kodi, Movian) and SAT>IP streaming.

MLD dvb modules are used with my PCIe card to run VDR, i also want dvb modules inside OpenWRT to run Tvheadend server with USB dvb card.
Do you know how to do that?
« Last Edit: May 23, 2022, 20:22:47 by gr4vity »

Offline Piet

  • Adv. Member
  • ***
  • Posts: 102
    • View Profile
(MLD-5.5 testing) OpenWrt
« Reply #3 on: May 23, 2022, 21:05:27 »
Can TVH act as SATIP-Client? Then you could possibly use MLD as SATIP-Server, without the need to compile the modules for OpenWRT.


Offline rfehr

  • MLD-Developer
  • Expert Member
  • ******
  • Posts: 1507
    • View Profile
(MLD-5.5 testing) OpenWrt
« Reply #4 on: May 23, 2022, 21:17:13 »
Can TVH act as SATIP-Client? Then you could possibly use MLD as SATIP-Server, without the need to compile the modules for OpenWRT.

you mean the minisatip package

1x OctopusNet 4x DVB-C
1x Zotac ITX-A Atom 330
1x RPI2 als Client
1x BananaPi
1x Wetekplay
1x MCC 100
2x RPI3
2x RPi4
1x https://www.zotac.com/at/product/mini_pcs/pi335

Offline Piet

  • Adv. Member
  • ***
  • Posts: 102
    • View Profile
(MLD-5.5 testing) OpenWrt
« Reply #5 on: May 23, 2022, 21:22:51 »
Can TVH act as SATIP-Client? Then you could possibly use MLD as SATIP-Server, without the need to compile the modules for OpenWRT.

you mean the minisatip package

Exactly, thanks for the clarification!


Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
(MLD-5.5 testing) OpenWrt
« Reply #6 on: May 24, 2022, 10:39:43 »
The 1st thing i asked Claus after i have registered on the forum years ago is how i can build vtuner in order to use it with minisatip  :)

That's not what i want to do, i want to run Tvheadend server in OpenWRT for Kodi running on Rpi4 and enable timeshift in Tvheadend as well.

There is minisatip package in OpenWRT too.

Code: [Select]
root@OpenWrt:~# opkg list | grep satip
minisatip - 1.0.4-2 - SATIP server
« Last Edit: May 28, 2022, 01:58:09 by gr4vity »

Offline Piet

  • Adv. Member
  • ***
  • Posts: 102
    • View Profile
(MLD-5.5 testing) OpenWrt
« Reply #7 on: May 24, 2022, 17:40:07 »
My idea was:

MLD/minisatip—>OpenWRT / TVH using Minisatip as SATIP Input-device instead of DVB directly —> RPI using TVH as Server

« Last Edit: May 24, 2022, 17:41:45 by Piet »

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
(MLD-5.5 testing) OpenWrt
« Reply #8 on: May 24, 2022, 23:45:52 »
Hi,

Sorry, i thought you want me to disregard Tvheadend idea and stick with minisatip.

In that case you have to run minisatip with -e X (Where X is the adapter #) as i want to use my USB adapter only.

Other options in case someone would say it's easier to do as follows  :)
MLD/Tvheadend  --> Rpi
I done that last year with Tvheadend installed on MLD 5.4 directly.
Or
Rpi/Tvheadend

Nevertheless, it won't eliminate the fact that i still want to have dvb drivers running in OpenWRT because i'm using the same Virtualbox image under Windows 10  :D


« Last Edit: May 25, 2022, 00:01:40 by gr4vity »

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
(MLD-5.5 testing) OpenWrt
« Reply #9 on: May 26, 2022, 20:37:46 »

I compiled OpenWrt kernel, now i have Tvheadend and minisatip running under Windows 10  :)
« Last Edit: May 28, 2022, 01:55:40 by gr4vity »

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
(MLD-5.5 testing) OpenWrt
« Reply #10 on: May 28, 2022, 00:34:51 »
Hi,

I have VDR roboTV and streamdev-server running under Win10 as well thanks to roboTV developer Pipelka  :)

https://github.com/pipelka/vdr-plugin-robotv

It's a very small image ~22MB based on linux alpine.
« Last Edit: May 31, 2022, 01:09:38 by gr4vity »

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
(MLD-5.5 testing) OpenWrt
« Reply #11 on: May 29, 2022, 01:58:32 »
Hi,

I found a more recent VDR server docker image here
That one based on Arch Linux

https://github.com/lapicidae/vdr-server



« Last Edit: May 29, 2022, 02:22:09 by gr4vity »

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
(MLD-5.5 testing) OpenWrt
« Reply #12 on: May 31, 2022, 01:05:14 »


Hi,

I added vnsiserver to pipelka/robotv  :)
You can simply add the following lines to /opt/vdr/runvdr.sh

# vnsiserver configuration

echo "[vnsiserver]" > ${CONFDIR}/conf.d/50-vnsiserver.conf

And add 50-vnsiserver.conf in /etc/conf.d

Code: [Select]
root@OpenWrt:~# docker run --rm -ti \
>     --cap-add=SYS_NICE \
>     -e DVBAPI_ENABLE=1 \
>     -v /srv/robotv:/data \
>     -v /srv/video:/video \
>     -p 34892:34892 \
>     --device=/dev/dvb \
>     pipelka/robotv
vdr: [14] VDR version 2.4.6 started
vdr: [14] codeset is 'UTF-8' - known
vdr: [14] override character table is 'ISO-8859-9' - known
vdr: [14] loading plugin: /opt/vdr/lib/libvdr-dvbapi.so.2.4.6
vdr: [14] loading plugin: /opt/vdr/lib/libvdr-epgsearch.so.2.4.6
vdr: [14] loading plugin: /opt/vdr/lib/libvdr-robotv.so.2.4.6
vdr: [14] loading plugin: /opt/vdr/lib/libvdr-streamdev-server.so.2.4.6
vdr: [14] loading plugin: /opt/vdr/lib/libvdr-vnsiserver.so.2.4.6
vdr: [14] loading /data/etc/setup.conf
vdr: [14] loading /data/etc/sources.conf
vdr: [14] loading /data/etc/diseqc.conf
vdr: [14] loading /data/etc/scr.conf
vdr: [14] loading /data/etc/channels.conf
vdr: [14] loading /data/etc/timers.conf
vdr: [14] loading /data/etc/svdrphosts.conf
vdr: [14] EPG scan type: 1
vdr: no fonts available - OSD will not show any text!
vdr: [14] ERROR: no fonts available - OSD will not show any text!
vdr: [14] DVB API version is 0x050B (VDR was built with 0x050B)
vdr: [14] frontend 0/0 provides DVB-S,DVB-S2 with QPSK ("vTuner proxyFE DVB-S2")
vdr: [14] found 1 DVB device
vdr: [14] initializing plugin: dvbapi (2.2.5-GIT-b6599c1): SoftCAM for OSCam
vdr: [14] initializing plugin: epgsearch (2.4.1): search the EPG for repeats and more
vdr: [14] initializing plugin: robotv (0.15.0): roboTV Server
vdr: [14] loading /data/etc/plugins/robotv/robotv.conf
vdr: [14] timeshift buffersize: 4000000000 bytes
vdr: [14] Folder for TV shows: Serien
vdr: [14] initializing plugin: streamdev-server (0.6.1-git): VDR Streaming Server
vdr: [14] initializing plugin: vnsiserver (1.8.0): VDR-Network-Streaming-Interface (VNSI) Server
vdr: [14] setting primary device to 1
vdr: [14] device 1 has no MPEG decoder
vdr: [14] setting current skin to "lcars"
vdr: [14] loading /data/etc/themes/lcars-default.theme
vdr: [14] starting plugin: dvbapi
vdr: [14] DVBAPI: plugin version 2.2.5-GIT-b6599c1 initializing (VDR 2.4.6)
vdr: [14] DVBAPI: decryption library: FFdecsa
vdr: [14] DVBAPI: Creating sCCIAdapter
vdr: [14] DVBAPI: Creating SCCAMSlot for device 1
vdr: [14] DVBAPI: plugin started
vdr: [14] starting plugin: epgsearch
vdr: [14] starting plugin: robotv
vdr: [14] starting plugin: streamdev-server
vdr: [14] loading /data/etc/plugins/streamdev-server/streamdevhosts.conf
vdr: [14] starting plugin: vnsiserver
vdr: [14] VNSI: Starting vnsi server at port=34890
vdr: [14] VNSI: VNSI Server started
vdr: [14] VNSI: Channel streaming timeout: 10 seconds
vdr: [23] Streamdev: Listening (VTP) on port 2004
vdr: [23] Streamdev: Listening (HTTP) on port 3000
vdr: [20] DVBAPI: 0.0: doReply changed, reset triggered
vdr: [20] DVBAPI: 0.0: now using CAIDs version 1
vdr: [20] DVBAPI: 0.0: status 'present'
vdr: [20] CAM 1: module present
vdr: [22] creating SDP client
vdr: [22] Failed to create SDP client: Daemon not running
vdr: [22] removing outdated artwork
vdr: [22] roboTV Server started
vdr: [14] DVBAPI: 0.0: status 'reset'
vdr: [14] DVBAPI: 0.0: status 'ready'
vdr: [20] CAM 1: module ready
vdr: [20] DVBAPI: CaInfo: 0.0 sending CA info
vdr: [27] SVDRP 7a5f75422825 opening port 6419/tcp
vdr: [27] SVDRP 7a5f75422825 listening on port 6419/tcp

[1] MLD-5.x / Systems / x86 Systeme (PC) / (MLD-5.5 testing) OpenWrt
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.