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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.