mpn
mpn is a rust-based command line application which can inspect MPEG-4 media files, read box information, and output in variable text formats.
Help
<MEDIAFILE> Pass
CI Status
branch | ci status |
---|---|
main | |
develop |
Installation
crates.io
If cargo installed, this the easiest and fasted way to get up and running:
From source
&& \
&& \
&& \
&& \
Output
$ mpn tests/files/test-bokeh-au-2t-vd-30f-854x480.mp4
[]
= "tests/files/test-bokeh-au-2t-vd-30f-854x480.mp4"
= "2018-03-14 15:24:40 UTC"
= "2018-03-14 15:24:40 UTC"
= "2018-03-14 15:28:25 UTC"
[]
= "1"
= "TrackScaledTime(50176, 0)"
= "MediaScaledTime(0)"
= "TrackScaledTime(0, 0)"
= "TrackTimeScale(48000, 0)"
[]
= 2
= 16
= 48000.0
[]
= true
= 30
= 0
= 0
[]
= "ES"
= 48000
= 2
[]
= "2"
= "TrackScaledTime(30, 1)"
= "MediaScaledTime(0)"
= "TrackScaledTime(1, 1)"
= "TrackTimeScale(30, 1)"
[]
= 854
= 450
[]
= true
= 30
= 55967744
= 29491200
[]
= "AVC"
License
MIT OR Apache-2.0
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.