View Single Post
Posts: 85 | Thanked: 79 times | Joined on Nov 2007 @ Erfurt, Germany
#7
Originally Posted by aflegg View Post
It should be relatively straight forward to add VDR recording meta-data support to mediaserv (and would seem to link up nicely with the live VDR interface you're doing). I've already got some information on that already (thanks to luca), but without a VDR system to play with, testing's obviously a bit tricky.
Yes, i allready saw luca's posts in the mediaserv-thread and they seems to describe the file-structure of VDR's recordings really well.
As luca allready pointed out, the main problem could be that VDR stores the recordings in files with the names 001.vdr up to 255.vdr, depending on the length of the recording and the configured maximum file size (up to 2GB per file).

There is allready a shellscript to be called from the VDR Osd, which can transcode vdr-recordings with your 770-encode.pl. This script basically does just use cat to concatenate all .vdr-Files belonging to a recording to one big .vdr-File and afterwards calls 770-enode with the big file as input.

If anyone knows Perl, fancies hacking on mediaserv and has a VDR system to play with; please get in touch: it'll get done much quicker if we're scratching your itch.
My Perl knowledge is limited (i can at least read the code, as long as it is not too obfuscated ), i could of course test patches for mediaserv and maybe could debug them a little bit.