Internet Archive Blogs

A blog from the team at archive.org

Skip to content
  • Blog
  • Announcements
  • archive.org
  • About
  • Events
  • Developers
  • Donate

files.xml and metadata API now showing video file’s width, height, and duration

Posted on February 9, 2013 by traceypooh

For those video oriented of you who inspect our _files.xml directly, or use a metadata API (JSON) for items, you’ll likely be pleased to know that for all new items, as well as items that update (eg: review posted, metadata changes, rederives), that:

we now detect and stamp into each video file fields for
width
height
length (duration in seconds)

here is an example file listing (in JSON results) demonstrating:
{“name”:”anamorphic.mov”,
“source”:”original”,
“format”:”h.264″,
“length”:”3.03″,
“height”:”720″,
“width”:”1280″,
“mtime”:”1355278126″,
“size”:”375646″,
“md5″:”94a0b479869ab7ee997b36b45d9edb7a”,
“crc32″:”0b8e4162”,
“sha1″:”c21b65ee8e9153f0812d7397fe89224d6f3f80fd”}

we will even attempt to “correct” the width in the case of “anamorphic” videos (eg: the pixels are “rectangular” and not “square”) to the scaled width in square pixel terms (like the one above)

cheers!

Posted in Technical, Television Archive, Video Archive | Tagged ffmpeg, JSON, metadata, movies, video |

Post navigation

← Browser distribution for those using Archive.org new video and audio player — video multiple qualities, related videos, and more! →

Latest Posts

  • Internet Archive and Partners Receive Press Forward Funding to Support Preserving Local News
  • Librarians Convene to Develop Strategies for Documenting Their Community’s Digital Heritage
  • Wayback Machine to Hit ‘Once-in-a-Generation Milestone’ this October: One Trillion Web Pages Archived
  • A Win for Fair Use Is a Win for Libraries
  • Digitizing Democracy: Louis Brizuela Takes Viewers Behind Microfiche Scanning Livestream

Upcoming Events

Jul 22
6:00 pm - 8:00 pm

Stereo Vision: The Art of 3-D Photography

Sep 2
6:30 pm - 9:00 pm

Book Talk: Lucky Day with Chuck Tingle (IN-PERSON)

View Calendar

Recent Comments

  • Stephen F, Olear on Librarians Convene to Develop Strategies for Documenting Their Community’s Digital Heritage
  • PW on A Win for Fair Use Is a Win for Libraries
  • PW on A Win for Fair Use Is a Win for Libraries
  • Onions Make Me Cry on Wayback Machine to Hit ‘Once-in-a-Generation Milestone’ this October: One Trillion Web Pages Archived
  • Jade D Enough on A Win for Fair Use Is a Win for Libraries

Categories

  • 78rpm
  • Announcements
  • Archive Version 2
  • Archive-It
  • Audio Archive
  • Books Archive
  • Cool items
  • Education Archive
  • Emulation
  • Event
  • Image Archive
  • Jobs
  • Lending Books
  • Live Music Archive
  • Movie Archive
  • Music
  • News
  • Newsletter
  • Open Library
  • Past Event
  • Software Archive
  • Technical
  • Television Archive
  • Uncategorized
  • Upcoming Event
  • Video Archive
  • Wayback Machine – Web Archive
  • Web & Data Services

Archives

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress