[vdr] pvrinput and calculation of time to record

Udo Richter udo_richter at gmx.de
Wed Apr 26 01:30:20 CEST 2006


Daniel Dornacher wrote:
> my vdr is doing very well. pvr 150 and vdr-xine output with xvmc
> acceleration. But i have one "big" problem. vdr calculates the time
> which is left wrong. I have 4500 kbits for the video stream. (and x
> for audio) but i doubt that it's the right value in hours. I think it
> is computing the videostream rate with something like near 6000 kbit.

VDR estimates 25.75 Mb per minute to calculate remaining time from free 
space, thats 3600 mbit/s (video+audio). This works quite well for sat 
recordings, but may be wrong for other sources.

Digital TV encoders for DVB transmission do a very good job carefully 
pre-processing and encoding to mpeg2, and fast software encoders and 
end-user hardware encoders cannot compete against that regarding quality 
per mbit, so they usually have noticeably higher bit rates.

The value of 25.75 Mb per minute is hard-coded as MB_PER_MINUTE within 
menu.c.

Cheers,

Udo




More information about the vdr mailing list