Re: [Zope-dev] Streaming large files

2004-07-09 Thread Eugene
Hello Thilo,
Thursday, July 8, 2004, 9:07:18 PM, you wrote:

I don't know how it relates to Zope.
There's FFServer (http://ffmpeg.sf.net) - powerful streaming solution.
Or you may be interested in www.MMManager.org - Multimedia manager for
Zope.


TS hi!
TS I have to stream large mpeg-files over http with range support. this
TS works quite nice until the client seeks in the (media)player and the
TS files aren't to large, because zope caches the whole file...
TS ...so each seek means streaming the whole file from the requested 
TS position till end *g*
- my RESPONSE object doesn't even know, that the player has seeked e.g.
TS back to the beginning...
TS is there a way to bypass the zope caching? and how do I know if the
TS player has disconnected, so I can stop streaming?


TS thanks in advance
TS thilo
TS ___
TS Zope-Dev maillist  -  [EMAIL PROTECTED]
TS http://mail.zope.org/mailman/listinfo/zope-dev
TS **  No cross posts or HTML encoding!  **
TS (Related lists - 
TS  http://mail.zope.org/mailman/listinfo/zope-announce
TS  http://mail.zope.org/mailman/listinfo/zope )



-- 
Best regards,
 Eugenemailto:[EMAIL PROTECTED]

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Streaming large files

2004-07-09 Thread Marc Lindahl
On Thursday, July 8, 2004, at 01:07  PM, Thilo Staebler wrote:
hi!
I have to stream large mpeg-files over http with range support. this 
works quite nice until the client seeks in the (media)player and the 
files aren't to large, because zope caches the whole file...
...so each seek means streaming the whole file from the requested 
position till end *g*
- my RESPONSE object doesn't even know, that the player has seeked 
e.g. back to the beginning...
is there a way to bypass the zope caching? and how do I know if the 
player has disconnected, so I can stop streaming?
you mean cacheing in memory?  Anything based on File does not do that.


thanks in advance
thilo
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Streaming large files

2004-07-09 Thread Thilo Staebler
thanks a lot for your answeres!
I think switching to Zope 2.7.1 and using IStreamIterators did the job 
for me :-)

thilo
Thilo Staebler wrote:
hi!
I have to stream large mpeg-files over http with range support. this 
works quite nice until the client seeks in the (media)player and the 
files aren't to large, because zope caches the whole file...
...so each seek means streaming the whole file from the requested 
position till end *g*
- my RESPONSE object doesn't even know, that the player has seeked e.g. 
back to the beginning...
is there a way to bypass the zope caching? and how do I know if the 
player has disconnected, so I can stop streaming?

thanks in advance
thilo
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Streaming large files

2004-07-08 Thread Thilo Staebler
hi!
I have to stream large mpeg-files over http with range support. this 
works quite nice until the client seeks in the (media)player and the 
files aren't to large, because zope caches the whole file...
...so each seek means streaming the whole file from the requested 
position till end *g*
- my RESPONSE object doesn't even know, that the player has seeked e.g. 
back to the beginning...
is there a way to bypass the zope caching? and how do I know if the 
player has disconnected, so I can stop streaming?

thanks in advance
thilo
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )