Aviberry Documentation: Everything You Always Wanted to Know

Some really good news! We’ve finally realized Aviberry documentation and from now you can get answers to all your questions.

Don’t know what to do in the beginning? Read our documentation.

Not sure which preset or format you need? Refer to our documentation.

Need to learn more about converting for mobile devices? Find the answer reading our documentation!

Hope, from now Aviberry will become even better and more convenient for you.

 

A Few Words About HTML5

Nowadays, designers and developers have several options for integrating video into a web page. You can design your own video player, use free widgets, embed YouTube video code or buy a fancy flash pop-up player.

There are many forms, shapes and layouts for online video players – all designed to enhance your web presence. But no matter which player you use, the key purpose is to provide quick access to your video content for all your visitors.

That means each user should be able to play video without receiving an unfriendly “Install Flash plugin to watch this video” message.

Contemplating this, you might tend towards HTML5 video technology. After all, HTML5 promises to play video directly in the browser without any plug-ins. At first sight, it looks like the ultimate video solution. But before you switch your website video to HTML5, let’s cover the pros and cons of innovative HTML5 video integration.

Pros:

  • It needs no more plug-ins.
  • It works on desktop and mobile devices.
  • It has flexible player settings: users can move and rotate web players.

Cons:

  • It is not supported by Internet Explorer 6, 7, 8 (but who cares?).
  • It requires video conversion.
  • It has not stable specification. You have to study new markup principles.

Obviously, HTML5 is well on its way to fame and fortune, but it’s too early to declare a complete HTML5 victory, and for sure all these cons don’t mean that you can’t use it today. At least you should be well informed and equipped to transfer smoothly from one markup to another.

Encoding In The Cloud II. Can I Trust It?

The recent Streaming Media West conference in Los Angeles took place and there was Peter Csathy, president and CEO of Sorenson Media. He said that video encoding is moving from the desktop to the cloud nowadays, but the evolution process is not fast.

One reason for the slow move to the cloud is that companies have concerns about privacy and security. But when they try cloud encoding, says Csathy, they typically come back for more.

He sais that encoding services are focusing on enterprises lately, making customers comfortable with cloud encoding and emphasizing the fast upload technology that allows them to upload large files without long delays: “Harness the power of the cloud, take those files — fast file, fast transfer up into the cloud because that’s critical so you can have near real-time review and approval and collaboration — but wrapping it in all kinds of security so that you feel safe taking this prime motion picture and television content that’s worth millions of dollars and that can’t get out, it cannot be leaked out, wrapping that in the security that’s necessary to enable the media and entertainment companies to feel comfortable with that, but now you can transcode it, optimize the delivery, and auto-detect the device that it’s being sent to.”

Csathy also sais that the move to the cloud is the next evolution of video encoding.

“In the next three years, I see the majority or workflows going into the cloud. You will always have some behind the firewall, but it will be a gradual transition. Once the companies get comfortable with it after getting a taste of it, then more and more of the workflow will go there,” he adds.

Listen the entire interview below.

video platformvideo managementvideo solutionsvideo player

MPEG-4. The Best Codec for Streaming

You have a great choice for streaming, when encoding a video and dropping it into MPEG-4. It is usually characterized by a choice at low bitrates over limited bandwidth and it can show great results under bandwidth and processor limitations.

There are a great number of containers for MPEG-4: well-known and always good like AVI, MOV and the raw transport stream (TS), which you will often have found dumped from your DVB hardware, as well as newer variants like MP4 and MKV. Your choice depends on the compatibility of your playback device, but encoding them shouldn’t be too difficult.

As for free tools – the only reliable one is the open source FFmpeg utility. You can use it to create MPEG-4 compatible files, although there are plenty of expensive commercial options available that may stick closer to the original specification.

When it comes to encoding, the main limiting factor is available bandwidth rather than playback hardware. You may want to stream video across a wireless-N network, for example, and while its specification may boast a transfer speed of 108Mbps, the results are seldom as fast as promised.

This means you need to find a compromise between resolution, bandwidth and quality that hits your bandwidth sweet spot, and unlike the limitless world of high definition, you’ll also need to compress the audio. The codec you choose will depend on the playback hardware, but the most common options is MP3 encoded through Lame.

The best codec for iOs

If you are encoding video for playback on Apple devices, you need to make as many cuts as you can, because even Apple devices are constrained by bandwidth and hardware. It will be good, for example,to scale your original material to 1,024 x 768 before encoding for playback on an iPad.

Fortunately, Apple has strict encoding discipline that makes the process of codec choice easier. For best results on your iOS device, you need to choose an MOV container using the H.264 codec.

29.97fps (NTSC) is the best framerate to choose, which you can enter as 30,000/1,001 if you’re using FFMPEG, and audio should use the AAC codec with a bitrate of around 160kbps.

The Best Codecs for HD Video

Let’s define two notions: a codec and a container.

A codec is a compression algorithm, used to reduce the size of a stream. There are audio codecs and video codecs. MPEG-1, MPEG-2, MPEG-4, Vorbis, DivX, etc. are codecs.

A container format contains one or several streams already encoded by codecs. Very often, there is an audio stream and a video one. AVI, Ogg, MOV, ASF are container formats. The streams contained can be encoded using different codecs.

