View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007255 | MMW v4 | Player | public | 2011-01-28 19:21 | 2011-03-15 23:21 |
Reporter | rusty | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 4.0 | ||||
Target Version | 4.0 | Fixed in Version | 4.0 | ||
Summary | 0007255: UPnP downloads entire file before playing video | ||||
Description | If MM is being used to play video files via UPnP, then the entire file is downloaded before MM starts playing it. The user is forced to wait several minutes while the file downloads, before it plays, rendering UPnP client functionality useless for watching video. Tested with AVI (mpeg4) files on a twonkyvision server. MM has the AV plugin installed. AirPlayer (iPad) and WMP both started playback of the file within 1s of clicking it. Note: when accessing the same file over SMB with MediaMonkey, playback began after 2s. | ||||
Tags | No tags attached. | ||||
Fixed in build | 1347 | ||||
|
I tested it with MP4, WMV, AVI and it works fine only for MP4. In case of WMV, AVI it waits for complete reading although in all three cases it seems to use TStreamAccess class which uses our THTTPStream class so there shouldn't be a problem. Seems to be a problem in f_video.dll, to be discussed with Michal... |
|
Michal, I have just found that in fact you don't use TStreamAccess class for playback purposes in f_video.dll, because if I replaced THTTPStream.Create by NIL in TStreamAccess.OpenRead then the playback starts immediatelly for WMV and MP4 so it looks that common filters like ffdshow or WMR7 are able to handle also WMV and MP4 http streams, but in case of AVI it waits until the whole AVI is completelly downloaded. Maybe we need to use a special filter or own reading using THTTPStream class. |
|
WMV fixed in build 1346. MP4 should work for files with header at the beginning of the file (some editors place header at the end). AVI is not format for streaming (typically it has index part at the end of the file), in WinXP even WMP downloads the whole file before playing. AVI splitters I know cannot handle streamed AVI with partially downloaded file. I've tried the system one, Gabest AVI splitter and Haali AVI splitter. In Win7 it uses Media Foundation, which could play somehow streamed AVI. There is no fast general solution, I think, we need to write our own source/splitter filter for AVI for this purpose. Now I can only give preference to Media Foundation in this special case. |
|
Fixed in build 1347. There are still situations, where it can download whole file, but we can do nothing about it now (e.g in XP - AVI, MP4 with the header at the end of the file). |
|
Verified 1353 |