MovieMaker
(1)
LoteSoft
(1)
DirectX
(1)
ManyCam
(1)
Encoder
(1)
Mbps
(1)
Kbps
(1)
Windows2k3
(1)

Encoder dropping 50% frames while broadcasting

Asked By jack123
14-Nov-09 04:58 AM
Hello all,
I am broadcasting through WME and using windows2k3 server on LAN/Internet.
I am getting almost 50% of frame loss. Due to this, I am not getting good
quality video as I expected.

Any comments on how to reduce frame rate will be greatly appreciated.

How have you determined there is frame loss - at the encoder, on theserver or

Neil Smith [MVP Digital Media] replied to jack123
14-Nov-09 07:05 AM
How have you determined there is frame loss - at the encoder, on the
server or on the PC receiving the stream ? Are you sure the PC has
enough download bandwidth availble to play the selected bitrate ?

What is the CPU usage on the PC doing the encoding ?
Check in Task Manager and see if it is mxing out the CPU

Also check WME Tools -> Options -> Performance and move the slider
down to 'better performance' if you are hitting CPU limits (or use a
better PC !)

If you are using MBR, drop the highest bitrate stream and see if the
issue goes away - if it does, you have possibly got issues with the
bandwidth or connection stability between the encoder and the server
(which requires the encoder to re-send content over HTTP)

HTH
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2009
http://mvp.support.microsoft.com/mvpfaqs

Set the Flame rate it go from 5 fpt to 30 fpt I set my cam at 25 fpt+ Setting

Hot-text replied to jack123
15-Nov-09 12:47 PM
Set the Flame rate it go from 5 fpt to 30 fpt  I set my cam at 25 fpt
+ Setting the Format helps to!
if the Resolution set to 160 x 120 the bytes is at 57600 with no Flame rate.
But I run my at 240 x 180 Resolution and the bytes is at 126720 I get 3 to 5
% of frame loss.
hope this will help you out.

Hello 'Neil' & 'Hot-Text' thanks a lot for your comments.

jack123 replied to Neil Smith [MVP Digital Media]
16-Nov-09 01:02 AM
Hello 'Neil' & 'Hot-Text' thanks a lot for your comments.

I have a video that contains 25 frames(frame number is written on each
frame), it is duration is of one second. I am using 'ManyCam' software as a
video device for testing in encoder and playing that movie in ManyCam.
Now I am recording encoder preview by a 'Camcoder' attached to other PC and
saving it to a .wmv  file by movie maker. Now recorded video contains only
50% of original frames.
If I record video at the player end then I am getting only 10 frames out of
25.

There is very less, about 15% of CPU usage.

I have checked it too, but with no luck.

I am using MBR with following setting
Size- 320*240
Bitrate- 282 Kbps
Frame rate - 29.97 FPS

I have 4 to 5 Mbps internet upload and download speed. So I think there is
no problem with bandwidth.

@Hot-Text
Sorry I do not know How to set 'Flame rate'.
Can you please give more information.

Thanks to both of you.
Hmm to isolate the problem I'd inspect the video at each step.
Neil Smith [MVP Digital Media] replied to jack123
15-Nov-09 04:53 AM
Hmm to isolate the problem I'd inspect the video at each step.

You say ManyCam -> WME -> WMV,
then WMV -> MovieMaker ->WMV
then WMV -> Download -> Media Player

So after you record in WME, is the video still playing back locally
(from your hard disk) at 25fps ?

If so, then the problem is the MovieMaker settings, check you have not
got an export which converts to 15fps (such as the themail video'
setting)

If the video plays correctly after moviemaker, but not once you
download from the website, probably media player is set to 'drop
frames to keep audio and video in sync' - untick that in More Options
-> Performance in WMP, and make sure you have DirectX video
acceleration turned on.

HTH
Cheers - Neil
Here is the result of test which I did.1. I recorded video from Hard Disk.
jack123 replied to Neil Smith [MVP Digital Media]
17-Nov-09 01:46 AM
Here is the result of test which I did.

1. I recorded video from Hard Disk. It is  playing at 25FPS.

2. Now I recorded video directly from ManyCam. It is also playing at 25FPS.

3. Then I am opening WME, choosing video device as ManyCam, audio device as
default, in output tab, choosing Push to server(giving server name,
Publishing point), In compression tab(choosing MBR profile(CBR), Bit rate
1128Kbps, Frame rate 29.97FPS, output size 320*240), clicking on Apply
Button.
Still I am not clicking on Start Encoding, now recorded ManyCam preview from
WME(Broadcasting is not started yet).  Recorded video is too showing 25
Frames.

4. Now I clicked on 'Start Encoding'(broadcasting Started). I recorded video
from WME(Video Output window).
This video is dropping 50% of frames. It contains following frames
(1-3-5-7-9-11-13-15-17-19-21-23-0).

5. Now I recorded video at player end(from WMP, downloading from Server).
It is also dropping more frames. And It contains only 10 frames out of 25.
I get this sequence after recording video(3-5-8-10-13-15-18-20-23-0).


I am not getting any helpful information in WME SDK or anywhere on net, how
to overcome this problem ?
Hi Neil,What do you think, is the Encoder actually dropping frames or Am I
jack123 replied to Neil Smith [MVP Digital Media]
19-Nov-09 04:20 AM
Hi Neil,
What do you think, is the Encoder actually dropping frames or Am I doing
some thing wrong in testing ?
jack123 I do have ManyCam and do not know how to set the Flame rate in it.
Hot-text replied to Hot-text
19-Nov-09 12:07 PM
jack123 I do have  ManyCam and do not know how to set the  Flame rate in it.
For I have Split Cam by LoteSoft Co. http://www.splitvideo.com/
I see Neil Smith is helping you you in hands
Post Question To EggHeadCafe