This tutorial covers the steps required to install FFmpeg on Ubuntu 18.04. With FFmpeg, you can convert between various video and audio formats, set sample rates, and resize videos. It contains a set of shared audio and video libraries such as libavcodec, libavformat, and libavutil. It can be a name of any supported decoder/encoder or a special value copy that simply copies the input stream.FFmpeg is a free and open-source command-line tool for transcoding multimedia files. When converting files, use the -c option to specify the codecs. Convert an audio file from mp3 to ogg: $ ffmpeg -i input.mp3 output.ogg.Convert a video file from mp4 to webm: $ ffmpeg -i input.mp4 output.webm.While you convert the audio and video files using ffmpeg it will consider the files format itself. FFmpeg Examplesįollowing are the few basic examples for using the ffmpeg utility. FFmpeg is now installed on your system, and you can start using it. To print all available FFmpeg’s encoders and decoders type: $ ffmpeg -encoders The output should look something like this: ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developersīuilt with gcc 9 (Ubuntu 9.3.0-10ubuntu2) To verify the installation, use the ffmpeg -version command, which prints the FFmpeg version: $ ffmpeg -version To install FFmpeg run the following command: $ sudo apt install ffmpeg 3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |