Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Multicast MPEG2-TS to WMV in Realtime

Multicast MPEG2-TS to WMV in Realtime

Multicast MPEG2-TS to WMV in Realtime


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

- 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!


regards nospams!

RE: Multicast MPEG2-TS to WMV in Realtime

" WMAsfWriter (which actually seems to need a file to write

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 www.progdigy.com site for dspack on the delphi side, i think after building the graph they disconnected the write to disk bit.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close