I ran into a puzzling problem when trying to receive a multicast IP (of a video from 239.193.140.11:1234).
When $tcpdump dst 239.193.140.11 -w capturedData.pcap
, the packets are captured correctly.
eg, 11:05:25.357138 IP 192.168.34.34.46192 > 239.193.140.11.1234: UDP, length 1328
This means that my machine is receiving the multicast IP packets.
However, when $iftop -i any
is run, iftop doesn't show any bandwidth from 239.193.140.11. Furthermore, when I try to capture the multicast packets with ffmpeg: $ffmpeg -i udp://239.193.140.11:1234?localaddr=192.168.34.34
, no packets are captured.
Why is there a discrepancy between what tcpdump and iftop shows, and how to resolve it so that ffmpeg can capture correctly?
239.193.140.11
, is the destination address, not the source address. You would only ever see traffic to a multicast address, not from a multicast address. – Ron Maupin