please try to overlook any grammatical mistakes i make, still learning english
![Smile :)](./images/smilies/icon_smile.gif)
As the subject says, i want to stream audio only from the input or output of my soundcard. to be more precise: i'm trying to stream the output from my e-piano (plugged in my soundcard input) in some kind via vlc. i recently changed from windows 7 to ubuntu 10.10 and i still have my little differences getting how some things work. i tried to run the whole idea with icecast2 before, but setting it up properly is quite a pain in the arse (which means i failed), so i was hoping vlc could be the more easy way to stream my audio.
My current vlc version is 1.1.4. Here is what i tried already:
1. i chose the "streaming" entry from the media menu
2. capture device -> capture mode?
well this is where i am at a loss. the capture mode "video for linux 2" is default and looks like the best option. other options are: "video for linux", "pvr", "dvb" and "desktop". there is no audio only mode, so i use "video for linux 2" and just leave the video device name empty hoping this could work. for audio device name i fill in the alsa device name "hw:0". i am not used to the way linux device management and naming works, but i think i found out this is the way how alsa stuff is being adressed. too bad there is no dropdownmenu.
3. i click stream, the stream config window pops up
4. source
the windows wants me to check the source first, which is preconfigured as "v4l2://" and of the "v4l2" type. i cannot edit this source at all and have absolutely no idea what "v4l2" is, so i click next hoping it will work.
5. destination
i choose "http" as type and click "add", leave port 8080 as it is and leave the path-field with the default "/"
5.1 transcoding options
i have no idea if i even need transcoding, but i guess its necessary to use a transcoded (compressed?) stream, because my upstream bandwith for internet is not enough for any uncompressed stuff. in the dropdownmenu "profile" i choose "audio - mp3", any player should be able do play this on the other end of the cable. next.
6. options
there is an option which says "stream all elementary streams", i dont know if i have to check it so i leave it blank.
7. stream
i click stream. sometimes a window complains about some mpeg1/2/3 codecs missing though i am transcoding with mp3. sometimes it complains about some video stuff, but i am NOT streaming video?! sometimes it does stream, but when i connect from another pc over network nothing happens
i dont know if vlc is the right approach for my piano streaming. if some of you can tell me what else would definitely work, please give me tips. i am aware there is something called google which can help me find answers, but i dont really find someting, it is outdated or not for linux purposes. if there is something definitely working for windows please tell me, i also have access to another windows pc.
anyway, thank you