Ggrab setup for dreambox/dbox2

From NAS-2000.org

Jump to: navigation, search

[edit] How to open a streaming server on NAS2000

by Barnie and Flipstar


for UDP streaming from Dreambox (dm500 especially) (High Bitrate support = works with ORF,ATV+)

Needed:

NAS1000/2000 with tinky firmware *thx flipstar*

Dreambox (e.g. Gemini Project with ngrab script)

Simple Linux Platform to mount the Linux System partition on NAS1000/2000

File ggrab-0.22a-NAS2000.tgz from http://flipstar.net/nas-2000/download/

1.) Extract the ggrab-0.22a-NAS2000.tgz --> 2 files ggrab and sserver

2.) copy these 2 files to the linux-mounted (USB) Nas1000/2000 /Overlay/bin directory (Systempartition)!

unmount (USB)

and reboot Nas1000/2000 (Ethernet)

3.) Run telnet/dropbear SSH and enter the following line below!

exec sserver -q -sport 4000 -s 0 -udp -o /mnt/IDE1/movie &

(/mnt/IDE1/the directory where the file should be stored)


Server started

press Enter

Exit Telnet !

(-q = quiet, -sport = streaming port, -s 0 = split file at MB 0=not split, -udp = Udp streaming, -o Directory on NAS1000/2000) get more options when you start sserver -h and ggrab -h ;)

Files are stored as .vob so you can access the files with dreambox build-in vcr (when NAS is mounted as Cifs/Nfs)


SServer runs Until next reboot. If you want that your nas boots up with sserver autostart, you can create a script :

copy to /system/overlay/rc.d

e.g. existing s40dropbear.sh copy to s42ggrab.sh (cp) Modify the new s42ggrab.sh file as shown below:


#! /bin/sh

exec /system/overlay/bin/sserver -q -sport 4000 -s 0 -udp -o /mnt/IDE1/movie



DREAMBOX/Dbox2:

The script "start ngrab recording"/"stop ngrab recording" is widely supported. (e.g. Gemini Images or Neutrino)

Config of ngrab recording: IP Adress of your nas1000/2000 in the network, and streaming port (in this case 4000)


Links: http://www.i-have-a-dreambox.com http://wiki.tuxbox.org/Ggrab

Personal tools