Record TV over USB

Here for general support for B series TVs, request and problem solve area.

User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Record TV over USB

Post 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.
doodlecz
Official SamyGO Developer
Posts: 98
Joined: Wed Mar 17, 2010 9:12 am

Re: Record TV over USB

Post 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.
sbav1
Official SamyGO Developer
Posts: 374
Joined: Fri Jan 15, 2010 10:20 am

Re: Record TV over USB

Post 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.
moras86
Official SamyGO Developer
Posts: 180
Joined: Sun Feb 21, 2010 3:18 pm
Location: Poland
Contact:

Re: Record TV over USB

Post 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.
Image . Image
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)

Post Reply

Return to “[B] Support”