<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://k2.ixota.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2Fffmpeg</id>
	<title>Linux/ffmpeg - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://k2.ixota.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2Fffmpeg"/>
	<link rel="alternate" type="text/html" href="https://k2.ixota.com/index.php?title=Linux/ffmpeg&amp;action=history"/>
	<updated>2026-06-26T12:11:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.1</generator>
	<entry>
		<id>https://k2.ixota.com/index.php?title=Linux/ffmpeg&amp;diff=5699&amp;oldid=prev</id>
		<title>Kenneth: /* Extract Music from mp4 */</title>
		<link rel="alternate" type="text/html" href="https://k2.ixota.com/index.php?title=Linux/ffmpeg&amp;diff=5699&amp;oldid=prev"/>
		<updated>2020-08-17T02:05:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Extract Music from mp4&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Installation ==&lt;br /&gt;
&lt;br /&gt;
Ubuntu: [https://github.com/adaptlearning/adapt_authoring/wiki/Installing-FFmpeg] [https://askubuntu.com/questions/691109/how-do-i-install-ffmpeg-and-codecs] [https://www.faqforge.com/linux/how-to-install-ffmpeg-on-ubuntu-14-04/]&lt;br /&gt;
 sudo add-apt-repository ppa:mc3man/trusty-media  &lt;br /&gt;
 sudo apt-get update  &lt;br /&gt;
 sudo apt-get install ffmpeg  &lt;br /&gt;
 # sudo apt-get install frei0r-plugins&lt;br /&gt;
 # sudo apt-get install ffmpeg gstreamer0.10-ffmpeg&lt;br /&gt;
&lt;br /&gt;
== convert flv to mp4 ==&lt;br /&gt;
&lt;br /&gt;
See [[flv]]&lt;br /&gt;
&lt;br /&gt;
== Extract Music from mp4 ==&lt;br /&gt;
&lt;br /&gt;
See [[mp4]]&lt;br /&gt;
&lt;br /&gt;
m4a:&lt;br /&gt;
 ffmpeg -i input.mp4 -vn -c:a copy output.m4a&lt;br /&gt;
&lt;br /&gt;
== jpeg slideshow ==&lt;br /&gt;
&lt;br /&gt;
 mkdir show&lt;br /&gt;
 x=1 ; for i in *jpg; do counter=$(printf %05d $x); ln &amp;quot;$i&amp;quot; show/img&amp;quot;$counter&amp;quot;.jpg; x=$(($x+1)); done&lt;br /&gt;
 cd show&lt;br /&gt;
 ffmpeg -r 10 -i img%05d.jpg -c:v libx264 out.mp4&lt;br /&gt;
&lt;br /&gt;
 ffmpeg -r 1/5 -start_number 2 -i img%03d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4&lt;br /&gt;
 ffmpeg -r 1/5 -i img%03d.png -c:v libx264 -vf fps=25 -pix_fmt yuv420p out.mp4&lt;br /&gt;
&lt;br /&gt;
 ffmpeg -framerate 1/5 -i img%03d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4&lt;br /&gt;
&lt;br /&gt;
 ffmpeg -f image2 -i /tmp/img%03d.jpg /tmp/a.mpg&lt;br /&gt;
&lt;br /&gt;
 ffmpeg -r 60 -f image2 -s 1920x1080 -i pic%04d.png -vcodec libx264 -crf 25  -pix_fmt yuv420p test.mp4&lt;br /&gt;
 #  %04d means that zeros will be padded until the length of the string is 4&lt;br /&gt;
 #  -r is the framerate (fps)&lt;br /&gt;
 #  -crf is the quality, lower means better quality, 15-25 is usually good&lt;br /&gt;
 #  -s is the resolution&lt;br /&gt;
 #  -pix_fmt yuv420p specifies the pixel format, change this as needed&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
* Using ffmpeg to convert a set of images into a video - http://hamelot.io/visualization/using-ffmpeg-to-convert-a-set-of-images-into-a-video/&lt;br /&gt;
* FFmpeg create video from images - Stack Overflow - http://stackoverflow.com/questions/24961127/ffmpeg-create-video-from-images&lt;br /&gt;
* linux - ffmpeg: create a video from images - Super User - http://superuser.com/questions/624567/ffmpeg-create-a-video-from-images&lt;br /&gt;
* How to losslessly encode a jpg image sequence to a video in ffmpeg? - Video Production Stack Exchange - http://video.stackexchange.com/questions/7903/how-to-losslessly-encode-a-jpg-image-sequence-to-a-video-in-ffmpeg&lt;br /&gt;
* Create a video slideshow from images – FFmpeg - http://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images&lt;br /&gt;
&lt;br /&gt;
== keywords ==&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
		
	</entry>
</feed>