View Issue Details

IDProjectCategoryView StatusLast Update
0023488Open CASCADEOCCT:Visualizationpublic2012-11-16 13:18
Reporterkgv Assigned Tokgv  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
PlatformWindowsOSVC++ 2008 
Product Version6.5.3 
Target Version6.5.4Fixed in Version6.5.4 
Summary0023488: Make video capture functionality in TKOpenGl optional
Description0020035 introduce video capture capabilities to TKOpenGl.
However this functionality is limited to Windows platform (used Video For Windows) and rarely used.

Some remarks from R.Lygin ~13699:
>Just came up to write you about this issue detected once 6.3.0 has been out.
>It seems that with introduction of avi export
>(and/or maybe other new stuff),
>TKV3d or TKOpenGl now depend on greater amount of system libraries.
>You can see this when running an app under debugger in MSVS.
>
>Obviously this increases load time and memory footprint.
>As this functionality will really rarely be used,
>the benefit does not justify the cost.
>Perhaps deferred loading would be a better option.
>Have you considered this?

This is suggested to make this functionality optional as it done for other cases (FreeImagePlus, gl2ps).
Additional information
and documentation updates
Video capture capabilities (implemented only for Windows platform) is not build by default. To build OCCT with this functionality HAVE_VIDEOCAPTURE should be defined in compiler options (directly in project settings or in CSF_DEFINES environment variable which defined in "env.bat").
TagsNo tags attached.
Test case numberNot needed

Activities

kgv

2012-10-24 15:38

developer   ~0021926

Patch is ready for review in CR23488 branch

abv

2012-10-25 13:17

manager   ~0021942

Reviewed, please test. Kirill, please provide documentation for release notes

mkv

2012-10-30 14:32

tester   ~0022008

Dear BugMaster,
Branch CR23488 (and products from GIT master) was compiled on Linux and Windows platforms and tested.

Regressions:
Not detected

Improvements:
Not detected

Testing cases:
Not needed

Related Changesets

occt: master 16fa0dfb

2012-11-02 11:56:36

kgv

Details Diff
0023488: Make video recording functionality (OpenGl_AVIWriter) optional

CSF_AviLibs missing in EXTERNLIB of TKOpenGl toolkit. This cause incorrect project generation.
HAVE_VIDEOCAPTURE now should be defined to enable video recording capabilities on Windows.
Affected Issues
0023488
mod - src/OpenGl/OpenGl_AVIWriter.cxx Diff File
mod - src/OpenGl/OpenGl_Workspace_4.cxx Diff File
mod - src/TKOpenGl/EXTERNLIB Diff File
mod - src/ViewerTest/ViewerTest_AviCommands.cxx Diff File

Issue History

Date Modified Username Field Change
2012-10-24 14:50 kgv New Issue
2012-10-24 14:50 kgv Assigned To => san
2012-10-24 15:29 abv Target Version => 6.6.0
2012-10-24 15:36 kgv Assigned To san => kgv
2012-10-24 15:37 kgv Status new => assigned
2012-10-24 15:38 kgv Note Added: 0021926
2012-10-24 15:38 kgv Assigned To kgv => abv
2012-10-24 15:38 kgv Status assigned => resolved
2012-10-24 15:48 kgv Target Version 6.6.0 => 6.5.4
2012-10-25 13:17 abv Note Added: 0021942
2012-10-25 13:17 abv Status resolved => reviewed
2012-10-25 14:50 abv Assigned To abv => bugmaster
2012-10-25 16:40 kgv Description Updated
2012-10-25 16:40 kgv Additional Information Updated
2012-10-25 16:41 kgv Description Updated
2012-10-30 14:32 mkv Note Added: 0022008
2012-10-30 14:32 mkv Test case number => Not needed
2012-10-30 14:32 mkv Status reviewed => tested
2012-11-06 19:02 kgv Changeset attached => occt master 16fa0dfb
2012-11-06 19:02 kgv Assigned To bugmaster => kgv
2012-11-06 19:02 kgv Status tested => verified
2012-11-06 19:02 kgv Resolution open => fixed
2012-11-16 13:13 bugmaster Fixed in Version => 6.5.4
2012-11-16 13:18 bugmaster Status verified => closed