Super User is a question and answer site for computer enthusiasts and power users. 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

Good day to all... I have some "little" problems with ffserver and ffmpeg...

What I need to do is to broadcast a live video. So I got the cam... used vlc and used send stream option. I sent it to, which is a virtual machine on the same computer, running centos.

On the virtual machine I run the command ffmpeg -i output.mpg.

The response is "unable to find file whatever".

Can any1 tell me what I did wrong?

Thank you and have a great day.

Print-screen with error:

enter image description here

share|improve this question
up vote 2 down vote accepted

FFmpeg uses the file protocol for a resource if a protocol is not specified. Since your input resource ( has no protocol attached, it is being treated as a filename.

Figure out what protocol VLC is streaming with and reformat your input resource to look like the specification given in FFmpeg's list of protocols. It will probably look something like

ffmpeg -i protocol:// output.mpg
share|improve this answer
Just to expand on lewist's correct answer, possible protocols would include http and rtsp. – CarlF Feb 25 '11 at 21:47

According to ffmpeg's help output (ffmpeg -h):

 -i filename         input file name

This means that after the -i switch, ffmpeg expects to find the file, not the address. So the right syntax would be:

 ffmpeg -i output.mpeg
share|improve this answer
Except that -i expects the input file name, and output.mpeg is clearly the output file. – kate Feb 25 '11 at 20:01
Oh, now I get what he wanted to do. You are right. Thanks for correcting me. – loxs Feb 25 '11 at 20:26
My last comment was rude. Sorry, +1 for putting up with that. – kate Feb 25 '11 at 20:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .