View Issue Details

IDProjectCategoryView StatusLast Update
0007255MMW v4Playerpublic2011-03-15 23:21
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version4.0 
Target Version4.0Fixed in Version4.0 
Summary0007255: UPnP downloads entire file before playing video
DescriptionIf 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.
TagsNo tags attached.
Fixed in build1347

Relationships

related to 0006359 assignedLudek Full Tracks played from URL can't be seekable 
related to 0007299 closedmichal Windows XP/Vista cannot stream common video formats 
related to 0007497 closedLudek Playing video from Media Servers doesn't work in some cases 

Activities

Ludek

2011-01-28 19:42

developer   ~0022691

Last edited: 2011-01-28 20:06

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...

Ludek

2011-01-28 20:49

developer   ~0022692

Last edited: 2011-01-28 20:51

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.

michal

2011-01-31 15:03

developer   ~0022726

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.

michal

2011-02-03 13:35

developer   ~0022830

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).

peke

2011-03-15 23:21

developer   ~0023723

Verified 1353