Page 1 of 1

Problem with transcoding and streaming

Posted: 13 Mar 2007 22:56
by jingke2000
I downloaded and installed VLC 0.8.6a. Using it, I'm trying to transcode a MPEG4 streaming video source to WMV and stream the WMV to clients at real time. However, when I use Windows Media Player 10 to view it, it's only black screen. It looks like the connection is fine. The media player receives data. I used mms://<host IP>:8080 on client side. Here's the comand line for VLC:
vlc -vvv rtsp://<URL of video source> :sout=#transcode{vcodec=wmv3,vb=1024,scale=1,acodec=wma,ab=32,channels=2}:duplicate{dst=std{access=mmsh,mux=asfh,dst=:8080}}

I'm brand new to VLC. Anyone can see the problem?

Thanks!

Posted: 13 Mar 2007 23:10
by dionoea
I'm not sure if VLC can encode in wmv3 (it definitively can't on OSes other than Windows, I'm not sure if we use the Microsoft binary encoders on Windows). Can you try using vcodec=DIV3 or wmv2?

Btw, if you only have one output you don't need to use the duplicate{} item. You can just use: #transcode{...}:std{...}.

Posted: 14 Mar 2007 04:10
by jingke2000
Thanks for the quick reply and the tip.
VLC 0.8.6a is supposed to support WMV3 transcoding according to the release note. I have successfully transcoded a MPEG4 file to WMV3 format. And yes, I'm working with Windows XP sp2.

Posted: 17 Mar 2007 18:30
by dionoea
Well i don't really have a clue about what your problem is. Could you paste the VLC debug log ? (might be full of interesting details)