[FFmpeg-user] Stream to a specific lancard
Mettavihari D
tv.lists at gmail.com
Mon Oct 8 21:25:34 EEST 2018
Greetings
My os is Debian
I have 2 lan cards which I want to stream 2 streams to.
This is my commands.
ffmpeg -re -i file2.ts -c:v copy -c:a copy -muxrate 2000k -f mpegts udp://
224.x.x.x:port <http://224.11.2.206:5180?ttl=30&pkt_size=1316>1
ffmpeg -re -i file1.ts -c:v copy -c:a copy -muxrate 2000k -f mpegts udp://
224.y.y.y: <http://224.11.2.207:5180?ttl=30&pkt_size=1316>port2
It works well, but It goes to the same lan card
This is my route
#ip route list
>
> default via 192.168.10.1 dev enp2s0
> 10.0.7.220/30 dev enp3s0 proto kernel scope link src 10.0.7.222
> 10.0.7.224/30 dev enp4s0 proto kernel scope link src 10.0.7.224
> 192.168.10.0/24 dev enp2s0 proto kernel scope link src 192.168.10.2
> 224.0.0.0/4 dev enp3s0 scope link
> 224.0.0.0/4 dev enp4s0 scope link
>
How do I tell ffmpeg which lan card to deliver its stream to.
With metta
Mettavihari
>
More information about the ffmpeg-user
mailing list