Different approaches

I have a simple form where there is a drop down list that needs to be displayed getting the values from the back end.
I would write a simple query in java file,check if session is new then call method in jsp page.
Is there any better approach than this.Let me know

blazix wrote:
I have a simple form where there is a drop down list that needs to be displayed getting the values from the back end.
I would write a simple query in java file,check if session is new then call method in jsp page.
Is there any better approach than this.Let me knowwho knows
we don't know enough about the data returned from the query
maybe a better approach would be to cache the data
also, what do you mean by "call method in jsp page"

Similar Messages

  • What are the different approaches to do Fault Handling?

    What are the different approaches to do Fault Handling?

    for uplodig data to non sap we have 2 methodes
    i) if u know bapi u will use lasm
    2) bdc
    but u mentioned so many records isthere
    best thing is u will uplode all record sto al11 using XI interface
    then u have to write bdc / lsmw  program
    beter to go for lsmw before that u will find bapi
    if u will unable to find bapi
    u have to create bapi and use it in lasmw
    ofter that u have schedule the lsmw program as a bockground
    then u have to create a job for it
    and release from sm 37
    then u have to moniter through bd87
    if u want to go through i will help u.
    if it is usefull to u pls give points
    Saimedha

  • Need help with Different approaches to setting variables in a Flash movie in Adobe Flash CS3 Professional Version

    Hi,
    I'm using Adobe Flash CS3 Professional version of Flash
    software,
    I need help and guidance on
    Different approaches to setting variables in a Flash movie,
    what I should do in the fla file, and in the html file.
    Thanks, Gil

    Hi petro_jemes,
    Just a little claritification, you need to add the value to the variable "[string]$ou", and also change the language in the variable "$emailbody" in the function "Get-ADUserPasswordExpirationDate".
    I hope this helps.

  • Retrieve nested LDAP groups independent from the network env. (five different approaches)

    Hi all,
    I want to retrieve a list of nested LDAP groups per user from the Active Directory. I have been searching google for half a day now, but I'm still not sure what approach to use. I have the following requirements:
    * The script/program must run in different network environments (I can't be sure if there is a global catelog or AD DS or AD LDS, etc). I will write my own program.
    * The membership info will be used in combination with directory ACL's and must be as complete as possible (global groups, universal groups, local groups, perhaps different domains). Distribution groups are not really necessary, because they are not used in
    the directory ACL's.
    * It would be nice to support other LDAP implementations than Active Directory using the same code, but that not a hard requirement. I could use another approach to support a different LDAP.
    Now I have figured out five possible approaches (info comes from different sites, please correct me if I'm wrong):
    1) tokengroups attribute:
    - The attribute contains Univeral groups of the forest, global groups from the local domain, domain local groups from the local domain (assuming native mode) and local groups from the local machine.
    - Returns a list of SIDs which will have to be translated to group names
    - The tokenGroups attribute exists on both AD DS and AD LDS
    - For AD DS, the tokenGroups attribute is not present if no GC server is available to evaluate the transitive reverse memberships.
    - quote from site "Now that I have had a chance to test it though I can definitely say that tokenGroups WILL get the Universal groups from the other domains even if is NOT a GC. I just did it in my test lab."
    - Token Groups cannot be retrieved if no Global Catalog is present to retrieve the transitive reverse memberships.
    2) tokenGroupsGlobalAndUniversal
    - A subset of the tokenGroups attribute. Only the global and universal group SIDs are included.
    - If you want consistent results, read tokenGroupsGlobalAndUniversal that will return the same result no matter which DC you are connected to. However, it will not include local groups.
    - other source says "tokenGroups will give you all the security groups this user belongs to, including nested groups and domain users, users, etc tokenGroupsGlobalAndUniversal will include everything from tokenGroups AND distribution groups". Not
    sure if this is correct, I think it doesn't contain local groups.
    - The tokenGroupsGlobalAndUniversal attribute exists on AD DS but not on AD LDS.
    3) LDAP_MATCHING_RULE_IN_CHAIN / 1.2.840.113556.1.4.1941
    - Use a recursive search query which returns all nested groups for user at once.
    - Returns all groups except for the primary group
    - It's a fast approach, see performance test from Richard Mueller:
    http://social.technet.microsoft.com/Forums/fr-FR/f238d2b0-a1d7-48e8-8a60-542e7ccfa2e8/recursive-retrieval-of-all-ad-group-memberships-of-a-user?forum=ITCG
    - It only works on Active Directory, not for other LDAP implementations
    4) Recursive retrieval of the memberOf attribute
    - Retrieves all groups except the primary group. (also local groups from other domains??)
    - works for all LDAP implementations
    - executes a lot of queries to the LDAP, especially if you want to scan all users/groups (perhaps limited on OU, but still)
    5) Store memberOf attribute in local database and calculate the nested groups using recursive queries to the local database
    - No heavy load to the LDAP
    - Needs space to store the user/group info locally (embedded Derby database perhaps)
    - Performs fast since the queries are executed locally
    - Works for all LDAP implementations
    My thoughts on these different approaches:
    * appreach 1) I understand that the tokengroups attribute is not present if no GC server is available. In how many network environments is this the case? This option won't work because I want to support different network environments.
    * approach 2) The tokenGroupsGlobalAndUniversal attribute exists on AD DS but not on AD LDS. Same here, in how many network environments is this the case? I don't think I can rely on this approach.
    * approach 3) Seems to be a good option. How will it perform compared to approach 5 (local recursive queries)? Won't work for other LDAP implementations
    * approach 4) I don't think I want to execute that many queries to the LDAP. I can limit the scan on OU, but still companies can have thousands of users and groups.
    * approach 5) Perhaps the best approach. I want to store user/group info locally for fast filtering / reporting (only group DNs, user names, databse id's and membership info as id-id pairs). I only need the memberOf attribute of users and groups, recursive
    loops are done locally. It will work for all LDAP implementations.
    What do you guys think? I'm not a network admin, but a programmer, so I'm no expert in network setups and when to use AD DS or AD LDS. The thing is I want to use this code at different customers without knowing their network setup (except for the domain name(s),
    LDAP host/port and bind user to connect to LDAP).
    Thanks a lot!
    Paul

    I want to write a tool that can answer questions like "what users from group ABC have delete permission in all the (sub)directories of server MyDataServer?". This results in a list of directories and users and includes nested group membership. So it's about
    effective permissions. That's why I want all information in a SQL database so I can answer these questions with a single query in milliseconds. Otherwise, in order to answer these questions, I would have to get all members from group ABC and determine the
    nested groups for all these members (which can be thousands) for every report. Using a SQL database I can retrieve this information once a night for all the members.
    But I guess I will use the LDAP_MATCHING_RULE_IN_CHAIN syntax which gives me all nested groups for a member and should work for all AD installations from W2K3 SP2 and higher. When I want to support other LDAPs I will use another method for that specific
    LDAP.
    Again - note that this question has nothing to do with LDAP or AD.  It just asks what group has permissions on what resources.
    I really think you would do well to spend time understanding the NTFS and its security along with how we sue security in Windows.  By assuming this has something to do with AD you are making it a bigger issue than needed.  AD is a repository for
    accounts and trusts and manages authentication and security group membership.  All file security is managed by the OS that hosts the files and not by AD.  Users are not normally granted access to resources through direct inclusion in the DACL but
    are given access through membership in one or more groups.  Loading AD into a SQLL database will not help you.
    ¯\_(ツ)_/¯

  • Video iPods, USB2, Firewire and older macs - a different approach

    I've been trolling the discussion boards here because I find myself with the same problem many others have noted here: I just bought a family member a Video iPod (5G) for Christmas, I realize they no longer support firewire, only USB2 and I only own an older eMac that has firewire but NOT USB2 and no PCI slots for USB2 cards. I await Christmas with dread when, after opening their gift, they'll want to put content on their new 5G iPod and we'll sit around all day while that happens.
    I'll not get into why Apple dropped firewire from the 5G iPods.
    My different approach is that what is needed is a bridge connector or hub that will bridge a USB2 cable to a firewire port.
    There are a number of combo hubs but these are just 2 hubs in one with each bus (USB2 and firewire) having it's own separate connection back to the host computer. And if you connect the USB cacle back to a host with USB1, System Profiler will tell you rthat your USB2 ports areoperating at "Up to 12 Mb/sec"
    Even the Universal Dock will will not get USB2 speeds out of a mac with USB1 ports. It clearly states, :...allows you to connect your iPod with the cable that came with it."
    I've done a lot of searching and the closest I've come up with is this:
    http://www.gizmodo.com/archives/pixela-pixuvcdu1w-firewire-to-usb-20-bridge-cabl e-016285.php
    but that goes the wrong way. Plus it's expensive ($80 - $90).
    It's designed to connect a firewire equiped DV camcorder to a PC that only has USB2 ports.
    To me this sounds like an opportunity for some of the 3rd party vendors playing in the Apple world (Griffin Technology, Belkin, XtremeMac etc) to fill what is obviously a a major need here. Reading these forums there seem to be many many people that have older Macs without USB2 and 5G iPods.
    We need a USB2 to Firewire bridge connector for all of people with older macs and 5G iPods.
    Someone please help us.
    Bob Jakuc

    Thank you for your response. I mention this in my original post. In fact, I bought one of these thinking it might solve my problem. It doesn't. In effect the D-Link DFB-H7 is 2 hubs in one enclosure. To use the firewire ports you have to attach the D-Link to your computer via a firewire cable. To use the USB2 ports, you have to attach the D-Link to your computer via a USB cable. You can't have a single, unified host connection AND use all the ports on the D-Link. The USB ports on the D-Link aren't even active if you don't connect to your computer via USB.
    I'm upset for two reasons: 1) the D-Link hub advertising isn't explicit about the need to have separate hub to host connections for each bus you want to use and 2) since my eMac only has USB 1.1 ports, the USB2 ports in the D-Link are 'stepped down' to USB 1.1 speeds (12 Mbps).
    I'm also frustrated because I'd add a USB2 cardbus card to my eMac but it looks like the slot over the CD-ROM drive is only for Airport/Airport Extreme cards.
    Does anyone have any info on that? Is the slot over the CD-ROM drive in a 1 GHz eMac a general purpose cardbus/PCMCIA type II slot or is it just for Airport cards?
    Maybe I'll ask over on the discussions for the eMac.
    Thanks again.
    Bob
    Powerbook G4 (Titanium)   Mac OS X (10.4.3)   eMac 1GHz

  • How to create a Idoc  after a salesorder is created.(Different approaches.)

    Dear Experts,
    First of all I would like to thank SDN as continuously helping me to deliver  better  and faster.
    My requirement is to generate  a Custom idoc whenever a SalesOrder is created. with net value more then 1,00,000.
    Can u please help me by providing what are the different ways we can do this and which one is the best and easier one.
    If possible provide some sample code also.
    Thanks,
    jeevan

    Hai Thirumulan,
    I think the approaches u suggested going to help me out ..
    Can you pls go into details.
    thx,
    jeevan

  • Parameterized measure type - 2 different approaches

    Hi colleagues,
    I need again your priceless time to discuss the following situation:
    I would like to parametetized the type of measure, or better, the type o calculation applied to a specific measure, i.e., I have only two base measure, Net Sales, and Gross Sales, and then I have different calculations like YTD, Currency Adjusted, Currency
    Adjusted Last Year, EUR Value, EUR Value LY, etc...
    Instead of create a big set of calculated members, I would like to create a measure type dimension instead, and then the user can select want he wants to see. I figured out two different ways:
    1) In the view which feeds the cube, create a data set for every measure type and flag it with the correspondent type and then apply an Union All to join the sets. The big disadvantage for me is, I will multiply the size of this measure group by the number
    of different measure types that I have.
    2) Inside the calculated member formula, use a switch of if-else statement to determine which formula should be apply. My concerns here are related to the performance of this approach.
    Any Idea or comment would be highly appreciated.
    Kind Regards,

    Hi Paul,
        I have implemented the same type of Dimension for my project.  I have used the scoped  assignments for my purpose. With this approach I can differentiate the calculations within the scope of a particular measure.
    Let's say that your Fact table is Sales. I have created a new column in Sales and named it as MeasuresDimKey with default value as 1. I have also created a MeasuresDim dimension like: 
    Create View MeasureszDim as
    Select 1 as ID, 'Actual' as MeasureType
    In dimension usage I have established a relationship between Fact and Dimension table. Then I head back to calculations and created the measures I want as NULL...
    Create member CurrentCube.[MeasuresDim].[MeasuresDim].Measure1 as NULL;
    Scope([MeasuresDim].[MeasuresDim].Measure1);
    Scope(<Other Dimension Members>)
    This=DefaultMember <Actual Member in MeasuresDim Dimension>
    * <Calculation>
    End Scope;
     Please set the IsAggregatable Property to False and Actual member as DefaultMember for the dimension attribute. Scopes worked really well for me and may or may not work for you. Please find the below code for your reference.
    --- Currency Utility Dimension-----------
    Create member CurrentCube.[Currency Conversion].[Currency].[Euro Fixed] AS NULL;
    Create member CurrentCube.[Currency Conversion].[Currency].[Euro Variable] AS NULL;
    Create member CurrentCube.[Currency Conversion].[Currency].[USD Fixed] AS NULL;
    Create member CurrentCube.[Currency Conversion].[Currency].[USD Variable] AS NULL;
    Create member CurrentCube.[Currency Conversion].[Currency].[STG Fixed] AS NULL;
    Create member CurrentCube.[Currency Conversion].[Currency].[STG Variable] AS NULL;
    Scope([Currency Conversion].[Currency].[Euro Fixed]);
    Scope([Measures].[Sales Value Manufacturer]);
    This=sum([Currency Conversion].[Currency].&[1],[Measures].[Sales Value Manufacturer])
    *sum([Currency Conversion].[Currency].&[1],([Currency].[Currency].&[1],[Measures].[Latest Exchange Rate]));
    Format_String(This)="#,##0.00;-#,##0.00";
    End Scope;
    Scope([Currency Conversion].[Currency].[Euro Variable]);
    Scope([Measures].[Sales Value Manufacturer]);
    This=sum([Currency Conversion].[Currency].&[1],[Measures].[Sales Value Manufacturer])
    *sum([Currency Conversion].[Currency].&[1],([Currency].[Currency].&[1],[Measures].[Exchange Rate]));
    Format_String(This)="#,##0.00;-#,##0.00";
    End Scope;
    Scope([Currency Conversion].[Currency].[USD Fixed]);
    Scope([Measures].[Sales Value Manufacturer]);
    This=sum([Currency Conversion].[Currency].&[1],[Measures].[Sales Value Manufacturer])
    * sum([Currency Conversion].[Currency].&[1],([Currency].[Currency].&[3],[Measures].[Latest Exchange Rate]));
    Format_String(This)="#,##0.00;-#,##0.00";
    End Scope;
    Scope([Currency Conversion].[Currency].[USD Variable]);
    Scope([Measures].[Sales Value Manufacturer]);
    This=sum([Currency Conversion].[Currency].&[1],[Measures].[Sales Value Manufacturer])
    *sum([Currency Conversion].[Currency].&[1],([Currency].[Currency].&[3],[Measures].[Exchange Rate]));
    Format_String(This)="#,##0.00;-#,##0.00";
    End Scope;
    Scope([Currency Conversion].[Currency].[STG Fixed]);
    Scope([Measures].[Sales Value Manufacturer]);
    This=sum([Currency Conversion].[Currency].&[1],[Measures].[Sales Value Manufacturer])
    * sum([Currency Conversion].[Currency].&[1],([Currency].[Currency].&[2],[Measures].[Latest Exchange Rate]));
    Format_String(This)="#,##0.00;-#,##0.00";
    End Scope;
    Scope([Currency Conversion].[Currency].[STG Variable]);
    Scope([Measures].[Sales Value Manufacturer]);
    This=sum([Currency Conversion].[Currency].&[1],[Measures].[Sales Value Manufacturer])
    *sum([Currency Conversion].[Currency].&[1],([Currency].[Currency].&[2],[Measures].[Exchange Rate]));
    Format_String(This)="#,##0.00;-#,##0.00";
    End Scope;
    Best Regards,
    Venkata Koppula

  • Scenario 3 - Different approaches to computing aggregates

    In this training you learn two approaches to computing aggregates. In one case, you change the filtering dimension on the Query and then add data of the filtering dimension. In another case, you keep the filtering dimension the same as the targeting dimension and then you add data linked to the filtering (targeting) dimension. Both of these approaches work when computing aggregates. How will your results differ based on the approach that you take?

    Currency conversion can be done at two stages.
    1. Data Modelling stage
    2. Reporting stage
    Data Modelling Stage:
    *Adv: *
    Time taken to have complete data available for reporting is only loading time (background job), so query reporting is very fast, as no calculations at reporting level for currency conversion
    Disadv:
    If you want to convert to one particular target currency, this approach is preferable but if you want to report at different currencies, you cant convert to all those currencies at modelling side as it leads to huge data in the cubes.
    And even this approach is not flexible also, if a new target currency comes to picture, you need to modify the code, load again
    Problem with exchange rates also comes into picture here, as at the time of loading you might be considering one exchange rate, at reporting side, if you want to look at data with different exchange rate, its not possible.
    Reporting Stage:
    Adv:
    Can report on any target currency and at any exchange rate by defining calculations at query designer level. This process is flexible enough.
    Disadv:
    Many calculations at query level might lead to performace issues at runtime.

  • Active Content - a different approach

    I've looked around the forums and the internet and have found
    some javascript code examples on how to get around the old Active
    Content problem where you have to click to activate the Flash file.
    But I don't see anything I recognize.
    I'm fairly new to Flash, and the way I posted these swf to a
    website before was to insert some goofy old code that everyone used
    before this active content headache.
    Part of theat old code simply had an obvious place to put the
    location and file name of the swf in there. So all I did each time
    was copy the code and paste in the name of my file and the
    different http//: location I was hosting it at.
    This is important because I have access to store a file on
    my company site and to mess about on the webpage using HTML through
    a silly little dashboard-type deal they allow us to use - but I
    don't have the ability to store all of the wbpage content in the
    same place. I have to host some of it somehwere else.
    But with all the new javascript code examples, I don't see
    where to insert the file name AND the location of the outside
    location where I'm hosting it. There's no simple "
    http://" to replace. I tried it anyway and
    nothing happened. I suspect that the swf file has to be saved in
    the same file folder on the server as the page you want it to
    appear on, if that makes sense.
    In other words, am I correct in assuming that by using a
    back-end HTMl editor on the site and hosting the actual swf file in
    a totally different location that this javascript method probably
    won't work?
    I've got no problems in Dreamweaver on my own personal
    website, but I don't have access to change the webpage on the
    company site on that type of scale. I can only much about with the
    HTML.
    Looking at the source code of the company webpage it does
    appear that someone has put in the script for the javascript deal
    to be activated.

    Here's the old code:
    <center>
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    width="545.4" height="59" id="worldtime" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="
    http://images.blahblahblah.com/myFlashfile.swf"
    />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#ffffff" />
    <embed src="
    http://images.blahblahblah.com/myFlashfile.swf"
    quality="high" bgcolor="#ffffff"
    width="545.4" height="59" name="worldtime" align="middle"
    allowScriptAccess="sameDomain"
    type="application/x-shockwave-flash" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    All I ever do is replace the "
    http://images.blahblahblah.com/myFlashfile.swf"
    with wherever the Flash file lives when I use the code again.
    I'm not sure how to translate this into any of the javascript
    examples.

  • Different approach in LSMW

    Hi, Good Afternoon,
    I have a problem regarding uploading of data to SAP system using LSMW. Usually, I upload files via Batch Input Recording. The problem is, my approach generates multiple accounting documents instead of only one. For every single line item in the .csv file, a document number is created.
    Eg.
    Acct Doc1:
    Customer1              10
       GL account___10
    Acct Doc2:
    Customer2              10
       GL account___10
    Acct Doc3:
    Customer3              20
       GL account___20
    How could i upload it all to a single accounting document?
    Eg
    Customer1              10
    Customer2              10
    Customer3              20
       GL account___40.
    Thank you in advance.
    Regards,
    Vince

    Hi, Good Afternoon,
    I have a problem regarding uploading of data to SAP system using LSMW. Usually, I upload files via Batch Input Recording. The problem is, my approach generates multiple accounting documents instead of only one. For every single line item in the .csv file, a document number is created.
    Eg.
    Acct Doc1:
    Customer1              10
       GL account___10
    Acct Doc2:
    Customer2              10
       GL account___10
    Acct Doc3:
    Customer3              20
       GL account___20
    How could i upload it all to a single accounting document?
    Eg
    Customer1              10
    Customer2              10
    Customer3              20
       GL account___40.
    Thank you in advance.
    Regards,
    Vince

  • Image Interpolation - Need different approach

    I'm having problems with built in Java image interpolation methods and haven't had any success finding a way to create my own, or using a different existing one. Basically I'd like to interpolate using a peak-picking method, similar to nearest neighbor except that it will consider all neighbors and take the value that has the highest alpha value. The overall goal is to never throw away the highest value when scaling down. An example would be an image that is 2x4:
    [120][50][75][150]
    [100][80][100][10]
    If I scaled the image down to 2x2 the resulting image would look like:
    [120][150]
    [100][100]
    The values above represent the alpha values in each pixel. Not sure if this "peak picking" method has a mathematical name so I'm not sure what to search for. Any help would be greatly appreciated.

    That's not really similar to nearest neighbor at all, but here's a start
        public static BufferedImage customResize(BufferedImage src,
                                                int targetWidth,
                                                int targetHeight) {
            BufferedImage scaled = new BufferedImage(targetWidth,
                                                     targetHeight,
                                                     BufferedImage.TYPE_INT_ARGB);
            int srcWidth = src.getWidth();
            int srcHeight = src.getHeight();
            float ratioX = ((float) srcWidth) / targetWidth;
            float ratioY = ((float) srcHeight) / targetHeight;
            for (int x = 0; x < srcWidth; x++) {
                for (int y = 0; y < srcHeight; y++) {
                    int beginNearestX = (int) Math.floor((x - .5f) * ratioX);
                    int endNearestX = (int) Math.ceil((x + .5f) * ratioX);
                    int beginNearestY = (int) Math.floor((y - .5f) * ratioY);
                    int endNearestY = (int) Math.ceil((y + .5f) * ratioY);
                    int peakPickARGB = 0;
                    int peakAlpha = -1;
                    /*traverse the area of pixels in the source image that are
                     *mapped to the pixel in the scaled image*/
                    for (int x2 = beginNearestX; x2 <= endNearestX; x2++) {
                        for (int y2 = beginNearestY; y2 <= endNearestY; y2++) {
                            if (x2 < 0 || x2 > srcWidth ||
                                    y2 < 0 || y2 > srcHeight)
                                continue;
                            int srcRGB = src.getRGB(x2, y2);
                            int alpha = (srcRGB << 24) & 0xff;
                            if (alpha > peakAlpha) {
                                peakAlpha = alpha;
                                peakPickARGB = srcRGB;
                    //set the the "peak-pick"
                    scaled.setRGB(x, y, peakPickARGB);
            return scaled;
        }I tried to keep the code simple so you can see how it might be done, but there are certainly some good optimizations that can be made. And this "peak-pick" interpolation won't really work well when scalling up an image.

  • Different approach DW X OLTP

    Hi Friends,
    Help-me to convince my DBA that DW/BI needs another instance Oracle, with outher parameters. He insist in use the same approach in both cases: OLTP and DW (Star Schema).
    Thanks in advance.

    ORA06502 wrote:
    Hi Friends,
    Help-me to convince my DBA that DW/BI needs another instance Oracle, with outher parameters. He insist in use the same approach in both cases: OLTP and DW (Star Schema).
    Thanks in advance.Usually is the other way around( at least in my experience so far )... DBA is trying to convince developers and/or managers that OLAP/DW should be happening on another instance..
    !http://www.skype-emoticons.com/images/emoticon-0136-giggle.gif!

  • Different approach for capturing vhs to fcp

    yes i know an often asked question ... i happen to have a kona 3 card but it doesn't have any analog input capabilities. so the way i've captured vhs has been to simply to run it into my mini dv camera and record dv out from the camera through firewire. i think that's how most folks do it. works fine but i'm wondering if i'm losing some quality this way. does it make sense or does anyone convert the component analog out from the vhs deck to sdi which in my case can then be captured through kona. i guess canopus, black magic, and decklink make converters that do this. would i be gaining any quality this way? thanks.

    You have a grasp of the issues and no, you are not really losing anything by using the DV cam as a converter. VHS was such a sucky format to begin with, the only thing that really might help is to put a TBC between the VHS source and the A/DV converter to deal with any timing/chroma issues.
    The Canopus ADVC300 has a line TBC built in which does help some. It's not as effective as a frame TBC.
    x

  • Audio Transition Glitches - A Different Approach

    I have noticed a lot of users are having problems with the audio noise that sometimes arises when you insert transitions. The Apple workaround is to extract the necessary audio and then uncheck the video sound box in the video/audio timeline viewer as this is where the static is caused.
    However, this tends to be annoying if you want to either edit or perhaps add further transitions that cut through video where you have already extracted the audio.
    Another option is a workaround that I have used constantly in iMovie 3.03. That is to add a title transition (with nothing in it) that floats over the transition where the sound glitch occurs!
    For example
    1. In iMovie HD 5.02, cut the clip before the sound glitch using command-T.
    2. Add a title effect - I tend to use a subtitle as it is usually what I'm working with, but other effects (like centred) work just as well. CLEAR the contents of the title boxes. Make it long enough to cover the audio problems and apply...
    3. You will either get a magnificant solution to your problem (which is especially good as it is an undoable feature by pressing backspace after the clip is highlighted) OR you will get one more sound glitch at the end of the title effect. BUT IF YOU REPEAT THIS PROCESS by adding (and you might as well make the effect as long as possible) title effects throughout the whole project, the amazing thing is that when these effects run together - You get no noise!!!!
    Ok, you might get noise if you were unfortunate enough to finish the title effect right on a transition and in this case you obviously need to ensure that you don't do this by varying the length of the transition.
    IN SHORT....
    1. Ignore the problem until you have finished your project.
    2. (Worst case) Add long blank title effects starting at the beginning and continue adding them until you reach the end.
    An added advantage is that this beats the endless audio extraction that some of you will otherwise have to do to "fix" this annoying problem.
    Anyway I hope this works as well for you as it has done so for me.

    I haven't tried this "stitching" (..I extract audio anyway at transitions, so that I can mix more audio into those transitions..), but Lennart has often suggested using 'blank' titles as a means to join clips together when anyone asked if there was a way to merge two clips into one.
    Good detective work!
    [..Audio 'spikes' are also removable using Sound Studio or other audio editing software..]

  • Different approach

    How can I apply a color conversion to a RenderedOp? I want to apply a mask so that the image is all red (red-scale).

    An RGBImageFilter should do the trick on a BufferedImage. RenderedOp doesn't appear in the 1.4.1 javadocs, so I don't know owt about it.

Maybe you are looking for