maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   MobileVDR - Stream Live-TV from VDR to your Tablet (https://talk.maemo.org/showthread.php?t=11362)

Chelli 2007-11-07 11:58

Re: MobileVDR - Stream Live-TV from VDR to your Tablet
 
Quote:

Originally Posted by luca (Post 91530)
@chelli, I tried mobilevdr, unfortunately I cannot even get the channel list: I have many channels and vdr.svdrp chokes reading them. If I had access to a keyboard I'd patch it to read line by line instead of putting them all in a big string, than it is then split in a list to be processed line by line.....

I know that this part of the code is really slow, thats why i tried to store the channels list in a sqlite database. (On my system with around 1600 channels it takes about 25 seconds to update the channels list.) My python knowledge is not that good atm, because i just started programming in python 2 weeks ago, so i would really appreciate patches, if you can improve the code.
(Do you have a working scratchbox installation? (MobileVDR can be tested fairly well in Scratchbox))
(You can get the source-code from Garage.)

aflegg 2007-11-07 12:46

Re: MobileVDR - Stream Live-TV from VDR to your Tablet
 
Quote:

Originally Posted by Chelli (Post 91521)
I can also record a short clip with the maximum filesize in VDR set to 1MByte and send it to you, if this would help. (This way a very short clip should be sufficent to give you an example.)

That'd be very helpful, thanks.

aflegg 2007-11-07 12:50

Re: MobileVDR - Stream Live-TV from VDR to your Tablet
 
Quote:

Originally Posted by luca (Post 91530)
@aflegg, mencoder will happily accept all *.vdr input files to generate a single output file. I'll have a look if I can add vdr support to mediaserv (I'm just procrastinating, I promised myself I'd do it as soon as I learned about mediaserv, and I still haven't started;)).

Excellent, that's what I was hoping. Modifying tablet-encode so that you can do:

Code:

tablet-encode foo output.avi
...where "foo" is a directory containing *.vdr should be trivial.

Quote:

Now, I'd like if you added multiple languages to the metadata, and pass the corresponding aid to mencoder, so I can procrastinate even more :D, no, seriously, that would be a useful option.
Good idea. The problem will be making the UI. But I don't want to hijack the MobileVDR thread, so I'll have a think about it offline.

Cheers,

Andrew

luca 2007-11-07 15:20

Re: MobileVDR - Stream Live-TV from VDR to your Tablet
 
Quote:

Originally Posted by aflegg (Post 91718)
Excellent, that's what I was hoping. Modifying tablet-encode so that you can do:

Code:

tablet-encode foo output.avi
...where "foo" is a directory containing *.vdr should be trivial.

I'd prefer
Code:

tablet-encode output.avi input1 [input2..]
so you can leave the input files as the last argument of mencoder:
Code:

mencoder -option1 -option2 -option3 -o output.avi input1 [input2..]
Quote:

Good idea. The problem will be making the UI. But I don't want to hijack the MobileVDR thread, so I'll have a think about it offline.
You could just add a languages array to the metadata, and display a link for each language like, e.g. [eng][ita], etc., add to the url an "aid=0" parameter for the first language, "aid=1" for the second and so on, then make mediaserv look for the aid parameter in the url and pass that to mencoder.
Once you do that, I promise I'll start hacking vdr support into mediaserv :D.


All times are GMT. The time now is 18:33.

vBulletin® Version 3.8.8