video without black bands

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',
           'lavc',
           '-lavcopts',
           'vcodec=mpeg4',
           '-oac',
           'copy',
           '-o',
           'output.avi')

How could I create a video without the black bands.

Thank you all,

···

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/video-without-black-bands-tp43045.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

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 <diego.avesani@…287…>:

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',

       'lavc',

       '-lavcopts',

       'vcodec=mpeg4',

       '-oac',

       'copy',

       '-o',

       'output.avi')

How could I create a video without the black bands.

Thank you all,

View this message in context: http://matplotlib.1069221.n5.nabble.com/video-without-black-bands-tp43045.html

Sent from the matplotlib - users mailing list archive at Nabble.com.


Learn Graph Databases - Download FREE O’Reilly Book

“Graph Databases” is the definitive new guide to graph databases and their

applications. Written by three acclaimed leaders in the field,

this first edition is now available. Download your free book today!

http://p.sf.net/sfu/13534_NeoTech


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

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, Oliver [via matplotlib] <[hidden email]> wrote:

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?


Learn Graph Databases - Download FREE O’Reilly Book

“Graph Databases” is the definitive new guide to graph databases and their

applications. Written by three acclaimed leaders in the field,

this first edition is now available. Download your free book today!

http://p.sf.net/sfu/13534_NeoTech


Matplotlib-users mailing list

[hidden email]

https://lists.sourceforge.net/lists/listinfo/matplotlib-users


If you reply to this email, your message will be added to the discussion below:

http://matplotlib.1069221.n5.nabble.com/video-without-black-bands-tp43045p43046.html

To unsubscribe from video without black bands, click here.

  [NAML](http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml)

2014-03-12 11:58 GMT+01:00 diedro <[hidden email]>:

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',

       'lavc',

       '-lavcopts',

       'vcodec=mpeg4',

       '-oac',

       'copy',

       '-o',

       'output.avi')

How could I create a video without the black bands.

Thank you all,

View this message in context: http://matplotlib.1069221.n5.nabble.com/video-without-black-bands-tp43045.html

Sent from the matplotlib - users mailing list archive at Nabble.com.


Learn Graph Databases - Download FREE O’Reilly Book

“Graph Databases” is the definitive new guide to graph databases and their

applications. Written by three acclaimed leaders in the field,

this first edition is now available. Download your free book today!

http://p.sf.net/sfu/13534_NeoTech


Matplotlib-users mailing list

[hidden email]

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

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.avesani@…287…> wrote:

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


View this message in context: Re: video without black bands

Sent from the matplotlib - users mailing list archive at Nabble.com.


Learn Graph Databases - Download FREE O’Reilly Book

“Graph Databases” is the definitive new guide to graph databases and their

applications. Written by three acclaimed leaders in the field,

this first edition is now available. Download your free book today!

http://p.sf.net/sfu/13534_NeoTech


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Diego

On 12 March 2014 12:10, Oliver [via matplotlib] <[hidden email]> wrote:

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?


Learn Graph Databases - Download FREE O’Reilly Book

“Graph Databases” is the definitive new guide to graph databases and their

applications. Written by three acclaimed leaders in the field,

this first edition is now available. Download your free book today!

http://p.sf.net/sfu/13534_NeoTech


Matplotlib-users mailing list

[hidden email]

https://lists.sourceforge.net/lists/listinfo/matplotlib-users


If you reply to this email, your message will be added to the discussion below:

http://matplotlib.1069221.n5.nabble.com/video-without-black-bands-tp43045p43046.html

To unsubscribe from video without black bands, click here.

  [NAML](http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml)

2014-03-12 11:58 GMT+01:00 diedro <[hidden email]>:

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',

       'lavc',

       '-lavcopts',

       'vcodec=mpeg4',

       '-oac',

       'copy',

       '-o',

       'output.avi')

How could I create a video without the black bands.

Thank you all,

View this message in context: http://matplotlib.1069221.n5.nabble.com/video-without-black-bands-tp43045.html

Sent from the matplotlib - users mailing list archive at Nabble.com.


Learn Graph Databases - Download FREE O’Reilly Book

“Graph Databases” is the definitive new guide to graph databases and their

applications. Written by three acclaimed leaders in the field,

this first edition is now available. Download your free book today!

http://p.sf.net/sfu/13534_NeoTech


Matplotlib-users mailing list

[hidden email]

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

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] <[hidden email]> wrote:

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


Learn Graph Databases - Download FREE O’Reilly Book

“Graph Databases” is the definitive new guide to graph databases and their

applications. Written by three acclaimed leaders in the field,

this first edition is now available. Download your free book today!

http://p.sf.net/sfu/13534_NeoTech


Matplotlib-users mailing list

[hidden email]

https://lists.sourceforge.net/lists/listinfo/matplotlib-users


If you reply to this email, your message will be added to the discussion below:

http://matplotlib.1069221.n5.nabble.com/video-without-black-bands-tp43045p43050.html

To unsubscribe from video without black bands, click here.

  [NAML](http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml)

On Wed, Mar 12, 2014 at 7:16 AM, diedro <[hidden email]> wrote:

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


View this message in context: Re: video without black bands

Sent from the matplotlib - users mailing list archive at Nabble.com.


