I was looking to do the same and I actually found how to do it for FLV files. Although I cannot guarantee that it will work for other formats, I think the principles are the same. You need to add the parameter bufferlength=X to the string...
More