Low latency audio transmitting with vlc and ffmpeg

SENDER:

ffmpeg -d -vol $VOLUME -f alsa -i $HWID -vn -vol $T_VOLUME -strict experimental -acodec $T_CODEC -ac $T_CHANNELS -ar $T_RATE -ab $T_BANDWIDTH -f rtp udp://${T_IP}:${T_PORT}

RECEIVER:

vlc -d –rc-fake-tty -I dummy -I oldrc –config $VLCCONFIGDIR/$BID.rc –rc-host $TELNET_IP:$TELNET_PORT –aout alsa –alsa-audio-device $HWID rtp://@:$RTP_PORT > /dev/null 2>&1 &

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s