Problem with transcoding and streaming

About encoding, codec settings, muxers and filter usage
jingke2000
Blank Cone
Blank Cone
Posts: 12
Joined: 17 Sep 2006 21:39

Problem with transcoding and streaming

Postby jingke2000 » 13 Mar 2007 22:56

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!

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 13 Mar 2007 23:10

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{...}.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

jingke2000
Blank Cone
Blank Cone
Posts: 12
Joined: 17 Sep 2006 21:39

Postby jingke2000 » 14 Mar 2007 04:10

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.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 17 Mar 2007 18:30

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)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 5 guests