MPEG-4 Trace extractor for ns-3
Project description
Trace Extractor
A wrapper around ffprobe that takes MPEG-4 files and outputs video traces in a format readable by ns-3's UdpTraceClient application.
Dependencies
You need to have ffmpeg's ffprobe
present in your PATH
. Alternatively, you can use a custom ffprobe
with the --ffprobe-path
argument:
python3 -m trace_extractor --ffprobe-path /path/to/ffprobe
Installation
trace_extractor
can be installed via pip
:
pip install trace-extractor
Usage
To run the program, you need to specify the MP4 file you wish to process and the path to the output file.
python3 -m trace_extractor -i path/to/input.mp4 -o path/to/output.ns-3-vtrace
Example
An example video is present in the tests/inputs
directory, it is a recording of id Software's 1993 DOOM's DEMO1 demo played back on the dsda-doom source port.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
trace_extractor-0.0.3.tar.gz
(17.7 kB
view hashes)
Built Distribution
Close
Hashes for trace_extractor-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07f50283a1f778d9e844bf4bd980726f1926d74f7c9e1dbce9c1029409823ed3 |
|
MD5 | fdd8e3ad63948a2d5a01b537aa6051f2 |
|
BLAKE2b-256 | 0e6f4a38c6b1baaa54e8d2a63ec0842a08fa141a2913bbbb310fb4e5d101d2c0 |