Do you try/test to record on SMB /NFS share with last changes?
I think it will be better solution than FAT thing.
Record TV over USB
Re: Record TV over USB
Lol, Is anybody working on future versions? I thought, you areBut, unless I'm very much mistaken, other people are working on the proper, more advanced version[s] allready, so do not be afraid

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
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.
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.
-
- Official SamyGO Developer
- Posts: 180
- Joined: Sun Feb 21, 2010 3:18 pm
- Location: Poland
- Contact:
Re: Record TV over USB
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.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.


TV LCD: Samsung LE40B651T3W (CI) | Internet@TV | fw: 2005 (patched: SamyGO v0.24 + GMT2, ArFIX2, ADFIX) | matrix: SQ04
BluRay: Samsung BD-D5300-ZF | SamsungApps | fw: 1013
Android-Box: Zidoo X8 | Realtek RTD1295 64bit (QuadCore), Mali-T820 GPU, 2 GB RAM, HDMI IN record, Android 6.0 | ZDMC 17.1
my projects: Remote LAN Control - Desktop app (v0.8) | Signal checker for DVB-T (v0.3)