|
|

08-08-2011, 02:02 AM
|
|
Senior Member
|
|
Join Date: May 2011
Posts: 63
|
|
HTTP Pseudo-Streaming bug, the video is slow, and lag
|

08-08-2011, 02:54 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,287
|
|
have you tried this video on other web server like apache?
this will give us more info.
update:
I tried this video on LAN with 256K Outbound Bandwidth (bytes/sec) limit, and JWPlayer 5.7(http://developer.longtailvideo.com/t...fl5/player.swf), seek working fine.
not sure if the file name will cause any problem, I renamed it to video.mp4 before testing.
Last edited by NiteWave; 08-08-2011 at 03:51 AM..
|

08-08-2011, 04:36 AM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 65
|
|
|
I had same problem on KVM, under OpenVZ everything was fine. Are you using any sort of virtualisation?
|

08-08-2011, 05:25 AM
|
|
Senior Member
|
|
Join Date: May 2011
Posts: 63
|
|
Quote:
have you tried this video on other web server like apache?
this will give us more info.
update:
I tried this video on LAN with 256K Outbound Bandwidth (bytes/sec) limit, and JWPlayer 5.7(http://developer.longtailvideo.com/t...fl5/player.swf), seek working fine.
not sure if the file name will cause any problem, I renamed it to video.mp4 before testing.
|
No. I don't use Apache. Seeking time is ok, but the video's frame starting lagging, not smooth. i have tried to rename the file for long time ago but it's not working. Can you show me your mp4 link?
Quote:
|
I had same problem on KVM, under OpenVZ everything was fine. Are you using any sort of virtualisation?
|
I am using a VPS with 768 MB RAM. Is it the bottleneck? But another videos work correctly (after seek time, it's play normally, not lag in frame). Maybe, i don't know which virtualization software is used by my VPS provider, but it can be KVM.
Last edited by redstrike; 08-08-2011 at 05:28 AM..
|

08-08-2011, 05:32 AM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 65
|
|
|
It could be due to some kind of IO buffering in KVM, dont really know, I just went with OpenVZ. Which VPS provider do you use then?
|

08-08-2011, 05:43 AM
|
|
Senior Member
|
|
Join Date: May 2011
Posts: 63
|
|
Quote:
Originally Posted by meto
It could be due to some kind of IO buffering in KVM, dont really know, I just went with OpenVZ. Which VPS provider do you use then?
|
My VPS Provider told me that they are using something similar to Parallels Virtuozzo. I hope this is not LiteSpeed's bug.
|

08-08-2011, 05:53 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,287
|
|
Quote:
|
Can you show me your mp4 link?
|
it's in a LAN. I just created a test.html:
Code:
<embed
flashvars="file=video.mp4&provider=http&http.startparam=start"
width="876" height="480"
src="player.swf"
allowfullscreen="true"
allowscriptaccess="always"
wmode="transparent"
/>
the video.mp4 is the "problem" mp4, player.swf is JWPlayer 5.7 as mentioned before.
can you access test.html on your server and see if same problem.
|

08-08-2011, 07:53 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,287
|
|
|
got it ... I think it's bit rate / bandwidth issue.
when your bandwidth is wide enough, you can host high bit rate videos;
otherwise only low bit rate video can play smoothly.
the video itself has no problem.
|

08-08-2011, 08:32 AM
|
|
Senior Member
|
|
Join Date: May 2011
Posts: 63
|
|
Quote:
Originally Posted by NiteWave
got it ... I think it's bit rate / bandwidth issue.
when your bandwidth is wide enough, you can host high bit rate videos;
otherwise only low bit rate video can play smoothly.
the video itself has no problem.
|
I have converted those files using VBR-2 pass method. The bit rate of each scene is high and low in a dynamic way. You mean the overall bit rate (file size) or the bit rate per second ?
I see, i have checked another videos. It show that the videos which over 26 MB is laggy, below 25 MB is ok.
But i think another issue is the frame rates of those videos. 29.97 fps, 30 pfs is better than 25 fps? And how much banwidth is enough for streaming videos with quality over 360p (480p, 720p)? I don't sure about this situation...
Update: I have re-converted the video to a new version which has preset similar to Youtube's 480p: http://www.youtube.com/watch?v=kypfWa6b_7g The framerates from 25 pfs to 24 pfs. At: http://www.raphay.com/test1.html
But it's still not working. Was CPU of server the bottleneck?
Last edited by redstrike; 08-08-2011 at 10:13 AM..
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 09:48 PM.
|
|