Re: [vdr] Hard link cutter [was: Suggestion: High speed cutting]

2007-03-18 Thread Udo Richter

Richard Lithvall wrote:
Why not just change the naming of video files to four, five or even 
eight digits?


The real limit is that the file format and the VDR API uses byte sized 
integers to represent this. (cIndexFile::Get uses an uchar *FileNumber.) 
This could be extended, even with moderate changes on the file format. 
(there are reserved bytes that could be used)


However, in any case it will break compatibility for the recording 
format and for the VDR API. And with some tricks, 255 files are enough 
too, so why break things?


Cheers,

Udo

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


Re: [vdr] Hard link cutter [was: Suggestion: High speed cutting]

2007-03-17 Thread Richard Lithvall

Udo Richter wrote:
This has been in my mind for over two years, and now I just wanted to 
see it working: Using hard file system links to speed up editing 
whenever a 00x.vdr file is copied from source to destination recording 
without modification.


This has crossed my mind several times as well, thanks for implementing it!


Future plans


To solve the file size vs. recording size conflict, dynamic file sizes 
could be implemented, so that a recording starts with small file sizes, 
and increases the file size at some point to ensure enough space for 
huge recordings before 255.vdr is reached. For example, using 32Mb up to 
192.vdr and 2000mb from 193.vdr on will give a total of 128 Gb or 84 
hours, while using small files for up to 4 hours.


Why not just change the naming of video files to four, five or even 
eight digits?


/Richard

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


Re: [vdr] Hard link cutter [was: Suggestion: High speed cutting]

2007-03-17 Thread Reinhard Nissl
Hi,

Richard Lithvall wrote:

 Why not just change the naming of video files to four, five or even
 eight digits?

The problem is not the file name, it's the index file. An index entry
stores the file number as uchar, which allows 256 recording files.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:[EMAIL PROTECTED]

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