Wednesday, July 8, 2015

Re: [Discuss-gnuradio] Audio streaming

Thanks, Marcus!

 

I started with the first way you gave below because it is easier for me. I will change to the second way later because I don’t want the remote VLC to need to be instructed about the sample format and rate.

 

Mark.

--

"Aim for brevity while avoiding jargon."

~ Edsger Dijkstra

 

From: discuss-gnuradio-bounces+mark.w.christiansen=l-3com.com@gnu.org [mailto:discuss-gnuradio-bounces+mark.w.christiansen=l-3com.com@gnu.org] On Behalf Of Marcus Müller
Sent: Monday, July 06, 2015 10:17 AM
To: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Audio streaming

 

Dear Mark,

dozens of options -- you could just use the ZMQ sinks/sources to send these samples to GNU Radio on the target PC, but you could also just take these float samples, and shuffle them into the UDP sink, and instruct that to send the packets to your target VLC's port (watch all the firewall/networking problems that could happen underway). You will need to instruct your VLC that what is coming is raw float samples at the sampling rate you use.

Another, bandwidth-efficient approach would be writing these samples, using the file sink, into a FIFO. Under Linux, you can generate a FIFO with "mkfifo", and open that FIFO with a local VLC; then you can use VLC's versatile compression and streaming functionality.

Best regards,
Marcus

On 07/06/2015 06:12 PM, mark.w.christiansen@L-3com.com wrote:

I have an AM demodulator producing audio data. How do I stream that audio to another computer to play out the audio using VLC?

 

Mark.

--

"Ninety percent of everything is crud."

~ Theodore Sturgeon

 

 

 




_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

 

No comments:

Post a Comment