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

  • Screams in the Vault: Public Domain Horror in the Age of IP
  • Keep on GIFin’ — A New Version of GifCities, Internet Archive’s GeoCities Animated GIF Search Engine!
  • Announcing “Future Knowledge”: A New Podcast from the Internet Archive & Authors Alliance
  • Meet Sophia Tung, the Creative Force Behind Internet Archive’s Microfiche Scanning Livestream
  • In Memory of Rob Reich: Musician, Performer, Friend

Recent Comments

  • jasonbrown9027@gmail.com on Announcing “Future Knowledge”: A New Podcast from the Internet Archive & Authors Alliance
  • Jonathan Hasford on Announcing “Future Knowledge”: A New Podcast from the Internet Archive & Authors Alliance
  • DJ Jones on Announcing “Future Knowledge”: A New Podcast from the Internet Archive & Authors Alliance
  • Kim Connors on Announcing “Future Knowledge”: A New Podcast from the Internet Archive & Authors Alliance
  • Olivia on Meet Sophia Tung, the Creative Force Behind Internet Archive’s Microfiche Scanning Livestream

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