Re: How to seek/play splitted record files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


Cheers,

Udo

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux