All Projects → karansthr → Playlist-Length

karansthr / Playlist-Length

Licence: MIT license
A simple command line tool to get length of all the video and/or audio files in a directory and its sub-directories recursively

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Playlist-Length

larafilm
Create your own video on demand service by Laravel.
Stars: ✭ 30 (+3.45%)
Mutual labels:  ffmpeg
FFCreatorLite
一个基于node.js的轻量极速短视频加工库 A lightweight and fast short video processing library based on node.js
Stars: ✭ 155 (+434.48%)
Mutual labels:  ffmpeg
Watermark-Bot
A Telegram Video Watermark Adder Bot in Pyrogram by @AbirHasan2005
Stars: ✭ 82 (+182.76%)
Mutual labels:  ffmpeg
player-ffmpeg
Up to date tutorial of ffmpeg
Stars: ✭ 17 (-41.38%)
Mutual labels:  ffmpeg
y2mp3
An Electron app to download youtube playlist
Stars: ✭ 118 (+306.9%)
Mutual labels:  ffmpeg
tube2gif
Search and Generate Gif from Youtube
Stars: ✭ 21 (-27.59%)
Mutual labels:  ffmpeg
live-stream-media-source-extensions
Live stream h264 encoded mp4 video on media source extensions using ffmpeg, node.js, socket.io, and express. Works in chrome, firefox, safari, and android. Not iOS compatible. Work has moved to mse-live-player repo =>
Stars: ✭ 24 (-17.24%)
Mutual labels:  ffmpeg
Gui-Youtube-dl
A cross platform GUI for youtube-dl written entirely in python using the WX library.
Stars: ✭ 60 (+106.9%)
Mutual labels:  ffmpeg
QtDemos
This is a demo about Qt5, including Qt Custom Widget, Qt Multithreaded Downloader, QML Video Player(using OpenGL, FFmpeg and SDL2)
Stars: ✭ 18 (-37.93%)
Mutual labels:  ffmpeg
whatsapp-bot
WhatsApp Chatbot with many kinds of features. This bot is created for the purpose of providing some information and for fun purposes only
Stars: ✭ 23 (-20.69%)
Mutual labels:  ffmpeg
filimo-plus-cli
FilimoPlusCli: download filimo items
Stars: ✭ 22 (-24.14%)
Mutual labels:  ffmpeg
recode-converter
A modern & simple audio converter for video files
Stars: ✭ 22 (-24.14%)
Mutual labels:  ffmpeg
old-audiosync
First implementation of the audio synchronization feature for Vidify, now obsolete
Stars: ✭ 16 (-44.83%)
Mutual labels:  ffmpeg
mediaforge
A Discord bot for editing and creating videos, images, GIFs, and more!
Stars: ✭ 45 (+55.17%)
Mutual labels:  ffmpeg
live-broadcast-bundle
Live broadcasting planner and scheduler
Stars: ✭ 38 (+31.03%)
Mutual labels:  ffmpeg
SponSkrub
Strip advertisements from downloaded YouTube videos
Stars: ✭ 156 (+437.93%)
Mutual labels:  ffmpeg
serverless-media-portal
Ready-to-deploy webapp for sharing home videos: a React frontend with a AWS Lambda backend using FFmpeg to process videos. Created using Serverless Framework.
Stars: ✭ 90 (+210.34%)
Mutual labels:  ffmpeg
prompeg-decoder
A proxy to recover lost packets from FFmpeg Pro-MPEG video stream
Stars: ✭ 23 (-20.69%)
Mutual labels:  ffmpeg
speech to text
how to use the Google Cloud Speech API to transcribe audio/video files.
Stars: ✭ 35 (+20.69%)
Mutual labels:  ffmpeg
rom-operator-inference-Python3
Operator Inference for data-driven, non-intrusive model reduction of dynamical systems.
Stars: ✭ 31 (+6.9%)
Mutual labels:  python-package

Playlist Length

Downloads Open Source Love

A command-line tool to calculate the length of all the audios/videos in a directory

playlistlen.gif

Prerequisites

ffmpeg package is required for this package to work, so you need to get it installed on your system

To install ffmpeg on ubuntu

sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install ffmpeg
sudo apt-get install frei0r-plugins

For other OS read instruction here

Installing

hit up your terminal and type following command

$ pip install --user playlist-length

or

$ pip install --user -e git+https://github.com/karansthr/playlist-length#egg=playlist-length

if your ~/.local/bin/ is not in PATH then run

$ export PATH=$PATH:${HOME}/.local/bin/

you may add above line of code in ~/.zshrc or ~/.bashrc etc. to repeat above step every time a terminal is opened.

To get length of all the videos in a directory, Give the path to directory as arguement

$ playlistlen path_to_directory

or use following command for current directory

$ playlistlen

By default, it will look for videos in given directory and it's sub-directories recursively, if you want it to look in the given directory only, then use --no-subdir flag, for example:

$ playlistlen path_to_directory --no-subdir

By default the media-type it will look for is video but you can specify audio or both

$ playlistlen path_to_directory --media-type audio
$ playlistlen path_to_directory --media-type both

for help use -h or --help, for example

$ playlistlen --help

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].