Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python script for change playback speed rate of audio and video media files or extract duration time of them.

Requirements

  • Python3
  • ffmpeg
  • requirements.txt python packages

Change speed rate

import mconv

media_path = '/path/to/media/files'
speed_rate = 2
mconv.change_audio_rate(media_path, speed_rate)

Convert video files to audio & change speed rate

import mconv

videos_path = '/path/to/media/files'
speed_rate = 2
mconv.video_to_audio_and_change_rate(videos_path, speed_rate)

Extract medias duration seconds

import mconv

media_path = '/path/to/media/files'
durations = mconv.get_audio_details(media_path)

About

Convert play speed of audio & video files by ffmpeg

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages