View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004719VTK(No Category)public2007-03-29 14:552013-04-05 20:22
ReporterBill McGrory 
Assigned ToDave DeMarle 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004719: vtkFFMPEGWriter needs porting from use of img_convert to sws_scale
Descriptionimg_convert, currently used in vtkFFMPEGWriter is a deprecated function. If the flag --enable-swscaler is included in the build for ffmpeg, then img_convert is not included in the distribution.

Note that this seems to be an either or kind of situation, so the patch I have uploaded will convert to using sws_scale, but will break the writer if the avcodec library uses img_convert (I believe)


Also, the cmake configuration files need to be modded to include -lswscale as a dependent library

Note, this deprecation hit me with the most recent build of ffmpeg libraries from debian-multimedia.org
TagsNo tags attached.
Project
Type
Attached Files? file icon ffmpegwriter.patch1 [^] (2,155 bytes) 1969-12-31 19:00

 Relationships

  Notes
(0010484)
Dave DeMarle (administrator)
2008-02-13 15:02

We need to find a different workaround for the lack of img_convert(). Enabling the swscaler portion of ffmpeg makes the library GPL. We need to use routines from within an option set that keeps the library LGPL, or anything that uses vtkFFMPEGWriter will become GPL.

Lovely - can't we all just get along?
(0025323)
Dave DeMarle (administrator)
2011-02-08 09:00

This was fixed by:

commit a5cd05340f852ae2edf0caccf3a3bb528b63a73c
Author: Arnaud Gelas <arnaud_gelas@hms.harvard.edu>
Date: Tue Feb 2 14:41:11 2010 -0500

    ENH: When using FFMPEG encoder, it first check if you are using a recent version of FFM

 Issue History
Date Modified Username Field Change
2008-02-06 10:06 Jeff Baumes Assigned To Will Schroeder => Dave DeMarle
2008-02-13 15:02 Dave DeMarle Note Added: 0010484
2011-02-08 09:00 Dave DeMarle Note Added: 0025323
2011-02-08 09:00 Dave DeMarle Status tabled => @80@
2011-02-08 09:00 Dave DeMarle Resolution open => fixed
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2013-04-05 20:22 Berk Geveci Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team