LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-20-2016, 09:51 AM   #1
kzo81
Member
 
Registered: Aug 2014
Location: Hungary
Distribution: Mint
Posts: 36

Rep: Reputation: Disabled
Raspberry Pi - RTP stream audio from External USB Sound Card


Hi,

Could you please help me a bit?

I'd like to stream the audio sound coming into a USB Sound Blaster sound card attached to my Raspberry Pi to another windows pc, or server on lan. I'd like it to be an RTP stream, and be able to listen into with VLC with minimal latency.

I tried to follow different tutorials, but I can't even record a simple wav file, which would be a first step I think into this direction.

Here are some output:

pi@raspberrypi ~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Pro [Sound Blaster X-Fi Go! Pro], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

I also managed to rearange the order of devices:

pi@raspberrypi ~ $ cat /proc/asound/modules
0 snd_usb_audio
1 snd_bcm2835


But:

arecord -d 5 -D plughw:0,0 testing.wav

results with no sound in it.

I'm lost in the different tutorials, can't decide that I should try with pulseaudio, gstreamer or cvlc.

thanks in advance
 
Old 06-20-2016, 06:41 PM   #2
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Fedora FC23, Raspbian, Ubuntu Precise via Chrome/Crouton
Posts: 350

Rep: Reputation: 41
pulseaudio would allow you to broadcast a rtp stream.

https://www.freedesktop.org/wiki/Sof...r/Network/RTP/
 
Old 06-21-2016, 05:44 AM   #3
kzo81
Member
 
Registered: Aug 2014
Location: Hungary
Distribution: Mint
Posts: 36

Original Poster
Rep: Reputation: Disabled
Hi,

i did try it, but it doesn't work.
I guess the problem is that I can't even record with my soundcard, and even the speakertest doesn't work.
 
Old 06-21-2016, 10:24 AM   #4
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Fedora FC23, Raspbian, Ubuntu Precise via Chrome/Crouton
Posts: 350

Rep: Reputation: 41
What does the error log say? Looks for the reported errors and try to correct them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to build a rtp stream ehsanen77 Programming 3 09-20-2010 05:01 AM
Cannot get flash to work properly with an external USB Audio card - no sound Voland Linux - Software 3 10-02-2008 03:11 PM
External USB Sound Card For Linux btbx Linux - Hardware 1 08-18-2008 07:39 PM
ethereal RTP stream merge cxy0481 Linux - Software 3 06-14-2006 12:31 PM
cdda and external (usb port) extigy sound card pdudzik Linux - General 0 11-19-2003 12:09 PM


All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration