Re: [Matplotlib-users] video without black bands

2014-03-13 Thread diedro
Dear B., thanks a lot for your replay. I get it. What do you think is the measure for w and h. Is the unit of measure in pixels?. What does fps stand for? Thanks a lot Diego On 12 March 2014 16:05, Benjamin Root-2 [via matplotlib] ml-node+s1069221n43050...@n5.nabble.com wrote: In your

Re: [Matplotlib-users] video without black bands

2014-03-13 Thread Francesco Montesano
Dear Diego, 2014-03-13 14:49 GMT+01:00 diedro diego.aves...@gmail.com: Dear B., thanks a lot for your replay. I get it. What do you think is the measure for w and h. Is the unit of measure in pixels?. yes What does fps stand for? frames per second Cheers, Francesco Thanks a lot

[Matplotlib-users] video without black bands

2014-03-12 Thread diedro
Dear all, I have created a video from *.png files. The problem is that my video has black bands on the left and on the right. I have used the following commands: command = ('mencoder', 'mf://*.png', '-mf', 'type=png:w=9800:h=600:fps=0.6', '-ovc',

Re: [Matplotlib-users] video without black bands

2014-03-12 Thread Oliver
Please don’t double post. Also, this post is much more informative than the first, it’s much clearer now where the problem is, and it is not related to matplotlib at all, but with the options you’re passing to *mencoder*. What’s the size of your orginal pngs? 2014-03-12 11:58 GMT+01:00 diedro

Re: [Matplotlib-users] video without black bands

2014-03-12 Thread diedro
sorry for that, I supposed that I was not more in the the first mailing list. When I post the second one, I realized that I was still in the mailing list Regarding the post: Image Type: png (The PNG image format) Width: 704 pixels Height: 538 pixels Thanks a lot Diego On 12 March 2014 12:10,

Re: [Matplotlib-users] video without black bands

2014-03-12 Thread Benjamin Root
In your options to mencoder, you are specifying the width/height as: 'type=png:w=9800:h=600:fps=0.6', But your PNGs have size of 704x538 pixels. That's why you have black bars on either side of your animation. Cheers! Ben Root On Wed, Mar 12, 2014 at 7:16 AM, diedro diego.aves...@gmail.com