Discussion:
Ways around 2GB/4GB File Limit?
Taylor
2004-06-19 22:07:15 UTC
Permalink
I've seen references to this in previous postings, but no clear answer.
Is there anyway around 2GB/4GB file limits?

I've been relatively happy with the Roku's basic ability to play ATSC
streams off of our Samba
file server. Unfortunately, an hour long episode of 1080i ATSC
programming comes in at ~8GB.
Hence the 2GB/4GB file limit makes most of the ATSC programming we're
capturing un-watchable in practice.

Breaking the file up in multiple pieces is a work around, however,
this breaks other
systems (e.g., mythtv's backend) and viewers as well as complicates
back-end storage and management.
I'd rather apply any effort to making the Roku do the right thing.

I'm trying to understand if this is an issue with the Roku's version of
Linux (I'm running the standard Roku-1.5.18, Linux 2.4.18) or just
their version of Samba and NFS. (I've had no problems playing files via
laptops (MacOSX)/pc's(WinXP) with VLC over both samba and NFS)

Samba:
I think it may be a 4GB file limit size (files >2GB seem OK, files <
4GB don't really work.)

When I trying 'ls' files, I just get large negative or incorrect
numbers.
All files are listed properly under CinemaSix/MpegPSPlay
Files will play for about the first ~4GB and then just stop. The unit
doesn't lock up, it just
pauses on the that frame of the file. (These files play fine via VLC
on MacOSX/WinXP.)

NFS:
when trying to 'ls' files larger than 2GB I get this error:
<file> Value too large for defined data type
(Interesting to note that these same files will 'ls' properly under
samba if size is >2GB and <4GB.)

These files don't even show up under CinemaSix/MpegPSPlay.
If I 'dd' off a couple of megabytes, these files play just fine.

Has anyone had any luck getting around these limitations?
Is this a known issue?


Thanks,

Taylor

P.S.

I couldn't help but notice Rokulabs seems to be located in Palo Alto
(CA). I presume the Roku folks already have large example files to
test, but if not, I'd be happy to bring a couple over via a firewire
drive.
Bart Harrison
2004-06-21 07:17:13 UTC
Permalink
I believe it's the version of fopen they're using that limits media file
size to 2GB. It shouldn't be to hard to fix once they've gotten
Soundbridge out the door. It's been an oft requested feature since last year.

Bart

- - - - - - - - - - - - - - -
Bart Harrison
MPA - The HD Suite

HD Editing Systems, Consulting, Production & Post, Exhibition & Distribution
www.hdsuite.com
954-894-1221
Post by Taylor
I've seen references to this in previous postings, but no clear answer.
Is there anyway around 2GB/4GB file limits?
I've been relatively happy with the Roku's basic ability to play ATSC
streams off of our Samba
file server. Unfortunately, an hour long episode of 1080i ATSC programming
comes in at ~8GB.
Hence the 2GB/4GB file limit makes most of the ATSC programming we're
capturing un-watchable in practice.
Breaking the file up in multiple pieces is a work around, however, this
breaks other
systems (e.g., mythtv's backend) and viewers as well as complicates
back-end storage and management.
I'd rather apply any effort to making the Roku do the right thing.
I'm trying to understand if this is an issue with the Roku's version of
Linux (I'm running the standard Roku-1.5.18, Linux 2.4.18) or just their
version of Samba and NFS. (I've had no problems playing files via laptops
(MacOSX)/pc's(WinXP) with VLC over both samba and NFS)
I think it may be a 4GB file limit size (files >2GB seem OK,
files < 4GB don't really work.)
When I trying 'ls' files, I just get large negative or incorrect
numbers.
All files are listed properly under CinemaSix/MpegPSPlay
Files will play for about the first ~4GB and then just stop. The
unit doesn't lock up, it just
pauses on the that frame of the file. (These files play fine via
VLC on MacOSX/WinXP.)
<file> Value too large for defined data type
(Interesting to note that these same files will 'ls' properly
under samba if size is >2GB and <4GB.)
These files don't even show up under CinemaSix/MpegPSPlay.
If I 'dd' off a couple of megabytes, these files play just fine.
Has anyone had any luck getting around these limitations?
Is this a known issue?
Thanks,
Taylor
P.S.
I couldn't help but notice Rokulabs seems to be located in Palo Alto (CA).
I presume the Roku folks already have large example files to test, but if
not, I'd be happy to bring a couple over via a firewire drive.
_______________________________________________
Roku-tech mailing list
http://lists.rokulabs.com/mailman/listinfo/roku-tech
Loading...