Page 12 of 13

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

Posted: Sat Feb 25, 2012 11:15 am
by juusso
hasse69 wrote: Also, unless you did not already notice, you do not need to mount a folder containing only RAR archives, you can mount a folder that contains all your files. rar2fs will handle non-rar archives transparently.
Doch!
I just not sure what is proper command for that... :?

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

Posted: Sat Feb 25, 2012 12:55 pm
by hasse69
juuso wrote: I just not sure what is proper command for that... :?
It is no different to what you did before!? It is just a matter of what you export to your target.

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

Posted: Sat Feb 25, 2012 1:44 pm
by juusso
I guessed it`s same, but was not sure. This works well.

Code: Select all

rar2fs --exclude=.lock --fake-iso --seek-length=2 -o allow_other ./rar ./rarmount -f
hasse69 wrote:If you check your AVI through GSpot...
Yes, its AVI 2.0.

Code: Select all

File Length Correct
OpenDML (AVI v2.0)
Interleave: 36 ms (1.1 v.frames), preload=504
Audio frames: Aligned on interleaves
Video: 158 MB (91.12%)
Audio: 13.8 MB (7.94%)
AVI Overhead: 1.65 MB (0.95%)
hasse69 wrote: make sure it is not reported as "packed bitstream"
And this file i tried isn`t.

[s]Do you know any link to AVI v1.0 file? All tested i have are 2.0...[/s]

EDIT: forget, found already:

Code: Select all

Sans soleil (1983)

"He wrote me...." A woman narrates the thoughts of a world traveler, meditations on time and memory expressed in words and images from places as far-flung as Japan, Guinea-Bissau, Iceland, and San Francisco. Written by George S. Davis 

--- File Information ---                                                        
File Name:                                      Sans Soleil.avi                     
File Size (in bytes):                           1,564,971,212                     
                                                                                
--- Container Information ---                                                   
Base Type (e.g "AVI"):                          AVI(.AVI)                 
Subtype (e.g "OpenDML"):                        AVI v1.0,                   
Interleave (in ms):                             167          
Preload (in ms):                                192       
Audio alignment("split across interleaves"):    Aligned         
Bytes Missing (if any):                         0            
Number of Audio Streams:                        2       
As soon as download finishes, i will compress it and check.

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

Posted: Sat Feb 25, 2012 1:58 pm
by hasse69
Ok. Then packed bistream has nothing to do with it. And AVI 2.0 should in general not cause any problems either.
Remains only to double check that rar2fs is not returning bad data. This is the first time I stumbled into a MediaPlayer that jumps back and forth like this so the code path covering this case is somewhat less tested than the rest. I can not out rule a bug in rar2fs, even if I think it is less probable than the simple fact that the MediaPlayer requires proper index tables at all times.

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

Posted: Sun Feb 26, 2012 12:19 pm
by juusso
Today tried with AVI 1.0 compressed file. Got no playback at all (MediaPlayer just returned back to folder after some buffering).

http://pastebin.com/DSwgRfE4

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

Posted: Sun Feb 26, 2012 9:28 pm
by hasse69
hmmm, looking at that log makes me think you ran an old version of rar2fs? Did you run this with the latest patch I sent you?

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

Posted: Mon Feb 27, 2012 8:02 am
by juusso
I don`t know why do you think i ran old binary, but i don`t. This was with patch11. Will check once again, but i`m 100% sure.

EDIT. Recompiled once again, ran and got same result.

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

Posted: Mon Feb 27, 2012 3:22 pm
by hasse69
I understand. The log does not look good :( Definitely something I need to look into. Can not do much from where I am right now. But I will create a new patch with extended traces to try to identify what is going on. As I said, it seems there is a path in the code that I never really tested before :(

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

Posted: Sun Mar 04, 2012 2:35 pm
by hasse69
Try this patch. It will do extended logging. Try the Shrek movie and also the AVI 1.0 tested last.
I will probably need to do some more patches before I can see what the real problem is, but this one should at least narrow it down a bit.

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

Posted: Sun Mar 04, 2012 3:36 pm
by juusso
Not big success, result same with patch11.
Shrek movie- 4 secs http://pastebin.com/1zBPgK9q
Soleil - no playback started at all, only buffering. http://pastebin.com/i2qydWGs