Learn Graph Databases - Download FREE O’Reilly Book

“Graph Databases” is the definitive new guide to graph databases and their

applications. Written by three acclaimed leaders in the field,

this first edition is now available. Download your free book today!

http://p.sf.net/sfu/13534_NeoTech


Matplotlib-users mailing list

[hidden email]

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Diego

On 12 March 2014 12:10, Oliver [via matplotlib] <[hidden email]> wrote:

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?


Learn Graph Databases - Download FREE O’Reilly Book

“Graph Databases” is the definitive new guide to graph databases and their

applications. Written by three acclaimed leaders in the field,

this first edition is now available. Download your free book today!

http://p.sf.net/sfu/13534_NeoTech


Matplotlib-users mailing list

[hidden email]

https://lists.sourceforge.net/lists/listinfo/matplotlib-users


If you reply to this email, your message will be added to the discussion below:

http://matplotlib.1069221.n5.nabble.com/video-without-black-bands-tp43045p43046.html

To unsubscribe from video without black bands, click here.

  [NAML](http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml)

2014-03-12 11:58 GMT+01:00 diedro <[hidden email]>:

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',

       'lavc',

       '-lavcopts',

       'vcodec=mpeg4',

       '-oac',

       'copy',

       '-o',

       'output.avi')

How could I create a video without the black bands.

Thank you all,

View this message in context: http://matplotlib.1069221.n5.nabble.com/video-without-black-bands-tp43045.html

Sent from the matplotlib - users mailing list archive at Nabble.com.


Learn Graph Databases - Download FREE O’Reilly Book

“Graph Databases” is the definitive new guide to graph databases and their

applications. Written by three acclaimed leaders in the field,

this first edition is now available. Download your free book today!

http://p.sf.net/sfu/13534_NeoTech


Matplotlib-users mailing list

[hidden email]

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Dear Diego,

···

2014-03-13 14:49 GMT+01:00 diedro <diego.avesani@…878…287…>:

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


View this message in context: Re: video without black bands

Sent from the matplotlib - users mailing list archive at Nabble.com.


Learn Graph Databases - Download FREE O’Reilly Book

“Graph Databases” is the definitive new guide to graph databases and their

applications. Written by three acclaimed leaders in the field,

this first edition is now available. Download your free book today!

http://p.sf.net/sfu/13534_NeoTech


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Diego

On 12 March 2014 16:05, Benjamin Root-2 [via matplotlib] <[hidden email]> wrote:

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


Learn Graph Databases - Download FREE O’Reilly Book

“Graph Databases” is the definitive new guide to graph databases and their

applications. Written by three acclaimed leaders in the field,

this first edition is now available. Download your free book today!

http://p.sf.net/sfu/13534_NeoTech


Matplotlib-users mailing list

[hidden email]

https://lists.sourceforge.net/lists/listinfo/matplotlib-users


If you reply to this email, your message will be added to the discussion below:

http://matplotlib.1069221.n5.nabble.com/video-without-black-bands-tp43045p43050.html

To unsubscribe from video without black bands, click here.

  [NAML](http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml)

On Wed, Mar 12, 2014 at 7:16 AM, diedro <[hidden email]> wrote:

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


View this message in context: Re: video without black bands

Sent from the matplotlib - users mailing list archive at Nabble.com.


Learn Graph Databases - Download FREE O’Reilly Book

“Graph Databases” is the definitive new guide to graph databases and their

applications. Written by three acclaimed leaders in the field,

this first edition is now available. Download your free book today!

http://p.sf.net/sfu/13534_NeoTech


Matplotlib-users mailing list

[hidden email]

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Diego

On 12 March 2014 12:10, Oliver [via matplotlib] <[hidden email]> wrote:

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?


Learn Graph Databases - Download FREE O’Reilly Book

“Graph Databases” is the definitive new guide to graph databases and their

applications. Written by three acclaimed leaders in the field,

this first edition is now available. Download your free book today!

http://p.sf.net/sfu/13534_NeoTech


Matplotlib-users mailing list

[hidden email]

https://lists.sourceforge.net/lists/listinfo/matplotlib-users


If you reply to this email, your message will be added to the discussion below:

http://matplotlib.1069221.n5.nabble.com/video-without-black-bands-tp43045p43046.html

To unsubscribe from video without black bands, click here.

  [NAML](http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml)

2014-03-12 11:58 GMT+01:00 diedro <[hidden email]>:

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',

       'lavc',

       '-lavcopts',

       'vcodec=mpeg4',

       '-oac',

       'copy',

       '-o',

       'output.avi')

How could I create a video without the black bands.

Thank you all,

View this message in context: http://matplotlib.1069221.n5.nabble.com/video-without-black-bands-tp43045.html

Sent from the matplotlib - users mailing list archive at Nabble.com.


Learn Graph Databases - Download FREE O’Reilly Book

“Graph Databases” is the definitive new guide to graph databases and their

applications. Written by three acclaimed leaders in the field,

this first edition is now available. Download your free book today!

http://p.sf.net/sfu/13534_NeoTech


Matplotlib-users mailing list

[hidden email]

https://lists.sourceforge.net/lists/listinfo/matplotlib-users