Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 get VLC (and/or libvlc) to generate a SDP file without success. I've tried various combinations and all fail.

Here is the latest attempt:

vlc dshow:// --plugin-path="c:\Program Files\VideoLAN\VLC\plugins" --sout-keep --sout-all --sout=#rtp{dest=,port=8833,sdp=file:///C:\test\my.sdp}

I've tried with file://C:\test\my.sdp, file:///C:/test/my.sdp, file://c:/test/my.sdp etc etc.

Have anyone got it working?

share|improve this question
Tried using a regular C:\test\my.sdp? – Hello71 Mar 12 '11 at 18:06
Have you tried VLC at all? – jgauffin Mar 12 '11 at 19:49
up vote 1 down vote accepted

The most important thing with VLC is to check the message log. So, whne I ran the following:

vlc -vvv dshow:// --sout-keep --sout-all --sout=#rtp{dest=,port=8833,sdp=file:///C:\test\my.sdp}

I got the following in my message log:

stream_out_rtp error: missing destination and not in RTSP mode

This tells me VLC is missing the destination. If you re-analyze the command line you'll notice that you've mistyped dest instead of dst. So you fix the error and now run:

vlc -vvv dshow:// --sout-keep --sout-all --sout=#rtp{dst=,port=8833,sdp=file:///C:\test\my.sdp}

Still no file. It looks like the sdp output module doesn't do much output, but I can tell you from experience here that its the file path that's causing the problem. Use only *nix style slashes in paths, so you fix the path and run:

vlc -vvv dshow:// --sout-keep --sout-all --sout=#rtp{dst=,port=8833,sdp=file:///C:/test/my.sdp}

And, assuming the permissions are setup correctly in the C:\test directory you should get your sdp file.

share|improve this answer
where can I find the log? – jgauffin Apr 6 '11 at 6:19
Tools->Messages – heavyd Apr 6 '11 at 10:48

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.