1 user browsing this thread: (0 members, and 1 guest).
|
LLink and LiveTV - mini HOWTO
|
|
02-25-2008, 10:57 AM
Post: #1
|
|||
|
|||
|
LLink and LiveTV - mini HOWTO
I spend several days trying to get LiveTV to work with my PCH. I wrote this mini-howto to share my knowlegde gained. My current setup is a kubuntu server with a dvb-c card and a PCH so that's what I will be using in this example.
You need the following:
Linux or Windows machine with a DVB/TV card (I am using DVB-C as example) DVBStream or Mencoder Download, unzip, untar, configure and make 2: Edit the llink.conf file so that can handle the ltf extension Add the following line to llink.conf Code: # Live TV3: Make a ltv file Somewhere in the directory structure shared by LLink you should put a file with a ltv extension. In my case I use the name of the channel I would like to view as naming convention. Under linux you can use the command touch to generate the file: touch "Film 1.1.ltf" 4: Get the name of the fifo We specified the script /usr/local/bin/dvbtv.sh as being the external command for LLink that has to be executed when it encounters a ltv file. This is the first time we are going to run into some trouble. LLink uses a fifo to communicate with the external programm. This fifo is created before the script is executed but is not provided as a parameter (it does not work correctly for me at least, in code LLink provides the as first parameter the name of the file and as second parameter the name of the fifo). We can take two separate routes here. 4a: Search for newest fifo The following code searches for the newest fifo in the current directory. This approach has as drawback that we have no way of knowing which file is selected. We want to know that when we want the script to be able to handle multiple channels. Code: #!/bin/sh4b: Provide name of fifo as parameter to dvbtv.sh In this case we have to alter the file external.c so that it provides the filename and fifo as parameters to the script. We have to find the routine external_launch and change the following lines: Code: size = strlen(skin->args) + 2 + strlen(node->disk_path) + 3 + strlen(tmpname) + 1 + 1;5: Make dvbtv.sh The following dvbtv.sh uses dvbstream to stream files to the PCH. You could also you mencoder but that leads to an other problem because mencoder uses some environment variables which are not standard provided by LLink (not without changing code, change in the file fifo.c in de lion/src directory the call to execvp to execv and remove the argv parameter. This calls the external process with the environment of the calling process). The script looks at the file selected and starts the according stream. I made a ltv for each channel I would like to stream to the PCH. Code: #!/bin/sh6: Enjoy watching TV On the PCH select the ltv file and hopefully enjow watching streaming LiveTV. When it does not work make sure that LLink is started in debugmode so that you can look at what is happening (LLink -v 125 -d) Have fun! |
|||
|
02-25-2008, 01:10 PM
Post: #2
|
|||
|
|||
|
Nice work, Have you tried VDR by any chance?
Its a sweet setup, but the popcorn hour refuses to play the files.
|
|||
|
02-25-2008, 01:18 PM
Post: #3
|
|||
|
|||
hyppe Wrote:Nice work, Have you tried VDR by any chance? No I have not tried VDR yet. For debuging I used a normal webbrowser which made a connection to LLink (http://mediaserver:8000). This setup works okay when the browser starts receiving a file after an ltv file has been selected. I had a lot of crash/hang problems with LLink when my shell script was incorrect. |
|||
|
02-25-2008, 04:36 PM
Post: #4
|
|||
|
|||
|
Nice, think ill redo it to use vlc streaming from my vdr server. Since the popcorn cant play stright from vdr
![]() Game me some idea thats for use
|
|||
|
02-25-2008, 04:46 PM
Post: #5
|
|||
|
|||
hyppe Wrote:Nice, think ill redo it to use vlc streaming from my vdr server. Since the popcorn cant play stright from vdr why you dont take MTPCenter beta4 works with pch and vdr records starts playing native on last beta right now only basic vdr support but will be improved you must know was an wish from me and an huge community is waiting for it hahahahawerner ----------------------------------------------------------------------------------------------------- Syabas Technology Inc. DBA Popcornhour |
|||
|
02-25-2008, 06:44 PM
Post: #6
|
|||
|
|||
|
The thin client that I am working on will hopefully support VDR more directly.
http://www.rst38.org.uk/mediamvp/mvpvdr.html Martin |
|||
|
02-25-2008, 06:45 PM
Post: #7
|
|||
|
|||
Quote:why you dont take MTPCenter Smile beta4 works with pch Smile and vdr records starts playing native on last beta right now only basic vdr support but will be improved Smile you must know was an wish from me and an huge community is waiting for it hahahaha Im using VDR 1.5.x with streamdevserv. So i just want to watch the streams that it delivers. Are we talking about the same thing?
|
|||
|
02-25-2008, 06:48 PM
Post: #8
|
|||
|
|||
hyppe Wrote:Quote:why you dont take MTPCenter Smile beta4 works with pch Smile and vdr records starts playing native on last beta right now only basic vdr support but will be improved Smile you must know was an wish from me and an huge community is waiting for it hahahaha then take an look on the MTP Center then you can watch your VDR Records and you can take the popi as client to watch live tv you can change channels and everything else ![]() vdr records are playing already on last beta but only basic so the index.vdr .... has no function now but we can watch 001.vdr, 002.vdr..... but was only the first step werner ----------------------------------------------------------------------------------------------------- Syabas Technology Inc. DBA Popcornhour |
|||
|
02-25-2008, 06:49 PM
Post: #9
|
|||
|
|||
emveepee Wrote:The thin client that I am working on will hopefully support VDR more directly. really nice i look forward to your working if you need any help let me know
----------------------------------------------------------------------------------------------------- Syabas Technology Inc. DBA Popcornhour |
|||
|
02-25-2008, 06:59 PM
Post: #10
|
|||
|
|||
emveepee Wrote:The thin client that I am working on will hopefully support VDR more directly. Emveepee you busy man :-) I thought you were building an MythTV/GBPVR frontend. This is for me only a temp solution because I am really waiting for a frontend for my MythTV installation. If you need any help just let me know.... maybe I can help! |
|||
|
02-25-2008, 11:08 PM
Post: #11
|
|||
|
|||
Lasoul Wrote:Emveepee you busy man :-) Supporting mvpvdr is zero work, that's the beauty of the emulation mode thin client, the author of the server does all the work. mvpmc as a fat client Myth frontend is much tougher and the paradigm doesn't work well as a gui to mono. In fact mono is the problem. If you want to help cross-compile and test MySQL and ncurses and pass my whatever scripts you did to do this. This will save me one weekend. Martin |
|||
|
02-25-2008, 11:32 PM
Post: #12
|
|||
|
|||
emveepee Wrote:If you want to help cross-compile and test MySQL and ncurses and pass my whatever scripts you did to do this. This will save me one weekend. I did compile ncurses-5.6 without any problem using these configure options Code: ./configure --target=mipsel-linux-uclibc --host=mipsel-linux-uclibc --with-shared --prefix=/usr/local/mipsIf it can help... |
|||
|
02-26-2008, 12:02 AM
Post: #13
|
|||
|
|||
|
Thanks groll, every thing helps. I'm not sure it is even used but it seems to be a requirement for MySQL. I am surprised that it doesn't complain about not having a build type.
Martin |
|||
|
02-26-2008, 12:08 AM
Post: #14
|
|||
|
|||
emveepee Wrote:Thanks groll, every thing helps. I'm not sure it is even used but it seems to be a requirement for MySQL. I am surprised that it doesn't complain about not having a build type.It did complain Code: configure: WARNING: If you wanted to set the --build type, don't use --host.What should I use ? |
|||
|
02-26-2008, 12:48 AM
Post: #15
|
|||
|
|||
|
I usually am lazy and type --build=i386 but it depends on your pc. If you type gcc -v you probably will see what your target was.
What did you do to get c++ compiled? Martin |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| MPD installation howto (updated 4 May 2009) | gwillem | 480 | 135,836 |
06-30-2010 07:21 AM Last Post: avanegmond |
|
| Howto customize mono parameters? | lcars | 5 | 668 |
01-02-2010 08:29 PM Last Post: garp99 |
|
| Llink rar archive not showing content | imtcb | 15 | 1,914 |
12-01-2009 01:29 PM Last Post: bengt |
|
| mythtv - LiveTV and Recording using llink-mod | mwahal | 2 | 1,059 |
11-23-2009 05:39 AM Last Post: tivo1 |
|
| Llink rar files | mypaq | 6 | 610 |
08-30-2009 06:26 PM Last Post: mypaq |
|
| howto access PCH from outside my home? | nappy | 3 | 1,564 |
05-11-2009 04:23 PM Last Post: nappy |
|
| llink related problem | wsoderberg | 5 | 793 |
04-06-2009 12:51 AM Last Post: wsoderberg |
|
| howto add permentally an entry to crontab? | rabside | 3 | 1,474 |
04-04-2009 02:37 PM Last Post: rabside |
|
| PLoNK , Android remote controll of Popcorn Hour and llink - Update | PoPEye | 12 | 5,753 |
03-30-2009 10:21 PM Last Post: PoPEye |
|
| YAMJ & LLink index.htm auto-load | ndoggac | 11 | 2,914 |
03-10-2009 12:15 AM Last Post: Little Simon |
|

NMT Wiki
Search
Member List
Help
[9 June 2010] C-200/A-200 NMJ UI PREVIEW (under development)






