Skip to content

wangyoucao577/medialib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

526fbc8 · May 31, 2024

History

98 Commits
May 31, 2024
May 1, 2022
Sep 14, 2023
Feb 3, 2024
Dec 2, 2023
May 4, 2022
Apr 20, 2024
Oct 22, 2023
Sep 14, 2023
May 1, 2022
Sep 18, 2023
Feb 3, 2024
May 11, 2023

Repository files navigation

CI

medialib

Tools

Below tools are available in cmd.

cmd
├── flv2avc
├── mediadump
└── mp42avc
Name Description
mediadump displays the container or elementary stream structure of an input media file, as json or yaml
flv2avc extract a raw AVC/H.264 elementary stream from an flv file
mp42avc extract a raw AVC/H.264 elementary stream from an mp4 file, only support fragemented mp4 at the moment

Examples

  • dump tags of an flv file
./mediadump -logtostderr -i in.flv -o dump.json
./mediadump -logtostderr -i in.flv -of yaml -o dump.yaml 
  • dump boxes of an mp4 file
./mediadump -logtostderr -i in.mp4 -o dump.json
./mediadump -logtostderr -i in.mp4 -of yaml -o dump.yaml 
  • dump nalus of an .h264 file
./mediadump -logtostderr -i in.h264 -o dump.json
./mediadump -logtostderr -i in.h264 -of yaml -o dump.yaml 
  • extract .h264 of an flv file
./flv2avc -logtostderr -i in.flv -o out.h264 
  • extract .h264 of an mp4 file
./mp42avc -logtostderr -i in.mp4 -o out.h264 

About

A collection of media diagnose tools.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages