Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not fail if media info fails #70

Merged
merged 1 commit into from
Apr 21, 2022
Merged

Conversation

data-retriever
Copy link
Contributor

@data-retriever data-retriever commented Apr 17, 2022

(plus running it through cargo fmt)

For instance checking https://download.blender.org/demo/movies/BBB/bbb_sunflower_1080p_60fps_normal.mp4
It will show all the tracks:

$ cargo run --example mp4info  ~/bbb_sunflower_1080p_60fps_normal.mp4
File:
  file size:          355856562
  major_brand:        isom
  compatible_brands:  isom avc1 

Movie:
  version:        0
  creation time:  1387216772
  duration:       634.533s
  fragments:      false
  timescale:      600

Found 3 Tracks
  Track: #1(und) Video: h264 (High) (avc1 / 0x61766331), 1920x1080, 4004 kb/s, 60.00 fps
  Track: #3(und) Audio: mp4a box not found
  Track: #2(und) Audio: aac (-) (mp4a / 0x6D703461), 96000 Hz, -, 160 kb/s

@alfg alfg merged commit 084381b into alfg:master Apr 21, 2022
@alfg
Copy link
Owner

alfg commented Apr 21, 2022

Thank you!

jprochazk pushed a commit to jprochazk/mp4 that referenced this pull request Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants