Monday, July 6, 2015

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