Page 1 of 1

Streaming problem: video, but no wma2 audio

Posted: 15 Jun 2006 12:29
by jrleighton
Using VLC on win32, I can play a streamed windows media file (such as http://news.bbc.co.uk/media/avdb/news_w ... 6x9_nb.asx ) in windows media player, and I can play it in VLC.

What I cannot do, however - and what I am trying to do - is to take the stream and then stream it out again correctly.

Using a second instance of VLC on the same machine, and picking up the resultant HTTP stream from the first VLC instance, I get the video fine. But no audio. I have tried this with a number of streams.

Always there is either one of two errors - and always to do with the audio codec wma2.

Can anyone help point me in the right direction please ?

Thanks.


More data:

Streaming: :sout=#duplicate{dst=std{access=http,mux=ts,dst=:1234}}

Current error log is (a snippet only)

ts error: cannot peek
main error: cannot add this stream
main error: cannot create packetizer output (wma2)

how to fix this !

Posted: 15 Jun 2006 12:52
by jrleighton
Yes, I wrote the original post above. Always the way, isn't it - you spend hours getting fustrated, searching in forums and elsewhere. Then you post into the forum, and then after 5 mins more fiddling, you fix it.

Here's what I did:-

It seems that VLC uses Microsofts direct show codecs for WMV/WMA streaming - so perhaps this is the reason for this issue.

Instead of using RTP or HTTP to stream, simply stream in MMSH.

Then using mmsh://localhost:1234 in another VLC instance - you get the audio and the video.

Hope this helps any others out there.