Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multicast MPEG2-TS to WMV in Realtime

Status
Not open for further replies.

nospams

Programmer
May 11, 2005
1
DE
Hello,

we have a LiveTV MPEG2 TS multicast stream in our LAN. Now we want
to encode this stream into WMV9 and let the Windows Media Server 2003
provide this stream as an rtsp live channel.

Our approach was to use DirectShow to build a filter graph using
the DSNetwork Multicast Receiver (included in the DirectX examples)
and the WMAsfWriter Filter with the IWMWriterNetworkSink.

The filter graph looks like this:

MPG2-MulticastRecv -> Demux -> Video/Audio Decoder -> AsfWriter

We can connect to the Windows Media Server publishing point using
the Windows Media Player to display the video stream. The problem
is that after the first ~15sec (which seems to be buffered) it plays
very choppy. Using the same encoding profile with the Windows Media
Encoder application (and a mpeg2 file instead a stream as source)
it runs smoothly.

- Can anybody give us a hint, if this is the correct way of realising
such an application?

- Do we have to write an own filter instead of
using WMAsfWriter (which actually seems to need a file to write
into?).

- Is there a way to use the Windows Media Encoder (SDK) with Multicast input?

- A complete different solution without DirectShow (free or commercial products)?

Any help is appreciated!

Thanks!

regards nospams!

 
WMAsfWriter (which actually seems to need a file to write
into?)."

you can do the asfwriter without writing to a file which will obviously improve your performance.

i cant remember the details. i remember reading a post on the site for dspack on the delphi side, i think after building the graph they disconnected the write to disk bit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top