Page 1 of 1

I'm sorry, question on audio streaming to WMC (again)

Posted: 19 Sep 2006 15:09
by tommer
I'm trying to stream from VLC using the following:

:sout=#transcode{acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=mmsh,mux=asfh,dst=:1234}}

But unfortunately, I'm not able to open the stream using either WMC or VLC.

When I change to
:sout=#transcode{acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=http,mux=ts,dst=:1234}}

I'm able to open with VLC but not with WMP which is what I really need.

Any suggestions?

Posted: 21 Sep 2006 08:06
by tommer
Nodbody knows :(

Posted: 21 Sep 2006 09:00
by raden
maybe you can try these
--sout '#transcode{vcodec=DIV3,acodec=mp3,fps=20,channels=1,samplerate=32000,audio-sync}
:duplicate{dst=standard{access=http,mux=asf,url=192.168.1.222:1234},
dst=standard{access=mmsh,mux=asfh,url=192.168.1.222:1235}}' --volume 256
VLC can use http and mmsh protocol, and WMP use mms protocol.
Maybe it can help you

regards

Posted: 21 Sep 2006 22:34
by dionoea
Nodbody knows :(
We'd need more info about the "can't connect" part of your problem :) What URL are you using ? (in VLC and in WMP ?)

Posted: 26 Sep 2006 22:07
by tommer
Hey, thanks for responding!

I get a C00D0BB8 error. Microsoft:
C00D0BB8: Cannot play the file
Windows Media Player cannot play the file. You might encounter this error message for the following reason:
You are trying to play an MP3 file that contains compressed ID3 headers. The ID3 header is a portion of the file that stores the song's album information (for example, the song name, artist name, album name, and genre). This information is sometimes called a "tag."
To fix the problem, make a copy of the file and then use a non-Microsoft ID3 tag editing program to remove or reset the file's ID3 headers. After you remove the ID3 headers, Windows Media Player should be able to play the MP3 file.
Attempting to remove ID3 headers might damage the file and make it unplayable. Therefore, always make a copy of the file before you edit it.
If this solution does not resolve the problem, the file might be corrupted
I'm struggeling like h... here, any help would be very much appriciated!

The code I'm using from VLC media player is mms://10.0.0.3:1234

Same from Windows Media Player.

Tom

Posted: 26 Sep 2006 22:10
by dionoea
use mmsh for access and asfh for mux. Then connect using mmsh://<ip>:<port> from VLC or mms://<ip>:<port> from WMP. This should work well. (If you need video, use DIV3 as the video codec in transcode)

Posted: 26 Sep 2006 22:30
by tommer
use mmsh for access and asfh for mux. Then connect using mmsh://<ip>:<port> from VLC or mms://<ip>:<port> from WMP. This should work well. (If you need video, use DIV3 as the video codec in transcode)
I'm using:
:sout=#transcode{acodec=mp3,ab=96,channels=2}:duplicate{dst=std{access=mmsh,mux=asfh,dst=:1234}}

When entering mmsh://10.0.0.3:1234 in VLC a large display is shown for 4 seconds, it's closed and I'm back to the player again (without any sound...)

When entering mms://10.0.0.3:1234 in WMC i get the C00D0BB error :(

Posted: 26 Sep 2006 23:39
by dionoea
well you're the first person for who it fails. Do you have more info ? (like what input do you have ? debug messages from the server ?)

Posted: 27 Sep 2006 00:23
by tommer
I really appriciate you're trying to help me out, I've been trying to get this working for ages...

What I'm trying to do is to stream directly from my soundcard (Directshow) with input line connected to a (Hauppauge WinTV) radio. When changing to an mp3 file the setup works... :o, and I can connect from WMP

Does this mean that what I'm trying to will not work?

Where can I find debug messages from server

Thanks
Tom

Posted: 27 Sep 2006 08:23
by tommer
Actually, I did try the same setup on another PC and I had the same issue there...

Does this mean that it is impossible to stream audio from line in into Windows Media Player? :(