<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Sep 11, 2017 at 12:20 AM, Entwicklung Kornicki <span dir="ltr"><<a href="mailto:kornicki.entwicklung@chello.at" target="_blank">kornicki.entwicklung@chello.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">There is a class called vtkAVIWriter. We use this class to record the video.<br>
<br>
<a href="https://www.vtk.org/doc/nightly/html/classvtkAVIWriter.html" rel="noreferrer" target="_blank">https://www.vtk.org/doc/nightl<wbr>y/html/classvtkAVIWriter.html</a><br>
<br>
This class has a couple of methods such as PromptCompressionOptionsOn which allow to set whether the compressor options should be displayed, but I do not see any possibility to modify in detail which compressor options should be selectable.<br></blockquote><div><br></div><div>Yikes, a VTK class shouldn't present user interface elements like that, but rather leave it up to the application.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
My problem is that when I run our program and start capturing the video, it displays "Micosoft Video 1" as the first item of possible codecs to be used, but videos created using "Microsoft Video 1" apparently cannot be played by the standard video player of Windows 10. That is why I would like to remove this option but don't know how to do that.<br></blockquote><div><br></div><div>Unfortunately, I don't know if that is possible from outside vtkAVIWriter. See <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/dd756791(v=vs.85).aspx">https://msdn.microsoft.com/en-us/library/windows/desktop/dd756791(v=vs.85).aspx</a> how you can choose a different default from within vtkAVIWriter.cxx.</div><div><br></div><div>Best,</div><div>Cory</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Best regards,<br>
Claus Volko<div class="gmail-HOEnZb"><div class="gmail-h5"><br>
<br>
<br>
Am 07.09.2017 um 17:08 schrieb Cory Quammen:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
With Kitware VTK 5.8, when using the functionality to save the action that<br>
is going on in the window as an AVI file and prompting compressor options,<br>
the default codec is "Microsoft Video 1". Unfortunately, I noticed that when<br>
you save an AVI file with this codec, the default video player of Windows 10<br>
will not be able to play the video. That's a bad thing. However, if I choose<br>
another codec from the list, such as "Intel IYUV Codec", playback works.<br>
That's the good news.<br>
<br>
Is there some way to make Kitware VTK 5.8 show only such codecs that work<br>
with the default video player of Windows 10?<br>
</blockquote>
I'm not sure what you mean by the "functionality to save the action".<br>
Could you describe what you are doing? Are you running an example?<br>
<br>
Thanks,<br>
Cory<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Best regards,<br>
Claus Volko<br>
<br>
<br>
---<br>
This email has been checked for viruses by Avast antivirus software.<br>
<a href="https://www.avast.com/antivirus" rel="noreferrer" target="_blank">https://www.avast.com/antiviru<wbr>s</a><br>
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at:<br>
<a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br></div></div><div class="gmail-HOEnZb"><div class="gmail-h5">
---<br>
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.<br>
<a href="https://www.avast.com/antivirus" rel="noreferrer" target="_blank">https://www.avast.com/antiviru<wbr>s</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>Staff R&D Engineer<br>Kitware, Inc.</div>
</div></div>