On Mon, May 13, 2013 at 9:14 AM, Tony Yu <tsy...@gmail.com> wrote:

>
>
>
> On Sat, May 11, 2013 at 7:08 PM, Colin McAuliffe <cjm2...@columbia.edu>wrote:
>
>> To add to the previous email I've tried this with a few different
>> backends with no luck. Have similar issues been found when creating videos
>> with mencoder? If the final result is the same switching away from ffmpeg
>> is fine.
>
>
> Sorry for the delayed reply. I don't have mencoder on my system, but it's
> probably worth a try. More comments below.
>
>  Quoting Colin McAuliffe <cjm2...@columbia.edu>:
>>
>>>
>>> The above error does not occur if I switch to agg.
>>>
>>> Also using the ffmpeg command
>>>
>>> ffmpeg -f image2 -i t%d.jpg video.avi
>>>
>>> on a few images gives the following output, where I put !! next to the
>>> lines which are suppressed by including -loglevel quiet
>>>
>>> FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
>>>   built on May  2 2013 23:13:41 with llvm_gcc 4.2.1 (Based on Apple
>>> Inc. build 5658) (LLVM build 2336.9.00)
>>>
>>
> <snip>
>
>  !!Output #0, avi, to 'video.avi':
>>> !!  Metadata:
>>> !!    ISFT            : Lavf52.93.0
>>> !!    Stream #0.0: Video: mpeg4, yuv420p, 4272x2848, q=2-31, 200 kb/s,
>>> 25 tbn, 25 tbc
>>> Stream mapping:
>>>   Stream #0.0 -> #0.0
>>> Press [q] to stop encoding
>>> frame=    3 fps=  2 q=4.0 Lsize=     524kB time=0.12
>>> bitrate=35781.7kbits/s
>>> video:519kB audio:0kB global headers:0kB muxing overhead 1.083673%
>>>
>>
> So the line starting with "frame=" doesn't get suppressed when you run
> with `-loglevel quiet`? I actually thought those were the problematic lines
> (since more of those get printed out for longer encoding tasks). Maybe this
> is an issue with the ffmpeg version?
>
> Unfortunately, I don't have much free time to reply in more depth.
>
> Best,
> -Tony
>
>
Oh, yeah: If you just want to try something to get this working, try
setting the verbosity level:


import matplotlib
matplotlib.verbose.set_level('debug')

Assuming this is the same issue as PR 989, redirecting stdout to the
command line will prevent the buffer issues. (You'll get a lot of debug
output printed to the command line, though).

Hope that helps,
-Tony
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to