= Zencoder * http://www.bitbucket.org/mml/zencoder == DESCRIPTION: A small library for interacting with Zencoder.com services. See http://www.Zencoder.com for more details. == FEATURES/PROBLEMS: * None yet == SYNOPSIS: Zencoder.submit_job('somebigapikeynumberthing','s3://bucket/path/to/file.mov', ZencoderAPI::Recipes.iphone({:override=>value})) == REQUIREMENTS: * rest-client == INSTALL: * Get your api key from Zencoder.com, and install the gem. == DEVELOPERS: Here's the biggest input i could generate using the awesome Zencoder api builder. Note that it's nonsensical, as it turns on both skip audio and skip video flags. { "test": 1, "input": "s3://mybucket/foo", "output": [ { "label": "iphone", "base_url": "s3://mybucket/", "filename": "packet/7/movie.flv", "width": 600, "height": 300, "quality": 3, "speed": 3, "upscale": 1, "stretch": 1, "frame_rate": 29.997, "max_frame_rate": 30, "keyframe_interval": 30, "video_bitrate": 500, "bitrate_cap": 600, "buffer_size": 500, "h264_profile": "high", "h264_level": 2.2, "skip_video": 1, "audio_codec": "aac", "audio_bitrate": 200, "audio_channels": 2, "audio_sample_rate": 128, "skip_audio": 1, "thumbnails": { "number": 30, "size": "100x100", "base_url": "s3://thumbnails", "prefix": "fname_prefix" }, "notifications": [ "http://callback", "m@loonsoft.com" ], "start_clip": 20, "clip_length": 30 } ], "api_key": "your apikey" } == LICENSE: (The MIT License) Copyright (c) 2010 McClain Looney Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.