Play RAR files without extract them on SMB/NFS (RAR2FS?)

This is general talk area for things that NOT RELATED WITH TV! Instead, about internal works like web site, forum, wiki, or talking, etc...
Post Reply

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

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

Post 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..
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

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

Post 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)
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

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

Post 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?
You do not have the required permissions to view the files attached to this post.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
hasse69
Posts: 66
Joined: Fri Feb 10, 2012 8:09 pm

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

Post 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
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

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

Post by juusso »

Yes, I compiled rar2fs and executed well on my NAS. Also success on D series arm. But no success on B series...
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
hasse69
Posts: 66
Joined: Fri Feb 10, 2012 8:09 pm

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

Post 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 ?

Post Reply

Return to “General”