LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Streaming video from guest to host QEMU. (https://www.linuxquestions.org/questions/linux-networking-3/streaming-video-from-guest-to-host-qemu-4175736248/)

AndreyFran 04-20-2024 03:17 AM

Streaming video from guest to host QEMU.
 
Hi!
I have Linux on my computer.
Windows is installed in the QEMU virtual machine.
A webcam has been added to the virtual machine.
What is the best way to transfer an image from a virtual machine's webcam to the host machine?
Do I need to use a bridge?
I'm a little confused.
Thank you.

P.S. My host machine IP is 192.168.1.23/24.
I do translation in OBS on my guest machine udp://192.168.1.30:11000. And when I try to receive on host by udp://192.168.1.30:11000, there is nothing...

Skaperen 04-20-2024 05:26 PM

what is the exact output of "ip ad sh" on both the host and guest?

AndreyFran 04-22-2024 12:57 AM

Quote:

Originally Posted by Skaperen (Post 6497390)
what is the exact output of "ip ad sh" on both the host and guest?

It's a host:

Code:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
      valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
      valid_lft forever preferred_lft forever
2: enp44s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether a0:36:bc:20:72:51 brd ff:ff:ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether a0:59:50:65:e4:83 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.5/24 metric 600 brd 192.168.1.255 scope global dynamic wlan0
      valid_lft 9796sec preferred_lft 9796sec
    inet6 2403:6200:8871:2154:a259:50ff:fe65:e483/64 scope global dynamic mngtmpaddr noprefixroute
      valid_lft 259200sec preferred_lft 172800sec
    inet6 fe80::a259:50ff:fe65:e483/64 scope link proto kernel_ll
      valid_lft forever preferred_lft forever
5: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 52:54:00:b8:ff:5e brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
      valid_lft forever preferred_lft forever
6: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master virbr0 state UNKNOWN group default qlen 1000
    link/ether fe:54:00:c4:c6:5a brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc54:ff:fec4:c65a/64 scope link proto kernel_ll
      valid_lft forever preferred_lft forever

It's the guest:

Code:

Ethernet adapter Ethernet Instance 0:

  Connection-specific DNS Suffix  . :
  Link-local IPv6 Address . . . . . : fe80::6a2b:2a2b:577c:5f81%5
  IPv4 Address. . . . . . . . . . . : 192.168.122.30
  Subnet Mask . . . . . . . . . . . : 255.255.255.0
  Default Gateway . . . . . . . . . : 192.168.122.1


jefro 04-23-2024 03:35 PM

I'd use some sort of remote desktop.


All times are GMT -5. The time now is 10:22 PM.