My Projects

Cataloging my development efforts… or something like that.

Importing, Uploading, Thumbnailing

 Bonsai Video  Add comments
Jun 152009
 

Last week was a busy week for me on the programming end of things… sorry about the lack of a blog post!

I decided to temporarily halt work on the video “collection” concept (grouping similiar videos together isn’t as important as the videos themselves!) and focus back on the workflow for uploading a video. I’m happy to say things looks and flow much better now. Let me walk you though what happens.

  1. Visit the Add Video page
  2. Give the video a title
  3. Choose to Upload a file or Import a file on the server. Importing works best for really large files, where it might make sense to ftp or scp them over manually before bringing them into the software.
  4. I use Mediainfo to read some metadata about the video file, like duration, codecs, etc and store those back on the Video model.
  5. Then, I generate 3 thumbnails at the beginning, middle and end of the video. They are also stored in 2 smaller versions (like thumbnail, and preview).
  6. Presto! Upload complete.

The thumbnail functionality is finished, such that you can manually specific a timecode anywhere in the video to generate a new thumbnail.

I have run into a few bumps with really high quality files, the thumbnail generation takes longer than the web-browser is willing to wait so the browser times out. The process continues on in the background, but its still not the cleanest implementation.

Next on my list of things to work on is video conversion.

Oh yea, here are some screenshots of the current interface:



 Posted by Brian Michalski at 3:26 pm  Tagged with: mediainfo, metadata, thumbnails, timecode

 Leave a Reply Cancel reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

  Progress Updates   Converting Video

Categories

  • Bonsai Video (19)
  • Community Mapping (1)
  • Concerto (2)
  • Flagship Geo (9)
  • Google Maps (1)
  • Uncategorized (6)
  • Vehicle Tracking (4)

Archives

  • December 2017 (1)
  • October 2014 (1)
  • June 2014 (1)
  • June 2013 (1)
  • April 2012 (1)
  • December 2011 (1)
  • July 2011 (1)
  • May 2011 (1)
  • March 2011 (2)
  • December 2010 (3)
  • November 2010 (1)
  • August 2010 (1)
  • July 2010 (2)
  • June 2010 (5)
  • May 2010 (1)
  • October 2009 (1)
  • July 2009 (6)
  • June 2009 (6)
  • May 2009 (6)

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
© 2011 My Projects Suffusion theme by Sayontan Sinha