MPEG 2 TS datarate and VLC

About encoding, codec settings, muxers and filter usage
Guest

MPEG 2 TS datarate and VLC

Postby Guest » 23 Jun 2005 11:29

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

mguertin
Blank Cone
Blank Cone
Posts: 30
Joined: 13 Jun 2005 21:00

Postby mguertin » 27 Jun 2005 20:08

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.

Guest

Postby Guest » 03 Jul 2005 18:29

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


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 12 guests