Hi
I am writing a Directshow source filter which sources MPEG 2 TS from a Videolan server multicast stream. However I face a strange problem:
The audio sounds badly broken and full of glitches and the AC3 decoder( by Alexander Vigovsky) reports lots of error statistics.
The same stream plays properly in the videolan client.
I changed the filter to read from a file and made VLS save raw TS data to a file. Even then the same errors occur.
Since I am running the server on localhost itself, Im sure it cant be due to UDP packet loss etc, and moreover the video stream is smooth and glitch free.
Any ideas as to why this happens?
Also One more issue i face is to detect which streams map to which pids, How does one find out what the stream type (MPEG2-Video , MPeg2-Audio, AC3 etc) for a given PID is?
Thanks in advance
Vivek