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
[WIP]
Usage
Running the command without arguments will scan the input
folder in the current directory for mp4 files, process each of them and write the results in an output
folder in the current directory.
python3 -m trace_extractor
Input files can also be manually specified as positional arguments, note that the input
folder will be scanned regardless.
python3 -m trace_extractor file1.mp4 file2.mp4 ...
Example
An example video is present in the input folder, it is a recording of id Software's 1993 DOOM's DEMO1 demo played back on the prboom-plus 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
Built Distribution
Hashes for trace_extractor-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 470304b0e5870b3cf11f44c043cf861292bf9e1951b4b83dbbba83892e26184c |
|
MD5 | ff201b40f26a55d7469d7421851ae8ec |
|
BLAKE2b-256 | db63a1aa719e2422b4d52a4ef37729e1e007a243aaf5896baefb1ec536b950ba |