If you haven’t loaded a reader plugin, Nuke doesn’t know what other
extensions (if any) it may claim to support besides what's in its filename.
I believe adding a call to `nuke.load('ffmpegReader')` to an init.py will
properly register it as the MXF format handler at startup.
-Nathan
From: Vincent Olivier
Sent: Saturday, June 21, 2014 3:43 PM
To: Nuke plug-in development discussion
Subject: Re: [Nuke-dev] Reader Extension Registration
Will do that for now. But do you confirm by this that the “description”
method is broken (8.0v5, Mac OS X 10.9)?
Thanks!
v
On Jun 21, 2014, at 6:40 PM, Deke Kincaid <[email protected]> wrote:
just make a mxfReader.tcl
Inside it put:
load ffmpegReader
return
Look at other tcl examples of this in the Nuke directory for avi, mov, tiff,
etc...:
/Applications/Nuke8.0v5/Nuke8.0v5.app/Contents/MacOS/plugins/aviReader.tcl
--
Deke Kincaid
Creative Specialist
The Foundry
Skype: dekekincaid
Tel: (310) 399 4555 - Mobile: (310) 883 4313
Web: www.thefoundry.co.uk
Email: [email protected]
On Sat, Jun 21, 2014 at 3:20 PM, Vincent Olivier <[email protected]> wrote:
Hi,
Starting from “ffmpegReader.cpp” which compiles and installs fine, I want to
register additional file extension (“mxf”, for instance).
Changing the original line
const Reader::Description ffmpegReader::d("ffmpeg\0", build, test);
to
const Reader::Description ffmpegReader::d("ffmpeg\0mxf\0", build, test);
doesn’t work (no plugin named “mxfReader” found).
Renaming the file “ffmpegReader” to “mxfReader” works but is cumbersome.
Is the description method broken or am I doing something wrong?
Regards,
Vincent
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev