I don't have any objections but would like to know if that change is compatible with the ancient FFMPEG we typically release ParaView with.<div><br></div><div><a href="http://www.vtk.org/files/support/ffmpeg_source.tar.gz">http://www.vtk.org/files/support/ffmpeg_source.tar.gz</a></div>

<div><br><br><div class="gmail_quote">On Thu, Jul 29, 2010 at 3:21 PM, Nicolas Rannou <span dir="ltr"><<a href="mailto:nicolas_rannou@hms.harvard.edu">nicolas_rannou@hms.harvard.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi all,<br>
<br>
We are experimenting issues regarding the usage of vtkFFMPEGWriter.cxx.<br>
It occurs at least on Mac and Ubuntu 10.04.<br>
You can reproduce the error turning VTK_USE_FFMPEG ON and running the<br>
associated test. (ctest -R FFMPEG)<br>
<br>
ERROR:<br>
[mjpeg @ 0x2db2f30]bitrate tolerance too small for bitrate<br>
Generic Warning: In /home/nr52/GITROOT/VTK/IO/vtkFFMPEGWriter.cxx, line 197<br>
Could not open codec.<br>
<br>
The problem is located at /VTK/IO/vtkFFMPEGWriter.cxx:179, where the bit_rate_tolerance is defined as:<br>
c->bit_rate_tolerance = c->bit_rate/this->FrameRate;<br>
<br>
Then, this error ("bitrate tolerance too small for bit-rate") can easily be solved decreasing the FrameRate.<br>
<br>
Moreover, there is no convenient method to set the bit-rate.<br>
So far, can only choose between 3 predefined bit-rates, which is quite restrictive.<br>
<br>
So here is my question: Is there any reason for not creating variables BitRate and BitRateTolerance?<br>
If there is no objection, I can take care of it.<br>
<br>
Thanks<br>
<br>
<br>
    Nicolas<br>
<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br></div>