DirectShow integration of VLC Unity is apparently broken

This forum is about all development around libVLC.
tribbloid
New Cone
New Cone
Posts: 3
Joined: 31 Aug 2023 03:53

DirectShow integration of VLC Unity is apparently broken

Postby tribbloid » 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.

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: DirectShow integration of VLC Unity is apparently broken

Postby mfkl » 04 Sep 2023 06:58

thanks for the report. Can you post it on https://code.videolan.org/videolan/vlc-unity? Will have a look. Thanks.
https://mfkl.github.io

tribbloid
New Cone
New Cone
Posts: 3
Joined: 31 Aug 2023 03:53

Re: DirectShow integration of VLC Unity is apparently broken

Postby tribbloid » 05 Sep 2023 07:14

thanks a lot! Will do shortly


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests