Am 22.01.2010 19:01, schrieb Denis Loh:
> I want to implement a record player for my UPnP plugin and was
> wondering how the record files are played by the VDR. I found out
> that cFileName und cUnbufferedFile may be my friends, but I don't
> know how to seek a given file offset, if the recording is regarded as
> a single file.

You need the cIndexFile object too. The file represents the index.vdr
(or now just index) files contents, and has a translation function Get()
that translates an ongoing frame number into a file number and a byte
offset. Optionally, it tells you the frame type and length (if known).

Hint: The main playback loop of VDR is in cDvbPlayer::Action.



vdr mailing list

Reply via email to