-
-
Notifications
You must be signed in to change notification settings - Fork 414
VLC.DotNet Direct Show #234
Comments
Hello everyone, As soon as I've solved the problem. The problem is compiling with x64 architectural. When I was compiled with x86 architectural, The problem solved. I don't know this is a bug or not. |
@salihkaragoz Please share your code, I keep getting this error: Media instance is not initialized.'
|
Same as above. |
If I set to x86 I get error. If x64 there is no error but nothing is playing. Which version are you using? |
(Vlc.DotNet.XXX 2.1.15. which is current) I think you've downloaded from github repo. Its old. Arc type has been updated. You should use Nuget for getting package. In the new version of Vlc.dotnet there is no architectural. Only "Any Cpu" and it works both architectural. #288 |
Thanks man, Now I'm getting %1 is not a valid Win32 application error. nuget will have a copy of lib directory? should I reference it to vlc installation directory? |
Hi, please have a look at the wiki : https://github.com/ZeBobo5/Vlc.DotNet/wiki/Getting-started |
@jeremyVignelles I created a fresh windows forms application project, followed the wiki, but still the same problem. I check if I set target to x64, it works fine. can play "http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_h264.mov" |
@mahdi87gh I don't have access to a computer right now. I was just answering to your issue with x86/x64 ("...is not a valid win32 application") if you build your application with x86 or Any CPU "prefer 32 bits" or Any CPU that is run on a 32bits os, then you will need a x86 VLC (all your libvlc dlls should be x86) |
@jeremyVignelles I took dlls from vlc ftp, as I told you it can play streams well. my problem is I want to stream usb webcam to my rtsp server. Right now I can't even open webcam in vlcControl. Can you help me? |
If your code is the one above, you need to split between the stream url ("dshow://") and the stream parameters ":option" that you can pass as an array to some method (don't remember which, maybe the Play() method itself) |
@jeremyVignelles unfortunately it doesn't work. I can open vlc.exe by command and get connected to usb webcam fine. but with vlcControl it doesn't work. Can you make a sample code? |
vlc.Play(":dshow://", ":dshow-vdev=Microsoft® LifeCam Studio(TM)"); please try this and say if it is ok. |
@salihkaragoz It doesn't work. |
First Question: Does VLC.DotNet support the dshow:// stream with mp3 codec ????
Hello everyone,
I can not start the direct show. This is my codes.
myVlcControl.Play("dshow://");
myVlcControl.Play(new Uri("dshow://"));
I added the only dshow:// because I think the other options will be the default. Is there anyone who succeed the direct show with VLC.dotnet project?
I think my problem is about Vlc.dotnet options. not about VLC options syntax. Please do not close my issue.
If you close my issue, please say it is possible with Vlc.dotnet.
I think It takes not too much time for experts. Please write a little comment about that issue.
The text was updated successfully, but these errors were encountered: