Thursday, December 20, 2007
Monday, September 17, 2007
Generating Video Thumbnails during Migration
OK, so we want the next released version of OSVault to generate video thumbnails during migration from hard drive to optical/tape media. Here's how the prototype implementation works:
1. During migration, the file type is determined using the "file" command. This has been extended to recognize various video formats.
2. If the file being migrated is a video file that we support, then during migration (not just as a separate task), each block copied out is run thru the ffmpeg program. ffmpeg generates video thumbnails with the command
ffmpeg -y -i video.avi -f singlejpeg -ss 10 -vframes 1 -s 150×100 -an thumbnail.jpg
3. The output thumbnail is placed in /var/www/html for the file browser to find. WHen you use the file browser, the thumbnail is displayed if it exists.
1. During migration, the file type is determined using the "file" command. This has been extended to recognize various video formats.
2. If the file being migrated is a video file that we support, then during migration (not just as a separate task), each block copied out is run thru the ffmpeg program. ffmpeg generates video thumbnails with the command
ffmpeg -y -i video.avi -f singlejpeg -ss 10 -vframes 1 -s 150×100 -an thumbnail.jpg
3. The output thumbnail is placed in /var/www/html for the file browser to find. WHen you use the file browser, the thumbnail is displayed if it exists.
Subscribe to:
Posts (Atom)