Page 12 of 30

Re: Record TV over USB

Posted: Thu Apr 01, 2010 11:30 pm
by erdem_ua
Do you try/test to record on SMB /NFS share with last changes?
I think it will be better solution than FAT thing.

Re: Record TV over USB

Posted: Fri Apr 02, 2010 7:58 am
by doodlecz
But, unless I'm very much mistaken, other people are working on the proper, more advanced version[s] allready, so do not be afraid
Lol, Is anybody working on future versions? I thought, you are :)

I think better filenames could be implemented rather easily (ie. correctdatetime_program_name.ts), but personally I focused on other challenges (yeah, REC status on the display is one of them)..
Also simple scheduling (times or I thought a program name could be nice..) shouldn't be so difficult - but there is problem how to input the scheduling request. By cfg? Not effective.. By EPG? Nice, but _not_so_easy_ to implement.

Regarding the 4GB issue, I think we will have to split recordings into more files, if the size is about 4GB. This should be possible.

Re: Record TV over USB

Posted: Fri Apr 02, 2010 9:43 am
by sbav1
I did some tests with dd re: writing speeds, it looks like erdem is very much right about NFS being the best solution possible.
I got steady 3.4MB/s - 5.6MB/s write transfers on NFS mount (512B - 32kB block sizes).
Samba write speeds seem to be very block-size-dependent, only 550kB/s with 512B blocks and 5-5.5MB/s with 64kB blocks.

It seems USB sticks may be especially bad choice for PVRing.. I tested my Sandisk Extreme Cruzer Contour (16MB/s write, 28MB/s read in Windows). On TV dd write test I got only 146kB/s (!!!) with 512B blocks, and 1-1.2MB/s tops with 32-64kB blocks ( also quite a big lattency on writing). For comparison, this pendrive reading speed on TV is 14-16MB/s, and not much block-size dependent.

All tests done with "dd bs=... if=/dev/zero of=..." with big (50-500MB) data chunks.

Re: Record TV over USB

Posted: Fri Apr 02, 2010 9:46 am
by moras86
noname76 wrote:What parameter says where video will be stored? Is it - static char *pvr_file_pattern="/dtv/usb/sda1/record%03d.ts"; in pvr.c file?
I am using card reader and the path is /dtv/usb/sdc1, so i cannot try recording.
Thanks.
I had similar problem. I would like use my USB HDD, but I split it for two partitions and only second can be in FAT file system. It will be great when we can change path for recorded files - maybe in config text file.