Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to stream (multicast) a x264 encoded file using VLC. This in itself succeeds, but the stream has a huge lot of artifacts. This seems to suggest that the data cannot be transported fast enough. If I check network usage, though, it's only using about 15 mbit.

I have a similar SD stream which functions perfectly. I think I could improve stream performance by not streaming the raw data, but I cannot seem to get this working. It seems that on keyframes all artifacts are removed for a short while (less than a second).

This is the command I use:

vlc -vv hdtest.mkv --sout '#duplicate{dst=rtp{dst=ff02::1%eth1,mux=ts,port=5678,sap,group="Testgroup",name="TeststreamHD"}}' --loop

Which is all one long line.

I really do not want to transcode the stream. In the future this box would have to offer multiple streams. We're talking about a P4 2,8 gHz with 2 GBs of memory.

share|improve this question
up vote 0 down vote accepted

It's probably packet loss. Are your switches optimizing multicast or just flooding the traffic out all ports?

You can transcode the stream - I use something like


keyint specifies how often to put a keyframe in the stream - the lower it is, the better the stream will recover from dropped packets in my experience.

share|improve this answer
I don't know about packet loss. There is one (1) gbit switch between the server and my client. It's a dumb switch, so I figure it'll just spam the trafic over all the ports :) Also, packetloss does not explain why my SD stream works flawlessly. – Zsub Jun 18 '10 at 11:28
accepting because no one else answered :) Thanks! – Zsub Nov 21 '11 at 14:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.