GithubHelp home page GithubHelp logo

how-to-make-m3u-playlist's Introduction

How to make M3U playlist

M3u files to queue files for playback in Multimedia players

Index

  1. About .M3U
  2. Uses of .M3U
  3. How to make .M3U playlist
  4. Sample playlist

About .M3U

M3U or Moving Picture Experts Group Audio Layer 3

M3U is a de facto standard with extension .m3u.

M3U file is a plain text file that specifies the path of one or more media files.

Each entry carries one media path. The media path can be referred by the following ways:

Uses of .M3U

M3U file format is used to creating a single-entry playlist file pointing to a stream on the Internet or local files.

It is used to make playlist tracks.

It implementation is very easy.

How to make .M3U playlist

The M3U files is use # character for include extension.

It uses two extension for create playlist. They are listed out in the following,

  1. #EXTM3U
  2. #EXTINF

#EXTM3U

It is file header. It is a default one for creating M3U playlist.

The playlist is start from this line. Without this we cannot start playlist.

Example:

#EXTM3U

#EXTINF

This is used to Add file path to the playlist.

This is also used tracking all information about the playlist like filename, duration and title.

Example:

#EXTINF:191,Artist Name - Track Title

Sample playlist

Sample 1

#EXTM3U

#EXTINF:123, BigBuckBunny - BigBuckBunny
http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4

#EXTINF:321,ElephantsDream - ElephantsDream
http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4

Sample 2

#EXTM3U

#EXTINF:123, BigBuckBunny - BigBuckBunny
http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/images/BigBuckBunny.jpg

#EXTINF:321,ElephantsDream - ElephantsDream
http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/images/ElephantsDream.jpg

how-to-make-m3u-playlist's People

Contributors

loordubmary avatar

Stargazers

MUHAMMED AFZAL  avatar Şahap Fırat avatar ksuudilla avatar  avatar hossein s. borhani avatar b1ue avatar Hamza Alaoui Hamdi avatar Nicolas avatar Arstan avatar  avatar Ian Smith avatar  avatar Adeola Awoyemi avatar Miraficus avatar Arwalk avatar  avatar  avatar

Watchers

 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.