|
From: diedro <die...@gm...> - 2014-03-13 13:49:34
|
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-...@n5...> 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
>
>
>
> On Wed, Mar 12, 2014 at 7:16 AM, diedro <[hidden email]<http://user/SendEmail.jtp?type=node&node=43050&i=0>
> > 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
>>
>> Diego
>>
>>
>>
>> On 12 March 2014 12:10, Oliver [via matplotlib] <[hidden email]<http://user/SendEmail.jtp?type=node&node=43047&i=0>
>> > 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?
>>>
>>>
>>>
>>> 2014-03-12 11:58 GMT+01:00 diedro <[hidden email]<http://user/SendEmail.jtp?type=node&node=43046&i=0>
>>> >:
>>>
>>>> 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] <http://user/SendEmail.jtp?type=node&node=43046&i=1>
>>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> 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] <http://user/SendEmail.jtp?type=node&node=43046&i=2>
>>> 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>
>>>
>>
>>
>> ------------------------------
>> View this message in context: Re: video without black bands<http://matplotlib.1069221.n5.nabble.com/video-without-black-bands-tp43045p43047.html>
>>
>> Sent from the matplotlib - users mailing list archive<http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html>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] <http://user/SendEmail.jtp?type=node&node=43050&i=1>
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>>
>
> ------------------------------------------------------------------------------
>
> 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] <http://user/SendEmail.jtp?type=node&node=43050&i=2>
> 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<http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=43045&code=ZGllZ28uYXZlc2FuaUBnbWFpbC5jb218NDMwNDV8LTEwODQ3ODcyNzI=>
> .
> 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>
>
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/video-without-black-bands-tp43045p43059.html
Sent from the matplotlib - users mailing list archive at Nabble.com. |