Mike
Guest
|
Posted:
Mon Oct 04, 2004 10:05 am Post subject:
Lost packages on Window Media Player |
|
|
Hi,
We developed an encoder application using Medai Format SDK 9.5 for our
NetCamera. Here is what we did.
(1) Get the stream data from NetCamera (MJPEG data).
(2) decode the image and recompress the stream data based on the cutomized
profile (prx file)-- we use 300KB
(3) broadcast the asf stream data on the HTTP port-8080.
- Create the Network sink and attatch it to WMWriter object
- send stream data using pWMWriter->WriteSample
We then use Media Player 9.0 on other machine to view the video stream. For
the most of time, the media works fine, but sometime, we found it stops to
get the video stream data from our encoder. After it stops for several
seconds, it buffers video stream data from encoder again. We implemented the
preview feature on our encoder. The preview works all the time.
Just don't know why Media Player stops to get media stream data from encoder
for several seconds once a while.
ALl our system works in local network (10M local network).
Anybody has any comments?
Thanks
Mike
|
|
Mike
Guest
|
Posted:
Mon Oct 04, 2004 10:19 am Post subject:
RE: Lost packages on Window Media Player |
|
|
One more question, when we run multiple instances of our encoder with
NetCamera, we found the lost packages happenes more frequently on the Media
Player machine. The preview function works fine all the time on all encoders.
Is there anybody who knows this problem?
Thanks
Mike
"Mike" wrote:
| Quote: | Hi,
We developed an encoder application using Medai Format SDK 9.5 for our
NetCamera. Here is what we did.
(1) Get the stream data from NetCamera (MJPEG data).
(2) decode the image and recompress the stream data based on the cutomized
profile (prx file)-- we use 300KB
(3) broadcast the asf stream data on the HTTP port-8080.
- Create the Network sink and attatch it to WMWriter object
- send stream data using pWMWriter->WriteSample
We then use Media Player 9.0 on other machine to view the video stream. For
the most of time, the media works fine, but sometime, we found it stops to
get the video stream data from our encoder. After it stops for several
seconds, it buffers video stream data from encoder again. We implemented the
preview feature on our encoder. The preview works all the time.
Just don't know why Media Player stops to get media stream data from encoder
for several seconds once a while.
ALl our system works in local network (10M local network).
Anybody has any comments?
Thanks
Mike |
|
|