Summary Of Video Editing Options

These past weeks, we have provided you with many different tutorials about how you can edit video files using the RESTful API of online-convert.com. This article will wrap up all you can do and list the tutorials for easier access.

There are a few preliminaries before you can start video editing though:

  • get a free API key for our API (you get that one after registering for free)
  • get Postman, either the stand-alone program or the Chrome application
  • check out how to use Postman for APIs

 

How To Edit Videos Using Our API

Online-Convert.com is no video editing service. We allow you to convert many different files into more common formats. However, when converting, you can already do some minor editing of your files that makes opening, viewing and using them easier.

Video files have gotten the “special treatment” at online-convert.com lately. Thus, here are the practical things in terms of video editing you can do while converting your video and movie files.

 

Cut Video Files

Your video is too long? Or you simply want only a part of it? Then you can cut it using our API. By setting a start and stop time, only the part of the video you specified this way will be converted into another (or the same) format.

All you need is the following piece of code:

“options”: {
“start”: “00:00:06”,
“end”: “00:00:11”
}

 

Crop Video Files

Not to mix up with cutting videos, cropping a video changes the image/view that is shown to you on a video player. This can be useful to cut out black bars on the sides or bottom and top of a video. Likewise, it allows you to crop out only one part of the video instead of the whole screen.

To do so, you just need to insert this code into your POST command:

"options": {
        "crop_top": 10,
        "crop_bottom": 50,
        "crop_left": 150,
        "crop_right": 200
      }

 

Change Video & Audio Codec

Video as well as audio data contained in a video clip or movie can be encoded in different ways. For that, different codecs or standards are used. If you want to find out more about codecs, check out this article: Video Codecs and Containers – What Are They?

Changing the codec, both for video and audio streams, can be necessary since not all players support all codec. This is true for both media players for your computer, tablet or phone, and for hardware players. Thus, maybe a file that does not play for you simply needs another codec. Likewise, when you only see the video or can only see the audio stream, maybe the respective other needs a different codec.

Changing the codecs is easy with our API:

"options": {
        "codec": "mpeg4",
        "audio_codec": "aac"
      }

 

Remove Audio Streams

In case you want to just have the visual information from a video and not the audio, you can easily remove the audio stream:

"options": {
        "remove_audio": true
      }

 

Change Aspect Ratio

Videos have a certain aspect ratio, like the commonly used 16:9. However, on some screens, a different aspect ratio would look better. Thus, we offer you the possibility to change it:

"options": {
        "aspect_ratio": "16:9"
      }

 

Change Audio Channel

There are two majorly used audio channels: stereo and mono. With our API, you can change from one to the other:

"options": {
        "channel": "mono"
      }

 

Mirror A Video

Mirroring a video can create nice effects for your videos or add a different look to them. With this piece of code, you can mirror a video either horizontally or vertically:

"options": {
        "mirror": "vertical"
      }

 

Rotate A Video

Especially when taking a video with a mobile phone, it can happen that it is upside down or tilted to the side. Using our API, you can rotate your video a certain amount of degrees, clockwise:

"options": {
        "rotate": "180"
      }

 

The last video editing operations are explained in much more detail here: More Video Editing Options


Want to get in touch with us? Hit us up on our social media channels!
  

Crop Videos Online – API Tutorial

Crop Video Files

Converting video files is one thing you can do with the powerful and RESTful API of Online-Convert.com – but there is more!

Easy video editing is something the API is capable of as well. In a past article, we have already shown how to change video and audio codecs using the API, but that’s not all. The feature or editing tool we want to introduce today is how to crop videos, not with regard to run time, but the actual screen or image dimension of the video.

 

Before we start, check out how to use our API with Postman, which is a free tool to create and send API calls. Depending on what you prefer, you can download it as a standalone program or zse the Google Chrome App. Once you got this down, lets go to the cropping!

 

How To Crop Videos

Cropping your video requires a few additions to the options part of your POST request to our API. Thee options are rather self-explanatory, making it easy to add and apply changes. Take a look at the following:

"options": {
        "crop_top": 10,
        "crop_bottom": 50,
        "crop_left": 150,
        "crop_right": 200
      }

As you can see, the options are named after what we want to do to our video screen, namely crop, and the edge or direction where you want to crop. Thus, crop_top will crop the noted value from the top of the video, crop_bottom from the bottom, and so on. The value given for the single crop options is given in pixels.

 

Of course you can choose to crop only from one or two sides. For example, in order to cut off black bars from the top and bottom of the video, you only have to use the respective crop options. The other ones, crop-left and crop_right, can be left out in the command:

"options": {
        "crop_top": 300,
        "crop_bottom": 3000
      }

 

As a whole, this would result in a POST command, including the input format as well as the format you want to convert to, that looks like this:

{
    "input": [{
      "type": "remote",
      "source": "http://cdn.online-convert.com/example-file/video/mp4/example_small.mp4"
    }],
    "conversion": [{
      "category": "video",
      "target": "mp4",
      "options": {
        "crop_top": 50,
        "crop_bottom": 50,
        "crop_left": 200,
        "crop_right": 200
      }
    }]
}

Want to get in touch with us? Hit us up on our social media channels!
  

Change Video Codec – How To Edit Videos Via API

Converting all kinds of video files to other video formats is a strong suit of Online-Convert.com and our API. Likewise, converting music and other audio files to video and vice versa is possible as well. But we can do more!

With the help of the API you are now able to edit your video files when it comes to different video and audio codecs! Using a free tool called Postman (which is available as a downloadable program or as an app for your Google Chrome browser), you can now change different codecs in your video files. To do so and use Postman, you don’t have to be a developer. We have created a tutorial for you on how to use Postman to test our API. Once you get the hang of it, you can start editing video files!

 

How To Change Codecs For Video Files

Assuming that you learned how to send basic requests to Postman, all you need to do is change the code you send. In the options of your request, you can add the codec you wish to change. Following, we will show you how to do this for both video and audio codecs.

 

Change Video Codec

When sending your POST request, the video codecs you want to change can be specified in the options. This means the following snipped should be part of the “conversion” part of your code.

"options": {
        "codec": "h.264"
      }

 

For example, the code for a whole conversion, including input file, would look like this:

{
    "input": [{
      "type": "remote",
      "source": "http://cdn.online-convert.com/example-file/video/mp4/example_small.mp4"
    }],
    "conversion": [{
      "category": "video",
      "target": "mp4",
      "options": {
        "codec": "mpeg1video"
      }
    }]
}

 

There are several video codecs supported by our API, depending on the video format you are converting to. The whole list contains the following codecs:

  • dx50
  • h.263
  • h.264
  • h.265
  • huffyuv
  • mjpeg
  • mpeg1video
  • mpeg2video
  • mpeg4
  • msmpeg
  • screen_video
  • screen_video_2
  • sorenson
  • theora
  • vp8
  • vp9
  • wmv7
  • wmv8
  • xvid

 

However, not all codecs are supported by all video formats you can convert to. But there are two ways to find out which codecs are actually supported by the file you need.

  1. Check this list here: https://api2.online-convert.com/conversions?page=2
    Simply search for the format you want to convert to and check the list of codecs.
  2. Check a format directly using this link: https://api2.online-convert.com/conversions?target=avi
    In the URL, simply replace the format extension (here “avi”) with the extension you want to check

 

Change Audio Codec

Changing the audio codec of a video is just as easy as changing the video codec. It is also done using the options of a “conversion” request, just using another command:

"options": {
        "audio_codec": "flac"
      }

 

A full command to change the audio codec of a video file would look like this:

{
    "input": [{
      "type": "remote",
      "source": "http://cdn.online-convert.com/example-file/video/mp4/example_small.mp4"
    }],
    "conversion": [{
      "category": "video",
      "target": "mp4",
      "options": {
        "audio_codec": "mp3"
      }
    }]
}

 

There are several audio codecs you can choose from when converting to video. The full list is the following:

  • acc
  • adpcm
  • adpcm_ms
  • amr-nb
  • asao
  • flac
  • mp2
  • mp3
  • opus
  • pcm_s16_be
  • pcm_s16_le
  • pcm_u8
  • speex
  • vorbis
  • wmav1
  • wmav2

 

For specific audio codecs able to choose for certain video files, check the two links from above. They are all listed there as well.

 

Change Audio & Video Codec At Once

Last but not least, lets have a look at what our code would look like to change both the video and audio codec at the same time.

{
    "input": [{
      "type": "remote",
      "source": "http://cdn.online-convert.com/example-file/video/avi/example_small.avi"
    }],
    "conversion": [{
      "category": "video",
      "target": "avi",
      "options": {
        "codec": "mpeg4",
        "audio_codec": "aac"
      }
    }]
}

Want to get in touch with us? Hit us up on our social media channels!

NEW Feature: Change Video Codec

Change Video Codec

In an earlier article, we have already touched on the topic of video codecs. In short, these codecs determine the compression of a video file and which players are able to play your video. This is the reason why some media players on your computer or even hardware players may not be able to play a movie or clip you downloaded. The codecs must be supported by the respective player in order to do so.

Thus, if a video works without a problem on your computer but can’t be watch on your TV, the codec may be the problem. Online-Convert.com has you covered for that. You can now change the codec of your video file!

 

Change The Video Codec Of Your File

Playing with the video codec of your file can be a delicate task. Thus, make sure to always preserve the original file until you know the converted file works as you want it to. A bit of trial and error may be needed. Alternatively, you can always read up on which codecs are supported by your hardware device or media player and choose a codec from the (hopefully) given list.

Luckily, changing the codec is rather easy. You simply have to choose it from a dropdown list given when you convert your file to MP4, MOV, 3GP or any other video format on online-convert.com.

 

Depending on the output format, you will have some of the following codecs available:

  • dx50
  • h.263
  • h.264
  • h.265
  • huffyuv
  • mjpeg
  • mpeg1video
  • mpeg2video
  • mpeg4
  • msmpeg
  • screen_video
  • screen_video_2
  • sorenson
  • theora
  • vp8
  • vp9
  • wmv7
  • wmv8
  • xvid

 

Changing The Audio Codec

Video files contain many different media streams. Next to the video data, there is also audio data stored in the file (sometimes even subtitles and different audio data for different languages as well). Especially when a video plays without the audio being audible, it may be that the issue lies within the audio codec of the audio stream.

Thus, you are also able to change the audio codec used in your video file! For a complete list of codecs available and more information about audio codecs in general, check out this article.


Want to get in touch with us? Hit us up on our social media channels!

How To Cut Video Files

Cut Videos

There are two easy and free ways to cut your videos. Shortening a video or cutting a part of a movie is easy and does not require installing any software. We will show you how.

The first way is using the one of the video converters of video.online-convert.com. The other is using our powerful and easy to use API.

 

How To Shorten A Video

Following, we will give you a step by step tutorial on how to easily shorten and cut videos using either our website or our API. All you need is your video and the Postman app for the latter.

 

Using Online-Convert.com

If you want to cut or shorten your video using the Online-Convert website, all you need is your video. Or even just a link to your video. The groundwork for cutting your video is to find out where you want to cut it though. Check your video and write down the time where you want the part you want to cut starts and ends.

 

1. Go to video.online-convert.com. There, you can choose any video converter you like. We suggest converting your videos to MP4 as it is the most supported and common video format nowadays.

2. Upload your video. You can browse your hard drive or phone, enter a link or choose a video you have stored on GDrive or Dropbox.

Cut Video

3. Go to the “Optional settings” and enter the start and end date of the portion you want to cut. The format used is a simple HH:MM:SS format. If you leave either field blank, the cut will start right at the beginning of the video or end at the very end of it.

4. Afterwards, click on “Convert file”. After a while, your now cut video is ready for download!

Cut Video

 

Using The API

Using the Online-Convert API is something not only developers can do. Check out our tutorial on how to use Postman to test our API and start cutting your videos!

What you need is an input file and the following POST command for Postman. In the example, we used a remote file link, but of course you can also upload a file with the according commands. We have added a tutorial on how to upload files in Postman as well.

Here’s the command that you can use. Simply change the remote URL and the start and end times to your liking:

{
    "input": [{
      "type": "remote",
      "source": "http://cdn.online-convert.com/example-file/video/mp4/example_small.mp4"
    }],
    "conversion": [{
      "category": "video",
      "target": "mp4",
      "options": {
        "start": "00:00:06",
        "end": "00:00:11"
      }
    }]
}

Want to get in touch with us? Hit us up on our social media channels!

5 Reason Why To Convert Video To MP3

One of the many advantages of Online-Convert.com is conversion across different file categories. There is more than just converting images or document from one format to the other!

That way, you have so many more possibilities. You can easily turn a video into an animated GIF or a presentation into a video. You can even extract text from a picture. For a more complete list, you can check this article about what’s possible with cross-conversion. In this article, however, we want to focus on one very particular cross-category conversion and why you need it:

 

From Video to Audio

Converting a video file like MP4, WEBM or MOV to audio is only one of the more special conversions possible on Online-Convert.com . But why would you want to convert a movie or video clip to MP3, OGG or AIFF even? The following 5 reasons might give you an idea about that.

 

1. Gather Sound Effects

Are you a passionate music mixer or you like to create videos using different (funny) sound effects? Then there is an easy way to get some. The background atmosphere of a busy city, birds chirping, a dog barking, someone laughing… Movies and video clips are filled with such ambient noise and sound effects you can extract my converting the video to audio. Simply

 

2. Extract Famous Movie Quotes

Movies are a big part of pop culture. The characters we see on screen have the potential to become icons for style and a whole generation. As do the things they say. Quotes from classic movies have been incorporated into songs ever since and now you can do so too! Or are you preparing a quiz about movie quotes? Do not simply read them but let them play to your audience without any visual clues to give away the answer beforehand!

 

3. Video Creation

When learning how to create and edit videos, many people turn to fan-made creations. There are plenty that can be found on YouTube that consist of different video clips, music and quotes or news reports cut and mixed together.

If you want to try and dabble in this field as well, you need to gather all the necessary clips you need form different movies. And, of course, you have to collect your audio parts as well. Instead of playing the clip with the quote, saying or scene you want the audio only, convert it to MP3 and place it into your video without the video content of the original source.

 

4. Create Your Own Audio Book

This is not only a great idea for children! Of course, cartoons are perfect for this kind of conversion, but many stories that do not need much explaining can easily be converted into an audio book or audio drama. Maybe you can even find videos of people reading a part of their own book or a short story! Convert them and listen to them on your way to and from work, on a longer drive or on your phone.

 

5. Extract Music From Videos

Sometimes it is incredibly difficult to get your hands on a certain piece of movie score or song that was played in a very specific version during the movie. But there is a way how to listen to it nonetheless without having to watch the movie again. Likewise, you can extract music from a music video of your favorite band that you can not find on iTunes or Spotify. Remixes, special versions or covers of popular songs are often difficult to come by, but by converting the clip you heard it in to MP3, for example, you can listen to it whenever you want.


Want to get in touch with us? Hit us up on our social media channels!

5 Reasons Why You Need Online Video Conversion

There are many reasons for why you need video conversion – especially in our modern, technological world. Today, we want to explore 5 of these reasons. And not only that! We will also show you why an online solution is oftentimes the better solution!

 

Top 5 Reasons To Use Online Video Conversion

1. Watch Videos On All Devices

Some mobile phones, especially older ones, can not handle all videos and codecs. In order to view your videos on all your devices, however – may it be a tablet or iPad, Android phone or iPhone, or even an iPod – it may be needed to converted them to a universally supported format.

There are different ways to do so:

  1. MP4 videos are supported by most modern devices
  2. An older video format specifically for 3G phones is 3GP, however
  3. You can optimize your videos for Android, Blackberry, iPad, iPhone or iPod
  4. Even optimization for different gaming consoles is possible, e.g. Nintendo 3DS, Playstation, Nintendo Wii or XBOX

No matter what you decide for, these converters can help you to correctly open and view your videos on the phone, console and tablet of your choice.

 

2. Save Videos From Social Media

Sharing funny videos on social media is nice and all, but what if you want to save them? Either to store them or to watch them while not being connected to the web? Downloading these videos is always not as easy as uploading them. No matter if you want to download a video from Facebook or Instagram, we got you covered. You can even save old Vines that can still be viewed on the site even though Vine is no more.

 

