... Since you appear to have replaced it with "%vlc_transcode%".
Try this sout string, editing you #transcode{...} parameters accordingly (creating using the "Stream Output" section in VLC's Qt4 interface

):
Code: Select all
:sout=#transcode{vcodec="mp1v",vb="800",scale="1",acodec="mpga",ab="128",channels="2"}:std{access="file",mux="mpeg",dst="C:\test.mpg"}
i.e. mux should be "mpeg" not "mpeg1" AFAIK.
Arite.
Sorry, you are right, I did not quote the query properly.
This is what I was using:
Code: Select all
vlc.exe -vvv mms://foo.bar :sout=#transcode{vcodec=mp1v,acodec=mpga,vb=256}:duplicate{dst=display,dst=std{access=file,mux=mpeg,dst=c:\\test.mpg}}
If I use that query I get the same error, "Streaming / Transcoding failed:VLC could not open the encoder."
Using the code you gave:
Code: Select all
vlc.exe -vvv mms://foo.bar :sout=#transcode{vcodec="mp1v",vb="800",scale="1",acodec="mpga",ab="128",channels="2"}:std{access="file",mux="mpeg",dst="C:\test.mpg"}
Does not start recording at all and does not give any errors, (but it creates an empty file)
F.