DirectShow integration of VLC Unity is apparently broken
Posted: 31 Aug 2023 19:49
Namely, if MediaPlayer URL="dshow://":
- When ":dshow-vdev" parameter is set to OBS virtual camera (default video capture device) or not set, it will only play the first frame.
- I successfully observed frame buffer update using Unity debugging, however all video frames in the buffer appears to have identical data.
- When ":dshow-vdev" parameter is set to other cameras, it will be ignored and fallback to the above effect.
Test code detail: https://stackoverflow.com/questions/769 ... usb-camera
GitHub project: https://github.com/tribbloid/VLCUnitySpike
Reproduced in Windows 11 / Unity 2022 LTS / VLC Unity 1.8 commercial released.
- When ":dshow-vdev" parameter is set to OBS virtual camera (default video capture device) or not set, it will only play the first frame.
- I successfully observed frame buffer update using Unity debugging, however all video frames in the buffer appears to have identical data.
- When ":dshow-vdev" parameter is set to other cameras, it will be ignored and fallback to the above effect.
Test code detail: https://stackoverflow.com/questions/769 ... usb-camera
GitHub project: https://github.com/tribbloid/VLCUnitySpike
Reproduced in Windows 11 / Unity 2022 LTS / VLC Unity 1.8 commercial released.