RotoCanvasPaint/more/19 ffmpeg commands for all ...

2799 lines
214 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<!--[if IE]><![endif]-->
<title>19 ffmpeg commands for all needs | CatsWhoCode.com</title>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">
<link rel="shortcut icon" href="http://www.catswhocode.com/blog/wp-content/themes/cat-stellation/images/favicon.png">
<link rel="apple-touch-icon" href="http://www.catswhocode.com/blog/wp-content/themes/cat-stellation/images/apple-touch-icon.png">
<link rel="stylesheet" href="http://www.catswhocode.com/blog/wp-content/themes/cat-stellation/style.css">
<link rel="alternate" type="application/rss+xml" href="http://feeds2.feedburner.com/Catswhocode" title="CatsWhoCode.com RSS feed">
<script type='text/javascript' src='http://www.catswhocode.com/blog/wp-content/themes/cat-stellation/js/modernizr-1.5.min.js?ver=1.5'></script>
<link rel='prev' title='How to: Customize your Twitter homepage' href='http://www.catswhocode.com/blog/how-to-customize-your-twitter-homepage' />
<link rel='next' title='6 tricks and tip to create a &#8220;Magazine&#8221; WordPress theme' href='http://www.catswhocode.com/blog/6-tricks-and-tip-to-create-a-magazine-wordpress-theme' />
<link rel='canonical' href='http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs' />
<link rel='shortlink' href='http://www.catswhocode.com/blog/?p=824' />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-3695993-3']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head><!--[if lt IE 7 ]><body class="ie6 single single-post postid-824 single-format-standard"><![endif]-->
<!--[if IE 7 ]><body class="ie7 single single-post postid-824 single-format-standard"><![endif]-->
<!--[if IE 8 ]><body class="ie8 single single-post postid-824 single-format-standard"><![endif]-->
<!--[if IE 9 ]><body class="ie9 single single-post postid-824 single-format-standard"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><body class="single single-post postid-824 single-format-standard"><!--<![endif]-->
<!-- BuySellAds.com Ad Code -->
<script type="text/javascript">
(function(){
var bsa = document.createElement('script');
bsa.type = 'text/javascript';
bsa.async = true;
bsa.src = '//s3.buysellads.com/ac/bsa.js';
(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa);
})();
</script>
<!-- END BuySellAds.com Ad Code -->
<header id="header" role="banner">
<nav id="top-nav" role="navigation"><div class="menu-header"><ul id="menu-menu" class="menu"><li id="menu-item-4061" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-4061"><a href="http://www.catswhocode.com/blog">Home</a></li>
<li id="menu-item-4746" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4746"><a href="http://www.catswhocode.com/blog/snippets">Snippets</a></li>
<li id="menu-item-4063" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4063"><a href="http://www.catswhocode.com/blog/about">About</a></li>
<li id="menu-item-4062" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4062"><a href="http://www.catswhocode.com/blog/contact">Contact</a></li>
<li id="menu-item-4387" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-4387"><a href="http://www.catswhocode.com">Categories</a>
<ul class="sub-menu">
<li id="menu-item-4380" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-4380"><a href="http://www.catswhocode.com/blog/category/css-2">CSS</a></li>
<li id="menu-item-4381" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-4381"><a href="http://www.catswhocode.com/blog/category/html5-2">HTML5</a></li>
<li id="menu-item-4382" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-4382"><a href="http://www.catswhocode.com/blog/category/javascript-2">JavaScript</a></li>
<li id="menu-item-4383" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-4383"><a href="http://www.catswhocode.com/blog/category/php-2">PHP</a></li>
<li id="menu-item-4384" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-4384"><a href="http://www.catswhocode.com/blog/category/sql-2">SQL</a></li>
<li id="menu-item-4385" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-4385"><a href="http://www.catswhocode.com/blog/category/web-development-tools">Web Development Tools</a></li>
<li id="menu-item-4386" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-4386"><a href="http://www.catswhocode.com/blog/category/wordpress">WordPress</a></li>
</ul>
</li>
<li id="menu-item-4064" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-4064"><a href="http://www.webdevcat.com">Hire me</a></li>
</ul></div></nav>
<div id="logo"><a href="http://www.catswhocode.com/blog/">CatsWhoCode.com</a></div>
</header>
<div id="main" role="main">
<section id="main-content">
<article class="post-824 post type-post status-publish format-standard hentry category-gnu-linux category-os tag-ffmpeg" id="post-824">
<header>
<h2 class="title"><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs" rel="bookmark" title="Permanent Link to 19 ffmpeg commands for all needs">19 ffmpeg commands for all needs</a></h2>
<p class="meta"><time datetime="2008-09-22">Published on September 22nd, 2008</time> <span class="author">by Jean-Baptiste Jung</span>. <a class="comment" href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comments">159 Comments</a> - </p>
<p><p>ffmpeg is a multiplatform, open-source library for video and audio files. I have compiled 19 useful and amazing commands covering almost all needs: video conversion, sound extraction, encoding file for iPod or PSP, and more.</p>
</p>
</header>
<h5>Getting infos from a video file</h5>
<pre>ffmpeg -i video.avi</pre>
<h5>Turn X images to a video sequence</h5>
<pre>ffmpeg -f image2 -i image%d.jpg video.mpg</pre>
<p>This command will transform all the images from the current directory (named image1.jpg, image2.jpg, etc&#8230;) to a video file named video.mpg.</p>
<h5>Turn a video to X images</h5>
<pre>ffmpeg -i video.mpg image%d.jpg</pre>
<p>This command will generate the files named image1.jpg, image2.jpg, &#8230;</p>
<p>The following image formats are also availables : PGM, PPM, PAM, PGMYUV, JPEG, GIF, PNG, TIFF, SGI. </p>
<h5>Encode a video sequence for the iPpod/iPhone</h5>
<pre>ffmpeg -i source_video.avi input -acodec aac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 320x180 -title X final_video.mp4</pre>
<p>Explanations :</p>
<ul>
<li>Source : source_video.avi</li>
<li>Audio codec : aac</li>
<li>Audio bitrate : 128kb/s</li>
<li>Video codec : mpeg4</li>
<li>Video bitrate : 1200kb/s</li>
<li>Video size : 320px par 180px</li>
<li>Generated video : final_video.mp4</li>
</ul>
<h5>Encode video for the PSP</h5>
<pre>ffmpeg -i source_video.avi -b 300 -s 320x240 -vcodec xvid -ab 32 -ar 24000 -acodec aac final_video.mp4</pre>
<p>Explanations :</p>
<ul>
<li>Source : source_video.avi</li>
<li>Audio codec : aac</li>
<li>Audio bitrate : 32kb/s</li>
<li>Video codec : xvid</li>
<li>Video bitrate : 1200kb/s</li>
<li>Video size : 320px par 180px</li>
<li>Generated video : final_video.mp4</li>
</ul>
<h5>Extracting sound from a video, and save it as Mp3</h5>
<pre>ffmpeg -i source_video.avi -vn -ar 44100 -ac 2 -ab 192 -f mp3 sound.mp3</pre>
<p>Explanations :</p>
<ul>
<li>Source video : source_video.avi</li>
<li>Audio bitrate : 192kb/s</li>
<li>output format : mp3</li>
<li>Generated sound : sound.mp3</li>
</ul>
<h5>Convert a wav file to Mp3</h5>
<pre>ffmpeg -i son_origine.avi -vn -ar 44100 -ac 2 -ab 192 -f mp3 son_final.mp3</pre>
<h5>Convert .avi video to .mpg</h5>
<pre>ffmpeg -i video_origine.avi video_finale.mpg</pre>
<h5>Convert .mpg to .avi</h5>
<pre>ffmpeg -i video_origine.mpg video_finale.avi</pre>
<h5>Convert .avi to animated gif(uncompressed)</h5>
<pre>ffmpeg -i video_origine.avi gif_anime.gif</pre>
<h5>Mix a video with a sound file</h5>
<pre>ffmpeg -i son.wav -i video_origine.avi video_finale.mpg</pre>
<h5>Convert .avi to .flv</h5>
<pre>ffmpeg -i video_origine.avi -ab 56 -ar 44100 -b 200 -r 15 -s 320x240 -f flv video_finale.flv</pre>
<h5>Convert .avi to dv</h5>
<pre>ffmpeg -i video_origine.avi -s pal -r pal -aspect 4:3 -ar 48000 -ac 2 video_finale.dv</pre>
<p>Or:</p>
<pre>ffmpeg -i video_origine.avi -target pal-dv video_finale.dv</pre>
<h5>Convert .avi to mpeg for dvd players</h5>
<pre>ffmpeg -i source_video.avi -target pal-dvd -ps 2000000000 -aspect 16:9 finale_video.mpeg</pre>
<p>Explanations :</p>
<ul>
<li>target pal-dvd : Output format</li>
<li>ps 2000000000 maximum size for the output file, in bits (here, 2 Gb)</li>
<li>aspect 16:9 : Widescreen</li>
</ul>
<h5>Compress .avi to divx</h5>
<pre>ffmpeg -i video_origine.avi -s 320x240 -vcodec msmpeg4v2 video_finale.avi</pre>
<h5>Compress Ogg Theora to Mpeg dvd</h5>
<pre>ffmpeg -i film_sortie_cinelerra.ogm -s 720x576 -vcodec mpeg2video -acodec mp3 film_terminée.mpg</pre>
<h5>Compress .avi to SVCD mpeg2</h5>
<p>NTSC format:</p>
<pre>ffmpeg -i video_origine.avi -target ntsc-svcd video_finale.mpg</pre>
<p>PAL format:</p>
<pre>ffmpeg -i video_origine.avi -target pal-svcd video_finale.mpg</pre>
<h5>Compress .avi to VCD mpeg2</h5>
<p>NTSC format:</p>
<pre>ffmpeg -i video_origine.avi -target ntsc-vcd video_finale.mpg</pre>
<p>PAL format:</p>
<pre>ffmpeg -i video_origine.avi -target pal-vcd video_finale.mpg</pre>
<h5>Multi-pass encoding with ffmpeg</h5>
<pre>ffmpeg -i fichierentree -pass 2 -passlogfile ffmpeg2pass fichiersortie-2</pre>
<h5>Find a webhost with ffmpeg enabled</h5>
<p><a href="http://www.catswhocode.com/blog/cirtex.html">Cirtex Hosting</a> got web hosting plans starting at $2.99.</p>
<ul>
<li><a href="http://www.catswhocode.com/blog/cirtex.html">CirtexHosting &#8211; FFMpeg Hosting (Exclusive ClipBucket/PHPMotion/Vidiscript Auto-installer Free!)</a></li>
<li><a href="http://www.catswhocode.com/blog/cirtex.html">HostV &#8211; FFMpeg / Red5 Hosting (Exclusive ClipBucket/PHPMotion/Vidiscript Auto-installer Free!)</a></li>
</ul>
<p><em>This article is an English adaptation of <a href="http://www.jcartier.net/spip.php?article36" target="blank">Jean Cartier ffmpeg exemples</a>.</em></p>
<footer>
<div id="rel-container">
<div id="rel-left">
<h3>More posts about GNU/Linux</h3><ul> <li><a href="http://www.catswhocode.com/blog/10-icons-sets-to-customize-your-gnulinux-desktop" rel="bookmark" title="Permanent Link to 10 icons sets to customize your GNU/Linux desktop">10 icons sets to customize your GNU/Linux desktop</a></li>
</ul>
<div id="share">
<h3>Share this article</h3>
<div class="share-block" style="width:150px;">
<a href="https://twitter.com/share" class="twitter-share-button" data-via="catswhocode" data-size="large">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div><!-- .share-block -->
<div class="share-block">
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs&amp;send=false&amp;layout=box_count&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=90" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:70px; height:70px;" allowTransparency="true"></iframe>
</div><!-- .share-block -->
<div class="share-block">
<script type="text/javascript">var dzone_url = 'http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs';</script>
<script type="text/javascript">var dzone_title = '19 ffmpeg commands for all needs';</script>
<script type="text/javascript">var dzone_blurb = '<p>ffmpeg is a multiplatform, open-source library for video and audio files. I have compiled 19 useful and amazing commands covering almost all needs: video conversion, sound extraction, encoding file for iPod or PSP, and more.</p>
';</script>
<script type="text/javascript">var dzone_style = '1';</script>
<script language="javascript" src="http://widgets.dzone.com/links/widgets/zoneit.js"></script>
</div><!-- .share-block -->
</div><!-- #share -->
</div><!-- #rel-left -->
<div id="rel-right">
<div id="bsap_1244474" class="bsarocks bsap_65d4a8b1d549bef63e730d4adcf8cf4d"></div>
</div><!-- #rel-right -->
<div class="clear">&nbsp;</div>
</div><!-- #rel-cont -->
</footer>
</article>
<div id="comments">
<h3 id="comments-title">Comments (159) - <a href="#reply-title">Leave yours</a></h3>
<ol class="comment-list">
<li>
<article class="pingback even thread-even depth-1" id="comment-9529">
<header class="comment-author vcard">
<cite class="fn"><a href='http://business.pitauto.com/2008/09/19-ffmpeg-commands-for-all-needs/' rel='external nofollow' class='url'>Business blog &raquo; Blog Archive &raquo; 19 ffmpeg commands for all needs</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9529">September 22, 2008 at 1:42 am</a></time>
</header>
<p>[...] Read the rest of this great post here [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9529#respond' onclick='return addComment.moveForm("comment-9529", "9529", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="trackback odd alt thread-odd thread-alt depth-1" id="comment-9562">
<header class="comment-author vcard">
<cite class="fn"><a href='http://web2announcer.com/go/2773336' rel='external nofollow' class='url'>Web 2.0 Announcer</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9562">September 22, 2008 at 5:14 pm</a></time>
</header>
<p><strong>19 ffmpeg commands for all needs&#8230;</strong></p>
<p>[...]ffmpeg is a multiplatform, open-source library for video and audio files. I have compiled 19 useful and amazing commands covering almost all needs: video conversion, sound extraction, encoding file for iPod or PSP, and more.[...]&#8230;</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9562#respond' onclick='return addComment.moveForm("comment-9562", "9562", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-9573">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/268aa0bfafe607bd601de405608ba5f1?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://stephentanner.net' rel='external nofollow' class='url'>Stephen</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9573">September 22, 2008 at 8:33 pm</a></time>
</header>
<p>Thanks for the cheat sheet, submitted this to stumble&#8230;</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9573#respond' onclick='return addComment.moveForm("comment-9573", "9573", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment byuser comment-author-jbj bypostauthor odd alt thread-odd thread-alt depth-1" id="comment-9574">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/84f25aced089a434f91dbb3cb9d5f55a?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.lyxia.org' rel='external nofollow' class='url'>jbj</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9574">September 22, 2008 at 8:47 pm</a></time>
</header>
<p>Thanks, Stephen!</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9574#respond' onclick='return addComment.moveForm("comment-9574", "9574", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-9581">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/d200a0a5a1f9564369294651191072fa?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://knoppmyth.net' rel='external nofollow' class='url'>cesman</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9581">September 22, 2008 at 11:17 pm</a></time>
</header>
<p>Great article! Submitted to digg.</p>
<p>Regards,</p>
<p>Cecil</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9581#respond' onclick='return addComment.moveForm("comment-9581", "9581", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment byuser comment-author-jbj bypostauthor odd alt thread-odd thread-alt depth-1" id="comment-9582">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/84f25aced089a434f91dbb3cb9d5f55a?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.lyxia.org' rel='external nofollow' class='url'>jbj</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9582">September 22, 2008 at 11:22 pm</a></time>
</header>
<p>Thanks, cesman!</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9582#respond' onclick='return addComment.moveForm("comment-9582", "9582", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-9595">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/d200a0a5a1f9564369294651191072fa?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://knoppmyth.net' rel='external nofollow' class='url'>cesman</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9595">September 23, 2008 at 6:05 am</a></time>
</header>
<p>You&#8217;re welcome.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9595#respond' onclick='return addComment.moveForm("comment-9595", "9595", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-9607">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/e5572b4cf715886d0a66ee141947a3bf?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://lindesk.com/' rel='external nofollow' class='url'>Binny V A</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9607">September 23, 2008 at 10:04 am</a></time>
</header>
<p>Some of my favorite <a href="http://txt.binnyva.com/tag/ffmpeg/" rel="nofollow">ffmpeg commands</a>. I use mencoder for the rest.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9607#respond' onclick='return addComment.moveForm("comment-9607", "9607", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="trackback even thread-even depth-1" id="comment-9610">
<header class="comment-author vcard">
<cite class="fn"><a href='http://web2announcer.com/go/2773930' rel='external nofollow' class='url'>Web 2.0 Announcer</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9610">September 23, 2008 at 11:17 am</a></time>
</header>
<p><strong>19 ffmpeg commands for all needs&#8230;</strong></p>
<p>[...][...]&#8230;</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9610#respond' onclick='return addComment.moveForm("comment-9610", "9610", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-9629">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/49c029d3265d76a2bf6733a3f8aa2969?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">M Kenyon II</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9629">September 23, 2008 at 8:23 pm</a></time>
</header>
<p>How about DVD to avi?</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9629#respond' onclick='return addComment.moveForm("comment-9629", "9629", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-9630">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/2318fe4cb12badbdffcee6b97dafb6b3?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">damien</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9630">September 23, 2008 at 8:33 pm</a></time>
</header>
<p>Pretty cool! In converting images to a video, how do you start in a different #&#8230; like say i want to do image50 to image100.jpg?</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9630#respond' onclick='return addComment.moveForm("comment-9630", "9630", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-9631">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/2318fe4cb12badbdffcee6b97dafb6b3?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">damien</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9631">September 23, 2008 at 8:48 pm</a></time>
</header>
<p>I guess it didn&#8217;t take my comment. I was wondering if there was a way to turn images into video, but, by specifying a range of images&#8230; i.e. image50 &#8211; image500 . only converting those images?</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9631#respond' onclick='return addComment.moveForm("comment-9631", "9631", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-9634">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/615897199c6acecf6913edddbfbf416c?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://blog.gettingrichthecertainway.net/2008/01/5-tips-for-minfulness.html' rel='external nofollow' class='url'>Olivier @ mindfulness exercises</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9634">September 23, 2008 at 9:48 pm</a></time>
</header>
<p>I only use ffmpeg with xine. I thought it was a library but it seems it is also a command line tool. And a very powerful at that.<br />
Thanks a lot.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9634#respond' onclick='return addComment.moveForm("comment-9634", "9634", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment byuser comment-author-jbj bypostauthor odd alt thread-odd thread-alt depth-1" id="comment-9635">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/84f25aced089a434f91dbb3cb9d5f55a?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.lyxia.org' rel='external nofollow' class='url'>jbj</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9635">September 23, 2008 at 9:54 pm</a></time>
</header>
<p>@damien: I don&#8217;t know why but Akismet flagged your comment as spam&#8230;Btw, I never tried to start of at image50.jpg, but I&#8217;m pretty sure that it will work if you define a integer shell variable named d which have 50 as a value.</p>
<p>@Olivier: You can use ffmpeg both as a command line tool, or as a library. I&#8217;m pretty sure that Youtube uses it to convert mpeg and avi videos submitted by its users to the flv files they displays on the site.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9635#respond' onclick='return addComment.moveForm("comment-9635", "9635", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-9636">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/2318fe4cb12badbdffcee6b97dafb6b3?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">damien</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9636">September 23, 2008 at 10:10 pm</a></time>
</header>
<p>How would you define that in a command line? How about doing btws? Between image50 and image500? I know this is a lot to ask, but thanx for replying and your help!</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9636#respond' onclick='return addComment.moveForm("comment-9636", "9636", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-9638">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/7deb05b834ebcee5ac6562d513d4b359?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Michael B</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9638">September 23, 2008 at 10:47 pm</a></time>
</header>
<p>iPhone question (yeah, yeah, I know). From looking online it appears that the iPhone can play XVID/DIVX files, since they&#8217;re basically MPEG4. Does anyone know a way to do a fast transcode? Leave the data the same, just change the bare minimum (headers/container) so that iTunes will import and sync it to the iPod? It&#8217;d take up more space, but it would take minute or so to do an entire (for sake of argument, mind you) TV show that you found on the intertubes.</p>
<p>(And thanks for the reminder on FFMPEG &#8211; I needed something like that last night)</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9638#respond' onclick='return addComment.moveForm("comment-9638", "9638", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-even depth-1" id="comment-9645">
<header class="comment-author vcard">
<cite class="fn"><a href='http://news1.b-onthemove.com/?p=13922' rel='external nofollow' class='url'>B On The Move - Tech News &raquo; Blog Archive &raquo; Ffmpeg Your Way to Media Conversion Bliss [Media Conversion]</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9645">September 24, 2008 at 2:32 am</a></time>
</header>
<p>[...] If you prefer sticking to the speed of the command line whenever possible, weblog CatsWhoCode details how to use Ffmpeg&mdash;the cross-platform command-line tool that runs in the background of most popular media conversion tools&mdash;to convert video, audio, and images to just about any format. [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9645#respond' onclick='return addComment.moveForm("comment-9645", "9645", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-odd thread-alt depth-1" id="comment-9649">
<header class="comment-author vcard">
<cite class="fn"><a href='http://www.diyus.com/2008/09/23/ffmpeg-your-way-to-media-conversion-bliss-media-conversion/' rel='external nofollow' class='url'>Ffmpeg Your Way to Media Conversion Bliss [Media Conversion]&nbsp;|&nbsp;DiyUs.com</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9649">September 24, 2008 at 3:49 am</a></time>
</header>
<p>[...] I&#173;f&#173; y&#173;o&#173;u pr&#173;ef&#173;er&#173; st&#173;i&#173;c&#173;ki&#173;n&#173;g t&#173;o&#173; t&#173;he speed o&#173;f&#173; t&#173;he c&#173;o&#173;mman&#173;d l&#173;i&#173;n&#173;e when&#173;ever&#173; po&#173;ssi&#173;bl&#173;e, webl&#173;o&#173;g C&#173;at&#173;sWho&#173;C&#173;o&#173;de det&#173;ai&#173;l&#173;s ho&#173;w t&#173;o&#173; use Ffmpe&#173;g&#38;mdash&#173;;t&#173;h&#173;e&#173; c&#173;r&#173;o&#173;ss-plat&#173;fo&#173;r&#173;m c&#173;o&#173;mman&#173;d-lin&#173;e&#173; t&#173;o&#173;o&#173;l t&#173;h&#173;at&#173; r&#173;un&#173;s in&#173; t&#173;h&#173;e&#173; bac&#173;k&#173;gr&#173;o&#173;un&#173;d o&#173;f mo&#173;st&#173; po&#173;pular&#173; me&#173;dia c&#173;o&#173;n&#173;ve&#173;r&#173;sio&#173;n&#173; t&#173;o&#173;o&#173;ls&#38;mdash&#173;;t&#173;o&#173; c&#173;o&#173;n&#173;v&#173;er&#173;t&#173; v&#173;i&#173;deo&#173;, audi&#173;o&#173;, an&#173;d i&#38;&#8230;. [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9649#respond' onclick='return addComment.moveForm("comment-9649", "9649", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-even depth-1" id="comment-9650">
<header class="comment-author vcard">
<cite class="fn"><a href='http://binnyva.wordpress.com/2008/09/24/links-for-2008-09-23/' rel='external nofollow' class='url'>links for 2008-09-23 &laquo; B-link List</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9650">September 24, 2008 at 4:05 am</a></time>
</header>
<p>[...] 19 ffmpeg commands for all needs ffmpeg is a multiplatform, open-source library for video and audio files. I have compiled 19 useful and amazing commands covering almost all needs: video conversion, sound extraction, encoding file for iPod or PSP, and more. (tags: linux video ffmpeg encoding command txt) [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9650#respond' onclick='return addComment.moveForm("comment-9650", "9650", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-odd thread-alt depth-1" id="comment-9657">
<header class="comment-author vcard">
<cite class="fn"><a href='http://links.bubmiller.com/2008/09/23/links-for-2008-09-23/' rel='external nofollow' class='url'>Web Sites of Interest &raquo; links for 2008-09-23</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9657">September 24, 2008 at 6:01 am</a></time>
</header>
<p>[...] 19 ffmpeg commands for all needs (tags: video utilities tutorial tools tips reference opensource music programming) steve on September 23rd, 2008 | Filed under 15 | [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9657#respond' onclick='return addComment.moveForm("comment-9657", "9657", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-even depth-1" id="comment-9662">
<header class="comment-author vcard">
<cite class="fn"><a href='http://donghaima.wordpress.com/2008/09/24/links-for-2008-09-24/' rel='external nofollow' class='url'>links for 2008-09-24 &laquo; Donghai Ma</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9662">September 24, 2008 at 10:05 am</a></time>
</header>
<p>[...] 19 ffmpeg commands for all needs (tags: reference tips linux utilities tools encoding multimedia video ffmpeg) [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9662#respond' onclick='return addComment.moveForm("comment-9662", "9662", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-odd thread-alt depth-1" id="comment-9667">
<header class="comment-author vcard">
<cite class="fn"><a href='http://www.opgoth.com/?p=240' rel='external nofollow' class='url'>links for 2008-09-24 &bull; Blog Archive &bull; Opéra Gothique</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9667">September 24, 2008 at 2:35 pm</a></time>
</header>
<p>[...] 19 ffmpeg commands for all needs (tags: Multimedia converter) About this entry [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9667#respond' onclick='return addComment.moveForm("comment-9667", "9667", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-even depth-1" id="comment-9669">
<header class="comment-author vcard">
<cite class="fn"><a href='http://david.loureiro1.free.fr/wp-fr/?p=89' rel='external nofollow' class='url'>Conversion avi vers mp4 avec ffmpeg (pour Nokia XpressMusic 5310) | Le blog de David Loureiro</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9669">September 24, 2008 at 3:42 pm</a></time>
</header>
<p>[...] 19 ffmpeg commands for all needs (qui est en anglais) [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9669#respond' onclick='return addComment.moveForm("comment-9669", "9669", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-9670">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/2318fe4cb12badbdffcee6b97dafb6b3?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">damien</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9670">September 24, 2008 at 3:47 pm</a></time>
</header>
<p>@ jbj</p>
<p>I have images in sequence that look like this:</p>
<p>image00001.jpg</p>
<p>all the way to image05000.jpg</p>
<p>I tried doing the code up there but nothing. I get an error. Here&#8217;s what i tried:</p>
<p>ffmpeg -f image2 -i image%d.jpg video.mpg</p>
<p>I get this error: </p>
<p>image%d.jpg: I/O error occurred<br />
Usually that means that input file is truncated and/or corrupted.</p>
<p>What&#8217;s interesting is if i change the file name to 001.jpg and so on, it works. I really don&#8217;t have control of what the jpg name is going to be so how do i get it to work with that naming convention? Thanx again!</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9670#respond' onclick='return addComment.moveForm("comment-9670", "9670", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
<ul class='children'>
<li>
<article class="comment even depth-2" id="comment-713770">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/5a7bbf553196ef1a92575a280363a5d6?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Regor</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-713770">March 1, 2012 at 1:05 pm</a></time>
</header>
<p>%##d where the ## is your number sequence, try %05d</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=713770#respond' onclick='return addComment.moveForm("comment-713770", "713770", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
</ul>
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-9676">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/43f4461c4e8d429e959d37991adc8085?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">v3g</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9676">September 24, 2008 at 4:33 pm</a></time>
</header>
<p>Thanks for the recipe, but can&#8217;t encode tv show to mp4 ipod. I get &#8220;Unable to find a suitable output format for &#8216;input&#8217;&#8221; error. Tried on Ubuntu and FreeBSD, video is:<br />
Input #0, avi, from &#8216;Eureka.avi&#8217;:<br />
Duration: 00:41:56.8, start: 0.000000, bitrate: 1157 kb/s<br />
Stream #0.0: Video: mpeg4, yuv420p, 624&#215;352, 23.98 fps(r)<br />
Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s<br />
Maybe, I need to install something else? I updated ffmpeg to the latest. Is there an option for dynamic scaling, or the tool can calculate it?</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9676#respond' onclick='return addComment.moveForm("comment-9676", "9676", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-odd thread-alt depth-1" id="comment-9678">
<header class="comment-author vcard">
<cite class="fn"><a href='http://macfanboy.co.uk/2008/09/24/command-line-iphone-video/' rel='external nofollow' class='url'>Mac Fan Boy &raquo; Command line iPhone video</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9678">September 24, 2008 at 4:48 pm</a></time>
</header>
<p>[...] Discover more quick ffmpeg commands [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9678#respond' onclick='return addComment.moveForm("comment-9678", "9678", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-even depth-1" id="comment-9681">
<header class="comment-author vcard">
<cite class="fn"><a href='http://webmasterautomation.com/blog/2005/07/14/how-to-convert-a-wav-file-to-mp3-format/' rel='external nofollow' class='url'>How to convert a Wav file to Mp3 format | Internet Marketing Blog</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9681">September 24, 2008 at 6:09 pm</a></time>
</header>
<p>[...] 19 ffmpeg commands for all needs [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9681#respond' onclick='return addComment.moveForm("comment-9681", "9681", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-odd thread-alt depth-1" id="comment-9684">
<header class="comment-author vcard">
<cite class="fn"><a href='http://www.techfigure.com/2008/09/24/ffmpeg-your-way-to-media-conversion-bliss-media-conversion/' rel='external nofollow' class='url'>Ffmpeg Your Way to Media Conversion Bliss [Media Conversion] | The tech blog</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9684">September 24, 2008 at 6:55 pm</a></time>
</header>
<p>[...] If you prefer sticking to the speed of the command line whenever possible, weblog CatsWhoCode details how to use Ffmpeg&mdash;the cross-platform command-line tool that runs in the background of most popular media conversion tools&mdash;to convert video, audio, and images to just about any format. [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9684#respond' onclick='return addComment.moveForm("comment-9684", "9684", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-9687">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/8717f986196b9e19f2c625d673b91d3c?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://onlydarksets.wordpress.com/' rel='external nofollow' class='url'>onlydarksets</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9687">September 24, 2008 at 7:31 pm</a></time>
</header>
<p>@15 &#8211; v3g: &#8220;input&#8221; is a typo &#8211; just delete it. The OP is using the command line from the ffmpeg documentation, which uses &#8220;input&#8221; as a placeholder for the name of the input file.</p>
<p>Also, if you get an error about not having the aac codec, use libfaac instead.</p>
<p>http://ffmpeg.mplayerhq.hu/faq.html#SEC25</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9687#respond' onclick='return addComment.moveForm("comment-9687", "9687", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-odd thread-alt depth-1" id="comment-9692">
<header class="comment-author vcard">
<cite class="fn"><a href='http://www.charged.co.za/gadgets/ffmpeg-your-way-to-media-conversion-bliss-media-conversion-2' rel='external nofollow' class='url'>Ffmpeg Your Way to Media Conversion Bliss [Media Conversion] | CHARGED's 24/7 News Aggregator</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9692">September 24, 2008 at 8:18 pm</a></time>
</header>
<p>[...] If you prefer sticking to the speed of the command line whenever possible, weblog CatsWhoCode details how to use Ffmpeg&mdash;the cross-platform command-line tool that runs in the background of most popular media conversion tools&mdash;to convert video, audio, and images to just about any format. [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9692#respond' onclick='return addComment.moveForm("comment-9692", "9692", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-even depth-1" id="comment-9695">
<header class="comment-author vcard">
<cite class="fn"><a href='http://blreber.net/blog/?p=432' rel='external nofollow' class='url'>blreber.net &rsaquo; Daily Blog Post 09/24/2008 (p.m.)</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9695">September 24, 2008 at 9:56 pm</a></time>
</header>
<p>[...] 19 ffmpeg commands for all needs [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9695#respond' onclick='return addComment.moveForm("comment-9695", "9695", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-9717">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/43f4461c4e8d429e959d37991adc8085?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">v3g</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9717">September 25, 2008 at 11:28 am</a></time>
</header>
<p>Thanks, now its working, but the quality is awfull:<br />
ffmpeg -i xxxxx.avi -acodec libfaac -ab 128kb -vcodec libx264 -b 1157kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 312&#215;176 -title X xxxxx.mp4</p>
<p>Input #0, avi, from &#8216;xxxxx.avi&#8217;:<br />
Duration: 00:41:56.8, start: 0.000000, bitrate: 1157 kb/s<br />
Stream #0.0: Video: mpeg4, yuv420p, 624&#215;352, 23.98 fps(r)<br />
Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s<br />
File &#8216;eureka.mp4&#8242; already exists. Overwrite ? [y/N] y<br />
Output #0, mp4, to &#8216;xxxxx.mp4&#8242;:<br />
Stream #0.0: Video: libx264 (hq), yuv420p, 312&#215;176, q=2-31, 1157 kb/s, 23.98 fps(c)<br />
Stream #0.1: Audio: libfaac, 48000 Hz, stereo, 128 kb/s</p>
<p>And that worked on FreeBSD, not Ubuntu. For vcodec mpeg4, I couldn&#8217;t change the width and height, but only with libx264. And still doesn&#8217;t work with Ubuntu.</p>
<p>How do you change the quality, something like &#8216;q=2&#8242; or &#8216;q=9&#8242;?</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9717#respond' onclick='return addComment.moveForm("comment-9717", "9717", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-even depth-1" id="comment-9723">
<header class="comment-author vcard">
<cite class="fn"><a href='http://www.schario.net/2008/ffmpeg-your-way-to-media-conversion-bliss-media-conversion/' rel='external nofollow' class='url'>Ffmpeg Your Way to Media Conversion Bliss [Media Conversion] | schario.net</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9723">September 25, 2008 at 2:11 pm</a></time>
</header>
<p>[...] If you prefer sticking to the speed of the command line whenever possible, weblog CatsWhoCode details how to use Ffmpeg&mdash;the cross-platform command-line tool that runs in the background of most popular media conversion tools&mdash;to convert video, audio, and images to just about any format. [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9723#respond' onclick='return addComment.moveForm("comment-9723", "9723", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-9728">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/8717f986196b9e19f2c625d673b91d3c?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://onlydarksets.wordpress.com/' rel='external nofollow' class='url'>onlydarksets</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9728">September 25, 2008 at 3:16 pm</a></time>
</header>
<p>@v3g : When you change the video codec, you have to use the correct parameters. I have a few examples listed here for h.264:<br />
http://onlydarksets.wordpress.com/2008/09/19/convert-sage-recordings-to-iphone/#more-408</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9728#respond' onclick='return addComment.moveForm("comment-9728", "9728", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-even depth-1" id="comment-9740">
<header class="comment-author vcard">
<cite class="fn"><a href='http://copula.wordpress.com/2008/09/26/links-for-2008-09-25/' rel='external nofollow' class='url'>links for 2008-09-25 &laquo; copula&#8217;s weblog</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9740">September 25, 2008 at 11:05 pm</a></time>
</header>
<p>[...] 19 ffmpeg commands for all needs catswhocode.com — ffmpeg is a multiplatform, open-source library for video and audio files. I have compiled 19 useful and amazing commands covering almost all needs: video conversion, sound extraction, encoding file for iPod or PSP, and more. (tags: 09 2008 media convert tips) [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9740#respond' onclick='return addComment.moveForm("comment-9740", "9740", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-odd thread-alt depth-1" id="comment-9765">
<header class="comment-author vcard">
<cite class="fn"><a href='http://www.catswhocode.com/blog/blogging/tips/how-a-blog-post-becomes-popular-860' rel='external nofollow' class='url'>How a blog post becomes popular</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9765">September 26, 2008 at 6:45 am</a></time>
</header>
<p>[...] post was &#8220;19 ffmpeg commands for all needs&#8220;. It is a &#8220;list&#8221; kind of post, which features 19 recipes for the popular media [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9765#respond' onclick='return addComment.moveForm("comment-9765", "9765", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-9815">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/160bb5a60025d9dd79f250dd6f0b0073?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">SWATZ</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9815">September 27, 2008 at 7:05 am</a></time>
</header>
<p>TOUT SIMPLEMENT<br />
BRAVISIMO</p>
<p>Thanks Dude , You Are the GNU <img src='http://www.catswhocode.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9815#respond' onclick='return addComment.moveForm("comment-9815", "9815", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-odd thread-alt depth-1" id="comment-9878">
<header class="comment-author vcard">
<cite class="fn"><a href='http://www.zdima.net/blog/archives/596' rel='external nofollow' class='url'>Ffmpeg Your Way to Media Conversion Bliss [Media Conversion] @ ZDima.net</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9878">September 28, 2008 at 4:30 pm</a></time>
</header>
<p>[...] command-line tool that runs in the background of most popular media conversion tools—to convert video, audio, and images to just about any format.no comments yet.#64- Gadget Station (Pt. 7) &raquo;&laquo; ClickGone Turns Your Mouse into an App [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9878#respond' onclick='return addComment.moveForm("comment-9878", "9878", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-even depth-1" id="comment-9906">
<header class="comment-author vcard">
<cite class="fn"><a href='http://www.techbytes.pk/blog/2008/09/29/37/' rel='external nofollow' class='url'>Tech Bytes&raquo; Blog Archive &raquo; 19 ffmpeg commands for all needs</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9906">September 29, 2008 at 10:18 am</a></time>
</header>
<p>[...] generate thumbnails from Video files? Then you need FFMPEG library. I found a very nice post titled 19 ffmpeg commands for all needs. Enjoy! This entry was written by Asim Zeeshan and posted on September 29, 2008 at 1:16 pm and [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9906#respond' onclick='return addComment.moveForm("comment-9906", "9906", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-9968">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/1f73059c74de6389f2435ac4e4bd263f?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">PhillyPhanatic</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-9968">September 30, 2008 at 4:09 pm</a></time>
</header>
<p>@damien</p>
<p>might find some help here:</p>
<p>http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html#SEC3</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=9968#respond' onclick='return addComment.moveForm("comment-9968", "9968", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-even depth-1" id="comment-10126">
<header class="comment-author vcard">
<cite class="fn"><a href='http://xnxlabs.wordpress.com/2008/10/02/xnxlinks-20081002/' rel='external nofollow' class='url'>xnxlinks #20081002 &laquo; xnx labs</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-10126">October 3, 2008 at 2:50 am</a></time>
</header>
<p>[...] 19 ffmpeg commands for all needs [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=10126#respond' onclick='return addComment.moveForm("comment-10126", "10126", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-odd thread-alt depth-1" id="comment-10365">
<header class="comment-author vcard">
<cite class="fn"><a href='http://blogs.no-ip.org/craig/archive/2008/10/06/links-for-2008-10-06.aspx' rel='external nofollow' class='url'>links for 2008-10-06 - Craig&#39;s Blog</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-10365">October 6, 2008 at 8:01 pm</a></time>
</header>
<p>[...] Final Vote Results for Roll Call 681 Vote the porkers out (tags: vote politics house bailout) 19 ffmpeg commands for all needs (tags: video utilities tutorial) | [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=10365#respond' onclick='return addComment.moveForm("comment-10365", "10365", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-even depth-1" id="comment-10614">
<header class="comment-author vcard">
<cite class="fn"><a href='http://mundogeek.net/archivos/2008/10/10/19-cosas-utiles-que-puedes-hacer-con-ffmpeg/' rel='external nofollow' class='url'>19 cosas útiles que puedes hacer con ffmpeg</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-10614">October 10, 2008 at 10:45 am</a></time>
</header>
<p>[...] de 19 comandos ffmpeg para todas las necesidades, adaptado a su vez de ffmpeg mediante ejemplos Relacionadas Convertir vídeos FLV a [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=10614#respond' onclick='return addComment.moveForm("comment-10614", "10614", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-odd thread-alt depth-1" id="comment-10638">
<header class="comment-author vcard">
<cite class="fn"><a href='http://www.bitandbit.com.ar/noticias-tecnologia/19-cosas-utiles-que-puedes-hacer-con-ffmpeg/' rel='external nofollow' class='url'>19 cosas útiles que puedes hacer con ffmpeg | Noticias, novedades, tecnología, programación - Bit &amp; Bit</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-10638">October 10, 2008 at 4:02 pm</a></time>
</header>
<p>[...] de 19 comandos ffmpeg para todas las necesidades, adaptado a su vez de ffmpeg mediante [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=10638#respond' onclick='return addComment.moveForm("comment-10638", "10638", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-even depth-1" id="comment-10830">
<header class="comment-author vcard">
<cite class="fn"><a href='http://word.mireino.es/?p=253' rel='external nofollow' class='url'>Master &amp; Programmer &raquo; Blog Archive &raquo; Posibilidades de ffmpeg</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-10830">October 13, 2008 at 9:36 am</a></time>
</header>
<p>[...] de 19 comandos ffmpeg para todas las necesidades, adaptado a su vez de ffmpeg mediante [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=10830#respond' onclick='return addComment.moveForm("comment-10830", "10830", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-odd thread-alt depth-1" id="comment-11180">
<header class="comment-author vcard">
<cite class="fn"><a href='http://ordaso.com/ffmpeg-your-way-to-media-conversion-bliss-media-conversion/' rel='external nofollow' class='url'>Ffmpeg Your Way to Media Conversion Bliss [Media Conversion] | Semantic Web Reviews</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-11180">October 16, 2008 at 11:06 pm</a></time>
</header>
<p>[...] If you prefer sticking to the speed of the command line whenever possible, weblog CatsWhoCode details how to use Ffmpeg&mdash;the cross-platform command-line tool that runs in the background of most popular media conversion tools&mdash;to convert video, audio, and images to just about any format. [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=11180#respond' onclick='return addComment.moveForm("comment-11180", "11180", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-even depth-1" id="comment-11470">
<header class="comment-author vcard">
<cite class="fn"><a href='http://stefan.waidele.info/2008/10/20/stopmotionvideos-mit-ffmpeg-auch-videos-fur-iphone-etc/' rel='external nofollow' class='url'>stefan.waidele.info &raquo; Blog Archive &raquo; Stopmotionvideos mit ffmpeg (auch Videos für iPhone etc.)</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-11470">October 20, 2008 at 11:22 am</a></time>
</header>
<p>[...] mit ffmpeg (auch Videos für iPhone etc.) Posted on 10:20, October 20th, 2008 by Stefan Diese Seite finde ich sicher nicht, wenn ich sie dann brauche. Hier im Blog ist sie aber gut [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=11470#respond' onclick='return addComment.moveForm("comment-11470", "11470", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-odd thread-alt depth-1" id="comment-11920">
<header class="comment-author vcard">
<cite class="fn"><a href='http://www.trommetter.com/log/archives/2008/10/26/links-for-2008-10-26/' rel='external nofollow' class='url'>links for 2008-10-26 | New Trommetter Times</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-11920">October 26, 2008 at 1:02 pm</a></time>
</header>
<p>[...] 19 ffmpeg commands for all needs ffmpeg is a multiplatform, open-source library for video and audio files. I have compiled 19 useful and amazing commands covering almost all needs: video conversion, sound extraction, encoding file for iPod or PSP, and more. (tags: video utilities tutorial tips software reference) Be Sociable [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=11920#respond' onclick='return addComment.moveForm("comment-11920", "11920", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-11964">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/1cf753089043310d3a76ad7ee1518bd8?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Matt</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-11964">October 27, 2008 at 8:50 am</a></time>
</header>
<p>@M Kenyon II </p>
<p>Handbrake-DVD to AVI (multiplatform, open source)<br />
http://www.applemacvideo.com/articles/rip-dvd-on-mac-using-handbrake.html#126</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=11964#respond' onclick='return addComment.moveForm("comment-11964", "11964", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-odd thread-alt depth-1" id="comment-12017">
<header class="comment-author vcard">
<cite class="fn"><a href='http://casidiablo.net/convertir-video-ffmpeg/' rel='external nofollow' class='url'>Lista de conversiones útiles de video usando ffmpeg</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-12017">October 28, 2008 at 7:11 am</a></time>
</header>
<p>[...] CatsWhoCode | traducción por Zootropo Etiquetas: convertir, ffmpeg, tips, [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=12017#respond' onclick='return addComment.moveForm("comment-12017", "12017", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-even depth-1" id="comment-12118">
<header class="comment-author vcard">
<cite class="fn"><a href='http://www.suffire.com/2008/09/23/ffmpeg-your-way-to-media-conversion-bliss-media-conversion/' rel='external nofollow' class='url'>Ffmpeg Your Way to Media Conversion Bliss [Media Conversion]| All Technology Oriented News, Articles, Reviews, Geek Friendly Site| Suffire.com | Geek Stuffs, Technology Related</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-12118">October 30, 2008 at 5:45 am</a></time>
</header>
<p>[...] If yo&#173;u pre&#173;fe&#173;r st&#173;ic&#173;k&#173;in&#173;g t&#173;o&#173; t&#173;h&#173;e&#173; spe&#173;e&#173;d o&#173;f t&#173;h&#173;e&#173; c&#173;o&#173;mman&#173;d lin&#173;e&#173; wh&#173;e&#173;n&#173;e&#173;v&#173;e&#173;r po&#173;ssible&#173;, we&#173;blo&#173;g C&#173;at&#173;sWh&#173;o&#173;C&#173;o&#173;de&#173; de&#173;t&#173;ails h&#173;o&#173;w t&#173;o&#173; use&#173; Ffmpe&#173;g&mdash;the&#173; cross-p&#173;latform comman&#173;&#173;d-li&#173;n&#173;&#173;e&#173; tool that ru&#173;n&#173;&#173;s i&#173;n&#173;&#173; the&#173; b&#173;ack&#173;grou&#173;n&#173;&#173;d of most p&#173;op&#173;u&#173;lar me&#173;di&#173;a con&#173;&#173;ve&#173;rsi&#173;on&#173;&#173; tools&mdash;to c&#173;o&#173;n&#173;ver&#173;t&#173; video&#173;, audio&#173;, an&#173;d imag&#173;es t&#173;o&amp;#173&#8230;. [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=12118#respond' onclick='return addComment.moveForm("comment-12118", "12118", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-12904">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/a652f3e673b4f32fe71b9aa9c63b39d9?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">socky</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-12904">November 12, 2008 at 7:09 am</a></time>
</header>
<p>arrived through stumble&#8230; excellent info.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=12904#respond' onclick='return addComment.moveForm("comment-12904", "12904", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-13594">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/19e3f1be117d66ab7e2037bfb9b108e3?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.cebuextrememusic.com' rel='external nofollow' class='url'>BlackSheep</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-13594">November 22, 2008 at 4:19 am</a></time>
</header>
<p>anyone has a code that will convert wmv to 3gp???</p>
<p>Thank for the efforts!</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=13594#respond' onclick='return addComment.moveForm("comment-13594", "13594", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-odd thread-alt depth-1" id="comment-14220">
<header class="comment-author vcard">
<cite class="fn"><a href='http://www.download-cell-phone.com/how-do-you-download-applications-and-videos-on-iphone-free-of-cost.html' rel='external nofollow' class='url'>How do you download applications and videos on IPHONE free of cost? | Download Cell Phone Themes, Applications,Ringtunes,Games</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-14220">December 3, 2008 at 5:01 am</a></time>
</header>
<p>[...] As for videos, you can convert your videos and add them to the phone through iTunes. There&#8217;s plenty of weird video convertors and spammers advertising them allover but all you need is ffmpeg.exe and a bit of video code knowledge. See http://www.catswhocode.com/blog/os/19-ff&#8230; [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=14220#respond' onclick='return addComment.moveForm("comment-14220", "14220", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-even depth-1" id="comment-15153">
<header class="comment-author vcard">
<cite class="fn"><a href='http://blog.john010117.com/cats-who-code-and-wp-recipes' rel='external nofollow' class='url'>Cats Who Code &#38; WP-recipes :: blog [dot] john010117 [dot] com</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-15153">December 15, 2008 at 6:00 pm</a></time>
</header>
<p>[...] sites. They address issues that are not usually talked about in the web designer world, such as a list of ffmpeg commands (video-to-.flv converter that is fairly hard to use). Their top posts include top 10 CSS buttons [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=15153#respond' onclick='return addComment.moveForm("comment-15153", "15153", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-15863">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/bbafae3c4cffcba0d3e1be49eb1cf75a?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">mrmanny</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-15863">December 23, 2008 at 4:48 am</a></time>
</header>
<p>to encode an avi to to an nokia e71 recognized mp4 format:</p>
<p>ffmpeg -y -i inputFILE.avi -acodec aac -ab 72k -s 320&#215;176 -aspect 16:9 -vcodec h264 -b 300k -qcomp 0.6 -qmin 16 -qmax 51 -qdiff 4 -flags +loop -cmp +chroma -subq 7 -refs 6 -g 250 -keyint_min 25 -rc_eq &#8216;blurCplx^(1-qComp)&#8217; -sc_threshold 40 -me_range 12 -i_qfactor 0.71 -directpred 3 outputFILE.mp4</p>
<p>original file was 700MB, resulting mp4 encoded file slightly less then half @300MB&#8230;quality is excellent <img src='http://www.catswhocode.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>even though I don&#8217;t foresee watching many video&#8217;s on this amazing phone, I thought I would share my findings&#8230;</p>
<p>hh,<br />
manny</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=15863#respond' onclick='return addComment.moveForm("comment-15863", "15863", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
<ul class='children'>
<li>
<article class="comment odd alt depth-2" id="comment-290894">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/f1201846b5563652c8522b250029bfdf?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.minastirith.es' rel='external nofollow' class='url'>Gollum</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-290894">March 20, 2011 at 6:00 am</a></time>
</header>
<p>I copy your example and get this error: Incorrect frame size How can I solve it?<br />
Thanks</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=290894#respond' onclick='return addComment.moveForm("comment-290894", "290894", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
</ul>
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-16363">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/4174b25296b9f49d940ffdf8d5a241a3?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Jay</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-16363">December 29, 2008 at 11:55 pm</a></time>
</header>
<p>Does anyone know if ffmpeg supports transparent images ? I&#8217;m trying to put a sequence of PNGs into a .flv or .mov movies but the transparent parts of the images become black. I searched on Google but can&#8217;t find any solution.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=16363#respond' onclick='return addComment.moveForm("comment-16363", "16363", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-16543">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/f59d0d6b96646726935d02bb7803be99?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Imran Ali</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-16543">January 1, 2009 at 1:02 pm</a></time>
</header>
<p>Thanks for a really nice post, It really helped me alot. <img src='http://www.catswhocode.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=16543#respond' onclick='return addComment.moveForm("comment-16543", "16543", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-17566">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/40823088cec28c3224ff4c46ced1beda?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://greatseth' rel='external nofollow' class='url'>Seth Thomas Rasmussen</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-17566">January 16, 2009 at 3:24 am</a></time>
</header>
<p>Awesome. Thanks!</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=17566#respond' onclick='return addComment.moveForm("comment-17566", "17566", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-odd thread-alt depth-1" id="comment-18719">
<header class="comment-author vcard">
<cite class="fn"><a href='http://www.psycho-city.de/?p=156' rel='external nofollow' class='url'>ffmpeg-Beginner | psycho-city.de</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-18719">January 28, 2009 at 10:25 pm</a></time>
</header>
<p>[...] http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs von admin am 28. Januar 2009 | abgelegt in Open Source getaggt mit ffmpeg, Video &nbsp; [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=18719#respond' onclick='return addComment.moveForm("comment-18719", "18719", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-18912">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/d468373839d916fcbd7046dbcb5cdd8b?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">ajoism</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-18912">January 31, 2009 at 10:43 pm</a></time>
</header>
<p>hello&#8230;thanks,it&#8217;s great but if i convert AVI format into jpg and 3GP into jpg at the same time, how we can determine it is the same frame?can u help me?</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=18912#respond' onclick='return addComment.moveForm("comment-18912", "18912", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-odd thread-alt depth-1" id="comment-19183">
<header class="comment-author vcard">
<cite class="fn"><a href='http://blog.svrljig.net/zarej/2009/02/04/korisni-linkovi/' rel='external nofollow' class='url'>Korisni linkovi &laquo; Svaštarija</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-19183">February 4, 2009 at 7:17 pm</a></time>
</header>
<p>[...] 19 ffmpeg komande za sve potrebe [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=19183#respond' onclick='return addComment.moveForm("comment-19183", "19183", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-19407">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/a764f7f924d5bb15a03cc0d44aed0934?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">TechDogg</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-19407">February 7, 2009 at 8:50 pm</a></time>
</header>
<p>Hi! Thanks a lot for this pre-chewed tutorial! The only thing is that I came across errors when trying the command to convert a video to the iPhone/iPod format.</p>
<p>I was able to fix it by removing the word &#8220;input&#8221; from the command line. Worked perfectly after that. Just wanted to share that with everyone!</p>
<p>Merci encore!</p>
<p>TechDogg</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=19407#respond' onclick='return addComment.moveForm("comment-19407", "19407", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-19984">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/b03f0eb7e2fbcc6b72ddc22974738900?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Morshed Alam</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-19984">February 15, 2009 at 5:57 pm</a></time>
</header>
<p>Hi,<br />
I am facing problem to convert video to .flv in my linux server using ffmpeg. I think ffmpeg is not execute in my server. I gave read/write/execute permission to ffmpeg. Can anyone give me idea of this type of problem or how can i solve this? </p>
<p>Advanced thanks for helping me&#8230;.</p>
<p>:- Morshed Alam</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=19984#respond' onclick='return addComment.moveForm("comment-19984", "19984", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-20007">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/d200a0a5a1f9564369294651191072fa?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://knoppmyth.net' rel='external nofollow' class='url'>cesman</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-20007">February 15, 2009 at 11:42 pm</a></time>
</header>
<p>@Morshed<br />
No one can help w/ with such a vague question. It would help if you provided the context of the command you are trying to execute and the resulting error.</p>
<p>Regards,</p>
<p>Cecil</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=20007#respond' onclick='return addComment.moveForm("comment-20007", "20007", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-21042">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/369b8a02ccfc220f3b3142d09aed2531?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">jimmy</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-21042">March 3, 2009 at 11:31 am</a></time>
</header>
<p>Thankyou so much<br />
A tutorial for humans!!<br />
Just what I&#8217;ve been looking for</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=21042#respond' onclick='return addComment.moveForm("comment-21042", "21042", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-21122">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/a68c7dbfabd88f44b27189161670a09f?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Nancy</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-21122">March 4, 2009 at 5:21 am</a></time>
</header>
<p>Awesome cheat sheet! Thanks for all your work to put this together. Many good karma points for you <img src='http://www.catswhocode.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=21122#respond' onclick='return addComment.moveForm("comment-21122", "21122", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-24477">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/0012223c1ec80a8c99b1307586becf69?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://mobiloverz.com' rel='external nofollow' class='url'>rahman</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-24477">April 4, 2009 at 12:13 pm</a></time>
</header>
<p>what a great article</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=24477#respond' onclick='return addComment.moveForm("comment-24477", "24477", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-even depth-1" id="comment-24851">
<header class="comment-author vcard">
<cite class="fn"><a href='http://blog.webzappr.com/2008/12/16/webzapprs-lifestream/' rel='external nofollow' class='url'>Webzappr&#8217;s Lifestream &laquo; My Random Web Snippets</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-24851">April 7, 2009 at 11:54 pm</a></time>
</header>
<p>[...] 19 ffmpeg commands for all needs [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=24851#respond' onclick='return addComment.moveForm("comment-24851", "24851", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-25117">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/e969c690b36f13f6a3aefad300a5629b?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.solarpowertoptips.com' rel='external nofollow' class='url'>solar power</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-25117">April 9, 2009 at 9:51 pm</a></time>
</header>
<p>Great article. Thanks.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=25117#respond' onclick='return addComment.moveForm("comment-25117", "25117", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-28052">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/d129a8e737f10570b47f8709e4fa0a8f?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://hostonly.blogspot.com' rel='external nofollow' class='url'>gameutopia</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-28052">May 13, 2009 at 8:37 am</a></time>
</header>
<p>Dude this is an awesome list of commands. Usually I am only able to find a couple by searching when I need them, kind of hit and miss. You have a great list much more than most. Many Thanks!</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=28052#respond' onclick='return addComment.moveForm("comment-28052", "28052", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-28981">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/56a43a05c7b4ea6e0f44555182c0f906?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Jason</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-28981">May 26, 2009 at 2:24 pm</a></time>
</header>
<p>When using<br />
ffmpeg -f image2 -i image%d.jpg video.mpg<br />
what if I have hundreds of images starting at image4928.JPG and ending in image5028.JPG, is there a way with out renaming all the files? I tried<br />
ffmpeg -f image2 -i image%04d.jpg video.mpg</p>
<p>but no worky</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=28981#respond' onclick='return addComment.moveForm("comment-28981", "28981", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
<ul class='children'>
<li>
<article class="comment even depth-2" id="comment-364684">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/cca20186d7e10abbc8d6cfadee5a0252?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Hubert</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-364684">May 17, 2011 at 3:56 pm</a></time>
</header>
<p>Hi<br />
I have the same problem in ffmpeg with more then 9 pictures to make a move<br />
ffmpeg -f image2 -i image%d.jpg video.mpg<br />
Do you find a remedy for that ?<br />
What means -f image2 ?</p>
<p>Thanks<br />
Hubert</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=364684#respond' onclick='return addComment.moveForm("comment-364684", "364684", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
</ul>
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-29050">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/64ed406d30c169f281e5747265ade757?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">suba</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-29050">May 27, 2009 at 2:00 pm</a></time>
</header>
<p>Hello </p>
<p>I have converted video using ffmpeg for .wmv and then taken a snapshot for that video<br />
Please check the below code<br />
exec($varFFMPEGpath.&#8217; -i &#8216;.$n_file_name.&#8217; -sameq -ar 44100 -r 25 -ac 2 -ab 128 -b 1200 -qmin 3 -qmax 6 &#8216;.$filename1);<br />
exec($varFFMPEGpath.&#8217; -i &#8216;.$n_file_name.&#8217; -deinterlace -an -ss 00:00:02 -r 1 -y -vcodec mjpeg -f mjpeg &#8216;.$Img_Name.&#8221; 2&gt;&amp;1&#8243;);</p>
<p>Video is playing but the audio is not getting.<br />
Please suggest me to get through the issue. It will be grateful.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=29050#respond' onclick='return addComment.moveForm("comment-29050", "29050", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-29759">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/bf628baaca263808c0a435003aaaa80e?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">R</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-29759">June 3, 2009 at 6:50 pm</a></time>
</header>
<p>How to replace audio track in mpg file?<br />
Anybodu knows?</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=29759#respond' onclick='return addComment.moveForm("comment-29759", "29759", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-even depth-1" id="comment-32233">
<header class="comment-author vcard">
<cite class="fn"><a href='http://www.matteomoro.net/2009/06/20/rss-week-59-letture-per-il-weekend/' rel='external nofollow' class='url'>RSS Week #59: letture per il weekend - Matteo Moro</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-32233">June 20, 2009 at 10:03 am</a></time>
</header>
<p>[...] 19 ffmpeg commands for all needs [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=32233#respond' onclick='return addComment.moveForm("comment-32233", "32233", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-32516">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/0012223c1ec80a8c99b1307586becf69?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">akthar</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-32516">June 23, 2009 at 5:59 am</a></time>
</header>
<p>Thanks for this nice tutorial,if any one can provide how to make watermark in videos using ffmpeg becaz vhook is not live now&#8230;..Pls provide this</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=32516#respond' onclick='return addComment.moveForm("comment-32516", "32516", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-32554">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/0e15e0b6e6ea86f752325b046126bb51?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Jatin Sadana</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-32554">June 23, 2009 at 1:07 pm</a></time>
</header>
<p>AWESOME</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=32554#respond' onclick='return addComment.moveForm("comment-32554", "32554", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-odd thread-alt depth-1" id="comment-32732">
<header class="comment-author vcard">
<cite class="fn"><a href='http://videosoftwaresite.com/19-ffmpeg-commands-for-all-needs/' rel='external nofollow' class='url'>19 ffmpeg commands for all needs | Video Software Site</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-32732">June 25, 2009 at 2:03 am</a></time>
</header>
<p>[...] rest is here: 19 ffmpeg commands for all needs Share and [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=32732#respond' onclick='return addComment.moveForm("comment-32732", "32732", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-32986">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/55b6ff88a15612670417be5206c41ca1?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.myadflix.com' rel='external nofollow' class='url'>Herron</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-32986">June 27, 2009 at 5:07 am</a></time>
</header>
<p>Using ffmpeg on our linux server to convert user uploaded videos to FLV. Sort of like a YouTube.</p>
<p>I am not satisfied with the quality, and know there has to be a better way. I have tried several changes, but am not getting where I would like it to be. As good as YouTube.</p>
<p>Please see my command line below, and suggest any changes I can make to improve the output quality.</p>
<p>Please keep in mind that the uploaded &#8220;user.fil&#8221; could be an flv,avi,wmv or a mpg.</p>
<p>ffmpeg -i user.fil -acodec libfaac -ab 156k -b 1024k output.flv</p>
<p>Thank you for any help you can give, and this is a GREAT cheat sheet. I will keep a copy by my side!!!</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=32986#respond' onclick='return addComment.moveForm("comment-32986", "32986", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-33119">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/55b6ff88a15612670417be5206c41ca1?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.myadflix.com' rel='external nofollow' class='url'>Herron</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-33119">June 28, 2009 at 7:02 am</a></time>
</header>
<p>Well, I think I got it.</p>
<p>All I did is add the format key, and the results were 100% better. So remember this.</p>
<p>BAD &#8211; ffmpeg -i user.fil -acodec libfaac -ab 156k -b 1024k output.flv</p>
<p>GOOD &#8211; ffmpeg -i user.fil -acodec libfaac -ab 156k -b 1024k -f flv output.flv</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=33119#respond' onclick='return addComment.moveForm("comment-33119", "33119", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-34662">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/c4615fac9f1de29f9c6d18ed8896f081?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://max3.com' rel='external nofollow' class='url'>Kapil Sakhare</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-34662">July 10, 2009 at 11:46 am</a></time>
</header>
<p>Hello,</p>
<p>I would like to cut the audio file for selected time..<br />
Say I have a .mp3 of duration 00:50 sec..<br />
I would like to cut the audio from 00:20 to 00:30 sec.<br />
Please help me using ffmpeg command line.</p>
<p>Thanks in advance.<br />
&#8211;Kapil</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=34662#respond' onclick='return addComment.moveForm("comment-34662", "34662", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment byuser comment-author-jbj bypostauthor even thread-odd thread-alt depth-1" id="comment-34675">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/84f25aced089a434f91dbb3cb9d5f55a?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.wprecipes.com' rel='external nofollow' class='url'>Jean-Baptiste Jung</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-34675">July 10, 2009 at 12:36 pm</a></time>
</header>
<p>@Kapil: This is the code for cut specific area from mp3</p>
<p>code:<br />
ffmpeg -ss starttime -t totalseconds -i inout.mp3 -acodec copy output.mp3</p>
<p>startime=00:00:30<br />
totalseconds:25</p>
<p>(Provided by Haleel Rahman)</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=34675#respond' onclick='return addComment.moveForm("comment-34675", "34675", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
<ul class='children'>
<li>
<article class="comment odd alt depth-2" id="comment-274297">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/41d09105221923e370739a3d37afb71f?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">himanshu</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-274297">March 7, 2011 at 3:48 am</a></time>
</header>
<p>Hi,</p>
<p>I want to convert one jpg into .3gp file using ffmpeg. It should be of some duration (e.g. 10-20 sec) . audio mixing can be optional.<br />
Please provide commands for all steps.</p>
<p>Thanks in advance.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=274297#respond' onclick='return addComment.moveForm("comment-274297", "274297", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
</ul>
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-35357">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/0012223c1ec80a8c99b1307586becf69?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Haleel</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-35357">July 16, 2009 at 5:33 am</a></time>
</header>
<p>Any can provide to make watermark in videos,also how do make the avi videos for mobile?</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=35357#respond' onclick='return addComment.moveForm("comment-35357", "35357", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-odd thread-alt depth-1" id="comment-35692">
<header class="comment-author vcard">
<cite class="fn"><a href='http://ullu.wordpress.com/2009/07/18/quick-ffmpeg-audiovideo-encoding-usage-help/' rel='external nofollow' class='url'>quick ffmpeg audio-video encoding usage help &laquo; &lt;!&#8211; something random just like junk &#8211; yard &#8211;&gt;</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-35692">July 18, 2009 at 5:56 pm</a></time>
</header>
<p>[...] Some 19 ffmpeg commands you can not miss from here &#8211; http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=35692#respond' onclick='return addComment.moveForm("comment-35692", "35692", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-35758">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/52e52c7ad012356ba096be84feb775d1?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">sony</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-35758">July 19, 2009 at 11:48 am</a></time>
</header>
<p>hi,<br />
i am using ubuntu hardy. i was searching for a tool to convert 700mb avi files to 300mb avi without losing quality. is there any to serve that?.<br />
thanks guys.</p>
<p>-me</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=35758#respond' onclick='return addComment.moveForm("comment-35758", "35758", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-odd thread-alt depth-1" id="comment-37033">
<header class="comment-author vcard">
<cite class="fn"><a href='http://www.nixtutor.com/linux/7-tasks-you-shouldnt-use-a-gui-for/' rel='external nofollow' class='url'>7 Tasks You Shouldn&#8217;t Use a GUI For</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-37033">July 29, 2009 at 1:02 pm</a></time>
</header>
<p>[...] There are all sorts of things you can do with ffmpeg. [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=37033#respond' onclick='return addComment.moveForm("comment-37033", "37033", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-even depth-1" id="comment-39944">
<header class="comment-author vcard">
<cite class="fn"><a href='http://cocre.com/?p=1256' rel='external nofollow' class='url'>你用Linuxå½ä»¤è¡Œå—? | 酷壳</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-39944">August 13, 2009 at 6:09 pm</a></time>
</header>
<p>[...] 查çœè¿™ä¸ªé“¾æŽ¥ï¼Œä½ å¯ä»¥çœçœffmpeg可以干得æ´å¤šã€ [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=39944#respond' onclick='return addComment.moveForm("comment-39944", "39944", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-41989">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/ea48b6bf4742ea849724bdc186b9fd6f?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Peter</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-41989">August 27, 2009 at 2:01 pm</a></time>
</header>
<p>Thanks for the cool tips. Do you think, that there is ffmpeg preset page for all mobile phones?</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=41989#respond' onclick='return addComment.moveForm("comment-41989", "41989", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-even depth-1" id="comment-43200">
<header class="comment-author vcard">
<cite class="fn"><a href='http://www.itoperationz.com/2009/09/7-wonderful-linux-command-line-tools/' rel='external nofollow' class='url'>7 wonderful LINUX command line tools | IT OPERATIONZ</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-43200">September 4, 2009 at 10:03 am</a></time>
</header>
<p>[...] There are all sorts of things you can do with ffmpeg. [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=43200#respond' onclick='return addComment.moveForm("comment-43200", "43200", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-43920">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/62ff5f28abd3649f17e51902afe89a28?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Jan</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-43920">September 10, 2009 at 4:38 pm</a></time>
</header>
<p>with ffmpeg I am trying to record video from my Toshiba laptop webcam. Video Recording is going fine but with no sound . Recording with sound is working well with cheese.</p>
<p>Please guide me how to do video recording with sound on ffmpeg with webcam.</p>
<p>Regards</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=43920#respond' onclick='return addComment.moveForm("comment-43920", "43920", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-46979">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/4a82b0dd844e81a7d5474aa0a0abc2e1?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.cardonizer.com' rel='external nofollow' class='url'>Cardonizer</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-46979">October 1, 2009 at 8:36 pm</a></time>
</header>
<p>there is also another way to get good quality ffmpeg flv: using AviSynth+VP6.2 codec+patched ffmpeg</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=46979#respond' onclick='return addComment.moveForm("comment-46979", "46979", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-47156">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/6d8dfa97d1d1afc3f0f7129c4000c46b?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">rabih</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-47156">October 3, 2009 at 10:43 am</a></time>
</header>
<p>Hi All&#8230;I can see there is some experts in ffmpeg in this blog&#8230;<br />
I&#8217;m using ffmpeg in order to compress a continuous streamed mpeg2 retrieved from a dream box machine (satellite receiver)<br />
I want to compress each minute in a separate file&#8230;<br />
I&#8217;ve used the -t option, but in fact I&#8217;m loosing some gaps between each consecutive files<br />
this is the script i&#8217;m using:</p>
<p>while test 1=1<br />
do<br />
ldt_now=&#8221;$(date +&#8221;%y-%m-%d-%H-%M-%S&#8221;)&#8221;<br />
ffmpeg -t 60 -i &#8220;http://IP&#8230;&#8221; /home/grabbing/file_compressed_for_$ldt_now.mpg<br />
done</p>
<p>I&#8217;m wondering if any one can give me any hints regarding how to output from ffmpeg in different consecutive files without having any lost gaps</p>
<p>Any help will be very appreciated<br />
TIA<br />
Rabih</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=47156#respond' onclick='return addComment.moveForm("comment-47156", "47156", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-even depth-1" id="comment-49137">
<header class="comment-author vcard">
<cite class="fn"><a href='http://compumegared.com.ar/2009/09/02/links-de-miercoles-semana-36/' rel='external nofollow' class='url'>Compumegared.com.ar &raquo; Links de miércoles &#8211; Semana 36</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-49137">October 17, 2009 at 9:30 am</a></time>
</header>
<p>[...] 19 comandos útiles para trabajar con videos mediante ffmpeg [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=49137#respond' onclick='return addComment.moveForm("comment-49137", "49137", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-51692">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/0ffb943bf6c882b2e82264521abd7e42?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://tech-blog.assembla.com' rel='external nofollow' class='url'>Noxxxone</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-51692">November 1, 2009 at 4:19 pm</a></time>
</header>
<p>Hello, </p>
<p>thanks for the samples.</p>
<p>I think you should add a command to convert mp3 for iphones/ipods, this article is number one on google for linux convert mp3 for iphone.</p>
<p>PS: fix a typo for IPpod and add a copy command flash button like on github for urls.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=51692#respond' onclick='return addComment.moveForm("comment-51692", "51692", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback even thread-even depth-1" id="comment-52707">
<header class="comment-author vcard">
<cite class="fn"><a href='http://lugardoconhecimento.wordpress.com/2009/11/07/links-for-2009-11-07/' rel='external nofollow' class='url'>links for 2009-11-07 &laquo; lugar do conhecimento</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-52707">November 7, 2009 at 11:03 am</a></time>
</header>
<p>[...] 19 ffmpeg commands for all needs (tags: ubuntu work ffmpeg) &nbsp; Deixe um comentário [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=52707#respond' onclick='return addComment.moveForm("comment-52707", "52707", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-54318">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/8e5a669ae4b58fab715b960833cc5dcd?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://plainfront.com' rel='external nofollow' class='url'>danpaluska</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-54318">November 17, 2009 at 11:21 pm</a></time>
</header>
<p># rename files sequentially for FFMPEG to work properly<br />
counter=10000<br />
for f in *.jpg; do<br />
let &#8220;counter+=1&#8243;<br />
mv $f screen${counter:1}.jpg<br />
done</p>
<p>this will rename a set of files continuously from 0001 then do something like<br />
ffmpeg -i screen%04d.jpg outputmovie.mp4</p>
<p>and a question. what is the ffmpeg command to capture a snapshot from the webcam? just a jpg? or is another library better for that?</p>
<p>thanks,<br />
dan</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=54318#respond' onclick='return addComment.moveForm("comment-54318", "54318", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
<ul class='children'>
<li>
<article class="comment even depth-2" id="comment-121350">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/9275439252dd5e29639c9b4c63314e62?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">moB</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-121350">October 16, 2010 at 10:21 pm</a></time>
</header>
<p>Thanks for the code snippet dan.</p>
<p>I modified it to make symlinks to images one level up. Make video from links in the directory. No need to rename your data to fit with one time use.</p>
<p>Runs in linux.</p>
<p>#!/bin/sh<br />
# This will make a set of symlinks to files in directory<br />
# one level up continuously from screen1.jpg screen2.jpg &#8230;<br />
# The total is displayed on the terminal command prompt.</p>
<p># Then you say something like<br />
# ffmpeg -r .2 -i screen%03d.jpg outputmovie.mp4<br />
# or<br />
# ffmpeg -r 24 -b 1800 -i screen%03d.jpg output.mp4<br />
# moB 16 Oct 2010</p>
<p> no=0</p>
<p># edit this line to select files: S1* or *.jpg &#8230;<br />
for f in ../*.jpg; do<br />
no=$((no+1)); linkname=screen</p>
<p> if [ "$no" -lt "10" ] ; then linkname=${linkname}00<br />
elif [ "$no" -lt "100" ] ; then linkname=${linkname}0<br />
fi</p>
<p> ln -s $f ${linkname}${no}.jpg<br />
# hardlink<br />
# ln $f screen00${no}.jpg<br />
# symbolic<br />
# ln -s $f screen00${no}.jpg<br />
done<br />
echo Total files linked\: $no</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=121350#respond' onclick='return addComment.moveForm("comment-121350", "121350", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
</ul>
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-54936">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/3ce884db72114e4377501c71cea0fbda?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">james</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-54936">November 22, 2009 at 8:39 am</a></time>
</header>
<p>Hello, All!</p>
<p>I&#8217;m using custom ffmpeg commands on a Drupal website for automatic conversion of uploaded files. It converts various file types to mpeg-4 (H.264) and is working fine. I need to add a simple slow motion to this process &#8211; simply repeated frames. In other words, I need a command to convert a video file with the following frames (A, B, C&#8230;) to (A, A, B, B, C, C&#8230;) for a 50% slomo.</p>
<p>If there&#8217;s some fancy way to do it with interpolation that would be even better, but for now I&#8217;ll settle for frame duplication.</p>
<p>Thanks in advance!</p>
<p>-James</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=54936#respond' onclick='return addComment.moveForm("comment-54936", "54936", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
<ul class='children'>
<li>
<article class="comment even depth-2" id="comment-350980">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/83b959e13ace9f8b3f4f718e09e4f985?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">stib</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-350980">May 6, 2011 at 1:28 am</a></time>
</header>
<p>why not just halve the frame rate? If you know the frame rate of the input files just divide it by 2 (or whatever number you like). Has the advantage of not increasing your file size, or needing any recompression.</p>
<p>ffmpeg -i input.mp4 2&gt;&amp;1|grep Video|sed &#8220;s/.*kb\/s,[[:space:]]*\([0-9\.]*\).*/\1/&#8221;</p>
<p>gets the fps from the metadata (the sed expression is good for Mac/Darwin, on linux or other OSes it may need tweakage).</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=350980#respond' onclick='return addComment.moveForm("comment-350980", "350980", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
</ul>
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-61766">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/17cf581725ee34a79c389df811162f8e?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://Ghosts-IT.com' rel='external nofollow' class='url'>Radz Nguyen</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-61766">December 27, 2009 at 6:51 am</a></time>
</header>
<p>&#8220;Turn X images to a video sequence&#8221; &#8211; What can we do with it ? I don&#8217;t understand :-s . Can you explain for me ? Thank you very much.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=61766#respond' onclick='return addComment.moveForm("comment-61766", "61766", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-63322">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/810743f03bf271a266548c3d704624b8?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.reganam.com' rel='external nofollow' class='url'>Thomas</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-63322">January 6, 2010 at 11:21 am</a></time>
</header>
<p>Great info. Excellent list of commands for an amazing product like FFMPEG.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=63322#respond' onclick='return addComment.moveForm("comment-63322", "63322", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-65006">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/6b096d7a5cfcb573aa8b5ddd40b3343b?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.docket.com' rel='external nofollow' class='url'>docket</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-65006">January 18, 2010 at 2:07 pm</a></time>
</header>
<p>That’s useful information to know. Thanks for sharing the how to back up tips.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=65006#respond' onclick='return addComment.moveForm("comment-65006", "65006", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-67194">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/8cbc2d3d5d944d4f3da68420812e82cb?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Cire</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-67194">February 3, 2010 at 12:24 pm</a></time>
</header>
<p>Hello,</p>
<p>I&#8217;ve been trying to convert a .flv file I got from youtube and convert it to a .mp4 file playable on my iPod but can&#8217;t seem to make it work. I type in:</p>
<p>ffmpeg -i sniper.flv -acodec aac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 320&#215;180 -title X sniper.mp4</p>
<p>but it gives me the following message:</p>
<p>FFmpeg version SVN-r21125, Copyright (c) 2000-2010 Fabrice Bellard, et al.<br />
built on Jan 10 2010 13:49:22 with gcc 4.4.1<br />
configuration: &#8211;enable-gpl &#8211;enable-version3 &#8211;enable-nonfree &#8211;enable-postproc &#8211;enable-pthreads &#8211;enable-libfaac &#8211;enable-libfaad &#8211;enable-libmp3lame &#8211;enable-libopencore-amrnb &#8211;enable-libopencore-amrwb &#8211;enable-libtheora &#8211;enable-libx264 &#8211;enable-libxvid &#8211;enable-x11grab<br />
libavutil 50. 7. 0 / 50. 7. 0<br />
libavcodec 52.47. 0 / 52.47. 0<br />
libavformat 52.46. 0 / 52.46. 0<br />
libavdevice 52. 2. 0 / 52. 2. 0<br />
libswscale 0. 8. 0 / 0. 8. 0<br />
libpostproc 51. 2. 0 / 51. 2. 0<br />
[flv @ 0x9815390]Estimating duration from bitrate, this may be inaccurate</p>
<p>Seems stream 0 codec frame rate differs from container frame rate: 59.93 (29967/500) -&gt; 29.92 (359/12)<br />
Input #0, flv, from &#8216;sniper.flv&#8217;:<br />
Metadata:<br />
duration : 326<br />
starttime : 0<br />
totalduration : 326<br />
width : 320<br />
height : 180<br />
videodatarate : 201<br />
audiodatarate : 64<br />
totaldatarate : 271<br />
framerate : 30<br />
bytelength : 11073949<br />
canseekontime : true<br />
sourcedata : B4A7DA446<br />
Duration: 00:05:26.15, start: 0.000000, bitrate: 206 kb/s<br />
Stream #0.0: Video: h264, yuv420p, 320&#215;180 [PAR 1:1 DAR 16:9], 206 kb/s, 58.82 fps, 29.92 tbr, 1k tbn, 59.93 tbc<br />
Stream #0.1: Audio: aac, 22050 Hz, stereo, s16<br />
[NULL @ 0x980c020]Unable to parse option value &#8220;trell&#8221;: undefined constant or missing (<br />
Invalid value &#8216;+4mv+trell&#8217; for option &#8216;flags&#8217;</p>
<p>What am I doing wrong?</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=67194#respond' onclick='return addComment.moveForm("comment-67194", "67194", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-odd thread-alt depth-1" id="comment-67291">
<header class="comment-author vcard">
<cite class="fn"><a href='http://wrevolution.org/2010/02/04/ffmpeg/' rel='external nofollow' class='url'>ffmpeg commands @ Life, Liberty, and the Pursuit of Open Standards</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-67291">February 4, 2010 at 8:05 am</a></time>
</header>
<p>[...] Found this nice summary of ffmpeg commands on catswhocode.com: http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=67291#respond' onclick='return addComment.moveForm("comment-67291", "67291", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-68287">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/5ac285ff4ef6414ea35a1663b576d93d?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Jaime Gomez</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-68287">February 13, 2010 at 11:02 am</a></time>
</header>
<p>If you&#8217;re working with more recent builds, and have errors with some flags, you may want to try this:</p>
<p> -flags +4mv+aic -trellis 1</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=68287#respond' onclick='return addComment.moveForm("comment-68287", "68287", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-odd thread-alt depth-1" id="comment-71786">
<header class="comment-author vcard">
<cite class="fn"><a href='http://dotinfo.wordpress.com/2010/03/12/dicas-l-receitas-prontas-para-usar-o-comando-ffmpeg/' rel='external nofollow' class='url'>Dicas-L Receitas prontas para usar o comando ffmpeg &laquo; .Info &#8211; windows, linux, software e mais.</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-71786">March 12, 2010 at 7:29 am</a></time>
</header>
<p>[...] encontrei um ótimo artigo nesta linha, chamado 19 Ffmpeg Commands For All Needs, que oferece algumas receitas fantásticas, que apresento a seguir, em uma tradução mais ou menos [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=71786#respond' onclick='return addComment.moveForm("comment-71786", "71786", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-76649">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/d455b024afe37a40b350d57b84593158?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Chewey</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-76649">April 13, 2010 at 11:05 am</a></time>
</header>
<p>Thanks for this info. The text of your commands are all clipped in Firefox 3. I had to view source to use them.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=76649#respond' onclick='return addComment.moveForm("comment-76649", "76649", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-92214">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/d25a83016e1e1351dcf096fb3f607347?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://crilance.blogspot.com' rel='external nofollow' class='url'>Crirus</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-92214">July 9, 2010 at 4:47 am</a></time>
</header>
<p>HI</p>
<p>Make it 20 and add the line for converting one image and an MP3 to a flv <img src='http://www.catswhocode.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Thanks</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=92214#respond' onclick='return addComment.moveForm("comment-92214", "92214", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-93182">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/06f16879572f3158c76f5e4b739ab64d?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Sohel Khan</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-93182">July 14, 2010 at 3:59 pm</a></time>
</header>
<p>Thanks Jean, useful post.<br />
One query about the audio-video mix command?</p>
<p>ffmpeg -i son.wav -i video_origine.avi video_finale.mpg</p>
<p>Will this mix or replace embedded audio with new audio file?, is there any specific command to achieve that? i.e. completely delete the existing audio in video and replace with a new file?</p>
<p>Thanks a lot,<br />
Sohel</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=93182#respond' onclick='return addComment.moveForm("comment-93182", "93182", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="pingback odd alt thread-odd thread-alt depth-1" id="comment-94373">
<header class="comment-author vcard">
<cite class="fn"><a href='http://blog.picloud.com/?p=153' rel='external nofollow' class='url'>How to encode all of your videos, fast! &laquo; PiCloud Blog</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-94373">July 22, 2010 at 12:35 am</a></time>
</header>
<p>[...] For more useful commands, check out the 19 ffmpeg commands for all needs. [...]</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=94373#respond' onclick='return addComment.moveForm("comment-94373", "94373", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-95373">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/ad51fd726ea0c2a4ea0aecc814e8b292?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Shahid Umar</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-95373">July 27, 2010 at 1:29 pm</a></time>
</header>
<p>Hi,<br />
I am looking for the conversion of .mov file to avm2 swf file, but it seems .mov file not supported well in ffmpeg. If I use the -an switch in the conversion command then it create the avm2 swf file. But i need the audio conversion as well.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=95373#respond' onclick='return addComment.moveForm("comment-95373", "95373", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-98310">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/552a1fec79edbdccdab76ab753ff2622?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://downpages.blogspot.com' rel='external nofollow' class='url'>sarvanhsr</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-98310">August 14, 2010 at 6:43 am</a></time>
</header>
<p>Hi can you please update ffmpeg command for making watermark.. on video file using png logo&#8230;<br />
(Without using depreciated function vhook/imlib2.so&#8230;..<br />
may be using libavfilter or some other new function</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=98310#respond' onclick='return addComment.moveForm("comment-98310", "98310", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
<ul class='children'>
<li>
<article class="comment even depth-2" id="comment-109852">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/79acfa7d7859587750a9ab0a9d1d0877?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://twitter.com/mahendrat' rel='external nofollow' class='url'>Mahendra Tipale</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-109852">October 1, 2010 at 5:40 am</a></time>
</header>
<p>For adding text watermark, use below:</p>
<p>/usr/local/ffmpeg/bin/ffmpeg -sameq -i avi/Shakira_V-song.mpg -vhook &#8216;/usr/local/ffmpeg/vhook/drawtext.so -f /usr/share/fonts/truetype/freefont/FreeMono.ttf -x 5 -y 50 -t Mahendra&#8217; -y &#8216;output2.mpg</p>
<p>make sure path for .so of vhook is correct. Co-ordiante are as per video resolution.</p>
<p>For png image watermarking:<br />
http://gallery.menalto.com/node/41725<br />
Eg:<br />
ffmpeg -loop -i /tmp/input.mpeg -vhook /usr/lib/vhook/drawtext.so -x 10 -y 10 -t MyVideo -f /usr/X11R6/lib/X11/fonts/truetype/arial.ttf /tmp/output.mpeg </p>
<p>==================================<br />
mahendra@mahendra-laptop:/media/DATA/Videos/avi$ /usr/local/ffmpeg/bin/ffmpeg -sameq -i Shakira_V-song.mpg -vhook &#8216;/usr/local/ffmpeg/vhook/watermark.so -f overlay.gif&#8217; ohh.mpg<br />
ffmpeg version CVS, build 3277056, Copyright (c) 2000-2004 Fabrice Bellard<br />
configuration: &#8211;enable-amr_nb &#8211;enable-amr_nb-fixed &#8211;enable-amr_wb &#8211;enable-amr_if2<br />
built on Sep 13 2006 10:18:11, gcc: 4.0.0 20050519 (Red Hat 4.0.0-8)<br />
Input #0, mpeg, from &#8216;Shakira_V-song.mpg&#8217;:<br />
Duration: 00:04:14.8, start: 0.000000, bitrate: 757 kb/s<br />
Stream #0.0[0x1e0], 29.97 fps: Video: mpeg1video, yuv420p, 352&#215;240, 104857 kb/s<br />
Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, stereo, 192 kb/s<br />
Output #0, mpeg, to &#8216;ohh.mpg&#8217;:<br />
Stream #0.0, nan fps: Video: mpeg1video, yuv420p, 352&#215;240, q=2-31, 200 kb/s<br />
Stream #0.1: Audio: mp2, 44100 Hz, stereo, 64 kb/s<br />
Stream mapping:<br />
Stream #0.0 -&gt; #0.0<br />
Stream #0.1 -&gt; #0.1<br />
Press [q] to stop encoding<br />
[mpeg1video @ 0x836b128]warning, clipping 1 dct coefficients to -255..255<br />
[mpeg1video @ 0x836b128]warning, clipping 1 dct coefficients to -255..255<br />
frame= 7787 q=0.0 Lsize= 37466kB time=259.6 bitrate=1182.3kbits/s<br />
video:35155kB audio:2028kB global headers:0kB muxing overhead 0.761828%<br />
==================================</p>
<p>Make sure u choose correct watermark image and format.<br />
/usr/local/ffmpeg/bin/ffmpeg -sameq -i Shakira_V-song.mpg -vhook &#8216;/usr/local/ffmpeg/vhook/watermark.so -f overlay.gif&#8217; ohh.mpg</p>
<p>For windows OS:<br />
C:\ffmpeg\bin&gt;ffmpeg -i robot.avi -vhook &#8220;c:/ffmpeg/bin/vhook/watermark.dll<br />
-m 1 -f 1.png&#8221; -ar 44100 test.flv</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=109852#respond' onclick='return addComment.moveForm("comment-109852", "109852", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
</ul>
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-99249">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/c196ed8d8362f0f6312cc8bf5f050d23?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Derrick</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-99249">August 19, 2010 at 1:47 pm</a></time>
</header>
<p>OK&#8230; stupid newb question&#8230;.</p>
<p>How do I convert a whole directory full of videos as a batch, ie: video01.mp4 to video01.avi &#8230;.. video25.mp4 to video25.avi?</p>
<p>This is the command that I&#8217;m using right now to convert 1920&#215;1080/60i h.264 video with 128kb AAC sound to standard def at 30 fps rather than the 60. Makes a big difference in the file size, and uncompressing seems to make it play a lot smoother. Mostly though, I want to be able to edit it in an NLE like Kdenlive (haven&#8217;t tried PiTiVi&#8230; maybe I should) so that I can cut stuff, add titling, etc.</p>
<p>ffmpeg -i HDV_0028.MP4 -s 720&#215;480 -r 29.97 -vcodec mpeg4 -acodec libmp3lame -ac 2 -ab 128000 -aspect 16:9 -b 15000k HDVsd_0028.avi</p>
<p>Any help is appreciated!</p>
<p>Thanks,<br />
Derrick</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=99249#respond' onclick='return addComment.moveForm("comment-99249", "99249", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
<ul class='children'>
<li>
<article class="comment even depth-2" id="comment-99396">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/d200a0a5a1f9564369294651191072fa?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">cesman</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-99396">August 20, 2010 at 1:22 pm</a></time>
</header>
<p>@Derrick,</p>
<p>I don&#8217;t know if ffmpeg suppose this however, it should be easy to script. Something like:</p>
<p>#/bin/sh<br />
for i in $(ls video*.mp4)<br />
do<br />
ffmpeg -i -$i s 720×480 -r 29.97 -vcodec mpeg4 -acodec libmp3lame -ac 2 -ab 128000 -aspect 16:9 -b 15000k $i.avi<br />
done</p>
<p>Regrads,</p>
<p>Cecil</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=99396#respond' onclick='return addComment.moveForm("comment-99396", "99396", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
</ul>
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-114992">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/e3d638b820f008acd9c434255afcab27?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://hindimp3.mobi' rel='external nofollow' class='url'>muralidhar</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-114992">October 6, 2010 at 10:31 pm</a></time>
</header>
<p>Use this php for cutting movies same quality.</p>
<p>exec(&#8220;/usr/bin/ffmpeg -sameq -ss 00:00:00.0 -t 60 -i input.mpg -acodec copy -vcodec copy output.mpg&#8221;);</p>
<p>it will cut 60 seconds video file.</p>
<p>thank you.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=114992#respond' onclick='return addComment.moveForm("comment-114992", "114992", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
<ul class='children'>
<li>
<article class="comment even depth-2" id="comment-334635">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/a527346d510a2f85ccf6349eb7b223fb?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://sushant-danekar.blogspot.com' rel='external nofollow' class='url'>Sushant Danekar</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-334635">April 20, 2011 at 9:42 am</a></time>
</header>
<p>Hey Man really gr8 1</p>
<p>thanks for your help It really worked for me<br />
I just cut the 1 min video of the movie </p>
<p>Regards<br />
Sushant Danekar</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=334635#respond' onclick='return addComment.moveForm("comment-334635", "334635", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
</ul>
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-116784">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/ca7d251d1d260f6201ddf93e493711e9?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Backpacker</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-116784">October 9, 2010 at 4:58 pm</a></time>
</header>
<p>@BlackSheep: Only just seen this so you&#8217;re probably long gone, but in case anyone else is interested, here&#8217;s the command I use to code any video into .3gp format:</p>
<p>ffmpeg -y -i $1 -vcodec mpeg4 -s 480&#215;320 -r 15 -b 700k -acodec libfaac -ac 2 -ar 32000 -ab 64k -f 3gp $OUTFILE</p>
<p>Change the 480&#215;320 to the size required.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=116784#respond' onclick='return addComment.moveForm("comment-116784", "116784", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-148888">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/2f197b00c6fa0ed30a1a6ef84166e8f1?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Ipsita</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-148888">November 26, 2010 at 10:12 am</a></time>
</header>
<p>Can any one please help me to write the command to make .jpeg from .flv through ffmpeg ?</p>
<p>$fromdurasec=&#8221;10&#8243;;<br />
$ffmpegpath = FFMPEG_PATH;<br />
$input = &#8220;video_file/orig/Lady.flv&#8221;;<br />
$output = &#8220;video_file/thumb/Lady.jpeg&#8221;;<br />
$command = &#8220;$ffmpegpath -i $input -an -ss 00:00:$fromdurasec -r 1 -vframes 1 -s 80&#215;80 -f mjpeg -y $output&#8221;;</p>
<p>The above works fine for .mpg and etc, but not for .flv files.<br />
Please help me to find out the command to make .jpeg file out of a .flv file.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=148888#respond' onclick='return addComment.moveForm("comment-148888", "148888", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
<ul class='children'>
<li>
<article class="comment odd alt depth-2" id="comment-148922">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/79acfa7d7859587750a9ab0a9d1d0877?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://twitter.com/mahendrat' rel='external nofollow' class='url'>Mahendra</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-148922">November 26, 2010 at 11:19 am</a></time>
</header>
<p>ffmpeg -i video.flv -y -f image2 -ss 8 -sameq -t 0.001 -s 320*240 /image_dir/screenshot.jpg</p>
<p>-ss : after seconds, screen captured<br />
-s : screenshot size dim.<br />
-f : askes ffmpeg to convert img output format </p>
<p>should work!</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=148922#respond' onclick='return addComment.moveForm("comment-148922", "148922", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
</ul>
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-148954">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/d25a83016e1e1351dcf096fb3f607347?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://crilance.blogspot.com' rel='external nofollow' class='url'>Crirus</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-148954">November 26, 2010 at 12:29 pm</a></time>
</header>
<p>ffmpeg -i video.flv -vcodec png -vframes 1 -an -f rawvideo -s 320&#215;240 output_img_name</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=148954#respond' onclick='return addComment.moveForm("comment-148954", "148954", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-209004">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/92dd96271c37023d1c8169e7762c68b9?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">aanand</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-209004">January 18, 2011 at 6:54 am</a></time>
</header>
<p>Hi,<br />
I have a major issue with ffmpeg. I m using ffmpeg to create thumbnails of video and image both. When the input image is transparent gif or png, output image have black background.</p>
<p>Is anybody here to provide me guidelines to fix this issue.</p>
<p>Thanks,<br />
Aanand</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=209004#respond' onclick='return addComment.moveForm("comment-209004", "209004", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-261828">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/28bb467a4a216dd0da53352dd501a270?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Pedro</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-261828">February 25, 2011 at 6:11 am</a></time>
</header>
<p>Hello,<br />
Does anyone knows how to limit the process of ffmpeg.exe to only 50% of the CPU, to avoid the CPU to stay on 100% on every conversion.<br />
Tks<br />
Pedro</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=261828#respond' onclick='return addComment.moveForm("comment-261828", "261828", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-297920">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/a527346d510a2f85ccf6349eb7b223fb?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://sushant-danekar.blogspot.com' rel='external nofollow' class='url'>Sushant Danekar</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-297920">March 25, 2011 at 2:49 pm</a></time>
</header>
<p>Hey Cats!!<br />
What a nice name for the web site !! </p>
<p>I have lots of question .. but for now Just one !! </p>
<p>1) How can we extract limited .. or specific piece of sound from a video..<br />
Like.. I have a movie and I liked one song .. I just want to get that songs&#8217;s starting .. ..<br />
Can you please guide me how can we just extract a sound from location 1 to location 2 </p>
<p>Thanks for your attention!! </p>
<p>Regards<br />
Sushant Danekar</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=297920#respond' onclick='return addComment.moveForm("comment-297920", "297920", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-314150">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/2e3f1534391b0799f5063effa49c2c9e?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Joal</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-314150">April 6, 2011 at 11:35 am</a></time>
</header>
<p>Great! <img src='http://www.catswhocode.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Just a note:</p>
<p>Convert a wav file to Mp3<br />
ffmpeg -i son_origine.avi -vn -ar 44100 -ac 2 -ab 192 -f mp3 son_final.mp3</p>
<p>son_origine.wav should be son_origine.wav</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=314150#respond' onclick='return addComment.moveForm("comment-314150", "314150", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
<ul class='children'>
<li>
<article class="comment odd alt depth-2" id="comment-314157">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/2e3f1534391b0799f5063effa49c2c9e?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Joal</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-314157">April 6, 2011 at 11:38 am</a></time>
</header>
<p>son_origine.avi should be son_origine.wav<br />
now my mistake <img src='http://www.catswhocode.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=314157#respond' onclick='return addComment.moveForm("comment-314157", "314157", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
</ul>
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-425545">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/7b229a42e7e45b8a5e856e35fe5b64e9?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Tim</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-425545">July 11, 2011 at 3:45 pm</a></time>
</header>
<p>With regards to personal preference, pragmatism, and/or programming syntax/structure, is there any particular reason why these 19 pearls aren&#8217;t bundled in a &#8220;user-friendly&#8221; gui? I have struggled so much with various versions of Linux but refuse to give up. I just have to scratch my head and wonder what is the attraction for the purist who prefers line commands. Is it just me or has anyone else noticed how the body of human knowledge has quickly and greatly expanded as we went from dial-up BBS to graphically rich internet content?</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=425545#respond' onclick='return addComment.moveForm("comment-425545", "425545", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
<ul class='children'>
<li>
<article class="comment odd alt depth-2" id="comment-447366">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/c648a3722c980d1df9c777811e5e9342?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Don</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-447366">July 30, 2011 at 2:25 pm</a></time>
</header>
<p>Say for example, you had 10,000 mpegs that you wanted to convert to avi. Would you want to use a gui to do that? I think not. No, one would use the CLI and likely wrap a bourne, bash, perl or python script around it and be done with it.</p>
<p>What if you want to convert an mpeg to avi automatically at some time of the day as part of an unattended process? GUI? Nope. A script and a cron job.</p>
<p>Another extremely powerful linux/unix command is xargs. Google it. Learn how to use it. Then maybe you&#8217;ll begin to appreciate the power of the shell.</p>
<p>GUIs are wonderful. But there are a multitude of examples of tasks which are better performed from the shell. This page provides excellent recipes which can easily be embedded in scripts.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=447366#respond' onclick='return addComment.moveForm("comment-447366", "447366", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
</ul>
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-431787">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/c05cc2186e33796afd0ba2475379bc3c?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">PhpTribe</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-431787">July 15, 2011 at 11:06 am</a></time>
</header>
<p>I am trying to create a video with dyamically generated images, which are stored in database.</p>
<p>eg: http://localhost/image/id/20<br />
http://localhost/image/id/21<br />
http://localhost/image/id/51 etc.</p>
<p>Can I create video with these kind of images or by getting them directly from database.<br />
I&#8217;m using ffmpeg-php library. Its documentation says we can use ffmpeg_animated_gif. But it doesn&#8217;t look like exist anymore.<br />
So help here would be great. </p>
<p>Many Thanks.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=431787#respond' onclick='return addComment.moveForm("comment-431787", "431787", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
<ul class='children'>
<li>
<article class="comment odd alt depth-2" id="comment-448328">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/7fe2ddc549493c632c20d987a8adf305?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.myadflix.com' rel='external nofollow' class='url'>Kirk</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-448328">July 31, 2011 at 7:36 pm</a></time>
</header>
<p>PHPTribe,</p>
<p>I would keep it very simple.</p>
<p>Write your php code so it looks thru your database, and copies the images you want to turn in to a video, to a &#8220;Temp&#8221; directory, while also renaming each image to &#8220;image1&#8243;, image2, image3&#8230; and so on.<br />
For example: copy /image/id/21.* /temp/image1. (very easily done with a &#8220;While Statement&#8221;.)</p>
<p>One issue is, they all need to be of the same type. .jpg, .bmp, .gif</p>
<p>Then use the above example: ffmpeg -f image2 -i temp/image%d.jpg video.mpg</p>
<p>Then have your code clear out the temp directory.</p>
<p>This is just a thought. Not sure exactly how you plan to implement.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=448328#respond' onclick='return addComment.moveForm("comment-448328", "448328", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
</ul>
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-469103">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/299f0bb2f48e9e4f2a071951960f0b64?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.winworld.com/blog' rel='external nofollow' class='url'>Jase Clamp</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-469103">August 18, 2011 at 7:58 pm</a></time>
</header>
<p>This is so helpful. I&#8217;ve googled for 3 different things today and keep hitting this article.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=469103#respond' onclick='return addComment.moveForm("comment-469103", "469103", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-477832">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/9c31d1102d95104fb994ae67cd1989b6?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://debuggable.com' rel='external nofollow' class='url'>Tim Koschuetzki</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-477832">August 29, 2011 at 7:47 am</a></time>
</header>
<p>You should try out http://transloadit.com &#8211; it can convert all videos for you without you having to install the tools or find a webhost with ffmpeg.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=477832#respond' onclick='return addComment.moveForm("comment-477832", "477832", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-486705">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/9887130ab70f6e66b50f2c5e19272c67?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://choirarrangements.freeldssheetmusic.org' rel='external nofollow' class='url'>roger</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-486705">September 8, 2011 at 1:02 pm</a></time>
</header>
<p>Can ffmpeg combine two audio sources into one?</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=486705#respond' onclick='return addComment.moveForm("comment-486705", "486705", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-565087">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/561e2b46e82dc9b4ec65bc476501b4fb?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Arokia Vinoth</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-565087">November 19, 2011 at 5:19 am</a></time>
</header>
<p>I want to combine two wav files using ffmpeg command. But i do no the command can any one say to combine two wav files using ffmpeg command ? ? ?</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=565087#respond' onclick='return addComment.moveForm("comment-565087", "565087", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-626194">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/72ccd02b09afbdce1fd451acaf65d005?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.umiacs.umd.edu/~jsp' rel='external nofollow' class='url'>Jai Pillai</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-626194">December 22, 2011 at 11:38 am</a></time>
</header>
<p>Thank you for the list of commands. I search for your link each time I need to use ffmpeg <img src='http://www.catswhocode.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=626194#respond' onclick='return addComment.moveForm("comment-626194", "626194", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-701273">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/974ed292a50611fed70fc8c89b01da7a?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">asd</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-701273">February 18, 2012 at 12:24 am</a></time>
</header>
<p>ffmpeg -i felicity_final.flv -vcodec copy -acodec copy -ss 00:00:16 -t 00:01:05 trimmed_video.avi</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=701273#respond' onclick='return addComment.moveForm("comment-701273", "701273", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-702814">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/0647dc7e1d69c5ff6427d68804ed7cec?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">teo</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-702814">February 19, 2012 at 2:25 pm</a></time>
</header>
<p>What about #20: extract video only (i.e. drop the audio)</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=702814#respond' onclick='return addComment.moveForm("comment-702814", "702814", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-719111">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/8b602f041cbd93ffb2f9ac781bd15615?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">SuckMyBalls</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-719111">March 7, 2012 at 1:15 am</a></time>
</header>
<p>The command to convert a video to an animated gif doesn&#8217;t work. You&#8217;re an idiot.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=719111#respond' onclick='return addComment.moveForm("comment-719111", "719111", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-720415">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/d49ebb2fdbcfc59fa4acfc887577e6ad?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">priya</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-720415">March 8, 2012 at 4:40 am</a></time>
</header>
<p>Rotate video in 90 degree, i use these command<br />
exec(&#8216;ffmpeg -i test.MOV -vf &#8220;transpose=1&#8243; outputfile.mp4&#8242;,$vOutput, $vReturn);<br />
when i execute a command it return success but a video size is less compare to original video and a video play but no images seen.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=720415#respond' onclick='return addComment.moveForm("comment-720415", "720415", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-722315">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/ea2bd050298029a56903d792bec862c8?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://barskdata.net' rel='external nofollow' class='url'>Jørgen Jørgensen</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-722315">March 9, 2012 at 11:10 am</a></time>
</header>
<p>whenever i need the essentials I google &#8216;ffmpeg 19&#8242;</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=722315#respond' onclick='return addComment.moveForm("comment-722315", "722315", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-743687">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/a085f7a968e5319760254c5c8a1739f3?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">JM</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-743687">March 28, 2012 at 9:31 pm</a></time>
</header>
<p>Heya. Having an issue while trying to merge a FLV video (consisting of a single picture file looping for 1,5h) with a MP3 file, basicly trying to create a video of a podcast-mp3 with a single static picture as the only visual element.</p>
<p>Got the 1,5h picture FLV working with [ffmpeg -loop 1 -i picture.jpg -t 01:22:16 -r 1 -vcodec flv -an film.flv]</p>
<p>But when trying to merge these by using [ffmpeg -i film.flv -i podcast.mp3 -acodec copy -vcodec copy podcastvid.flv]</p>
<p>.. it ends up with: [flv @ 00000000040517D0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 304327 &gt;= 304327 av_interleaved_write_frame(): Invalid argument</p>
<p>No idea how to try this otherwise <img src='http://www.catswhocode.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=743687#respond' onclick='return addComment.moveForm("comment-743687", "743687", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-752614">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/158de9d49d90c57d73813293feb4d24c?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://gol.com.br' rel='external nofollow' class='url'>Sam Swinderman</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-752614">April 6, 2012 at 11:53 pm</a></time>
</header>
<p>Many Thx for this, it makes things clearer.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=752614#respond' onclick='return addComment.moveForm("comment-752614", "752614", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-763375">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/ee5b12499222b0c76e29a181af43f92e?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">R</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-763375">April 17, 2012 at 12:27 pm</a></time>
</header>
<p>Turn X images to a video sequence: ffmpeg -f image2 -i image%d.jpg video.mpg</p>
<p>How about the delay between images? If I want to have e.g. 3 seconds for each image?</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=763375#respond' onclick='return addComment.moveForm("comment-763375", "763375", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-even depth-1" id="comment-766528">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/c0c0f0eb4c96cb5219c84d811f5af87c?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Lampis</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-766528">April 20, 2012 at 9:44 am</a></time>
</header>
<p>Hi everyone,</p>
<p>I&#8217;m trying to decode an mp4 stream to its frames and extract information about Motion Vectors and DC coefficients for each MB of the frames. Does anyone can help?<br />
Could -debug mv and -debug dc_coeff provide the necessary information? how can i properly use them?</p>
<p>Thanks</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=766528#respond' onclick='return addComment.moveForm("comment-766528", "766528", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-odd thread-alt depth-1" id="comment-769164">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/760c3437fc30af85a3eda28b54326ea4?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.p3in.com' rel='external nofollow' class='url'>Jubair</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-769164">April 23, 2012 at 1:35 am</a></time>
</header>
<p>every server config is different&#8230; and the video conversion to mobile quality vid wasn&#8217;t working as I was expecting it to, after some research and some work on this I came up with this:</p>
<p>ffmpeg -i original.mp4 -acodec aac -strict experimental -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+aic -trellis 1 -cmp 2 -subcmp 2 -s 320&#215;180 new_mobile.mp4</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=769164#respond' onclick='return addComment.moveForm("comment-769164", "769164", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
<ul class='children'>
<li>
<article class="comment odd alt depth-2" id="comment-1210731">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/f670760f4ba8b4c12d51439fe0170931?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Samir</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-1210731">March 28, 2013 at 9:05 am</a></time>
</header>
<p>Hi jubair,</p>
<p>i tried your setting but it is not working on android i tried samsung s3<br />
do u hav idea.. i appreciate your hellp thanks</p>
<p>Samir Shaikh</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=1210731#respond' onclick='return addComment.moveForm("comment-1210731", "1210731", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
</ul>
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-798866">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/d0a4fad004cdbd322018cc56e294531a?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://demo.murtazaweb.ae' rel='external nofollow' class='url'>Sumroo</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-798866">May 22, 2012 at 1:34 pm</a></time>
</header>
<p>After converting video into mp4 to 3gp, it is not working in blackberry, showing ERROR &#8220;Unsupported media type: application/octet-stream&#8221;</p>
<p>thanks in advance</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=798866#respond' onclick='return addComment.moveForm("comment-798866", "798866", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-801566">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/f75f4ddd5cf45146326dbe26f64d9fe2?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">sai</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-801566">May 25, 2012 at 11:37 am</a></time>
</header>
<p>Hi,<br />
Can somebody help me in getting a mts file coverted to avi? tried this and no luck <img src='http://www.catswhocode.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>ffmpeg -i video1.mts -f avi video2.avi</p>
<p>result:</p>
<p>FFmpeg version 0.5.9, Copyright (c) 2000-2009 Fabrice Bellard, et al.<br />
configuration:<br />
libavutil 49.15. 0 / 49.15. 0<br />
libavcodec 52.20. 1 / 52.20. 1<br />
libavformat 52.31. 0 / 52.31. 0<br />
libavdevice 52. 1. 0 / 52. 1. 0<br />
built on May 25 2012 20:12:42, gcc: 4.1.2 20080704 (Red Hat 4.1.2-46)<br />
Input #0, mpegts, from &#8216;video1.mts&#8217;:<br />
Duration: 00:01:06.08, start: 1.000067, bitrate: 22552 kb/s<br />
Program 1<br />
Stream #0.0[0x1011]: Video: h264, yuv420p, 1920&#215;1080 [PAR 1:1 DAR 16:9], 59.94 tbr, 90k tbn, 59.94 tbc<br />
Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s<br />
Output #0, avi, to &#8216;video1.avi&#8217;:<br />
Stream #0.0: Video: mpeg4, yuv420p, 1920&#215;1080 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 59.94 tbc<br />
Stream #0.1: Audio: mp2, 0 channels, s16, 64 kb/s<br />
Stream mapping:<br />
Stream #0.0 -&gt; #0.0<br />
Stream #0.1 -&gt; #0.1<br />
[mp2 @ 0x91cb7d0]encoding 0 channel(s) is not allowed in mp2<br />
Error while opening codec for output stream #0.1 &#8211; maybe incorrect parameters such as bit_rate, rate, width or height</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=801566#respond' onclick='return addComment.moveForm("comment-801566", "801566", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-805246">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/db40ec9156856db93f1489f1a6cbd601?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">Helard</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-805246">May 29, 2012 at 3:15 pm</a></time>
</header>
<p>Hi, congrats on the post, i was wondering wich is the code that i have to use to convert an mkv video file to an avi uncompressed file (yuv format), taking into account the audio too, from a AC-3 to PCM, thanks in advanced</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=805246#respond' onclick='return addComment.moveForm("comment-805246", "805246", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-852047">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/a58168c23e37e8952c89861612f1282d?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">papin</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-852047">July 22, 2012 at 10:43 am</a></time>
</header>
<p>There&#8217;s an error in the extract video and convert to MP3 part: &#8220;-ab 192&#8243; should be &#8220;-ab 192k&#8221; instead<br />
Don&#8217;t know if an audio at 192 bytes/s would be audible&#8230;</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=852047#respond' onclick='return addComment.moveForm("comment-852047", "852047", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-947134">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/da8c0835e2d3f4485f5ce6e0e0744366?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">b3n</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-947134">September 27, 2012 at 9:29 pm</a></time>
</header>
<p>how about M4V to avi (divx)? tried mp4 to avi but didn&#8217;t work ..</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=947134#respond' onclick='return addComment.moveForm("comment-947134", "947134", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-1057863">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/097f5e926b48920e9373bf39d300822b?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://elearn.welingkar.org' rel='external nofollow' class='url'>dhanashree</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-1057863">December 7, 2012 at 1:44 am</a></time>
</header>
<p>require command to convert .DAT file to .flv and .vob to .flv as media in my software just plays .flv files .Till done for the conversion of .avi, mpeg, .mov and many more..please provide some suggestion regarding the same.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=1057863#respond' onclick='return addComment.moveForm("comment-1057863", "1057863", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-1165685">
<header class="comment-author vcard">
<img alt='' src='http://1.gravatar.com/avatar/bafbff8e6441dec505febce7704b386b?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs' rel='external nofollow' class='url'>sagar</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-1165685">February 26, 2013 at 2:10 am</a></time>
</header>
<p>sir&#8230; i need to divide a video, say avi file into png images and then get the uncompressed video, say avi file from these images.</p>
<p>i am getting confused for the last one week. if possible.. please help me. i need to submit my project. i will be very thank ful to you.</p>
<p>the commands i used are..</p>
<p>ffmpeg -y -i input.avi -an -vcodec png -s 1024&#215;768 pic%d.png`</p>
<p>ffmpeg -i pic%d.png -y -f avi -b 1150 -s 1024&#215;768 -r 29.97 -g 12 -qmin 3 -qmax 13 -ab 224 -ar 44100 -ac 2 test.avi</p>
<p>hope some body reply to my best&#8230; thanks in advance.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=1165685#respond' onclick='return addComment.moveForm("comment-1165685", "1165685", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment odd alt thread-odd thread-alt depth-1" id="comment-1175056">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/ee80d051a135a73e1db51924a824df85?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn">cordeg</cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-1175056">March 5, 2013 at 5:11 pm</a></time>
</header>
<p>I have a device that dumps blocks of fixed-length uncompressed audio samples at 48kHz in signed 16-bit LE format and I would like to use this as input to FFMPEG so that it can multicast an audio stream via RTP (it doesn&#8217;t have to compress the data on output, but if it does it should use something like MPEG-1 L2 ES format). Can you help me understand how this can be done with FFMPEG? I can interpose a simple pipe between the device and FFMPEG if necessary.</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=1175056#respond' onclick='return addComment.moveForm("comment-1175056", "1175056", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
<li>
<article class="comment even thread-even depth-1" id="comment-1212197">
<header class="comment-author vcard">
<img alt='' src='http://0.gravatar.com/avatar/6b8a4ec564c0c3968bdb646eb73651bd?s=48&amp;d=%3Cpath_to_url%3E&amp;r=G' class='avatar avatar-48 photo' height='48' width='48' /> <cite class="fn"><a href='http://Donthave' rel='external nofollow' class='url'>Pradeep</a></cite> <span class="says">said:</span> <time><a href="http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs#comment-1212197">March 28, 2013 at 10:35 pm</a></time>
</header>
<p>Please help in converting wav to mxf with 24 fps with ffmpeg<br />
what is the command</p>
<nav>
<a class='comment-reply-link' href='/blog/19-ffmpeg-commands-for-all-needs?replytocom=1212197#respond' onclick='return addComment.moveForm("comment-1212197", "1212197", "respond", "824")'>Reply</a> </nav>
</article>
<!-- </li> is added by wordpress automatically -->
</li>
</ol>
<div id="respond">
<h3 id="reply-title">Leave a Reply <small><a rel="nofollow" id="cancel-comment-reply-link" href="/blog/19-ffmpeg-commands-for-all-needs#respond" style="display:none;">Cancel reply</a></small></h3>
<form action="http://www.catswhocode.com/blog/wp-comments-post.php" method="post" id="commentform">
<p class="comment-notes">Your email address will not be published. Required fields are marked <span class="required">*</span></p> <p class="comment-form-author"><label for="author">Name <span class="required">*</span></label> <input id="author" name="author" type="text" value="" size="30" aria-required='true' /></p>
<p class="comment-form-email"><label for="email">Email <span class="required">*</span></label> <input id="email" name="email" type="text" value="" size="30" aria-required='true' /></p>
<p class="comment-form-url"><label for="url">Website</label><input id="url" name="url" type="text" value="" size="30" /></p>
<p class="comment-form-comment"><label for="comment">Comment</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p> <strong>Please respect the following rules:</strong> No advertising, no spam, no keyword in name field. Thank you! <p class="form-submit">
<input name="submit" type="submit" id="submit" value="Post Comment" />
<input type='hidden' name='comment_post_ID' value='824' id='comment_post_ID' />
<input type='hidden' name='comment_parent' id='comment_parent' value='0' />
</p>
<p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="083dc02371" /></p> </form>
</div><!-- #respond -->
</div>
</section>
<aside id="sidebar">
<div class="widgetcontainer sidebar-buttons">
<div class="textwidget">
<a href="http://feeds.feedburner.com/catswhocode" title="Subscribe to RSS feed">
<h3 class="widgettitle rss">
19400+ <div class="label">
RSS Readers
</div>
</h3>
</a>
<a href="http://www.twitter.com/catswhocode" title="Follow me on Twitter">
<h3 class="widgettitle twitter">
9300+ <div class="label">
Followers
</div>
</h3>
</a>
</div>
</div>
<section id="text-401998366" class="widget widget_text"> <div class="textwidget"><!-- BuySellAds Zone Code -->
<div id="bsap_1276788" class="bsarocks bsap_65d4a8b1d549bef63e730d4adcf8cf4d"></div>
<!-- End BuySellAds Zone Code --></div>
</section><section id="text-401998359" class="widget widget_text"> <div class="textwidget"><!-- BuySellAds.com Zone Code -->
<div id="bsap_1238342" class="bsarocks bsap_65d4a8b1d549bef63e730d4adcf8cf4d"></div>
<!-- END BuySellAds.com Zone Code -->
<div class="clear"></div>
<div style="clear:both;"></div> </div>
</section><section id="text-401998364" class="widget widget_text"><h3 class="widget_title">Like CWC on Facebook!</h3> <div class="textwidget"><iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FCats-Who-Code%2F302807633129400&amp;width=292&amp;height=258&amp;colorscheme=light&amp;show_faces=true&amp;border_color&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:258px;" allowTransparency="true"></iframe></div>
</section><section id="text-401998361" class="widget widget_text"> <div class="textwidget"><!-- BuySellAds Zone Code -->
<div id="bsap_1239978" class="bsarocks bsap_65d4a8b1d549bef63e730d4adcf8cf4d"></div>
<!-- End BuySellAds Zone Code --><div class="clear"></div></div>
</section> <section id="recent-posts-3" class="widget widget_recent_entries"> <h3 class="widget_title">Latest posts</h3> <ul>
<li>
<a href="http://www.catswhocode.com/blog/10-awesome-php-functions-and-snippets" title="10 awesome PHP functions and snippets">10 awesome PHP functions and snippets</a>
</li>
<li>
<a href="http://www.catswhocode.com/blog/css-and-javascript-tools-to-take-your-website-to-the-next-level" title="CSS and JavaScript tools to take your website to the next level">CSS and JavaScript tools to take your website to the next level</a>
</li>
<li>
<a href="http://www.catswhocode.com/blog/useful-snippets-to-protect-your-wordpress-blog-against-scrapers" title="Useful snippets to protect your WordPress blog against scrapers">Useful snippets to protect your WordPress blog against scrapers</a>
</li>
<li>
<a href="http://www.catswhocode.com/blog/hacks-and-snippets-to-enhance-wordpress-search-engine" title="Hacks and snippets to enhance WordPress search engine">Hacks and snippets to enhance WordPress search engine</a>
</li>
<li>
<a href="http://www.catswhocode.com/blog/cross-browser-compatible-html5-videos" title="Cross browser compatible HTML5 videos">Cross browser compatible HTML5 videos</a>
</li>
</ul>
</section><section id="text-401998368" class="widget widget_text"><h3 class="widget_title">Punk rock anyone?</h3> <div class="textwidget"><iframe width="300" height="100" style="position: relative; display: block; width: 300px; height: 100px;" src="http://bandcamp.com/EmbeddedPlayer/v=2/album=957422640/size=grande/bgcol=FFFFFF/linkcol=4285BB/" allowtransparency="true" frameborder="0"><a href="http://secularplague.bandcamp.com/album/death-for-sale">Death For Sale by Secular Plague</a></iframe>
</div>
</section><section id="text-401998367" class="widget widget_text"><h3 class="widget_title">WP theme of the week</h3> <div class="textwidget"><a href="http://t.co/vjirtyAYkJ" target="blank">
<img src="http://0.s3.envato.com/files/25315705/ThemePreview/001.__large_preview.jpg" alt="" /></a>
<strong>
<a href="http://t.co/vjirtyAYkJ">MayaShop</a>
</strong></div>
</section><section id="text-401998365" class="widget widget_text"> <div class="textwidget"><a href="http://is.gd/vidahostcwc" style="display:block;margin:25px 0;font-size:12px;line-height:18px"><img src="http://www.catswhocode.com/blog/wp-content/uploads/2012/06/vida-logo.png" alt=""/>CatsWhoCode.com is hosted by VidaHost. Use our exclusive coupon CATSWHOCODE to get a 10% discount on hosting! </a></div>
</section><section id="search-4" class="widget widget_search"><h3 class="widget_title">Search</h3><form role="search" method="get" id="searchform" action="http://www.catswhocode.com/blog/" >
<div><label class="screen-reader-text" for="s">Search for:</label>
<input type="text" value="" name="s" id="s" />
<input type="submit" id="searchsubmit" value="Search" />
</div>
</form></section><section id="rss-5" class="widget widget_rss"><h3 class="widget_title"><a class='rsswidget' href='http://feeds.feedburner.com/catswhocode-snippets' title='Syndicate this content'><img style='border:0' width='14' height='14' src='http://www.catswhocode.com/blog/wp-includes/images/rss.png' alt='RSS' /></a> <a class='rsswidget' href='http://www.catswhocode.com/blog' title='Web Development Blog'>Latest snippets</a></h3><ul><li><a class='rsswidget' href='http://feedproxy.google.com/~r/catswhocode-snippets/~3/4MIGwUMNaZ4/no-follow-links-in-specific-category' title='Automaticlly addes a nofollow link in the post content of a desired category! [&hellip;]'>No Follow Links In Specific Category</a></li><li><a class='rsswidget' href='http://feedproxy.google.com/~r/catswhocode-snippets/~3/kia2mZ8bbHQ/insert-line-breaks-in-html-buttons' title='You can use carriage return characters to break the line: [&hellip;]'>Insert line breaks in HTML buttons</a></li><li><a class='rsswidget' href='http://feedproxy.google.com/~r/catswhocode-snippets/~3/2gnlEq24g9c/count-user-posts-on-a-wordpress-site' title='A small but usefull snippet which is great for the author page or for open website which have multiple authors and returns a count of author posts... Please note that it currently returns published &amp; pending posts but this can be changed easily by adding the status parameter to get_post request. [&hellip;]'>Count user posts on a WordPress site</a></li><li><a class='rsswidget' href='http://feedproxy.google.com/~r/catswhocode-snippets/~3/vqkotB-TEOc/highlight-current-menu-item-in-php' title='Here another useful snippet for highlight current menu item in PHP [&hellip;]'>Highlight current menu item in PHP</a></li><li><a class='rsswidget' href='http://feedproxy.google.com/~r/catswhocode-snippets/~3/vVcAwE_XTuk/language-dependent-float' title='When you need to build a theme that support in LTR but also in RTL you need small functions that makes life easier! This couple of function saved my a lot of time and weight on un-needed css code! Use it wisely yound jedi [&hellip;]'>Language Dependent Float</a></li><li><a class='rsswidget' href='http://feedproxy.google.com/~r/catswhocode-snippets/~3/ECGVV6hZtjc/bookmark-aka-link-shortcode' title='I wanted to use the built in WordPress admin link manager (now referred to as bookmarks) on a big site where links (especially external links) may occasionally change and be referred to in many places. Now I can manage my links in one place and by placing this snippet of code in the functions.php file I can use a shortcode to bring up any link by it&#039;s i [&hellip;]'>Bookmark (aka: Link) Shortcode</a></li><li><a class='rsswidget' href='http://feedproxy.google.com/~r/catswhocode-snippets/~3/oJjz_NonBAw/square-search-boxes-in-webkit' title='Using -webkit-appearance: textfield allows developers to use input[type=search] elements that appear as a standard square INPUT. This is especially useful when looking to add a border to your INPUT element! [&hellip;]'>Square Search Boxes in WebKit</a></li><li><a class='rsswidget' href='http://feedproxy.google.com/~r/catswhocode-snippets/~3/ba1mBtheK1g/base64-encode-of-a-11px-spacer-gif' title='It&#039;s always useful! [&hellip;]'>Base64 Encode of a 1*1px “spacer” gif</a></li><li><a class='rsswidget' href='http://feedproxy.google.com/~r/catswhocode-snippets/~3/Qq0CeCZ0v-c/stitched-elements-in-css3' title='Stitched elements in CSS3 [&hellip;]'>Stitched elements in CSS3</a></li><li><a class='rsswidget' href='http://feedproxy.google.com/~r/catswhocode-snippets/~3/lGLfAuPXGts/restrict-wp-admin-access-to-certain-users' title='Adding this snippet to the functions.php of your wordpress theme will restrict wp-admin access to certain users as defined at http://codex.wordpress.org/Roles_and_Capabilities And also still allows for user access to admin-ajax.php , async-upload.php . [&hellip;]'>Restrict wp-admin access to certain users</a></li></ul></section><section id="linkcat-2" class="widget widget_links"><h3 class="widget_title">Blogroll</h3>
<ul class='xoxo blogroll'>
<li><a href="http://se.dressfirst.com/Balklanningar-c18/">balklänningar göteborg</a></li>
<li><a href="http://www.logobee.com/">Custom Logo Design</a></li>
<li><a href="http://www.LogoDesignGeek.com">Custom Logo Design Services</a></li>
<li><a href="http://www.amormoda.se/Festklanningar-c20/">festklänningar</a></li>
<li><a href="http://www.InfoGraphicDesignTeam.com">For Custom InfoGraphic Design Services &#8211; Click Here</a></li>
<li><a href="http://www.wix.com/website/templates">Free Website Templates by Wix</a></li>
<li><a href="http://www.LogoNerds.com">Logo Design Service</a></li>
<li><a href="http://vegan-rencontres.fr/">Rencontre Végétarien</a></li>
<li><a href="http://www.123rf.com">Stock Photos</a></li>
<li><a href="http://lt.dressfirst.com/Wedding-Dresses-c2/">vestuvines sukneles</a></li>
<li><a href="http://www.visiter-le-quebec.com/">Visiter le Québec</a></li>
<li><a href="http://www.visiter-newyork.com">Visiter New York</a></li>
<li><a href="http://www.inmotionhosting.com">Web Hosting</a></li>
<li><a href="http://webtarantula.com/">Web Tarantula</a></li>
</ul>
</section>
</aside> </div><!-- END MAIN -->
<footer id="footer" role="contentinfo">
&copy; 2008 - 2013 <a href="http://www.catswhocode.com">CatsWhoCode.com</a>
<a href="http://feeds2.feedburner.com/Catswhocode" id="feedburner"><img src="http://feeds2.feedburner.com/~fc/Catswhocode?bg=EF7900&amp;fg=000000&amp;anim=0" alt="" /></a>
</footer>
<script>!window.jQuery && document.write('<script src="http://www.catswhocode.com/blog/wp-content/themes/cat-stellation/js/jquery-1.4.2.min.js"><\/script>')</script>
<!--[if lt IE 7 ]><script src="http://www.catswhocode.com/blog/wp-content/themes/cat-stellationjs/dd_belatedpng.js?v=1"></script><![endif]-->
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js?ver=3.5.1'></script>
<script type='text/javascript' src='http://www.catswhocode.com/blog/wp-includes/js/comment-reply.js?ver=3.5.1'></script>
<script type='text/javascript' src='http://www.catswhocode.com/blog/wp-content/themes/cat-stellationjs/plugins.js?ver=3.5.1'></script>
<script type='text/javascript' src='http://www.catswhocode.com/blog/wp-content/themes/cat-stellationjs/script.js?ver=3.5.1'></script>
<script type="text/javascript">
/* <![CDATA[ */
jQuery('#sidebar .widget:nth-child(even)').css('margin-right', 0);
/* ]]> */
</script>
</body>
</html>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/
Served from: www.catswhocode.com @ 2013-06-05 02:20:40 by W3 Total Cache -->