2007-05-01, 11:36
Jolly Good Sir!
optip Wrote:i think the memory will be ok... i download everything straight into a file so, content is downloaded straight into a file called z:\temp\encoded.1.tmp (where 1 is the thread id).. when its downloaded, it's decoded into z:\temp\decoded.1.tmp - and the player plays by fread'ing from this decoded.1.tmp file... i wrote a new ydecode procedure that decodeds straight from one file pointer to another - byte by byte so no major mem usage there either. because all the data is kept in files, it shouldn't take much more memory to have lots of threads given that they aren't really storing any content in RAM.Harddisk trashing could become a serious issue, especially with the Linux port of XBMC which will probebly be aimed to run from a solid-state (flash-memory such as a USB memory-key or CompactFlash-card), those memory types has a limted amout of write/erase cycles (somewhere along the lines of 1,000 to 10,000) and can easily be corrupted. (Sure the very latest NAND memory based harddrives support much higher write/erase cycles but those are very expensive compared to a cheap 4GB USB-key).
one issue with this is that there is potentially a lot of disk churn with all the concurrent reading and writing... i think it shoud be ok and so am ignoring this as an issue for now... if anybody wants to tell me that they know that is a real problem however, it's probably better to address it now then have lots of ppl complaining of dead hard disks later!!
Peteo Wrote:It would be nice to have the option of saving. so I could watch it later, sorta like a DVR. Just something to add once you get the streaming working. Im sure allot of people would like that feature.Though the option to save should not be prioritized I do think it would be a nice feature, however personaly I would not want to save it to the Xbox built-in harddrive, instead I would prefer to write to a UPnP, SMB or FTP server on my local network which serves as a file-server.
nate12o6 Wrote:Just out of curiosity are there any other devs interested in this?You know what the say about too many chefs, I think the same thing also often applies to software development, at least during the beginning of a project such as this and the developer already know what he/she want to achive. I'm sure the developer during the process can take in ideas/suggestions and accept help/guidence is he or she asks for it if it is needed, however most of the time you only want one mastermind until you got a working prototype of a concept, it can then from there be improved/enhanced by others (with the overseeing eyes of the originator, as he/she usually ends up as the long term maintainer who have to fix the bugs and issues with the code, ...it is 'your baby').
Gamester17 Wrote:You know what the say about too many chefs, I think the same thing also often applies to software development, at least during the beginning of a project such as this and the developer already know what he/she want to achive. I'm sure the developer during the process can take in ideas/suggestions and accept help/guidence is he or she asks for it if it is needed, however most of the time you only want one mastermind until you got a working prototype of a concept, it can then from there be improved/enhanced by others (with the overseeing eyes of the originator, as he/she usually ends up as the long term maintainer who have to fix the bugs and issues with the code, ...it is 'your baby').
On the other side I am not a developer/programmer myself so I could be completly off about this