Metadata-Version: 2.4
Name: vidfomo-video-tools
Version: 0.1.0
Summary: Read local video stream and duration information with ffprobe.
License-Expression: MIT
Project-URL: Homepage, https://vidfomo.com/?utm_source=pypi&utm_medium=referral&utm_campaign=python_package
Keywords: media,video metadata,inspection
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: LICENSE
Dynamic: license-file

VidFomo — Video Metadata Tools
==============================

Read local video stream and duration information with ffprobe.

This tool works with local files and prints a JSON report. It does not upload
files, connect to VidFomo, or generate media. Use the browser-based service
separately at `VidFomo <https://vidfomo.com/?utm_source=pypi&utm_medium=referral&utm_campaign=python_package>`_.

Installation
------------

Python 3.9 or later is required. Install ffprobe separately (from FFmpeg) and make it available on PATH.

.. code-block:: bash

   pip install vidfomo-video-tools

Usage
-----

.. code-block:: bash

   vidfomo-video-tools video.mp4

The command prints JSON to standard output. If a file cannot be read, it prints
an error and returns a nonzero exit code. Input files are not modified.

What the report means
---------------------

Requires ffprobe installed separately and available on PATH. The report depends on metadata present in the input file; it does not edit or generate video.

Example report
--------------

For a small example file, output can look like this; actual values vary with
the input:

.. code-block:: json

   {"streams": [{"codec_name": "h264", "codec_type": "video", "width": 64, "height": 32, "r_frame_rate": "25/1"}], "format": {"duration": "0.520000", "size": "1900"}}

Fields depend on the media and ffprobe output. Frame rate is a ratio and duration is reported in seconds when present.

Use from Python
---------------

.. code-block:: python

   from vidfomo_video_tools import analyze

   report = analyze("video.mp4")
   print(report)

The function reads the local file and returns a dictionary. File and parsing
errors are raised to the caller. For video, ffprobe must also be available.

Common questions
----------------

**Does the package generate media?**
   No. It analyzes local files; generation is a separate website workflow.

**Does it upload my files?**
   No. The tool performs its inspection locally. A website upload, if you choose
   to make one, is a separate action.

**Does the report guarantee website or model compatibility?**
   No. Check the website's current requirements for the chosen workflow.

Workflow
--------

1. Inspect your local media with the command above.
2. Review the report and decide which asset to use.
3. Open `VidFomo <https://vidfomo.com/?utm_source=pypi&utm_medium=referral&utm_campaign=python_package>`_
   and follow the available workflow on the website.

Available upload formats, settings and credit costs depend on the selected
website workflow. This package does not validate those requirements.

License
-------

MIT License.
