[C# Winforms] Create your own Video Player (DirectX)

Поділитися
Вставка
  • Опубліковано 31 жов 2024

КОМЕНТАРІ • 55

  • @kristianacelgenecua4624
    @kristianacelgenecua4624 6 років тому +2

    i've followed through this guide. however, i'm still getting an unsatisfactory result with my App playing the video. imgur.com/stdCz26

    • @kristianacelgenecua4624
      @kristianacelgenecua4624 6 років тому +2

      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

    • @DarrenLeeCSharp
      @DarrenLeeCSharp  6 років тому +3

      Good job on the troubleshoot :-)

  • @isaduvan9824
    @isaduvan9824 5 років тому +1

    Great job. And the music is so relaxing. Thanks for video :)

  • @dongbddhtb
    @dongbddhtb 5 років тому +1

    you saved my day. thanks

  • @DarrenLeeCSharp
    @DarrenLeeCSharp  7 років тому +3

    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.

  • @lifeinnetherlands7744
    @lifeinnetherlands7744 7 років тому +2

    it works perfectly...........thanks

    • @DarrenLeeCSharp
      @DarrenLeeCSharp  7 років тому

      Hi Zanub, great to hear that it has helped you :-) All the best for your project, happy coding!
      Darren

  • @phisitja01
    @phisitja01 4 роки тому

    Nice. Thank.

  • @srinathsachithra6971
    @srinathsachithra6971 5 років тому +1

    Is this possible to add video recording functionality too ? then how?

  • @mohammedtanjaoui2770
    @mohammedtanjaoui2770 3 роки тому

    thank you brother ! i want to play this video but from memory as bytes array can you help me

  • @lilianabanegas9216
    @lilianabanegas9216 4 роки тому +1

    Alguien sabe como activar los subtitulos?

  • @Meirovsky
    @Meirovsky Рік тому

    any workaround to make this work in a x64 env?

  • @fedoracore314
    @fedoracore314 5 років тому

    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

  • @gottogetbig2900
    @gottogetbig2900 7 років тому

    This video was very insightful. What does the code that you wrote in the App.config file do?

    • @DarrenLeeCSharp
      @DarrenLeeCSharp  7 років тому +2

      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

  • @phisitja01
    @phisitja01 5 років тому

    thank

  • @animeshagrawal25
    @animeshagrawal25 7 років тому

    An unhandled exception of type 'Microsoft.DirectX.DirectXException' occurred in Microsoft.DirectX.AudioVideoPlayback.dll exception showing in visual studio 2015 4.5 framework

  • @roel8272
    @roel8272 7 років тому +1

    Hi dude
    how can I retrieve the video from mysql and play it here in c#

  • @diogenessantos6311
    @diogenessantos6311 7 років тому

    Muito bem parabéns !!!

  • @niv336
    @niv336 7 років тому +1

    I got the same error at 12:07 and i did what you did but it didnt fix it :( please help

    • @andreibalasa745
      @andreibalasa745 5 років тому

      If you've fixed the error, please help me.

    • @johnhaslam3480
      @johnhaslam3480 5 років тому

      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.

  • @denizdogusuymaz
    @denizdogusuymaz 6 років тому

    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?

    • @YongJiaChan
      @YongJiaChan 5 років тому

      Same here. haven't able to find any solution yet.

  • @FlafyDev
    @FlafyDev 5 років тому

    What about .mp4 files? Please let me know :)

  • @joeltorres9254
    @joeltorres9254 6 років тому +1

    how play mp4?

  • @Intothemarket101
    @Intothemarket101 5 років тому

    Thank you for sharing this video , but it's very hard for a cave man like me to follow. However, appreciated though.

  • @baballomoilwa9057
    @baballomoilwa9057 5 років тому

    it is popping up an error that says "microsoft.DirectX.Directx exceptions"

  • @디리딩
    @디리딩 7 років тому

    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

    • @itisugamer
      @itisugamer 5 років тому

      Was the video you were using a ".wmv" file?

  • @jhonatanrivera2062
    @jhonatanrivera2062 6 років тому

    lstVideos.SelectedIndex does not appear,
    What is Video_Ending?

  • @shabhimaqsood7205
    @shabhimaqsood7205 5 років тому

    can i add images in this video application

  • @ZakariyaFirachine
    @ZakariyaFirachine 5 років тому

    can you help me with playing FromUrl()
    i search but i can't create the code pleaseee

    • @osmanzaman8483
      @osmanzaman8483 5 років тому

      return new Video(videoPaths[index], false); Microsoft.DirectX.DirectXException: 'Uygulamada hata.'
      75:SATIR Help ?

  • @thiemomelhorn
    @thiemomelhorn 7 років тому

    Can also play DVDs?

  • @laurynasgailiunas106
    @laurynasgailiunas106 6 років тому

    program working, but video is glitching.

    • @DarrenLeeCSharp
      @DarrenLeeCSharp  6 років тому

      Please change your video files format to wmv :-)

  • @sheepsushis5720
    @sheepsushis5720 4 роки тому

    skip bs by watching in 2x

  • @bulutparadise4585
    @bulutparadise4585 7 років тому

    What about sustitles Darren?

  • @williamaughenbaugh6886
    @williamaughenbaugh6886 8 років тому

    Where do i get the DirectX lib?

  • @animeshagrawal25
    @animeshagrawal25 7 років тому

    plz help

  • @ozanpak6782
    @ozanpak6782 8 років тому

    source code pls?

    • @DarrenLeeCSharp
      @DarrenLeeCSharp  8 років тому

      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!

    • @semakusut
      @semakusut 8 років тому

      hei what is the Video_ending in design form? is itlabel?

  • @emrecolak4643
    @emrecolak4643 9 місяців тому

    really bad guide. We never see which object is created in the desing screen