Python Discussion Forums

There's no such thing as a stupid question. Ask. Discuss. Learn.

How to create Video playlist in Python 2.7 using

I am new to Python. I want to create a video playlist in python using vlc. The videos are in my local drive. Currently, I'm using Python 2.7. vlc & cv2 is working fine.

Result: vlc should play all videos in sequence in that playlist and at the end of the last video it should repeat the sequence.

Arun Sharma 8 months ago
  • Kritesh Anand

    Install the Python VLC bindings with pip in a virtual environment.
    Create a Python file and import the VLC bindings.
    Instantiate a player object to play a file.
    Play that file.
    Play the file again. Pause and resume playback.
    Create a loop to play multiple files in order.
    Challenge: Generate a list of files using Python modules to interact with directories on your system. Play them as a playlist.

    Hope these points will get you information. If you wants to upgrow in development field then you can join python course]http://

  • Whitelisted Links