Internet Archive Blogs

A blog from the team at archive.org

Internet Archive Blogs
Skip to content
  • Blog
  • Announcements
  • 25th Anniversary
  • 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! →

Recent Posts

  • Virtual Book Talk: The Apple II Age
  • Unveiling the Hidden Truth: UCSF Industry Documents Library Empowers Research Into Tobacco, Drug and Related Industries
  • Let us serve you, but don’t bring us down
  • CRASH! BARK! BOOM! The USC Sound Effects Library
  • The International Democracy’s Library Team Came Together for Presentations, Discussion, and a Workshop About Gov Docs (3.16.23)

Recent Comments

  • Adelaide Dupont on Virtual Book Talk: The Apple II Age
  • rodel banez capinig on Unveiling the Hidden Truth: UCSF Industry Documents Library Empowers Research Into Tobacco, Drug and Related Industries
  • masterX244 on Let us serve you, but don’t bring us down
  • دانلود آهنگ on Let us serve you, but don’t bring us down
  • robert on Let us serve you, but don’t bring us down

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