Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Having trouble getting the following command to stream audio through udp, is there a parameter missing?

ffmpeg -f alsa -ac 1 -i hw:1 -ar 44100 -f mpegts udp://

The server recognizes it, here is a tcpdump on port 10000:

IP > UDP, length 1316
IP > UDP, length 1316
IP > UDP, length 940
IP > UDP, length 1316
IP > UDP, length 1316

After looking at the packets in WireShark:

source         destination    protocol size   description
192 kb/s       44.1 kHz       MPEG-1   1358   Audio Layer 3[Malformed Packet] MPEG TS  1358   Source port: 46947  Destination port: distinct

I have been following this tutorial:

share|improve this question

1 Answer 1

up vote 1 down vote accepted

this is the command that worked:

ffmpeg -f alsa -i hw:1 -acodec libvo_aacenc -f mpegts udp://
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.