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