Thanks John, "avconv" seems just as good as mencoder and better in some aspects.<div><br></div><div>I was able to get the built-in media player on my mac QuickTime to play the mp4 file I produced using:</div><div>
<br></div><div>#!/bin/bash</div><div>fps=25</div><div>output=output.mp4</div><div>avconv -r $fps -f image2 -i %04d.png -b 45M $output</div><div><br></div><div>some things I noticed:</div><div>- for any bit rate above 45M it just stays at 45M for max during encoding (for mencoder when above the limit is specified, it defaults to the lower limit), but this could be due to the dimensions of my png files</div>
<div>- the fps it displayed while encoding is around 12-13, not sure why even though I specified fps to be 25</div><div>- QuickTime can play the movie, not just VLC.</div><div>- Being on the mac, I had to use MacPorts to install "yasm", but after that it's just ./configure;make;make install</div>
<div><br></div><div>The image quality is definitely better than what I can make with mencoder when the bitrate is cranked high, so I think I'll use this from now on :-)</div><div><br></div><div>Thanks again!</div><div>
<br></div><div>From</div><div>G.S.</div><div><br><div class="gmail_quote">On Fri, Sep 21, 2012 at 8:32 AM, John Wise <span dir="ltr"><<a href="mailto:jwise@physics.gatech.edu" target="_blank">jwise@physics.gatech.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Geoffery and everyone else,<br>
<br>
I usually use avconv (the replacement for ffmpeg) to make movies, which doesn't have the limitation of a maximum variable bitrate.  Here is the command I use.<br>
<br>
avconv -r $fps -f image2 -i frame_%04d.png -b 160M $output<br>
<br>
which uses the mpeg4 codec by default with a bitrate 160 Mb/s, and you can go even higher than this.  I used this for a 8k x 5k pixel movie.  Anything lower gives you serious compression artifacts for such a high resolution.<br>

<br>
I'd imagine that you can get fancier with variable bitrates and other options, but this spartan command gets the job done.<br>
<br>
John<br>
<div><div class="h5"><br>
On 21 Sep 2012, at 01:59, Geoffrey So wrote:<br>
<br>
> Hi all,<br>
><br>
> Playing around with mencoder and the mpeg4 codec, I think there's a hard limit to the width, if I set it to greater than w=2048, there will be artifacts in the movie (will not even encode 4096).  And the maximum vbitrate seems to be around 15000, anything higher I think it turns to the default and I'd get a lower quality video instead along with smaller file size.<br>

><br>
> Found these out the hard way when I tried to stitch together two 2048^2 images and encode it, each encode fine by itself but not when stitched together.<br>
><br>
> Just thought people should know and keep in mind when using mencoder.<br>
><br>
> From<br>
> G.S.<br>
><br>
> On Wed, Sep 19, 2012 at 6:37 AM, Brian O'Shea <<a href="mailto:bwoshea@gmail.com">bwoshea@gmail.com</a>> wrote:<br>
> I actually just use Quicktime Pro, which has a very convenient GUI and is actually quite flexible in terms of frame rates, image quality, export format, etc.  The only odd thing is that Quicktime 10 can't be upgraded to Pro, so one has to use an older version (7.6, I think).<br>

><br>
> --Brian<br>
><br>
> On Tue, Sep 18, 2012 at 6:07 PM, Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com">nathan12343@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
> I'm curious what sort of scripts, tools, and invocations thereof that people in the yt community use to stitch frames together into movies.<br>
><br>
> It seems like there are a number of solutions to do this.  It would be nice if we could gather some solutions for this process and put them in the documentation or on the website so that future users have a place to start when they're trying to make their first movies.<br>

><br>
> For what it's worth, here's a script I just wrote to process a bunch of slices and projections dumped by a timeseries script: <a href="http://paste.yt-project.org/show/2703/" target="_blank">http://paste.yt-project.org/show/2703/</a><br>

><br>
> I've had good results with ffmpeg, although it's a pain to install and has an inflexible command line syntax to tell it to stitch together frames for a movie so I would love to hear of other solutions that don't use ffmpeg.<br>

><br>
> Cheers,<br>
><br>
> Nathan<br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br>
</div></div>--<br>
John Wise<br>
Assistant Professor of Physics<br>
Center for Relativistic Astrophysics, Georgia Tech<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</div></div></blockquote></div><br></div>