Due to the high demand for this video, I will be posting the source code which all of you would be able to download. Do remember to edit the video path with respect to your computer. Thank you for your support! www.dropbox.com/sh/wnu0tf9tgzolbr7/AACdiKi67kY70FJuQ-XlQoKda?dl=0
6 років тому+1
HI I really loved your tutorial I've researched about Microsoft.DirectX.AudioVideoPlayback which is a part of Managed DirectX 1.1 which I know has some limitations like support to x86 cpu (32bit) which means it can't be used on 64 native .NET application and it has limited support of compatibility with upto .NET 2.0. Speaking of which, today's applications are mostly .NET3.5, 4.0+ it is kind of outdated. So, I would like to ask some question about is there any way to create video player , well I don't like integration like VLC or Windows Media Player as I prefer my own interfaces and all that stuffs. I am still searching for more concepts. Hit me up if you do come up with something as many guys on youtube are using VLC or Media player to create video player with easy tutorials.
That won't work with .net >= 2.0 due to Microsoft.DirectX.Dll when loading wants mscorelib.dll from .net 1.0xx. So , it do not work at all for now. May be it was working in 2005
Hey there, to be honest, I cant remember what was the purpose it was for as it was a long time ago. Probably you can try to remove it and see what error it will give you :-) Have fun experimenting and learning! All the best! Darren
An unhandled exception of type 'Microsoft.DirectX.DirectXException' occurred in Microsoft.DirectX.AudioVideoPlayback.dll exception showing in visual studio 2015 4.5 framework
You need to change the . file type of the video. Currently it is set to wmv. Search for wmv with ctrl + f and replace the file types with your video's type.
i have a problem. there is not an error in error list but when i try to run program, execption error occurs ($exception {"Error in Application."} Microsoft.DirectX.DirectXException). when the first time that I faced with this problem, i was trying to run my own codes. and than i found your tutorial video and tried it again with your source codes. i take the same error. do you have any idea about the exception? does anyone faced with this problem?
I've Exception Error....in line 59(video = new Video(videoPaths[index], false); ) Excenption Unhandled Microsoft.DirectX.DirectXException: 'There is an error in the application.' plz help me
i've followed through this guide. however, i'm still getting an unsatisfactory result with my App playing the video. imgur.com/stdCz26
nevermind. just found out that i have to first convert the video to WMV Format. perhaps compatibility issues. the video was originally in mp4 format
Good job on the troubleshoot :-)
Great job. And the music is so relaxing. Thanks for video :)
you saved my day. thanks
Due to the high demand for this video, I will be posting the source code which all of you would be able to download. Do remember to edit the video path with respect to your computer. Thank you for your support!
www.dropbox.com/sh/wnu0tf9tgzolbr7/AACdiKi67kY70FJuQ-XlQoKda?dl=0
HI I really loved your tutorial I've researched about Microsoft.DirectX.AudioVideoPlayback which is a part of Managed DirectX 1.1 which I know has some limitations like support to x86 cpu (32bit) which means it can't be used on 64 native .NET application and it has limited support of compatibility with upto .NET 2.0. Speaking of which, today's applications are mostly .NET3.5, 4.0+ it is kind of outdated. So, I would like to ask some question about is there any way to create video player , well I don't like integration like VLC or Windows Media Player as I prefer my own interfaces and all that stuffs. I am still searching for more concepts. Hit me up if you do come up with something as many guys on youtube are using VLC or Media player to create video player with easy tutorials.
it works perfectly...........thanks
Hi Zanub, great to hear that it has helped you :-) All the best for your project, happy coding!
Darren
Nice. Thank.
Is this possible to add video recording functionality too ? then how?
thank you brother ! i want to play this video but from memory as bytes array can you help me
Alguien sabe como activar los subtitulos?
any workaround to make this work in a x64 env?
That won't work with .net >= 2.0 due to Microsoft.DirectX.Dll when loading wants mscorelib.dll from .net 1.0xx. So , it do not work at all for now. May be it was working in 2005
This video was very insightful. What does the code that you wrote in the App.config file do?
Hey there, to be honest, I cant remember what was the purpose it was for as it was a long time ago. Probably you can try to remove it and see what error it will give you :-) Have fun experimenting and learning! All the best!
Darren
thank
An unhandled exception of type 'Microsoft.DirectX.DirectXException' occurred in Microsoft.DirectX.AudioVideoPlayback.dll exception showing in visual studio 2015 4.5 framework
Source code available now!
but showing same error
which framework 4.5.2?
Yes, it is running on .net framework 4.5.2
Hi dude
how can I retrieve the video from mysql and play it here in c#
Muito bem parabéns !!!
I got the same error at 12:07 and i did what you did but it didnt fix it :( please help
If you've fixed the error, please help me.
You need to change the . file type of the video. Currently it is set to wmv. Search for wmv with ctrl + f and replace the file types with your video's type.
i have a problem. there is not an error in error list but when i try to run program, execption error occurs ($exception {"Error in Application."} Microsoft.DirectX.DirectXException). when the first time that I faced with this problem, i was trying to run my own codes. and than i found your tutorial video and tried it again with your source codes. i take the same error. do you have any idea about the exception? does anyone faced with this problem?
Same here. haven't able to find any solution yet.
What about .mp4 files? Please let me know :)
how play mp4?
Thank you for sharing this video , but it's very hard for a cave man like me to follow. However, appreciated though.
it is popping up an error that says "microsoft.DirectX.Directx exceptions"
I've Exception Error....in line 59(video = new Video(videoPaths[index], false);
)
Excenption Unhandled
Microsoft.DirectX.DirectXException: 'There is an error in the application.'
plz help me
Was the video you were using a ".wmv" file?
lstVideos.SelectedIndex does not appear,
What is Video_Ending?
can i add images in this video application
can you help me with playing FromUrl()
i search but i can't create the code pleaseee
return new Video(videoPaths[index], false); Microsoft.DirectX.DirectXException: 'Uygulamada hata.'
75:SATIR Help ?
Can also play DVDs?
program working, but video is glitching.
Please change your video files format to wmv :-)
skip bs by watching in 2x
What about sustitles Darren?
Where do i get the DirectX lib?
Available in the description box above! :-)
plz help
source code pls?
Hey there ozan, sorry that i do not provide source code for any of my videos. Please kindly spend some time watching the video, cheers!
hei what is the Video_ending in design form? is itlabel?
really bad guide. We never see which object is created in the desing screen