Coder Social home page Coder Social logo

basicvlc's Introduction

BasicVLC ~ Minimal code

BasicVLC is an video player sample with added needed controls that are neccessary in any player. It is an sample of VLC.Dotnet (Wonderfull project). It is specially developed for developers with comments but windows users can also use it to test using releases. BasicVLC uses VLC.Dotnet that is wrapper around Libvlc (Library provided by Videolan ~ THANKS)

Clone it now:

git clone https://github.com/graysuit/BasicVLC.git

Download for windows:

Don't need to code,
Don't build anything,
We already build it for you,
Just test and try it now.
windows binaries

Events in form1.vb

  1. form1_shown Plays video from CommandLineArgs (Can be associate videos with player)
  2. VlcControl1_VlcLibDirectoryNeeded Generate logs LibVlcLogs.log and set libvlc dir
  3. form1_load refresh volume status
  4. pictureBox2_Click is playbutton
  5. PlayNow() plays video according to situation
  6. TrackBar3_Scroll is for changing volume status
  7. VlcControl1_EndReached sets relaod image in play button and progressbar value to maximum
  8. PictureBox6_Click for Fullscreen/normal screen
  9. Fullscreen() for Fullscreen/normal screen
  10. PlayFile(filename) plays from both URL and filename
  11. VlcControl1_Playing with set total ms of video in label2 after seekbar
  12. PictureBox7_Click will stop and dispose video
  13. ChangeProgress(),ProgressBar1_MouseMove,ProgressBar1_MouseDown changes progress using mouse moves
  14. timer1_Tick sets current video time status in Label1 after every 1 second
  15. timer2_Tick will run in fullscreen mode,used for hiding controls and cursor after 3 seconds no activity
  16. VlcControl1_DoubleClick to fullscreen
  17. VlcControl1_Click to pause,play,reload
  18. VlcControl1_SizeChanged for setting aspect ratio,Good for removing Blackshadow around sides
  19. pictureBox8_Click to mute/unmute video
  20. OpenToolStripMenuItem1_Click for opeing file path and play
  21. StreamToolStripMenuItem_Click for opeing stream and play
  22. AboutToolStripMenuItem1_Click for opeing about form2
  23. ExitToolStripMenuItem1_Click for exiting
  24. VlcControl1_DragDrop for playing dragged video
  25. VlcControl1_DragEnter for preparing DragDrop event
  26. User32Interop.GetLastInput() returns time of last mouse/keyboard move

I Love ALLAH + Holy Prophet + Islam and Pakistan.

basicvlc's People

Contributors

graysuit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.