Skip to main content

lint Code style pytest PyPI - Version

MP4Viewer

MP4Viewer is an ISO base media file format viewer written in python. You can use it to view the metadata of an isobmff file on the console or a new window, or save it as a json file. The definitions of structures used in the code can be found in the publicly available standard (it is not free to download anymore) ISO/IEC 14496-12 - ISO base media file format.

Install using pip

pip install --upgrade mp4viewer

python3 -m mp4viewer [-h] [-o {stdout,gui,json}] [-e] [-c {on,off}] file.mp4

Run directly from code

./parse.sh [-h] [-o {stdout,gui,json}] [-e] [-c {on,off}] file.mp4

Arguments

positional arguments:
  input_file            Location of the ISO bmff file (mp4)

options:
  -h, --help            show this help message and exit
  -o {stdout,gui,json}, --output {stdout,gui,json}
                        Specify the output format. Please note that pygtk is required for `gui`.
  -c {on,off}, --color {on,off}
                        Toggle colors in console based output; on by default.
  -j JSON_PATH, --json JSON_PATH
                        Path to the json file where the output should be saved. If this is specified, the json output will be generated and written to this file even if the requested output format is not
                        json. If the output format is json and this argument is not specified, the json object will be written to the current directory using "$PWD/$(basename input_file).mp4viewer.json"
  -e, --expand-arrays   Do not truncate long arrays
  --debug               Used for internal debugging
  --latex               Generate latex-in-markdown for github README

Sample outputs:

The default output on the console

shell output

GTK

window with gtk treeview

MP4Viewer uses gtk in graphics mode and requires pygtk3 for viewing results in a window. This usually comes preinstalled with recent versions of ubuntu.

You can find more similar MP4 tools in this page

Release files for mp4viewer 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mp4viewer 0.1.2
File Size Uploaded
mp4viewer-0.1.2.tar.gz 189.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mp4viewer 0.1.2
File Interpreter ABI Platform
mp4viewer-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 214.1 kB

Release files / mp4viewer-0.1.2.tar.gz

Download URL mp4viewer-0.1.2.tar.gz
Size 189.0 kB
Tags Source
SHA-256 checksum
How to use checksums
64e9061cf8f61797a44fb1c7d7c544da699c39f8242061b2995c1e6d95e3981e
BLAKE2b-256 checksum
How to use checksums
92c966284f3bdf47750bb35f9fb15c7ac4c4b53fd0a6cbf8ea6bcd45b637f373
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.4

Release files / mp4viewer-0.1.2-py3-none-any.whl

Download URL mp4viewer-0.1.2-py3-none-any.whl
Size 25.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f18a89579c787eb606b36e5aba54f46fe189aaff6e4cd7cee281630969c47b64
BLAKE2b-256 checksum
How to use checksums
36fdbf477dfeba36c07138bf771eba3a03a5d2d9d870019fa52ef0226d69e8ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page