Page 1 of 1

DirectShow integration of VLC Unity is apparently broken

Posted: 31 Aug 2023 19:49
by tribbloid
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.

Re: DirectShow integration of VLC Unity is apparently broken

Posted: 04 Sep 2023 06:58
by mfkl
thanks for the report. Can you post it on https://code.videolan.org/videolan/vlc-unity? Will have a look. Thanks.

Re: DirectShow integration of VLC Unity is apparently broken

Posted: 05 Sep 2023 07:14
by tribbloid
thanks a lot! Will do shortly