Skip to content

Media Processor is a Python package designed to simplify the processing of media files, including images and videos. This versatile package provides tools for tasks such as reading, displaying, and manipulating both image and video content.

Notifications You must be signed in to change notification settings

m-inaam/media_processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Media Processor Package

The Media Processor package is a Python package designed to help you process both image and video files. This package includes two modules: video_processor for working with video files and image_processor for working with image files.

Usage

Installation

You can install this package using pip:

pip install media-processor

Example Usage

from media_processor import video_processor, image_processor

# Video processing
main_directory = 'path/to/main/directory'
video_processor_instance = video_processor.VideoProcessor(main_directory)
video_processor_instance.process_videos()

# Image processing
photo_folder_name = 'Photos'
image_extensions = ('.png', '.jpg', '.jpeg', '.gif', '.bmp')
image_processor_instance = image_processor.ImageProcessor(main_directory, photo_folder_name, image_extensions)
image_processor_instance.process_images()
    

Modules

video_processor : Contains classes and functions for video processing.
image_processor : Contains classes and functions for image processing.

Package Structure

media_processor
├── __init__.py
├── image_processor.py
├── video_processor.py

License

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

MIT License
===========
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”),

Author

Muhammad Inaamullah

Acknowledgments

About

Media Processor is a Python package designed to simplify the processing of media files, including images and videos. This versatile package provides tools for tasks such as reading, displaying, and manipulating both image and video content.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages