mpxgen icon indicating copy to clipboard operation
mpxgen copied to clipboard

Live audio input?

Open hakao32 opened this issue 4 years ago • 3 comments

Nice project. As I see it can only use a file as input. Is it possible to use audio input device as input? So It can be a MPX coder for live audio. I can put analog L+R and get composite with RDS.

hakao32 avatar Aug 21 '20 14:08 hakao32

In the Makefile, change ALSA = 0 to ALSA = 1 and then run make clean && make to rebuild with ALSA input.

Anthony96922 avatar Aug 21 '20 19:08 Anthony96922

Hi, Antony! When I try to transmit audio from ffmpeg, I get the following error (this is about the last update):

Input does not work for now. av_interleaved_write_frame(): Broken pipe Error writing trailer of pipe:: Broken pipe

recoilstv avatar Mar 21 '21 10:03 recoilstv

The last commit is a major code refactoring to prepare for adding threading. I have disabled audio handling for now. You can checkout commit 397e81e41631cfdae3939f025147a16ff17cdad2 if you still want audio input.

Anthony96922 avatar Mar 21 '21 13:03 Anthony96922