PyFFMedia


NamePyFFMedia JSON
Version 2.1.0 PyPI version JSON
download
home_pagehttps://github.com/ROHIT-SINGH-1
SummaryA PYTHON PACKAGE FOR VIDEO CONVERSION AND PROBING USING FFMPEG FFPLAY AND FFPROBE.
upload_time2024-02-09 13:05:14
maintainer
docs_urlNone
authorROHIT SINGH
requires_python>=3.9
licenseGPL-3.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            #  [PyFFMedia] - A POWERFUL PYTHON PACKAGE FOR FFMPEG AND FFPROBE OPERATIONS, LATEST 2024.

[![License](https://img.shields.io/badge/license-GPLv3-blue.svg)](https://github.com/yourusername/PyFFMedia/blob/main/LICENSE)

**PyFFMedia**: IS A PYTHON PACKAGE THAT PROVIDES A SIMPLIFIED INTERFACE FOR USING FFMPEG AND FFPROBE, ALLOWING USERS TO PERFORM VIDEO CONVERSION AND PROBING WITH EASE.

## FEATURES:

- SEAMLESS INTEGRATION WITH FFMPEG FFPROBE
- EASY-TO-USE FUNCTIONS FOR VIDEO CONVERSION AND PROBING.
- NO NEED TO SPECIFY EXTERNAL PATHS FOR FFMPEG FFPROBE.

## LIST THE AVAILABLE CODECS AND FORMATES:

`ffmpe = ffpe()`

- `ffmpe.formats()`
- `ffmpe.codecs()`

#### USE `.formate()` AND `.codecs()` METHOD.

## Using the `ffpr` class

#### THE `ffpr` CLASS PROVIDES METHODS FOR PROBING MEDIA FILES. HERE ARE SOME EXAMPLES OF HOW TO USE THESE METHODS:

```python
from PyFFMedia import ffpr

# Create an instance of the ffpr class
ffprobe = ffpr()

# Probe a media file
info = ffprobe.probe(r"PATH_TO_MEDIA_FILE")

# Print the probed information in a pretty format
ffprobe.pretty(info)
```

#### IN THIS EXAMPLE, REPLACE `"PATH_TO_MEDIA_FILE"` WITH THE ACTUAL PATH TO YOUR MEDIA FILE. THE `.probe` METHOD RETURNS A DICTIONARY CONTAINING INFORMATION ABOUT THE MEDIA FILE. THE `.pretty`

## USING THE `FFPE` CLASS

#### THE `FFPE` CLASS PROVIDES METHODS FOR VIDEO CONVERSION, LISTING CODECS, AND LISTING FORMATS. HERE ARE SOME EXAMPLES OF HOW TO USE THESE METHODS:

```python
from PyFFMedia import ffpe

# Create an instance of the ffpe class
ffmpe = ffpe()

# Convert a video file
ffmpe.convert(
    input_file="path_to_input_file",
    output_file="path_to_output_file",
    cv="libx264",  # Video codec
    ca="aac",  # Audio codec
    s="1280x720",  # Resolution
    ar=44100,  # Audio sample rate
    ac=2,  # Number of audio channels
    ba="128k",  # Audio bitrate
    r=30,  # Frame rate
    f="mp4"  # Output format
)
```
#### USE THE `.convert()` METHOD TO CONVERT MEDIA.

## IMPORT CLASS:

- `from PyFFMedia import ffpe, ffpr`
- `from PyFFMedia import *`


## INSTALLATION:

```bash
pip install PyFFMedia
```
## Contact
```
THIS PROJECT IS MAINTAINED BY ROHIT SINGH. FOR ANY QUERIES OR CONTRIBUTIONS, PLEASE REACH OUT TO US. THANK YOU FOR USING PyFFMedia, LATEST 2024.
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ROHIT-SINGH-1",
    "name": "PyFFMedia",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "",
    "author": "ROHIT SINGH",
    "author_email": "rs3232263@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/58/cf/1c0117d19eccf7449d86c9dafe35822ffa89f86900e202eee49ae9dcc4ef/PyFFMedia-2.1.0.tar.gz",
    "platform": null,
    "description": "#  [PyFFMedia] - A POWERFUL PYTHON PACKAGE FOR FFMPEG AND FFPROBE OPERATIONS, LATEST 2024.\r\n\r\n[![License](https://img.shields.io/badge/license-GPLv3-blue.svg)](https://github.com/yourusername/PyFFMedia/blob/main/LICENSE)\r\n\r\n**PyFFMedia**: IS A PYTHON PACKAGE THAT PROVIDES A SIMPLIFIED INTERFACE FOR USING FFMPEG AND FFPROBE, ALLOWING USERS TO PERFORM VIDEO CONVERSION AND PROBING WITH EASE.\r\n\r\n## FEATURES:\r\n\r\n- SEAMLESS INTEGRATION WITH FFMPEG FFPROBE\r\n- EASY-TO-USE FUNCTIONS FOR VIDEO CONVERSION AND PROBING.\r\n- NO NEED TO SPECIFY EXTERNAL PATHS FOR FFMPEG FFPROBE.\r\n\r\n## LIST THE AVAILABLE CODECS AND FORMATES:\r\n\r\n`ffmpe = ffpe()`\r\n\r\n- `ffmpe.formats()`\r\n- `ffmpe.codecs()`\r\n\r\n#### USE `.formate()` AND `.codecs()` METHOD.\r\n\r\n## Using the `ffpr` class\r\n\r\n#### THE `ffpr` CLASS PROVIDES METHODS FOR PROBING MEDIA FILES. HERE ARE SOME EXAMPLES OF HOW TO USE THESE METHODS:\r\n\r\n```python\r\nfrom PyFFMedia import ffpr\r\n\r\n# Create an instance of the ffpr class\r\nffprobe = ffpr()\r\n\r\n# Probe a media file\r\ninfo = ffprobe.probe(r\"PATH_TO_MEDIA_FILE\")\r\n\r\n# Print the probed information in a pretty format\r\nffprobe.pretty(info)\r\n```\r\n\r\n#### IN THIS EXAMPLE, REPLACE `\"PATH_TO_MEDIA_FILE\"` WITH THE ACTUAL PATH TO YOUR MEDIA FILE. THE `.probe` METHOD RETURNS A DICTIONARY CONTAINING INFORMATION ABOUT THE MEDIA FILE. THE `.pretty`\r\n\r\n## USING THE `FFPE` CLASS\r\n\r\n#### THE `FFPE` CLASS PROVIDES METHODS FOR VIDEO CONVERSION, LISTING CODECS, AND LISTING FORMATS. HERE ARE SOME EXAMPLES OF HOW TO USE THESE METHODS:\r\n\r\n```python\r\nfrom PyFFMedia import ffpe\r\n\r\n# Create an instance of the ffpe class\r\nffmpe = ffpe()\r\n\r\n# Convert a video file\r\nffmpe.convert(\r\n    input_file=\"path_to_input_file\",\r\n    output_file=\"path_to_output_file\",\r\n    cv=\"libx264\",  # Video codec\r\n    ca=\"aac\",  # Audio codec\r\n    s=\"1280x720\",  # Resolution\r\n    ar=44100,  # Audio sample rate\r\n    ac=2,  # Number of audio channels\r\n    ba=\"128k\",  # Audio bitrate\r\n    r=30,  # Frame rate\r\n    f=\"mp4\"  # Output format\r\n)\r\n```\r\n#### USE THE `.convert()` METHOD TO CONVERT MEDIA.\r\n\r\n## IMPORT CLASS:\r\n\r\n- `from PyFFMedia import ffpe, ffpr`\r\n- `from PyFFMedia import *`\r\n\r\n\r\n## INSTALLATION:\r\n\r\n```bash\r\npip install PyFFMedia\r\n```\r\n## Contact\r\n```\r\nTHIS PROJECT IS MAINTAINED BY ROHIT SINGH. FOR ANY QUERIES OR CONTRIBUTIONS, PLEASE REACH OUT TO US. THANK YOU FOR USING PyFFMedia, LATEST 2024.\r\n```\r\n",
    "bugtrack_url": null,
    "license": "GPL-3.0",
    "summary": "A PYTHON PACKAGE FOR VIDEO CONVERSION AND PROBING USING FFMPEG FFPLAY AND FFPROBE.",
    "version": "2.1.0",
    "project_urls": {
        "Homepage": "https://github.com/ROHIT-SINGH-1"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "623b5009bb50a2ea37fe03ff38c81faeb18fb5b1e0af1958a00b81b70d0ede9c",
                "md5": "74c37316dbb6ff7c01c6c2d4e8269da9",
                "sha256": "82a3c6f2da692c916d46a1c3a1e41fb878c8f1fae4df6c484c9371a3fb42eb6d"
            },
            "downloads": -1,
            "filename": "PyFFMedia-2.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "74c37316dbb6ff7c01c6c2d4e8269da9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 84195463,
            "upload_time": "2024-02-09T13:04:35",
            "upload_time_iso_8601": "2024-02-09T13:04:35.346484Z",
            "url": "https://files.pythonhosted.org/packages/62/3b/5009bb50a2ea37fe03ff38c81faeb18fb5b1e0af1958a00b81b70d0ede9c/PyFFMedia-2.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "58cf1c0117d19eccf7449d86c9dafe35822ffa89f86900e202eee49ae9dcc4ef",
                "md5": "b9141e8aedb192bd17713127adb76648",
                "sha256": "8ce9d8b601a371d46b5077ecf23f5a1855badee31f55d61d5759dda59290fdf5"
            },
            "downloads": -1,
            "filename": "PyFFMedia-2.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b9141e8aedb192bd17713127adb76648",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 84197121,
            "upload_time": "2024-02-09T13:05:14",
            "upload_time_iso_8601": "2024-02-09T13:05:14.176584Z",
            "url": "https://files.pythonhosted.org/packages/58/cf/1c0117d19eccf7449d86c9dafe35822ffa89f86900e202eee49ae9dcc4ef/PyFFMedia-2.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-09 13:05:14",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pyffmedia"
}
        
Elapsed time: 2.88974s