Active Topics

 


Reply
Thread Tools
Posts: 85 | Thanked: 79 times | Joined on Nov 2007 @ Erfurt, Germany
#11
Originally Posted by luca View Post
@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's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#12
Originally Posted by Chelli View Post
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.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
Now known as
Jaffa
 
aflegg's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#13
Originally Posted by luca View Post
@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.

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 , 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
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
Now known as
Jaffa
 
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#14
Originally Posted by aflegg View Post
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..]
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 .
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:01.