# ZED X ONE input from virtual camera's serial number

**URL:** <https://community.stereolabs.com/t/zed-x-one-input-from-virtual-cameras-serial-number/8466>\
**Category:** C++\
**Tags:** jetson, windows\
**Created:** [March 26, 2025, 3:12pm UTC](https://community.stereolabs.com/t/zed-x-one-input-from-virtual-cameras-serial-number/8466 "2025-03-26T15:12:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tommy](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@Tommy](https://community.stereolabs.com/u/Tommy)\
**Post date:** [March 26, 2025, 3:12pm UTC](https://community.stereolabs.com/t/zed-x-one-input-from-virtual-cameras-serial-number/8466/1 "2025-03-26T15:12:51Z")

</div>

Hello,  
I am using 2 ZED X ONE. I would like to know if it would be possible via code to make an input using the serial number of the virtual camera.  
Now I start the stream from ZEDXONE Media Server and by code I use:  
`_initParameters.input.setFromStream("127.0.0.1", 34010);`  
as written in the [Setting up the ZED X One Stereo](https://www.stereolabs.com/docs/get-started-with-zed-x-one/zed-x-one-stereo).

What I would like to use, though, is:  
`_initParameters.input.setFromSerialNumber(stoi(serial));`

But if I launch the latter, using the virtual camera’s serial number, it tells me:  
`[ZED][WARNING] CAMERA NOT DETECTED in sl::ERROR_CODE sl::Camera::open(sl::InitParameters)`

Thank you in advance for your response

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [March 27, 2025, 11:53am UTC](https://community.stereolabs.com/t/zed-x-one-input-from-virtual-cameras-serial-number/8466/2 "2025-03-27T11:53:38Z")

</div>

Hi @Tommy  
Welcome to the [Stereolabs](https://www.stereolabs.com/) community.

> [@Tommy](#):
>
> What I would like to use, though, is:  
> `_initParameters.input.setFromSerialNumber(stoi(serial));`

This is not possible for virtual stereo cameras.
