Page 1 of 13

Re: Play RAR files without extract them on SMB/NFS (RARFS?)

Posted: Mon Jan 09, 2012 7:54 pm
by erdem_ua
Its not logical to have rar compressed video files. RAR cannot compress video files. %01 size decrease doesn't worth to play with rar. Just unextract them, now..

Re: Play RAR files without extract them on SMB/NFS (RARFS?)

Posted: Mon Jan 09, 2012 10:53 pm
by erdem_ua
I don't heard rarfs before but might possible with fuse...
I guess extraction speed is not a problem since files are actually doesn't compressed at all and this don't need much CPU power.
But you have to try first. Root your TV and look if it's working. You just needed to compile source for ARM cpu (or use debian packets if they are available)

Re: Play RAR files without extract them on SMB/NFS (RARFS?)

Posted: Tue Jan 10, 2012 10:02 pm
by juusso
i just played with native toolchain and got this binary. Seems it needed libfuse.so.2 to be installed on TV:

Code: Select all

./rarfs
./rarfs: error while loading shared libraries: libfuse.so.2: cannot open shared object file: No such file or directory
After starting SamyGO All Extensions and reconnect to TV over ssh i got it running:

Code: Select all

 ./rarfs
USAGE: ./rarfs <file> <dir>

But mounting the rar file gave some error, havent fixed with the key -n as suggested.

Code: Select all

 ./rarfs -n /dtv/usb/sda1/Records/Labas_rytas.rar /mtd_swu/test
can't link lock file /etc/mtab~: Operation not permitted (use -n flag to override)
Anyone?

Re: Play RAR files without extract them on SMB/NFS (RARFS?)

Posted: Fri Feb 10, 2012 8:24 pm
by hasse69
Have you tried looking at an alternative to rarfs such as http://code.google.com/p/rar2fs/.
rar2fs is also based on FUSE but has some advantages over rarfs.
The real benefit of rar2fs is that it can not only handle mounting of single RAR files/volumes, but also entire folders and/or network shares.
rar2fs also has some limited support for compressed archives and use the free libunrar source to handle the extraction and
header parsing. This means it will work for old RAR versions as well as any upcoming releases since libunrar source is
basically extracted from the WinRAR source by the maintainer at rarlabs.
rarf2s was originally designed for small embedded devices with very limited amount of RAM and CPU power.

-H

Re: Play RAR files without extract them on SMB/NFS (RARFS?)

Posted: Fri Feb 10, 2012 8:33 pm
by juusso
Yes, I compiled rar2fs and executed well on my NAS. Also success on D series arm. But no success on B series...

Re: Play RAR files without extract them on SMB/NFS (RARFS?)

Posted: Fri Feb 10, 2012 8:41 pm
by hasse69
juuso wrote:Yes, I compiled rar2fs and executed well on my NAS. Also success on D series arm. But no success on B series...
Have some more details? What went wrong on the B series ?