Wer den Raspberry Pi als VDR Streaming Client nutzen möchte der findet hier eine detaillierte Anleitung!
Um einen Raspberry Pi von einem NFS-Share zu booten schaut man z.B. hier!
Mein Raspberry Pi der von NFS bootet:
root@pi:~# cat /etc/os-release
PRETTY_NAME=“Raspbian GNU/Linux 7 (wheezy)“
NAME=“Raspbian GNU/Linux“
VERSION_ID=“7″
VERSION=“7 (wheezy)“
ID=raspbian
ID_LIKE=debian
ANSI_COLOR=“1;31″
HOME_URL=“http://www.raspbian.org/“
SUPPORT_URL=“http://www.raspbian.org/RaspbianForums“
BUG_REPORT_URL=“http://www.raspbian.org/RaspbianBugs“
root@pi:/# vdr –version
vdr (2.2.0/2.2.0) – The Video Disk Recorder
remotetimers (1.0.1) – Edit timers on remote VDR
quickepgsearch (0.0.1) – Quick search for broadcasts
sleeptimer (0.8.3-201301261156dev) – Sleeptimer for VDR
skinsoppalusikka (2.2.0) – Soppalusikka skin
mailbox (0.7.1) – Display emails of IMAP/POP3 accounts
extrecmenu (1.2.4) – Extended recordings menu
osdteletext (0.9.5) – Displays teletext on the OSD
streamdev-client (0.6.1-git) – VTP Streaming Client
rpihddevice (1.0.3) – HD output device for Raspberry Pi
remoteosd (1.0.0) – Show menu of a remote VDR
epgsearch (1.0.1.beta5) – search the EPG for repeats and more
svdrpservice (1.0.0) – SVDRP client
root@pi:/# cat /sys/firmware/devicetree/base/model
Raspberry Pi Model B Rev 2
root@pi:~# cat /proc/cpuinfo
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 997.08
Features : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
Hardware : BCM2708
Revision : 000e
Serial : 00000000055678
root@pi:/# vcgencmd get_mem arm && vcgencmd get_mem gpu
arm=256M
gpu=256M
vcgencmd version
Sep 14 2016 19:56:31
Copyright (c) 2012 Broadcom
version efa16f891edfcb0ba1aae15be195ad9d8b38d6be (tainted) (release)
root@pi:~# uname -a
Linux pi 4.4.21+ #911 Thu Sep 15 14:17:52 BST 2016 armv6l GNU/Linux
vi /boot/config.txt:
gpu_mem=256
disable_overscan=0
disable_splash=1
max_usb_current=1
arm_freq=1000
core_freq=500
sdram_freq=500
over_voltage=6
decode_MPG2=0x12345678
decode_WVC1=0x12345678
device_tree=
boot_delay=1
boot_delay_ms=15000
vi /boot/cmdline.txt:
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty10 elevator=deadline root=/dev/nfs nfsroot=192.168.1.123:/mnt/disk_a/rpi,tcp,rsize=32768,wsize=32768,timeo=14,vers=4 ip=dhcp rootfstype=nfs smsc95xx.turbo_mode=N rootwait
Videoverzeichnis des VDR Streaming Server wird durch einen Eintrag in die fstab beim booten gemountet:
192.168.1.123:/video /srv/vdr/video nfs rw,rsize=32768,wsize=32768,timeo=14,hard,intr 0 0
root@pi:/tmp# mount
192.168.1.123:/mnt/disk_a/rpi on / type nfs4 (rw,relatime,vers=4.0,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,port=0,timeo=14,retrans=2,
sec=sys,clientaddr=192.168.1.74,local_lock=none,addr=192.168.1.123)
devtmpfs on /dev type devtmpfs (rw,relatime,size=120920k,nr_inodes=30230,mode=755)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=25044k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=50080k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,
shortname=mixed,errors=remount-ro)
none on /var/cache/vdr/vtx type tmpfs (rw,relatime,size=16384k)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=50080k)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
192.168.1.123:/video on /srv/vdr/video type nfs4 (rw,relatime,vers=4.0,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,port=0,timeo=14,retrans=2,
sec=sys,clientaddr=192.168.1.74,local_lock=none,addr=192.168.1.123)
Der VDR Streaming Server:
[root@lx-server ~]# vdr –version
vdr (2.2.0/2.2.0) – The Video Disk Recorder
iptv (2.2.1) – Experience the IPTV
dummydevice (2.0.0) – Output device that does nothing
dvbhddevice (2.2.0) – HD Full Featured DVB device
wirbelscan (0.0.9) – DVB and pvrinput channel scan for VDR
svdrposd (1.0.0) – Publish OSD menu via SVDRP
streamdev-server (0.6.1-git) – VDR Streaming Server
Der Streaming Server ist über die Option Server Menü des Streaming Client erreichbar:
Das Server Menü:
Die Screenshots wurden mit folgendem Befehl erstellt:
svdrpsend ‚grab -‚ | sed -n -e ’s/^216-//p‘ -e ‚1ibegin-base64 644 -‚ -e ‚$a====‘ | uudecode > „/tmp/test.jpg“