Page 1 of 1

MPEG 2 TS datarate and VLC

Posted: 23 Jun 2005 11:29
by Guest
Hi Folks

I am writing an MPEG2 TS directshow source filter that will read from a VLC stream, But im facing a small problem.
The VLC streams data at 700KB/s exactly , but the directshow graph which renders it wants it at a faster rate, causing buffer underruns and breaks in the video.

Does the MPEG2 specs define a fixed datarate?
Is it possible to configure VLC to stream faster?

Thanks in advance
Vivek

Posted: 27 Jun 2005 20:08
by mguertin
It's not a fixed rate AFAIK. I streamed a 17,000 kbit stream last week via MPEG4, and I know I have streamed higher data rates than that with mpeg2.

Posted: 03 Jul 2005 18:29
by Guest
Hi

Ive been struggling with this for several weeks now and Im unable to find any solution.

If I buffer the data before rendering, there is eventually buffer overflow or underflow.
Reading data as required using recvfrom() in the rendering loop cause broken video.

Why does VLC stream data at a slower rate than required by an mpeg ts decoder?
Is it actually dropping data for some reason?

I am testing on localhost itself , so bandwidth is hardly a problem, If I run a small UDP test program, it shunts data at several 10's of megabits per second.

Regards
Vivek