LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-20-2024, 03:17 AM   #1
AndreyFran
LQ Newbie
 
Registered: Apr 2024
Posts: 2

Rep: Reputation: 0
Unhappy 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...

Last edited by AndreyFran; 04-20-2024 at 04:13 AM.
 
Old 04-20-2024, 05:26 PM   #2
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
what is the exact output of "ip ad sh" on both the host and guest?
 
Old 04-22-2024, 12:57 AM   #3
AndreyFran
LQ Newbie
 
Registered: Apr 2024
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Skaperen View Post
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
 
Old 04-23-2024, 03:35 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,992

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
I'd use some sort of remote desktop.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No guest audio except once after host is started. QEMU & Linux guest/host starkid Linux - Virtualization and Cloud 0 04-20-2023 07:48 AM
LXer: Early Inventor Of Streaming Video Wants To Help Fight Off Video Streaming Patent Trolls LXer Syndicated Linux News 0 10-06-2012 04:40 AM
LXer: Early Inventor Of Streaming Video Wants To Help Fight Off Video Streaming Patent Trolls LXer Syndicated Linux News 0 10-06-2012 02:50 AM
LXer: Set up qemu-kvm-1.0+noroms as spice enabled qemu server vs qemu-kvm-spice on Ubuntu Precise LXer Syndicated Linux News 0 05-26-2012 07:41 AM
Guest to Host message passing - guest's memory usage statistics & guest's IP address Prince_Pangeni Linux - Virtualization and Cloud 2 03-03-2012 03:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration