<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ffmpeg installation on ubuntu 18.04 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/ffmpeg-installation-on-ubuntu-18-04/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sun, 05 Jan 2020 13:54:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Install FFmpeg on Ubuntu 18.04</title>
		<link>https://www.osradar.com/how-to-install-ffmpeg-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/how-to-install-ffmpeg-on-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Sun, 05 Jan 2020 13:54:20 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ffmpeg installation on ubuntu 18.04]]></category>
		<category><![CDATA[how to install ffmpeg on ubuntu 18.04]]></category>
		<category><![CDATA[install ffmpeg 4.2]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17074</guid>

					<description><![CDATA[<p>What is FFmpeg? FFmpeg is an open source software (also a command line tool) used for transcoding multimedia files. FFmpeg consists of shared libraries like libswresample, libavcodec, libavformat, libavutil &#38; programs for handling video, audio &#38; other multimedia files &#38; streams. It provides you the facility of converting various video &#38; audio formats. With FFmpeg [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-ffmpeg-on-ubuntu-18-04/">How To Install FFmpeg on Ubuntu 18.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3><strong>What is FFmpeg?</strong></h3>



<p>FFmpeg is an open source software (also a command line tool) used for transcoding multimedia  files. FFmpeg consists of shared libraries like libswresample, libavcodec, libavformat, libavutil &amp; programs for handling video, audio &amp; other multimedia files &amp; streams. It provides you the facility of converting various video &amp; audio formats. With FFmpeg you can also capture &amp; encode in real-time from hardware such as TV capture card. Just follow the guide to easily Install FFmpeg on your Ubuntu 18.04.</p>



<h3><strong>Step 1: Add ppa:jonathonf/ffmpeg-4.2</strong></h3>



<p>Add jonathonf repo &amp; press Enter when prompt to continue</p>



<pre class="wp-block-verse">sabi@sabi:~$ sudo add-apt-repository ppa:jonathonf/ffmpeg-4<br>  Backport of FFmpeg 4 and associated libraries. Now includes AOM/AV1 support!<br> FDK AAC is not compatible with GPL and FFmpeg can't be redistributed with it included. Please don't ask for it to be added to this public PPA.<br> <br> PPA supporters:<br> BigBlueButton (https://bigbluebutton.org)<br> <br> Donate to FFMPEG: https://ffmpeg.org/donations.html<br> Donate to Debian: https://www.debian.org/donations<br> Donate to this PPA: https://ko-fi.com/jonathonf<br>  More info: https://launchpad.net/~jonathonf/+archive/ubuntu/ffmpeg-4<br> Press<strong> [ENTER]</strong> to continue or Ctrl-c to cancel adding it.</pre>



<h3><strong>Step 2: Update the Repository index</strong></h3>



<pre class="wp-block-verse">sudo apt-get udpate</pre>



<p>After adding PPA , Install the FFmpeg package by running</p>



<pre class="wp-block-verse">sudo apt -y  install ffmpeg</pre>



<h3><strong>Step 3: Verifying FFmpeg Installation</strong></h3>



<p>Confirm the installation by verifying version of FFmpeg </p>



<pre class="wp-block-verse">sabi@sabi:~$ ffmpeg -version<br> ffmpeg version 4.2.1-2~18.04.york2 Copyright (c) 2000-2019 the FFmpeg developers<br> built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)<br> configuration: --prefix=/usr --extra-version='2~18.04.york2' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared<br> libavutil      56. 31.100 / 56. 31.100<br> libavcodec     58. 54.100 / 58. 54.100<br> libavformat    58. 29.100 / 58. 29.100<br> libavdevice    58.  8.100 / 58.  8.100<br> libavfilter     7. 57.100 /  7. 57.100<br> libavresample   4.  0.  0 /  4.  0.  0<br> libswscale      5.  5.100 /  5.  5.100<br> libswresample   3.  5.100 /  3.  5.100<br> libpostproc    55.  5.100 / 55.  5.100</pre>



<p>Install Additional packages by typing</p>



<pre class="wp-block-verse">ffmpeg -encoders<br>ffmpeg -decoders</pre>



<p>You have successfully installed FFmpeg on your system. It&#8217;s time to test and run the FFmpeg on your Ubuntu 18.04</p>



<h3><strong>Step 4: How To Use FFmpeg</strong></h3>



<p>Let&#8217;s take some examples to cover basic things to use FFmpeg on Ubuntu 18.04</p>



<h4><strong>Basic Conversion</strong></h4>



<p>In basic conversion you don&#8217;t have to specify the conversion formats. FFmpeg automatically detects the formats and covert them based on the file extension of an  output file.</p>



<p>Covert a video from mp4 to WebM</p>



<pre class="wp-block-verse">ffmpeg -i video.mp4 video.webm</pre>



<h4><strong>Advanced Conversion</strong></h4>



<p>In advance conversion, you can specify the codecs using -c option. Specify the name of any encoder/decoder which is supported by ffmpeg for copying the input stream along with -c.</p>



<p>For example, here we will covert the audio (-c:a copy) from input.webm &amp; convert the video to a VP9 codec (-c:v vp9) with a bit rate of 1M/s (-b:v), all bundled up in a Matroska container (output.mkv)</p>



<pre class="wp-block-verse">ffmpeg -i input.webm -c:a copy -c:v vp9 -b:v 1M output.mkv</pre>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-ffmpeg-on-ubuntu-18-04/">How To Install FFmpeg on Ubuntu 18.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-ffmpeg-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
