APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Tracker 6.1.3 - Video Filter post and replies

Return to the Tracker 6.1.3 - Video Filter thread
Login to post to this thread

Tracker 6.1.3 - Video Filter
Michael Peschk
8 Posts

Hi, I applied a videofilter to an .avi and saved the project in .trk file. (radial distortion if it matters) So far so good, but reading this .trk project gets stuck at 95% Deleting the following lines at least helps to read the file without a filter.

<property name="filters" type="collection" class="java.util.ArrayList">
<property name="item" type="object">
<InvalidTag class="org.opensourcephysics.media.core.RadialDistortionFilter">
<property name="fixed_radius" type="double">1.0</property>
<property name="input_type" type="string">Equisolid</property>
<property name="input_fov" type="double">1.43116998663535</property>
<property name="output_type" type="string">Equidistant</property>
<property name="color" type="object">
<InvalidTag class="java.awt.Color">
<property name="red" type="int">0</property>
<property name="green" type="int">255</property>
<property name="blue" type="int">0</property>
<property name="alpha" type="int">255</property>
</object>
</property>
</object>
</property>
</property>

Is there a way to get debug output? kind regards


Replies to Tracker 6.1.3 - Video Filter

Re: Tracker 6.1.3 - Video Filter -
Douglas Brown Avatar
Douglas Brown
450 Posts

Thanks for the bug report. I found the issue and fixed it for the next release, probably in August. In the meantime here is a workaround fix: (a) open the radial distortion filter properties dialog (b) save the TRK with the filter dialog open. Then it should load OK.

In the TRK file this adds new lines for "inspector_x" and "inspector_y":

                
                    0.75
                    Equisolid
                    1.2217304763960306
                    Rectilinear
                    
                    
                        0
                        255
                        0
                        255
                    </object>
                    

                    476
                    154
                </object>



OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book