3. Basic Video Editing

Your video is upside down? Or tilted to the side? Or is it simply too big to be sent via WhatsApp or another messenger? An online video converter can help even here!

Changing the file size as well as the screen size is an easy thing, but you can go even more in depth. Frame rate, bit rate and audio quality can be toggled by you as well. Furthermore, online video conversion allows you to mirror or flip a video or even cut parts of the video so you won’t have to save or send the whole file!

 

4. Social Media Doesn’t Support GIFs

Animated GIFs are popular since they loop one (funny) sequence over and over. To say it in short, they focus on the relevant parts. And yet, many social media platforms like Facebook and Instagram do not support the upload and display of animated GIFs. Instead, they only show a still image of the first frame of the animation. This is not what we want to share with our friends, family and followers when we upload a GIF!

This can be helped when you convert the animated GIFs (back) to video. Depending on your settings, videos loop on Facebook and Instagram as well and they can easily be uploaded to both platforms.

 

5. Online Is Better

Now, why should you do all of this online, you ask? There are actually several reasons for that:

  1. No installation. You don’t need to install any software to your computer or another app on your phone. Simply use the website to get your videos converted.
  2. Do it from anywhere. There is no need to be at home or on your own computer. With the online video conversion you can convert and edit your videos from any computer or mobile device as long as you have a working internet connection.
  3. No viruses or malware. Downloading a file for software installation is always a risk to infest your computer with a virus. When there is nothing to download but your file, however, those risks are significantly smaller.

Want to get in touch with us? Hit us up on our social media channels!

How To Prepare Your Videos For WhatsApp

WhatsApp Videos

Social Media is a great way to share your videos with your friends, family and colleagues – and with the world. What we post on social media is, depending on the privacy settings of our profiles, visible for everyone. Everyone can see our pictures, read our statuses, watch our videos. Hence why some things should better not be shared on social media.

Want to share them on Facebook, Instagram and Twitter still? Check out how to upload videos to social media.

 

Luckily, there is another easy and convenient way to share photos and videos with other people – without putting it out there for “everyone” to see: WhatsApp. WhatsApp is more than just a tool to send text messages to one another. It allows us to share images, videos, even animated GIFs with single people and even a whole group of friends.

Today, we want to have a look at how you can get your videos ready and perfect to send and share them using WhatsApp.

 

What you need:

  1. An video
  2. WhatsApp on your phone or WhatsApp Web
  3. A free online video converter

 

How To Get Your Video Ready For WhatsApp

Before we can get our video ready for sending it over WhatsApp, we have to know the specifications of videos allowed to be uploaded and sent using the app. The following table will give a short overview of what is known about videos that can best be sent, received and watched using WhatsApp:

Max. File Size Max. Length File Formats Specifications
16 MB ca. 3 Minutes recommended:

  • MP4

other:

  • AVI
  • MKV
  • H264 or MPEG4 video codec
  • AAC or AC3 audio codec

 

Both MP4 and AVI are video container formats that can contain different codecs for both audio and video streams. This could cause trouble when trying to watch a video you received via WhatsApp. If your phone or device does not support the codec used in the sent video, you can not view it. However, if you convert your video and optimize it as best as possible for WhatsApp, you increase the chance of everyone you send the video to being able to watch it.

Let’s see how you can do that. Of course, you need your video. We are using a file with a 3GP format.

 

1. Open the MP4 converter

The advantage of using such an online version in comparison to a program or app is that you can always use it from everywhere. There is no need to install anything, simply follow the link.

 

2. Upload your file

There are different options for you to upload your video:

  1. Directly from your phone or hard drive
  2. By entering a link
  3. Uploading it from your cloud storage (Dropbox or Google Drive)

 

3. Use the optional settings

As the name suggests, these options are optional. However, they can be important when looking at the specifications of videos for WhatsApp. Two settings in particular are vital for that:

  • Set file size
  • Cut video

Since WhatsApp restricts the video size in two ways, file size and length, you can use those settings to cut your video and make it smaller so WhatsApp can process them.

 

4. Even more optional settings

