Re: Network source filter



On Dec 23, 10:57 am, dev <krt....@xxxxxxxxx> wrote:
On Dec 21, 4:05 am, Tim Roberts <t...@xxxxxxxxx> wrote:



dev <krt....@xxxxxxxxx> wrote:

I need to use/develop a network source filter,(UDP multicast receipt)
for mpeg2 transport stream.

I am currently using existing DSNet filter, but the performance is not
so good when it comes to 15Mbps streams. Incoming stream has lots of
discontinuity and playback is a way too jerky.

I am not sure if it is because of buffer constraints in the DSNet
filter or underlying network driver is not capable to handle such a
burst [yet to check on network driver].

What is your network wire?  A 10Base-T network at 10Mbps is going to have a
lot of trouble carrying a 15Mbps stream, as will an 802.11b carrier.
--
Tim Roberts, t...@xxxxxxxxx
Providenza & Boekelheide, Inc.

Hi Tim,

My network wire is 10/100 Mbps link
it is not Wireless LAN.

Regards,
Dev

Hi,

Thanks a lot for inputs,

I wrote a network push filter from scratch,base classes used CSource
abd CSourceStream, with support of socket reads.

I have buffers of size 1316bytes 800 in number.I read in to them in a
thread .
The buffers are dispatched out in FillBuffer call. Both read and
writes synched using semaphores.

I tried the following:
1. output one buffer at once from read pool, 1 buffer of 1316 is
copied into IMediaSample in FillBuffer.
Result: Jerky play out

2. compared to FILE push source filter I had for the same
graph ,difference was amount of data read:
in case of file push it was 8192 chunks, here in case of network it is
1316 ...
So I copied almost 5 buffers from pool into 1 IMediaSample in
FillBuffer, result was worse, I got more discontinuities in my
downstream filters.


When I copied more samples into output at once, do I have to rip any
UDP header or as such ?? I do not know what is the difference when I
did file read and network read of the same file?
I want to give more data to the mux, approx 8k size but socket reads
gives only 1316 at once ...
How do I achieve this without getting more discontinuities?

Or my approach and understanding itself is wrong ?

Any input would be great help.

Regards,
dev
.



Relevant Pages

  • Re: Network source filter
    ... I need to use/develop a network source filter, ... for mpeg2 transport stream. ... I am currently using existing DSNet filter, ... I am not sure if it is because of buffer constraints in the DSNet ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: directshow and windows format for broadcast ?
    ... > by now I've build a filter graph that capture live stream from a webcam, ... > over the network but it's too slow ... writing a custom render filter to send out samples, ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: directshow and windows format for broadcast ?
    ... > by now I've build a filter graph that capture live stream from a webcam, ... > over the network but it's too slow ... writing a custom render filter to send out samples, ...
    (microsoft.public.multimedia.directx.dshow.programming)
  • Re: directshow and windows format for broadcast ?
    ... > by now I've build a filter graph that capture live stream from a webcam, ... > over the network but it's too slow ... writing a custom render filter to send out samples, ...
    (microsoft.public.windowsmedia.sdk)
  • Re: March 29, 2006 total eclipse - IT admins WORST NIGHTMARE
    ... and NewsProxy is the answer for that. ... > Comcast news server. ... simply filters out what I dont want on the network. ... NewsProxy - Network level killfile and content filter for Usenet. ...
    (comp.security.firewalls)