Workflow/implementation suggestions for stipple plugin.

I'm writing a photoshop plugin for doing stipple effects, and other related effects such as these ones:
http://methodart.blogspot.com/2006/11/see-larger-version-here.html
http://methodart.blogspot.com/2006/11/from-method-artist.html
http://methodart.blogspot.com/2006/11/while-trying-to-figure-out-ways-to.html
http://methodart.blogspot.com/2010/05/nuther-twist-on-idea-of-novel-means-of.html
I started out writing a simple image filter, but I think a better workflow would be to generate the paths and stipple positions, and then be able to stroke them with different brushes.
Ideally, I would like to do all the crunching in a plugin, which would simply serve up paths and dot positions, and then do the rest in script.  This is the architecture I use in Maya and similar apps.  Is this possible?
Apologies for the n00b-ish questions, under a crushing deadline to get these in showable beta form.
Any and all help greatly appreciated,
Kevin

The above is basically the approach ive been forced to take, I added some more specific inheritance into the plugins.. now I have types of plugins, with general and specific interfaces... methods in the general interface are generally common to most of the plugins, specifics are not. Thus I have
public interface GeneralPlugin extends Cloneable, Runnable {
  // General plugin methods go here
public interface TypeAPlugin extends GeneralPlugin {
  // TypeA specific methods
public abstract class AbstractPlugin implements GeneralPlugin {
  // Generic implementation
public class MyPlugin extends AbstractPlugin implements TypeAPlugin {
  // The specifics, and the actual plugin.
}This way, if someone is writing a plugin, and chooses NOT to use the generic implementation for basic plugin functions, they may just have "public class AnotherPlugin implements TypeAPlugin" and they will need to implement all the methods -- this while being a slight trade off, by forcing the extension operation, ultimately gets what I want done.

Similar Messages

  • CINEFORM workflow idea suggestion for redigitizing footage

    Hello,
    When I started editing my feature I digitized my footage from tape using AspectHD v5 LOW to save HD space.
    Having been misinformed at the time I thought I could just transcode to HIGH the footage used in the final edit.
    I recently found out that I won't have upgrade if I transcode from LOW to HIGH from file and I need to redigitize from tape to get HIGH.
    Since, HDlink didn't register the original tape Timecode while digitizing and just created a new one with 00;00;00;00 at the start of tape,
    it scene cuted into clips. I didn't bother about that because I didn't paln to go back to tape and had backup of every medias file in case of crash or corruption of files.
    Now I'm looking for a way to redigitize in HIGH from tape and having file that match. I plan to use ProspectHD to have 10-bit quality as well.
    I got a few questions and possible worflow I'd be open on ideas to implement.
    If I redigitize every tape in scene detect and then trash clips I don't require to only keep HIGH file of media used in final edit; since there always a slip of a few fram in between scenes, would scene detect cut exactly as it did on first digitizing session?
    Could I batch capture in anyway possible? At least use batch capture per tape?
    Can I create a batch capture log starting from a list of file (like if I create an excell document of clip used with an EDL) ?
    Did ProspectHD implement cameras ?  I interacted with a SONY camera that AspectHD didn't reconize.
    I guess that I'll have to relink footage manualy in project file after ?
    Any other possible avenue I could take that would minimize pain of switching medias?

    ProspectHD and AspectHD don't digitize clips in with same lenght using HDLINK, so I can't just redigitize tapes and just replace clips with new ones...
    The only thing I see I could do is to create a timeline synch aspecthd clips take per take to Prospecthd clips and render out a new propecthd clip with the same lenght and synched as aspecthd clips, and do this for all the takes used in my final edit.
    That promess to be a long and tedious road, but the only one I found so far...
    Any ideas or suggestion to do this would be welcomed ?

  • Plugin suggestions for vinyl to digital

    Hi,
    Is there a suggested series of plugins that would help me in my transfer of old albums into CDs?
    From my own first couple of experiments I can see that I would need to boost the overall gain, try to remove some pops and cracks without losing too much of the high end, maybe add a little eq sparkle, etc.
    Thanks,
    John

