marcelp1
Posts: 129
Joined: Mon Jun 11, 2012 8:41 pm

Re: Rasberry as DreamBox? Network version.

Thu Dec 20, 2012 11:46 am

Beach wrote:Thanks Azbest_hu This works! Finally I have a ''normal'' rpi distribution that supports my DVB-T it9135 usb stick.

For the noobs and the more lazy users here's what I did:

1 download 2012-10-28-wheezy-raspbian.zip
2 unzip 2012-10-28-wheezy-raspbian.zip
3 dd bs=1M if=2012-10-28-wheezy-raspbian.img of=/dev/sdb
Watch it! Mine was /dev/sdb might be some other device in your case.
4 startup rpi
5 do the voodoo at startup (like expanding to 8Gb, setting locales etc)
6 install git:
sudo apt-get install git
7 git clone git://gist.github.com/3893319.git
8 cd 3893319
9 sudo sh get-kernel-source.sh
10 cd .. (to home/pi)
11 git clone git://linuxtv.org/media_build.git
12 wget https://raw.github.com/gist/3961778/038 ... port.patch
13 cd media_build
14 patch -p1 < ../backport.patch
15 sudo apt-get install patchutils libproc-processtable-perl
16 ./build
17 sudo make install
18 reboot


Next I will try to stream the TV contents using tvheadend. VLC will not work because it is not hardware accelerated (yet?). I might try ffmpeg as well. Problem is that I cannot fully upstream the TV contents as is, because of limited up-bandwidth. I therefor need to transcode the signal to 1/4 of its original.

If someone has managed this already on the rpi I love to hear your solution.

Hi,

I have managed to get my RPi working with your instructions
http://www.raspberrypi.org/phpBB3/viewt ... 63#p231763
and play the DVB-T into the HDMI,
but not to stream in into the network, can you please post a similar to do guide,
how would I achieve that if that is possible on the RPi?
I have purchased MPEG-2 and VC-1 licence for my RPi just in case I needed.

madman_xxx
Posts: 38
Joined: Tue Dec 18, 2012 5:03 pm
Contact: Website

Re: Rasberry as DreamBox? Network version.

Thu Dec 20, 2012 12:34 pm

marcelp1 wrote:
Hi,

I have managed to get my RPi working with your instructions
http://www.raspberrypi.org/phpBB3/viewt ... 63#p231763
and play the DVB-T into the HDMI,
but not to stream in into the network, can you please post a similar to do guide,
how would I achieve that if that is possible on the RPi?
I have purchased MPEG-2 and VC-1 licence for my RPi just in case I needed.
Do you want to stream it over Ethernet only? If yes, have a look at the DVBlast utility (link in my previous post), or use a program in dvb-apps package (not sure about its name... dvbstream?)
The licenses you bought are not needed, because you only operate on a stream, whereas video decoding happens outside of RPi.

Beach
Posts: 52
Joined: Tue Jul 24, 2012 11:07 am
Location: Noordwijk The Netherlands

Re: Rasberry as DreamBox? Network version.

Thu Dec 20, 2012 12:50 pm

No I am not streaming the full content, but rather one TV-channel.

I am currently in a rough development of hardware accelerated transcoding. I already have a working transcoder that does some 125 frames/second (video only for now). It looks promising.

https://github.com/arjenv

Check it out!

(It is still very -very- experimental, use at your own risk)

madman_xxx
Posts: 38
Joined: Tue Dec 18, 2012 5:03 pm
Contact: Website

Re: Rasberry as DreamBox? Network version.

Thu Dec 20, 2012 12:57 pm

Wow, didn't expect that... 125fps = 5 channels simultaneously!
And out of curiousity: why do you need to transcode? ;)

Beach
Posts: 52
Joined: Tue Jul 24, 2012 11:07 am
Location: Noordwijk The Netherlands

Re: Rasberry as DreamBox? Network version.

Thu Dec 20, 2012 2:01 pm

I can stream a single TV channel over LAN. It takes about 3MB/s. No problem with my 100MB/s network cards. However, I want to stream TV over the internet. My upload max is 1MB/s, so I need to narrow down the stream bandwidth. Hence my quest to transcode it. Actually I would not need to transcode just resize it. But resizing means decoding-resizing-encoding, which is in fact transcoding.

So the Rpi might be capable of transcoding 5 channels, but than I still could not upstream it over the internet. Further, I do not want to watch 5 shows at the same time :lol:

By the way, the CPU usage for this one transcode is about 40%
This depends on various variables, I am using an external hard drive for the video, Rpi uses about 15-20% of its time to read/write to this external HDD. The smaller video you resize the better time performance. e.g. no resizing ends up approx. 90-100 fps

madman_xxx
Posts: 38
Joined: Tue Dec 18, 2012 5:03 pm
Contact: Website

Re: Rasberry as DreamBox? Network version.

Thu Dec 20, 2012 4:11 pm

@Beach
  • What is the file system you use on your external hard drive? NTFS is very CPU-intensive. EXT4 isn't...
  • This transcoding doesn't necessarily have to be decode-resize-encode. Back at the university there was a guy who did a project for thesis which did transcoding based on data encoded in the first place with no actual full decoding in the process. Will try to find more details on it.

Beach
Posts: 52
Joined: Tue Jul 24, 2012 11:07 am
Location: Noordwijk The Netherlands

Re: Rasberry as DreamBox? Network version.

Thu Dec 20, 2012 4:24 pm

What is the file system you use on your external hard drive? NTFS is very CPU-intensive. EXT4 isn't...
Good tip. It is actually ntfs4, but this HDD is also my backup unit for my MSwindows system.
This transcoding doesn't necessarily have to be decode-resize-encode. Back at the university there was a guy who did a project for thesis which did transcoding based on data encoded in the first place with no actual full decoding in the process. Will try to find more details on it.
Sounds interesting.

madman_xxx
Posts: 38
Joined: Tue Dec 18, 2012 5:03 pm
Contact: Website

Re: Rasberry as DreamBox? Network version.

Sat Jan 05, 2013 8:10 pm

Looked into this issue with transcoding, there is in fact a project, but it's in Polish and it's designed for some superscalar Hitachi processors (!)...

JamerTheProgrammer
Posts: 26
Joined: Tue May 01, 2012 11:52 am
Contact: Website

Re: Rasberry as DreamBox? Network version.

Sun Oct 20, 2013 9:19 pm

For those who need a link for the patch file, I think this is it:
https://gist.github.com/azbesthu/3961778

Persian Prince
Posts: 1
Joined: Sun Oct 28, 2018 7:08 am

Re: Rasberry as DreamBox? Network version.

Sun Oct 28, 2018 7:57 am

If you're interested in enigma2 for RPi devices you could try our Open PLi experience for all RPi devices: http://www.mediafire.com/folder/p0hyt9w ... pli-extras

Sources: https://github.com/PLi-metas/pli-extras

Good luck ;)

Return to “Media centres”