Video::OpenQuicktime - An interface to the OpenQuicktime library.
use Video::OpenQuicktime; my $qt = Video::OpenQuicktime->new(file=>"sample.mov"); $qt->get_video_height; $qt->get_audio_compression; $qt->get_audio_samplerate;
From the OpenQuicktime site, http://www.openquicktime.org:
"OpenQuicktime aims to be a portable library for handling Apple's QuickTime(TM) popular media files on Unix-like environments. It is aim is to provide encoding, authoring and editing support as well as video playback."
OpenQuicktime is currently able to decode as well as encode video and audio streams. The Video::OpenQuicktime library currently only supports extracting diagnostic information from Quicktime files, such as video dimensions, codecs used, and play length.
I would like to add support for video and audio demux at some point, but don't have the time to develop it right now. Given sufficient user interest or free time, I'll do it. Patches are also welcome in case anyone else wants to help me out, see the contact information below.
A subset of the OpenQuicktime API is currently supported. Listed below are the supported methods, details are available at:
The methods in the API are prefixed by oqt_. I've dropped the prefix for the Video::OpenQuicktime module. So get_audio_bits() is an internal call to oqt_get_audio_bits().
get_audio_bits get_audio_channels get_audio_compressor get_audio_length get_audio_samplerate get_audio_track_count get_copyright get_info get_name get_video_compressor get_video_depth get_video_framerate get_video_height get_video_length get_video_track_count get_video_width
Allen Day <firstname.lastname@example.org> Copyright (c) 2002, Allen Day
Aladdin Free Public License, Version 8 (see LICENSE file in distribution)
OpenQuicktime: documentation for openquicktime.h http://www.openquicktime.org/docs/