So, you can choose certain video codec and use it with a container. With MKV files, for example, you can choose between H.264, MPEG-4 and VP3. All three use similar technology, but the first and the second are far better than the third one.

It’s better to use H.264 for high definition. This is often represented by x264, which is the free software implementation of the codec.

Bitrates and resolution are also important. 1080p source material has 2.25 times more pixels than 720p, and higher rates can be harder to decode on your playback hardware. As a rough approximation, we recommend generating a file with a size within the 8-12GB region for a typical two-hour HD movie. To maximise quality, aim for a 12GB+ file with a bitrate of 10+ Mbps.

Audio codec choice depends on AV setup’s capabilities. You may not touch the audio at all and use the ‘pass-through’ option in your encoding software.

This Aviberry Is So Different

Aviberry is not the only one fixed solutions, it is at least three solution forms and each one complies certan requirements.

Cloud Online Video Converter
It accepts video from multiple sources – FTP, HTTP, S3 – and works with almost all media formats. The output video can be tuned to match your specific requirements: size, dimensions, bitrate, etc.
Professional-grade, stable and reliable, it will meet the requirements of any business with a predictable amount of video content to be converted every month.

Hosted Managed Video Server
It is a server that’s maintained by our engineers and dedicated to serving your media encoding needs. Integrating with the Aviberry service is simple: we support all platforms and provide a fully documented, easy to use API (both JSON-RPC and XML-RPC). As for delivery, Aviberry works with HTTP/FTP and Amazon S3 services for both source video retrieval and output video delivery.
The Aviberry Managed Hosted Server is ideal for corporate customers with moderate quantities of video content to process that`s predictable on a monthly basis.

Video Server Software License
It gives you total in-house control over your video encoding needs. It`s a time-saving solution that will convert your server farm into a media encoding studio producing enterprise-quality video.
Aviberry Video Server Software License is the ideal solution for large organizations with an existing server farm or who are restricted to running a conversion service only within their data center.

Standard Aviberry Presets

What is a preset? It is a set of conversion settings used in encoding software.

Each preset contains optimal settings designed for conversion into a certain format or for a certain device. Presets usage makes your conversion tasks faster and more effective.

Using Aviberry you can choose among existing presets or create your own. Aviberry provides a huge variety of them, both format and device presets. To choose the needed one is the simplest task with Aviberry Presets Catalog.
Here you can set a bunch of filters based on your demands.

Try the feature and enjoy its simplicity and amenity.

Encoding in the Cloud

Have you heard about cloud-based video encoding? Do you know what it is? Do you know how it can be used? Here we’d like to cover several aspects concerning encoding in the cloud.

What is it?
Cloud encoding services are internet-based companies to which you upload your source video files and then choose encoding and delivery parameters. They convert and deliver your files to the designated locations.

How does it work?
To get your files encoded, you upload your source video files to the cloud encoding service, typically through some type of XML or API. Some services also enable a more casual interface for less-automated activities, such as creating FTP-based watch folders or even direct file upload similar to YouTube. Once uploaded, you create and designate encoding templates and delivery destinations, just like you would with a desktop program, and then start the encoding job.

Why do you need it?
You need to be profitable. Utilizing a transcode solution that maximizes your audience and delivers
superior quality is an imperative. At the same time, it is now possible with cloud‐based encoding to stay current with the latest and greatest formats, bit rates, codecs, etc., while reducing your management costs. A robust cloud‐based encoding solution can further automate your workflow and free up
valuable resources to focus on feature and performance enhancements.

How to Resize a Video

Sometimes you need to change aspect ratio when converting a videofile. For example, you have a widescreen (16:9 aspect ratio) video that you want to watch on your iPhone (which has a 4:3 aspect ratio screen). If you try to upload the video to your device without resizing, it will either not play at all on your device or it will be displayed incorrectly (probably with elongated images). You can fix the problem using Aviberry.

Step 1. Sign in to your Aviberry account.

Step 2. Set file source and file target.

Step 3. Choose the right preset.

Step 4. Click Advanced and check preset settings. Here you can check width and height, and select the resize method. There are three of them: strech, letter box, and crop.

Stretch – the original video frame is stretched (or condensed) to the specified frame size (width and height).

Letter Box – the original video frame is placed within the output frame. The aspect ratio stays the same, and the free space between the input and the output frames appears as black bars.

Crop – the original video frame is placed within the output frame. The aspect ratio stays the same, and the parts of the input frame that go beyond the output frame size are cut off.

With regard to resize quality, two options are available: Normal (Fast) and Best (Slow).

The other way to resize your video is to use Aviberry API:

{
    "version":"1.1",
    "method":"startConversion",
    "id":1,
    "params":
    {
        "source_url":"ftp:\/\/user:password@host\/path_to_file\/source_video.avi",
        "target_url":"mailto:user@mail.ru",
        "preset":
        {
            "format_id":"16505",
            "preset_id":"920",
            "preset_data":
            "{
                \"Width\":\"320\",
                \"Height\":\"240\",
                \"ResizeMethod\":\"1\",
                \"ResizeQuality\":\"1\",
            }"
        }
    }
}