    Funny - because just currently I'm in the state of crazyness to import a lot of my vinyls to have it at hand.
    There is one absolute thing to state at the very beginning:
    It is and will surely remain impossible for a long time to retain the full analog resolution in digital.
    So at the time being it is possible to have clicks and scratches removed which for a lot of people is what they want to achieve. But in every case you lose imagery and spacing of full analog recordings. Digital just can't do it. So for having the music on an easier to handle medium like a CD or iPod you will definitely have to live with a difference in listening experience - but maybe gain another important one by being able to listen to the old stuff at all !
    Having that said I concentrate on trying to capture as much as possible but at the same time try to improve it for this different kind of listening experience.
    If I want to have full listening pleasure nothing can compare to putting on the vinyl.
    So here's what I do.
    Imagine the best possible analog chain and then some. That's where to start with.
    An extremely high end turntable, arm and cartridge into a sophisticated RIAA amplifier. From there I go directly into the analog inputs of the DAW. I use no record out selector or distribution amplifier - just the best cable I can get hold of, I for mine do my own, which sometimes I change just to suit the character of the original programme.
    Carefully set the record level to use maximum bit resolution, I personally go as high as possible and even take a few overs on drum peaks ( I will compress the peaks later anyway) instead of losing some of the already horrible digital resolution. For that you have to know how your A/D reacts - some sound very good when driven hot, other produce ghastly artefacts even a few milliseconds after the actual over until they "calm down again". You wont have a problem with any high end A/D though - don't even think about using cheap M-Audio, Roland or equivalent USB stuff: Think RME, Digi, MotU, Apogee or something in that category.
    Ok, record the record !
    Add some seconds at the start and the beginning for a possible noise fingerprint. Of course a good turntable delivers no additional noise and hum, but still...
    If you have the possibility to switch between the original and whats coming back thru the DAW while recording, you will clearly notice how the analog imagery and space gets lost. That is the initial loss that you have to live with.
    So if you wanna retain maximum accuracy to the original you have to just import it into Waveburner now, maybe set your track markers and burn a CD.
    Remember that everything from now on is deteriorating absolute accuracy, even the slightest level change adds calculating inside the precious audio data meaning floating point hassle and rounding errors.
    The resulting CD will have lost another subtleties, partly because of the bouncing process in WB (the OS 9 version was able to burn without bounce, which was clearly better, unfortunately this feature got lost after the OS X transition), partly because of the burning process and partly because a "normal" CD player has crap converters compared to what's inside an Apogee or so.
    But if you wanna transfer the material into the new century, meaning to better fit it into todays listening experience it means a remastering.
    As we already know we can't expect to retain all analog subtleties - anyway, we can decide to at least fit the overall sound into what we are used nowadays in terms of loudness and density.
    And to have it at hand on an iPod at AAC or mp3 compression, subtleties are not what's worth of making a fuss about anyway...
    First step is opening the files in Logic's Sample Editor and drawing out the biggest clicks that go over the average program level - you can easily identify these by looking at the waveform. After finishing that you do a "Search Peak" to find out the remaining headroom of both files side A and side B, coz these will be most probably not the same. As I want to normalize the files now but at the same time retain the original intended balance between the tracks I have to change the gain on both side's files by the same amount and not just normalize both up to zero.
    So if peak level on A is at, say, -9.5dB and B is at -9.7dB you rise both by 9.4dB. That gives the -0.1dB safety (to not provoke strange 0dB behaviour at some plugins that you might want to use later on) on file A and -0.3dB on file B.
    If you have a worn out record you might want to add a Waves X-Click to remove audible record clicks and crackles. If you have the time and nerve to bounce in realtime then do so, that's clearly better than an offline bounce.
    Close Logic now and import the file into Waveburner.
    I have the following startup plugin chain in the mix domain:
    1. Waveburner Linear Phase EQ
    2. Waves S1 Imager
    3. Waves L2
    4. Waves TransX Multi
    5. PSP Vintage Warmer
    6. Waveburner MultiMeter
    First thing is to remove rumble (it IS there, believe me, even if NS-10s may not play it back):
    Set Linear Phase EQ Highpass Filter to 48dB/oct and at something under 40Hz. Check at MultiMeter's analyzer display and listen. You want to get rid of everything unwanted (because that affects the following compressors) but retain the bass. A look at the speaker's woofer when cranked will tell you clearly what happens here...
    From now on it is entirely upon personal taste - so this is only my preferred workflow and probably only one of maybe a thousand other ways.
    2.
    Vinyl is generally less stereo than today's CDs because of the immanent physical impossibillity of having one cutting head moving simultanously into two directions: On vinyl it was impossible to record anything out-of-phase. However, on our listening pleasure CD we can do it and most of the time we will like it !
    S1 Stereo Imager does exactly that, use a width something around 1.40. At this point you can maybe correct a slightly disadjusted stereo balance of the original material with the Asymmetry and Rotation sliders.
    Again use MultiMeter and your ears: The Goniometer will show left and right channel energy. If one channel is stronger the image will appear somewhat tilted - and your ears will tell if the singer stays centered when toggling mono/stereo (there's a mono switch in Vintage Warmer if you don't have one on your system).
    3.
    Waves L2 for getting rid of the ugly dynamics that once was used to transport feelings in music .
    Don't forget to switch off (noise) shaping and dither (you have enough noise on your file to mask bit switching, I promise...) and set it to 24bits (you recorded 24bits, didn't you ?)
    Out ceiling again to -0.1, threshold at whatever you happen to like (or skip this if you don't like it at all which I very much understand).
    4.
    I happen to like adding a bit liveliness and found Trans-X's preset "More Punch" a good starting point.
    It is a little too much in the default, especially in high frequency, but after a little tweaking it gives a nice kind of refreshing effect to the music.
    5.
    PSP Vintage Warmer. The secret weapon in every respect. I love it to bits. I think that is the ONE plugin I wouldn't ever wanna live without.
    Difficult to say something in general here - it's a compressor, which implies the fact that it is program dependant.
    BUT: I normally I always end up adding high eq by 1 to 3dB.
    VW's High EQ for me is the only one in the digital domain that does what I know from analog as "adding some air". Turn hi freq to 16k, add 3dB and you know what I mean. Try turning "Freq" down until you're totally satisfied (normally at around 11 to 13k).
    While you're at it try adding a little lo eq (again 1 or two dB) between 80 to 140 Hz.
    The expected "HiFi-Loudness-Curve" is less noticeable than you fear.
    because the best part, VW's multi band compression, enhances density anyway, so you don't lose the critical midrange:
    Drive: no more than 4 dB (that's because we optimized our levels in the first place).
    Knee: between 1 and 5% (same reason as above).
    Ceiling: -0.1
    Output: -0.1
    Speed and Release is totally program dependant - you have to try for yourself.
    If you set everything within reasonable amounts you will have a great sounding master now that will have a loudness increase (call it dynamics loss if you want) around 5 to 15dB.
    It it is a whole different listening experience than the original vinyl but maybe it does for you what it did for me: I listen to all this great music again that I used to have in my life and that I ignored for so long.
    (So thank you, Steve Jobs, for having the iPod/iTunes-vision. Took me a while but now I know what you meant.)
    So have fun,
    may this be of help to bring back your valuable record collection into everyday life !
    Cheers,
    spocintosh
    Message was edited by: spocintosh

  • Need a Suggestion For implementing the Digital Signature For the Documents

    Hi,
    Currently I am working in a Document Management System. I need a Good Suggestion for how to implement a Digital Signature For the Documents.
    Thanks in Advance
    Sabarish V

    Hmm, if you are not using Oracle Payroll, what are you using for payroll? I am wondering why you could not use your payroll system, whatever it is, to handle this reimbursement program.
    Well, you may want to talk to Oracle support about how to handle this in Oracle iExpense. You can certainly handle advances for Expense Reports. You would then apply the advance to the expense report items. The catch is I don't think you can stop expense item entry after the adavance is satisfied. You would have to set up a work flow process of some kind to have the expense reports reviewed and only approve expenses that are applied to the advance, is what I am thinking. Not your ideal solution, but something to think about. It could be the Oracle folks might know of a sneaky way to handle this. What you are trying to do is unusual. Employee advances are common, but the idea of not being able to exceed the advance amount is what unusual about this. Normally you will accept any expenses over the advance amount and reimburse the employee for those extra amounts not advanced.
    Good luck.
    John Dickey

  • FV65 - WorkFlow Implementation for parking and posting invoices

    Hi All,
        We are implemetnig workflow for vendor invoices. can anyone implemented this for FV65 can help us which workflow template to use and what are the configuration settings for this.
    Regards
    Purna

    Hi:
    Refer to this documentation.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf
    Please let me know if you need more information.
    Assign points if useful.
    Regards
    MSReddy

  • Suggestions for Prelude to FCP workflow?

    We have a project with 22 hours of footage that has been brought into Prelude and logged.  The media represents a variety of formats including 5D, 7D, GoPro, FS700, etc.  Although originally intended for a Premiere edit, we need to now pass this project over to one of our FCP suites instead.  I can't figure out any way to both export a FCP XML file AND convert all the logged media to a usable FCP format such as DVCProHD or ProRes.  Any good workflow suggestions for getting all this work out of Prelude and into FCP if I didn't already convert to ProRes when we originally imported and logged the footage in Prelude? 
    I need something like Media Manager that would let me point to a folder, move all the selected media to that folder (while renaming the clips what they have been named in Prelude), AND convert those clips ot a new format as  it copies them.  I tried sending the project to Premiere and using Project Manager from there - but Project Manager appears to give me everything but an option  to convert the footage into a different format when it copies it.
    I feel like I'm missing something simple somewhere.
    Thanks for any help.
    Don Hertz
    AC Media Inc.

    Prelude allows you to transcode during ingest, but does not have a way to transcode clips AFTER ingest. This is a great suggestion and I have it noted from the feature request you submitted in July.
    You can send all of your clips through AME to transcode them. Getting the metadata you've already created can be applied to the new transcoded clips, however it is a one-by-one operation. For original each clip choose File->Save Metadata As... to save off the XMP to a separate file. Next ingest the transcoded versions of the clips and for each you can apply the XMP metadata via the Window->Unassociated Metadata panel.

  • I am missing my multirow tab plugin any suggestions for a replacement

    version 3 I could drag a tab upto the top and keep a shortcut there which was handy but I cannot seem to do that with 5.Any suggestions for an addon or otherwise I would be very grateful

    Is your Bookmarks Toolbar displayed?
    View menu > Toolbars > ''check'' Bookmarks Toolbar
    If you have the orange Firefox button (abbreviated menus), tap the Alt key or press F10 to display the classic menu bar with the full View menu.

  • List of Workflow implemented in a system - Module wise

    Hi,
    I have been assigned a task of determinign the list of workflows implemented in a SAP system pertaining to MM & WM.
    Please suggest is there any easy way to retrieve the above said data from a table or using a report or a function  module.
    Please expedite.
    Thanks and Regards,
    Dilli babu R

    There's a nice thing called the workflow explorer SWDM there you can search for workflows on the business objects for MM and WM.
    Kind regards, Rob Dielemans

  • Does anyone have any suggestions for Ad blocking? I'm getting a lot of pop up ads while using Facebook from Safari.

           I'm getting a lot of pop up ads. mostly while using  Facebook. I'm running Safari on a Macbook Pro running Yosemite. Does anyone have any suggestions for an Ad blocker. I don't see anything in the App store.
          I can't swear to it but I don't recall this being a problem pre-Yosemite. I could be wrong. I haven't been real active on Facebook until recently. I see some third party apps out there but am alway wary of non approved software.
         Thanks
         Ron

    You may have installed the "VSearch" trojan. Remove it as follows.
    Malware is always changing to get around the defenses against it. These instructions are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data before proceeding.
    Step 1
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot," "Trovi," or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    Reset the home page and default search engine in all the browsers, if it was changed.
    Step 2
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "com.vsearch.agent.plist" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    The problem may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the Internet criminal behind VSearch has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing has not done so, even though it's aware of the problem. This failure of oversight has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • ArchWiki: suggestion for a new page layout

    Finally, I have some time to spare for ArchWiki improvement.
    I have modified my article on CMYK support in The GIMP as an example.
    Please take a look at it here:
    http://wiki.archlinux.org/index.php/CMY … n_The_GIMP
    The code to produce the box on the right is here:
    {{sn|'''Article summary:'''
    This article will show how to enable rudimentary CMYK support in The GIMP using the Separate plug-in, and explain how to use color proof filter to soft-proof your images.
    It will also cover more general topics on CMYK colors and DTP.
    '''Required software:'''
    *[http://www.gimp.org/ The GIMP The GIMP]
    *[http://www.littlecms.com/ lcms]
    *[http://download.adobe.com/pub/adobe/iccprofiles/win/AdobeICCProfiles_end-user.zip Adobe ICC profiles]
    *[http://www.blackfiveservices.co.uk/separate.shtml Separate plugin source]
    '''Related article:'''
    *[[Using lprof to profile monitors]]
    This is the best we can do with current ArchWiki setup. It would be even better if we could list categories in the box, as well as i18n links.

A: ArchWiki: suggestion for a new page layout

dtw wrote:Doesn't display correctly in IE
I've been tinkering with the templates. It's fixed now, I think.
Anyway, the templates used for the job can be seen from the code:
{{Article summary start}}
{{Article summary text|This article will show how to enable rudimentary CMYK support in The GIMP using the Separate plug-in, and explain how to use color proof filter to soft-proof your images. It will also cover more general topics on CMYK colors and DTP.}}
{{Article summary heading|Translations}}
{{i18n_entry|Deutsch|CMYK support in The GIMP(Deutsch)}}
{{i18n_entry|English|CMYK support in The GIMP}}
{{i18n_entry|Español|CMYK support in The GIMP(Español)}}
{{i18n_entry|Finnish|CMYK support in The GIMP(Suomi)}}
{{i18n_entry|Français|CMYK support in The GIMP(Français)}}
{{i18n_entry|Nederlands|CMYK support in The GIMP(Nederlands)}}
{{Article summary heading|Required software}}
{{Article summary link|The GIMP (v2.0 and above)|http://www.gimp.org/}}
{{Article summary link|lcms (v1.15 ?)|http://www.littlecms.com/}}
{{Article summary link|Separate plugin (v0.10 and above ?)|http://www.blackfiveservices.co.uk/separate.shtml}}
{{Article summary heading|Related articles}}
{{Article summary wiki|Using lprof to profile monitors}}
{{Article summary end}}
As you can see, it's a bit more typing than before, but it sure looks better. I might shorten the names for the templates. I wanted to make them memorable so they are a bit long.
As you can see, the problem of i18n links integration was fixed, so you can use existing i18n template and combine with the new "Article summary" set.
I will modify the article about writing summaries to include those templates and examples.
EDIT:  :oops:  the i18n links in the article are just examples. Don't use them, since they lead to non-existing pages.
EDIT2: Okay, I've played around with the appearance of the summary box, but I'm at work now, so it's going nowhere. I'll play with it some more when I get home.

dtw wrote:Doesn't display correctly in IE
I've been tinkering with the templates. It's fixed now, I think.
Anyway, the templates used for the job can be seen from the code:
{{Article summary start}}
{{Article summary text|This article will show how to enable rudimentary CMYK support in The GIMP using the Separate plug-in, and explain how to use color proof filter to soft-proof your images. It will also cover more general topics on CMYK colors and DTP.}}
{{Article summary heading|Translations}}
{{i18n_entry|Deutsch|CMYK support in The GIMP(Deutsch)}}
{{i18n_entry|English|CMYK support in The GIMP}}
{{i18n_entry|Español|CMYK support in The GIMP(Español)}}
{{i18n_entry|Finnish|CMYK support in The GIMP(Suomi)}}
{{i18n_entry|Français|CMYK support in The GIMP(Français)}}
{{i18n_entry|Nederlands|CMYK support in The GIMP(Nederlands)}}
{{Article summary heading|Required software}}
{{Article summary link|The GIMP (v2.0 and above)|http://www.gimp.org/}}
{{Article summary link|lcms (v1.15 ?)|http://www.littlecms.com/}}
{{Article summary link|Separate plugin (v0.10 and above ?)|http://www.blackfiveservices.co.uk/separate.shtml}}
{{Article summary heading|Related articles}}
{{Article summary wiki|Using lprof to profile monitors}}
{{Article summary end}}
As you can see, it's a bit more typing than before, but it sure looks better. I might shorten the names for the templates. I wanted to make them memorable so they are a bit long.
As you can see, the problem of i18n links integration was fixed, so you can use existing i18n template and combine with the new "Article summary" set.
I will modify the article about writing summaries to include those templates and examples.
EDIT:  :oops:  the i18n links in the article are just examples. Don't use them, since they lead to non-existing pages.
EDIT2: Okay, I've played around with the appearance of the summary box, but I'm at work now, so it's going nowhere. I'll play with it some more when I get home.

  • Suggestions for NAS for home network and remote access to clients

    I have a photo studio in my home and will need to get the digital files to my clients roughly once a week. i am currently using dropbox, but was thinking of purchasing a NAS that I could use for this purpose,as well as for my home network needs, mainly itunes and photos of the kid...
    any suggestions for a mac friendly NAS , and how it can be accesed by my client over the internet?
    can a NAS be accessed like a FTP site, using fetch or another FTP client?
    thank for any help.
    -thomas

    Hi Thomas,
    I have had similar considerations and finally chose QNAP 439 Pro II over the many other ones out there (LinkSys, NetGear, Bufallo, etc.). Without going into technical details, the main reason for my choice were easy-of-use, functionalities and scalability:
    http://www.qnap.com/prodetail_feature.asp?pid=148
    It's not the cheapest solution out there, but works great with the Mac, even acts as storage solution for TimeMachine (with latest firm ware). And implementing client access is easy.
    Hope this helps.
    Kind regards,
    Mark

  • What is the best way to for a plugin to wrap a video element in a parallel composition with a reference plugin that points to that Video Element?

    I have a basic reference element loaded as a plugin, which is able to retrieve information about, pause and play video elements while displaying its own overlay content as well.  What it's not currently doing, is automatically positioning itself to the same location and dimensions of the video element that it references.  For some reason, when I try using the layout API to set position and size in the video element metadata, this is not retrieved by the reference element (it returns a null value for the target video element's metadata).
    I wanted to try a different approach, specifically, creating a parallel composition that works as follows:
    1) When a video element is created in the factory, it is automatically wrapped in a parallel composition element along with a reference element, which is passed the video element as a target.
    2) The reference element sets its width and height with the width and height properties of the video element spatial trait and will listen for any changes to that width and height to adjust accordingly.
    3) Now that I think about it, the parallel composition should itself be a proxy for the video element, so other code in the player that moves, resizes, or otherwise alters the dispay of the video element, will if fact be adjusting the whole video element + reference element parallel composition.
    In other words, I want the reference element to be an overlay that is "locked" to the surface of any video element and follows it in size, position, display and even audio traits.
    Suggestions for the best way to approach this within the framework?

    Thanks Wei,
    With some more tweaking, I am able to get and use the layout metadata as you said!  Here is where my issue stands now:
    * My IMediaReferrer element can now look at the layout metadata of the target media element and copy those values, so it has the same width, height, x, and y  properties.  This is great!
    * However, particularly for RelativeLayoutFacet metadata, this is only fully useful if both the target media element and my IMediaReferrer element are in the same composition.  If they are in different compositions which are themselves placed differently, then even identical x and y values don't add up to the same position on the screen.
    So, my challenge is to figure out how to ensure that my IMediaReferrer element is placed in the same composition as the target media element.
    Again, the goal is to write a plugin that will have a reference to an underlying video, and will always have the same width, height, x, and y of the video it is overlaying.  This plugin should not require any additional coding in the player, but should take care of setting itself up as above automatically when loaded.
    There isn't any property on a media element which exposes the "parent" composition element that it is a part of, so I don't know how to get my IMediaReferrer to add itself to the same composition as the reference target automatically.  I'm not sure if it's possible to make my IMediaReferrer element extend ParallelElement and still load in a SWF Element as an overlay, and add that SWF Element and the target Media Element as children with identical layout metadata.
    Do you have any suggestions on how I should proceed?
    Thanks again!

  • Suggestion for Improving Number

    Hello Oracle Java community,
    I've recently encountered some difficulties using the abstract class java.lang.Number, and have a suggestion for improvement.
    I'm writing a class that computes statistical information on a list of numbers - it would be nice to not couple this class to Integer, Double, BigDecimal, or any other wrapper by using generics. I saw that there is a nice superclass that all Number objects inherit from.
    I came up with:
    public class Statistics<T extends Number> {
    private List<T> data;
    // statistical data that i wish to find and store, such as median, mean, standard dev, etc
    public synchronized void setData(List<T> data) {
    this.data = data;
    if (this.data != null && !this.data.isEmpty()) calculateStatistics();
    private void calculateStatistics() {
    // Welcome to instanceof and casting hell...
    h4. It would be nice to have richer functionality from the Number class, say to do mathematical operations with them or compare them.
    h4. After all, in the real world it is possible to do so.
    h4. Real numbers are much like BigDecimal. Why not take the idea of BigDecimal, and make that the parent of Integer, BigInteger, Double, Short, Byte, Float (I'm probably forgetting a few)? All of those are limited forms of real numbers. It would make comparison between Number datatypes easy, would probably remove all of that duplicated arithmetic code between all of the children of Number, and also allow Numbers to be used in powerful generic ways. The parent/replacement of BigDecimal could even be named RealNumber, which stays true to its math domain.
    As a side note, I'm solving this problem by taking an initial step to convert the List<whatever type of Number that the user enters> into a List<BigDecimal> by getting the toString() value of each element when cast as a Number.
    private List<BigDecimal> convertData(List<T> data) {
    ArrayList<BigDecimal> converted = new ArrayList<BigDecimal>();
    for (T element : data) {
    converted.add(new BigDecimal(((Number) element).toString()));
    return converted;
    Criticism is always welcome.
    Thanks for your time and thoughts.
    -James Genac

    How compareTo() came into existence is from Comparable interface. As I understand, Comparable came into existence since Collections API has sorting functions - which needs to be run with a matching Comparable object that knows how to determine which element is larger than the other (not limited to objects representing numbers, you might sort a list of Persons). Hence, compareTo() is not solely meant for the comparison of numbers. Existence of the method in BigDecimal is just one case.
    Subclasses can override the equals() method, but that cannot be implemented in a cleaner manner and leads to a very poor design. For example, you might want to compare an Integer and a Float. So the Integer class's equals() method need to have some if-else structure to determine the other type and then compare. Same holds true for the Float class's equals() method as well. Ultimately, Everything becomes a mess. All subclasses of RealNumber needs to know about all other subclasses of RealNumber. And you will not be able to introduce new subtypes and expect the equals() method to work correctly.
    To avoid this, you need to depend on a single representation form for all types of numbers. If that's the case, you might just live with something like BigDecimal and not use Byte, Float, Integer,... (which we kind of do in some cases - for example to represent monetary amounts). So we can live without Byte, Float, Integer,...
    Then we need some utility classes that would contain some number type specific functions to work with primitives. So we will also have Byte, Float, Integer... unrelated to BigDecimal.
    Clearly, the wrapper types are there not because of the need to represent real world number types, but because of the need to represent computer domain number types. Hence, they have been organized not according to relationships found in real world number types. Many of us find this way of modelling sufficient and have an understanding about the limitations. But if you need to model the real world number relationships for some special reason, you might write some new classes. Then again there will be real world aspects that you will not be able to model easily. So you will model some aspects and neglect the other.

  • Disk configuration and workflow help needed for lab video workstation

    Hi All,
    Setting up a video editing workstation for a research lab that will use Premeire to edit AVCHD Progressive clips (sometimes with 2 streams side-by-side, but usually single-camera) and export them to .mp4 for later viewing by video coders. We won't be using AfterEffects or adding anything to the videos other than some text (titles, maybe sub-titles).
    The other purpose of this workstation is to act as a file server and backup system for other machines in the lab. Coders will be viewing the exported videos via other networked machines and working with Microsoft Office files that will be stored on the workstation's other HDDs. I'll have a physical backup drive and cloud backup via CrashPlan.
    I've built a machine that is probably overkill, but the client (my wife) wanted it to be "fast," and the purpose of the machine might change in the future:
    i7-4770K (overclocked a bit)
    16GB RAM
    Asus Z87-Pro
    GeForce GTX 660
    I have the OS (W7) and programs on a 256 GB Samsung 840 Pro SSD and currently have two 1TB Velociraptors to use for the Premiere workflow. I'm trying to figure out how to proceed with the purchase of the rest of the drives, and I want to keep the Premiere drives separate from the large storage drives from the lab that are networked and synced to cloud backup.
    Following the recommendations for a three-disc configuration I've picked up on these forums, I could set it up like this:
    C: (256GB SSD) (OS, programs, pagefile)
    D: (1TB HDD) (media, projects)
    E: (1TB HDD) (previews, media cache, exports)
    F: (4TB HDD) (backups of media, projects, and exports and storage of other research files)*THIS DRIVE WOULD BE SHARED ON THE NETWORK
    G: (4TB external HDD) (backup of F & drive that backs up to CrashPlan)
    but it seems that would be a waste of the speed of the second 10k velociraptor. If I added another SSD and RAIDed the Velociraptors it would be:
    C: (256GB SSD) (OS, programs)
    D: (Two 1TB Velociraptors in RAID 0) (media, projects)
    E: (256GB SSD) (media cache, pagefile)
    but would I then need to add another dedicated HDD for previews and exports, or could I store those on the networked F: from above (which would be previews, exports, backups of media and projects, and storage of other research files) without taking a speed hit?
    It seems overkill to have a dedicated drive for exports and previews (let's make that the new F:), then have them copy to the first 4TB drive (now G:), then back that up to the second 4TB drive (now H:), then back that up to CrashPlan. However, people might be accessing that network drive at any time, and I don't want that to slow any part of the video process down.
    I appreciate any advice ya'll can give me!

    Hi Jim,
    Thanks for the encouraging response. I'm leaning toward the non-SSD option at this point. 
    To make sure I understand, are you suggesting I try using the Velociraptor Raid 0 in the 2 disk configuration suggested by Harm's Guidelines for Disk Usage chart? Like this:
    C: (256 GB SSD) (OS, Programs, Pagefile, Media Cache)
    D: (1TB x2 in RAID 0) (Media, Projects, Previews, Exports)?
    Where I'm still confused there, and in looking at Harm's array suggestions for 5 or more drives, is how performance is affected by having simultaneous read/write operations happening on the same drive, which is what I understood was the reason for spreading out the files on multiple drives. Maybe I don't understand how Premiere's file operations work in practice, or maybe I don't understand RAID 0 well enough.
    In the type of editing we'll be doing (minimal) aren't there still times when Premiere will be trying to read and write from the D: drive at the same time, for example during export? Wouldn't the increased speed benefits of RAID 0 for either read or write alone be defeated by asking the array to do both simultaneously?
    Maybe the reason the Media Cache is on the SSD in the above configuration is because that is what will be read while writing to something like Exports? But that wouldn't make sense given Harm's chart, which has the Media Cache also located on the array....
    Another question is, given that the final home of the exported videos will be on the big internal drive (4TB) anyway, could I set it up like this:
    C: (SSD) (OS, Programs, Pagefile, Media Cache)
    D: (2TB RAID 0) (Media, Projects, Previews)
    E: (network shared 4TB HDD) (Exports + a bunch of other shared non-video files)
    so I don't end up having to copy the exported videos over to the 4TB drive? Do you think it would render significantly faster to the RAID than it would to the 7200 rpm 4TB drive? I'd like to cut out the step of copying exported videos from D: to E: all the time if it wasn't necessary.
    Thanks again.

  • OC4J 10.1.2 - No XPathFactory implementation found for the object model

    Hello,
    We are doing some maintenance on an old 10.1.2.3.0 container. The project has to be extended with a library built with xml-apis-1.3.03.jar. I know you will suggest a upgrade, but that is a no-go - sorry, since other projects also are running on this server. So I hope some of you remember or know how to avoid or replace the oracle xml parser.
    It seems like it gets the wrong XPathFactory
    XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom
    with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory implementation found for the object model:
    I have searched the documentation for 10.1.2 and everything relevant on the Internet for a solution, but i seems to non-trivial when dealing with oracle xml parser. We tried to put the jar-files (xml-apis-1.3.03.jar, xercesImpl-2.8.0.jar, xalan-2.6.0.jar) in the endorsed library under the jdk, and we have already added <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true"/> to our orion-web.xml.
    I also know that the <shared-library> tag got introduced in 10.1.3 where you easily can replace the parser.
    Any ideas on how to deal with this exception or comments to the interpretation on the exception are appreciated.
    -MK

    Hello,
    You are correct, in OracleAS 10g (10.1.2), Oracle does not expose JMX MBean server.
    OracleAS 10g R3 (10.1.3) is a J2EE 1.4 container will full support for JMX, and all the JSR-77 MBeans exposed. You can also create and register your own MBeans.
    Could you give us the different requirements you have around JMX for your application?
    Regards
    Tugdual Grall

  • Maybe you are looking for

    • Where can i find a MSDS for ipad 3?

      hi i am sending an ipod to china from australia and fed ex told me i need a msds... can anyone help?

    • Formatting total columns in an OAAdvancedTableBean

      Hi All, I need to be able to format the table total columns in the format: Formatter formatter = new OADecimalValidater("###,###,###,##0;-###,###,###,##0", "###,###,###,##0;-###,###,###,##0"); (no decimal places) I've tried various things e.g. Dictio

    • Permission denied on a file I own??

      OL 5.7 64bit What's up with this? I'm logged on as user 'oracle'. User 'oracle' owns the directory OPatch, which has full permissions for the owner. Yet, when I try to rename (mv) it, I get 'permission denied'. oracle:+ASM$ ls -ld OP* drwxr-xr-x 8 or

    • Blu-ray structure on standard DVD/DVD-DL

      I think the answer to this is "no," but I was wondering if the current version of DVD Studio Pro will allow you to create Blu-ray player compatible discs with HD material on standard writable DVDs, as Toast Titanium 10 Pro is capable of doing. I unde

    • Scope of one phase commit optimization?

      Hello, I am unclear about the scope across which Tuxedo XA can optimize the commit to a one phase commit when there is only a single resource involved. Is it just the process? Or is it the group (same TM)? Based on the XA specification, it is the con