Skip to content

KhalilAwada/FFmpeg-Python-Video-Conversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Video Conversion Script with FFmpeg

This Python script utilizes FFmpeg to recursively search for .mov and .mp4 files in a specified directory and its subdirectories. It converts these video files to the .mp4 format with progress tracking, deletes the original file upon successful conversion, and renames the new file to the original name.

Requirements

Installation

  1. Clone the repository or download the script.

  2. Install the required Python packages:

    pip install ffmpeg-progress
    

Usage

python script_name.py /path/to/directory or docker run -it --rm -e PYTHONUNBUFFERED=1 -v /mnt/nfs:/mnt/nfs -v $(pwd)/app:/app --entrypoint "" ffmpeg-python:latest python -u app.py /mnt/nfs/GoPro/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published