PDA

View Full Version : help with file streaming in xbmc


hemmer
2006-01-04, 11:07
ok here is exactly what i want to do and i want to know if anyone can do it or if there is a setting that i can set or if someone will help me figure this out.

i have a web server i want to put a file on the server like a .avi file then i make a .m3u file with the http link to the file inside it. then i put it in my playlists dir and when i go into video in xbmc i click it and it takes time to cache and figure out what filetype it is and it starts playing. i know that the file is being downloaded to the cache then it plays it and i assume as it plays it its deleted to make room for more movie in the cache and it just keeps doing that until its over im not 100% on how that works. this file is not on a stream server its on a web server and its a normal xvid encoded .avi or its a nero encoded mp4 which does work better on playback than an avi but still is the same concept here its a video that is not streamed its just a normal video. now all that works but 90% of the time i will get buffering and halts and the video doesnt playback right and sometimes the video will play perfect through the whole thing. the problem i think i am having is that my webserver limits the connection somehow where i can only get maybe 100kb or so when i make an http connection to a file but if i use a download accelerator type program i can make like 8 connections and get 800kb or more.

so with that said is there a way that the mplayer or xbmc or a python script something where when xbmc grabs a url or a file to stream whatever you can set it to make multiple connections to make the file download faster? or is there a setting somewhere that you can set it to do that already.

also im not sure if its a problem with just my cache size i am not sure what it should be set at for for the internet video which controls that cache for the video i am trying to play but ihave tryed many different settings and i cant seem to get that to fix it so if you have a suggestion on that let me know too.

if anyone can help please do i think that this would be something that everyone would want as a feature or an option to make downloading faster and video streaming work better.

kraqh3d
2006-01-04, 17:05
if you're using an http url, then it is considered internet streaming, and mplayer will handle the caching... you cannot shorten the caching time by using more connections... the only way to make it faster is not to a webserver, and not to use an http url.