As you can see on the screenshot above, there are more settings you can use to alter and optimize your video. Especially for videos recorded on a phone, the last two options can be interesting. If your video is upside-down or tilted to the side, you can easily rotate it so other people can view it correctly. Furthermore, you can mirror or flip the video as well.

 

5. Convert and upload

Once you did or did not set your optional settings, you can click on “Convert file”. On the next page, you can then download the MP4 file. Depending on the size of your video, it might take a while to upload and process it. But once this is done, you can go ahead and share it on WhatsApp with your friends and family!


Want to get in touch with us? Hit us up on our social media channels!

What Does The p In 720p Stands For?

When you are editing and saving videos, you might have seem them before; numbers with a little p behind them. Even when you are just a casual YouTube watcher, you must have seen them before when checking the quality settings of the video you are watching. This already gives you a hint for what these numbers stand for: they are display or video resolutions.

The most common video resolutions you will come across today are 480p, 720p, 1080p or 2160p.

But what does that mean? What does the p stand for? We have the answer!

 

What Is The p In Screen Resolutions?

In short, p stands for pixels.

In combination with the number, this designation gives you an idea of how many rows of pixels – from top to bottom – are contained in a video, TV set or screen. In case of High Definition (HD) for example, it means that videos or TV sets in HD typically have 720 rows of pixels, since it is referred to as 720p.

Subsequently, this explains the better resolution or “image” of HD screens compared to SD, or 4K compared to HD. Videos shot in 4K have a resolution of 2160p, meaning there are 2160 rows of pixels compared to only 720 rows of pixels in HD.

Here’s a quick overview of the most common resolutions:

  • SD: 480p / 576p
  • HD: 720p / 1080p
  • 4K: 2160p
  • 8K: 4320p

 

Read more about the difference between SD, HQ, HD & 4K.

 

And what is 1080i?

The i here stands for interlaced. Videos recorded or shot in 1080i have a set frame rate of 60 frames per second, creating duplicated frames that are displayed separately. However, they are displayed faster than the human eye can notice.

The disadvantage of 1080i is that, in fast moving scenes, the shots may appear blurry or flickering. Thus, when compared directly, 1080p is preferred over 1080i.


Want to get in touch with us? Hit us up on our social media channels!

Turn Animated GIFs Into Video [TUTORIAL]

From Animated GIF to Video

Animated GIFs, images that loop clips like a video, are very popular. They are used to express different moods or react to posts on social media or elsewhere online. They capture short sequences of a video or animate still images to loop after one another.

Sadly, animated GIFs are not supported by all social media platforms yet. Facebook and Instagram, for example, disable the animation. If you upload an animated GIF to either of them, all you will be able to see is the first frame of the image. Thus, it might be interesting and even necessary to convert your animated GIF to video. That way, you can post it almost everywhere!

 

What you need:

  1. An animated GIF
  2. A browser and working internet connection
  3. This online video converter

 

Convert An Animated GIF to Video

Following, you will find the tutorial on how to turn your animated GIF into a video.

For the conversion, we suggest you use the MP4 video format. This format is widely supported by most social media platforms and devices. This will make sure that your video can be viewed in the largest number of browsers, players and devices.

The GIF we will use for this tutorial was taken from Giphy.com.

 

1. Go to your online video converter

As stated above, we suggest you use a MP4 converter for this for maximum support of your converted video. Thus, all you have to do is follow this link: video.online-convert.com/convert-to-mp4

 

2. Upload your GIF

There are three possibilities to upload your GIF:

  • Upload it from your hard drive
  • Enter a URL to a GIF (we would have to use http://i.giphy.com/Ol2yHMEFJdYEo.gif )
  • Upload a GIF from Dropbox or Google Drive

 

3. Convert your file

The optional settings can be ignored for a simple conversion of animated GIFs to video. Thus, head straight to the bottom of the form and click on “Convert file.”

 

4. Receive your video

You will be immediately redirected to the page where you can download your new video. Depending on your browser, it will be automatically saved on your computer or you will be asked where to save the MP4. Using iOS devices, you might have to save the video to Dropbox since the iPhone, for example, doesn’t allow you to save files from the browser.

 

And that’s it! Now, you have your animation saved in a versatile video format!

GIF Video

Want to get in touch with us? Hit us up on our social media channels!