Advanced PLSQL concepts

Can you please share books/urls for Advanced PLSQL concepts?
~ pm

Hi:
http://www.oracle.com/pls/db112/portal.portal_db?selected=4&frame=#sql_pl_sql_and_pl_sql_packages
Saad,
http://saadnayef.blogspot.com

Similar Messages

  • Syntax error in OBIEE generated Physical query - Advance filter concept

    I encountered a syntax error when running a report with the help of advanced filter concept.
    I am getting syntax error at the physical query generated by the OBIEE for main report.
    I used a sub report with the help of advanced filter concept in main report.
    I am posting the physical query for the convenience.
    select D1.c2 as c1,
    D1.c1 as c2
    from
    (select sum(T600347.sales_usd) as c1,
    T601002.currency as c2
    from
    (Select distinct currency from pfact) T601002,
    pfact T600347
    where ( T600347.currency = T601002.currency and T600347.pdate between ( select distinct min(D1.c1) as c1* from
    (select D1.c1 as c1
    from
    (select D1.c1 as c1
    from
    *(select max(T600425.pdate) as c1*
    from
    *(select distinct pdate from pdates where pdate is not null) T600425*
    where  ( T600425.pdate < 11/22/2010 )
    *) D1*
    ) D1
    ) D1 ) and '11/25/2010')
    group by T601002.currency
    ) D1
    I executed the query against my database(sybase) in query tool. It showed error.
    I took out the column alias generated by the OBIEE ("as c1" as underlined). Then the query is working fine.
    How to disable OBIEE from generating the alias.
    Is there any way to do it.
    If obiee is generating the physical query, i am suprised to see a syntax error.
    The bold part is the query from Intermediate report
    I underlined the problematic part.
    Please help me. This is an urgent reuirement,
    Thanks in advance for the help.

    HI,
    When I execute the query on query tool ( my database is sybase)
    I am geting error at "as c1" part, as underlined in the query.
    when I remove that and execute the query, It is generating the output.
    here is the better view of query and error:
    http://img255.imageshack.us/img255/4719/25187227.jpg

  • Advance Workflow concepts

    Hi Everyone,
    1.This is regarding advance workflow concepts and i am struck up without having any documentation.If anyone can help me out with some useful links will be useful for me.
    2.And also need some good documents related to cprojects in PLM.
    Thanks in advance.

    1) Go to <a href="http://service.sap.com/workflow">http://service.sap.com/workflow</a>
    Media Library -> Presentations -> Advanced Techniques (zipped screencams ) and Advanced Workflow Techniques (MS Powerpoint presentation)
    2) Go to <a href="http://service.sap.com/plm">http://service.sap.com/plm</a>
    Product and Project Portfolio Management -> Project Portfolio Management -> Collaborative Project Management -> Media Center -> Demos, Collaterals, Overview Presentations

  • Suggestion for online tutorial for advanced java concepts?

    I'm a University of Maryland graduate with a pretty solid grasp of core Java; however, this training didn't include most of the 'java in a web environment' technologies and similar advanced concepts. I'm looking to spend some time teaching myself concepts of struts, hibernate, EBJ, anything involving beans really.
    I've tried googling the concepts individually but I keep finding sites with only small examples or that cover only the most generic overview of the concepts. I'm looking for a (free) online resource that will cover these concepts in a structured, mroe indepth manner. Ideally one that includes some sort of programing assignments so I can try to 'learn by doing.' I was hoping someone could give a link to any resources they have used and recommend.
    Thank you

    sollen wrote:
    A quick glance suggests they have good detailed information, but I still learn best by doing. I don't suppose anyone else knows any good examples of mini programing 'homework' assignments I can work on to get some experience using various technologies. I could make something up myself, but I'm more likely to actually do the work if I have a mini-curriculum to focus on. Left to my own devices I'll sit down and start studying only go get distracted by somethi..LOOK A KITTY!I think you're better off trying to create a program or utility that solves a non-programming problem that you're currently dealing with. That's what I do, and it gives both motivation and the reward of having a bunch of utilities that I use now to create and send out patient letters and what not. To further motivate you, I'll in fact insist that you do this, OR THE KITTY DIES!
    Have fun!

  • Payment in advance

    hi gurus,
    i need payment in advance detail concept i.e, how to configured.
    thanks
    narayana

    Dear narayana
    The following Customizing settings have to be made for down payment processing:
    Settings for the billing plan - To activate the billing plan function, maintain the materials, for which you wish to process down payments, with item category group 0005 (milestone billing). This gives the item type TAO via item type determination. The item type TAO calls up the billing plan function.
    You need to implement the following activities in the billing plan for down payments:
    Maintain deadline category - This determines the billing rule (percentage or value down payment) for the down payment request. The system assigns billing type FAZ (payment request) defined in the standard system with billing category P. (For the billing type FAZ there is the cancellation billing document type FAS in the standard system).
    Maintain the deadline proposal - Use the down payments that are due for the proposed deadlines.
    Maintaining a Pricing Procedure with the Condition Type AZWR:
    In the standard system the condition type AZWR is delivered for the down payment value already provided but which has not yet been calculated. You must include this condition type in the relevant pricing procedure before output tax.
    Enter condition 2 (item with pricing) and the calculation formula 48 (down payment clearing value must not be bigger than the item value) for the condition type AZWR.
    Before the condition AZWR you can create a subtotal with the base value calculation formula 2 (net value). If the condition AZWR is changed manually, you can get information on the original system proposal from the subtotal.
    Maintain the printing indicator - The pricing procedure can not be marked as a transaction-specific pricing procedure (field Spec.proc.) The condition type AZWR has the calculation type B (fixed amount) and the condition category E (down payment request / clearing).
    Maintaining the Billing Document - In the standard system there is the billing type FAZ (down payment request) and the billing type FAS for canceling . The down payment is controlled using the billing category P of the billing type. A billing type becomes a down payment request when the billing category P is assigned. You have to maintain blocking reason 02 (complete confirmation missing) for the billing documents and assign it to billing type FAZ.
    Copying control - Copying requirement 20 must be entered in copying control at item level for the down payment request. In the standard system the order type TA for copying control is set up according to the billing type FAZ for the item category TAO.
    Copying requirement 23 must be entered in copying control at item level for down payment clearing. In the standard system the order type TA for copying control is set up according to the billing type F2 for the item category TAO.
    Financial Accounting settings - A prerequisite for down payment processing is that the account is assigned to the underlying sales document. To do this, change the field status settings in Customizing as follows:
    Set reconciliation accounts (transaction OBXR) - For the `received down payments' and `down payment requests' from
    the G/L accounts you have selected, you should assign the field status definition G031.
    Maintain accounting configuration (transaction OBXB) - For the down payments (posting key ANZ in the standard system) and the output tax clearing (posting key MVA in the standard system), you must maintain the posting key.
    You must also carry out a G/L account number assignment for the tax account.
    Maintain the posting key (transaction OB41) - For posting key 19, set the sales order as an optional field !!!
    Maintain the field status definition (transaction OB14) - For field status variant 0001, field status group G031, set the
    sales order as an optional field !!!
    Assign the company code to the field status variants (transaction OBC5)
    thanks
    G. Lakshmipathi

  • No Oracle Advanced PL/SQL Developer OCP in June UK Training Leaflet?

    Oracle have out of the kindness of it's heart :x (and desire to avail of bigdelboy's gbp ;\ ) sent bigdelboy an Oracle (UK/Eire) Training Courses June-October 2009.
    This training course leaflet also references certifications.
    Now interestingly there is no reference to the Oracle Advanced PL/SQL Developer Certified Professional on this :(
    There is mention of the following 4 training courses wrt certs:
    Oracle AS 10g : portal - build corporate portals
    Oracle AS 10g : portal - build build portlets with PL/SQL
    Oracle forms developer 10g: build internal applications
    Oracle Reports Developer 10g: build reports
    And looking at this bigdelboy also noticed ?:| .....
    ... to top it all, as of the time of this post the Oracle PL/SQL developer and forms Page currently at:
    [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=155]
    seems to be showing incorrect info ...
    It shows Advanced Pl/SQL developer OCP being obtainable by:
    1z0-051(or friends)+1z0-147+1z0-144 (1z0-144 is not shown explicitly but the link points to it).
    rather than what bigdelboy suspects is correct.
    1z0-051(or friends)+1z0-144(or 1z0-147)+1z0-146
    Anyway bigdelboy wonders if mediaguy has been a little slow on the announcements or has bigdelboy totally misunderstood :D
    Edited by: bigdelboy on 13-Jun-2009 15:14 (Big big Typo(s))

    Hello, core Tech Delivery Manager for UK here - Claire
    Noticed your comments re new printed schedule - just to say Dates here correct at going to print, but things change as we go.
    For exmaple - We also have a new partner in Ireland who's training dates can be found on IE education website on http://education.oracle.com, not on printed schedule.
    New dates and courses come out all year (new Oracle 11g Weblogic middle tier courses will be next to hit the shelves, followed by 11gR2 New Features for Administrators etc)...so it is always best to use Printed schedule as a guide only, and it should entice you to our UK website for OU, to check latest dates, locations and prices, most of which should match ok...but there will be a lot more on website. You can also call +0845 777 7711.
    You are right the PLSQL OCP is not on the printed schedule - I am glad they have added this though - the exam is currently in Beta from what I understand, but regardless I took the decision given the limited amount of space and huge variety of middleware offerings, to include more learning paths such as Java Developer, Web Admin and App Developer (you will see APLS listed as a course there, and I ensured it was one of the main listed unfer the DB&Lang section.)
    We now teach 11g version of Advanced PLSQL.
    Forms , Reports and Portal still have Customer Demand in UK and IE hence their inclusion too - not all companies have upgraded to latest Oracle technology yet, which is why we still run a lot of 10g based DB courses in parallel to 11g - most customers plan to upgrade from 9i/10g straight to 11gR2.
    Hence, it is wise to include courses that will sell, not just the latest courses ..which could alienate potential customers of OU !
    You are totally right about the exams though - I notice it should be 1z0-051(or friends)+1z0-144(or 1z0-147)+1z0-146 as you say below, so I have emailed marketing et al to see if Global will change the website (which is centrally controlled from US).
    Do let us know anything else you can report, Id be happy to help if I can...though I wont leave my phone number on here if that's ok!

  • Question About Advanced Replication

    I red advanced replication concept on your blogs and i done sucessfully in my test database.
    you choosed to configured only one user and taken two tables.its ok. i want replicate all the users include all the tables to replication database just once time..i don't want to take one table and do it and then take another table and do it not like this.. i want configure all the tables to replication database, is there any procedure? may i want to know about this?
    Thanks & Regards
    S.Mohamed Azar
    Edited by: azarmohds on Jul 12, 2009 6:51 AM

    Request: Please remove my name from subject, it is public forum anyone can be participate.
    Please email "[email protected]" for personal.
    Check : http://download.oracle.com/docs/cd/B19306_01/server.102/b14226/repoverview.htm#REPLN001
    Thanks
    Regards,
    Taj
    Edited by: Mohammed Taj on Jul 12, 2009 5:51 PM
    Edited by: Mohammed Taj on Jul 12, 2009 6:02 PM
    Edited by: Mohammed Taj on Jul 12, 2009 6:08 PM

  • Help needed in business logic implmentation in oracle sql.

    I got a requirement from customer that i need to generated numbers based on first value which is entered by users but not second values..
    for example:
    c1 c2
    1 1
    2 1
    3 1
    4 1
    1 2
    2 2
    3 2
    4 2
    1 3
    2 3
    3 3
    4 3
    1 4
    2 4
    3 4
    4 4
    1 5
    2 5
    3 5
    4 5
    unlimited..
    the user input only first column values which comes from UI and i need to provide second column values when records are getting inserted into db table.
    user always enter only 1-4 values in first column but never input second values in second column of table.. both columns are numerical.
    the second values should be provided automatically or programmatically when records are getting inserted into table and automatically... how this can be done?
    Can any one help me out to get this done either using sql,plsql concept?
    thanks a lot in advance.

    Hi,
    Demonstration
    SQL> DROP TABLE t1;
    Table supprimée.
    SQL> CREATE TABLE t1 (c1 NUMBER, c2 NUMBER);
    Table créée.
    SQL>
    SQL> insert into t1 (c1) values(1);
    1 ligne créée.
    SQL> insert into t1  (c1) values(2);
    1 ligne créée.
    SQL> insert into t1 (c1) values(3);
    1 ligne créée.
    SQL> insert into t1 (c1) values(4);
    1 ligne créée.
    SQL> insert into t1 (c1) values(1);
    1 ligne créée.
    SQL> insert into t1 (c1) values(2);
    1 ligne créée.
    SQL> insert into t1 (c1) values(3);
    1 ligne créée.
    SQL> insert into t1 (c1) values(4);
    1 ligne créée.
    SQL> insert into t1 (c1) values(1);
    1 ligne créée.
    SQL> insert into t1 (c1) values(2);
    1 ligne créée.
    SQL> commit;
    Validation effectuée.
    SQL>
    SQL> CREATE OR REPLACE VIEW view_t1
      2  AS
      3     SELECT c1, ROW_NUMBER () OVER (PARTITION BY c1 ORDER BY c1) c2
      4       FROM t1;
    Vue créée.
    SQL>
    SQL>
    SQL> SELECT   c1,c2
      2      FROM view_t1
      3  ORDER BY c2, c1;
            C1         C2
             1          1
             2          1
             3          1
             4          1
             1          2
             2          2
             3          2
             4          2
             1          3
             2          3
    10 ligne(s) sélectionnée(s).
    SQL>

  • How can i make a Audio/video Application using JMF

    I want to work on media application and currently want to work on JMF.can anyone guide me about some basic to advance level concepts of java media framework.thanks...

    you might want to ask questions related to JMF in the JMF forum at http://forum.java.sun.com/forum.jsp?forum=2

  • Anyone interested in working on a LabVIEW book with me?

    Hello
    Several months back I began working on a LabVIEW training manual and
    after becoming busy with other things, progress has stalled out. I am about
    70 pages into it.
    Here is what I have so far.
    Chapter 1 - Introduction (could probably use a little more work)
    Chapter 2 - Number Types
    Chapter 3 - Strings
    Chapter 4 - Booleans
    Chapter 5 - Arrays
    Chapter 6 - Structures (about 75% done)
    Chapter 7 - File I/O (havnt started)
    I envisioned this much as an introductory manual for someone who has never
    used LabVIEW before. I have my own business in which one of the things I
    had hoped to offer was LabVIEW training and thought that it would be more
    cost effective if I could produce my own training manual than have potential
    students buy a 3rd party book.
    I'm not sure what to do now with what I have but these are my ideas.
    1) Finish and polish what I have outlined above myself and see if I can sell
    individual copies. I think that this would be appropriate for college
    courses
    using LabVIEW with a need to quickly teach LabVIEW newbies enough
    to create vis for small experiments. Perhaps tailoring custom chapters to
    show
    how to use the classes particular hardware.
    2) Find one or two people interested in working with me to make something
    considerably more substantial, getting into advanced programming concepts
    and
    hardware programming concepts. This would continue to be a commercial
    project.
    3) Turn what I have so far into an open project. Divvy up the chapters and
    subchapters
    to individuals to really hammer out into something nice. This has a lot of
    appeal for
    a lot of reasons. I dont think it would be too difficult with the effort of
    10-15 people
    working a couple hours a week to produce a free document that is better than
    all
    the books currently on the market.
    What do you say? Anyone interested in working on this project with me? I
    think it
    would be a great service to the community.
    Send me e-mail or respond to this thread so I can get an idea of the level
    of interest.
    Make sure you let me know your LabVIEW background and what sections you
    would be interested in working on. Suggestions for future chapters are
    welcome, too.
    (State Machines, Interface Nodes, GPIB, VXI, etc.)
    Mark
    Mark J. Sowa, Ph.D.
    [email protected]
    Strigidae Technologies, Inc.
    w3.one.net/~marksowa
    P.O. Box 531251
    Cincinnati, OH 45253
    Voice: (513) 259-9682
    Fax: (513) 598-4203

    I'm willing. 5 years experience doing GPIB and card-based DAQ along with
    playing with niceties like ActiveX, both for external app control and to
    expand the available selection of front panel controls. Reasonable amount of
    time at the moment though I'm looking for a new job [anyone hiring? ] so
    that may change.
    A commercial book that gets published is better on the CV than a free one so
    I favour working towards the former and doing it as a comprehensive work
    that goes into depth. But at the order of 1k pages it's a formidable task.
    Publication indicates a publisher thinks it's worthwhile; producing a free
    book is an indication only of lots of free time to most people
    Mark Sowa wrote in message
    news:[email protected].
    > 2) Find one or two people interested in working with me to make something
    > considerably more substantial, getting into advanced programming concepts
    > and
    > hardware programming concepts. This would continue to be a commercial
    > project.
    ActiveX could be the basis of two chapters- "how/why to do it" and a
    reference to the common apps and controls. The latter however is essentially
    a reference to a load of M$ products and M$ may protest. There's a
    continuous trickle of ActiveX messages online so it's probably worthwhile.
    One problem is, is there actually a need for another Labview book? You've
    started this simply as a tutorial handout to make the cost of your course
    appear less. Personally I've not read all of the supplied documentation and
    have not bought any Labview books. Aside from the crap "case study" thing NI
    produce. There's a few out there already, and I'd need to be convinced the
    project is worthwhile before pitching in!

  • FLEX Web Developer needed in Little Rock

    Local company in Little Rock, AR seeks 2 Senior Web
    Developers for 6-18 month contracts. The positions will encompass
    creative interface design, coding, table and data store creation
    and converting specific and nebulous corporate and customer
    business requirements and specifications into functioning browser
    based applications.
    PURPOSE: Creates browser based and internet ready solutions
    from conceptual and detailed automated systems design and
    specifications
    WORK ENVIRONMENT: Windows Network, IIS 6.0 and/or Apache
    Tomcat Web Server
    ESSENTIAL DUTIES AND RESPONSIBILITIES:
    Implements conceptual and detailed design of enterprise wide
    production and business applications as directed by the UE 2.0 Team
    Leader by coding, testing, documenting and installing application
    software written in Microsoft Visual Studio 2005 languages and
    Adobe Flex 2.0 and Flash 8.0.
    Participates in the creation of databases, XML data
    structures and GUI (Windows forms and browser) based human
    interfaces for these same systems. These tasks may also include the
    integration of other technologies or 3rd party “off the
    shelf” components.
    Follows and adheres to corporate application and systems
    development standards during the development of application
    software
    Other duties may be assigned as necessary.
    EDUCATION AND EXPERIENCE
    1. Requires a four-year college degree in Information
    Technology or Electrical Engineering. Consideration may be given to
    exceptional individuals possessing a two year associate’s
    degree in Information Technology and/or 5 years related experience.
    2. Requires 3 -5 years experience developing enterprise
    applications using Microsoft Visual Studio 2005 and Object Oriented
    Design and Programming disciplines.
    3. Requires 2 -3 years proven experience with at least 5 of
    the following
    a. Microsoft SQL Server 2000
    b. Microsoft T-SQL
    c. Microsoft Visual Studio 2003 and 2005
    d. Adobe Flex
    e. Adobe ActionScript
    f. Microsoft Visio
    g. Structured Query Language – SQL
    h. XML
    i. Service Oriented Architecture (SOA)
    j. Postscript or PDF Print Workflow
    k. Adobe Creative Suite Professional
    4. Desirable experience includes: (1) previous work
    experience at a commercial digital print company.
    LANGUAGE AND PRESENTATION SKILLS
    Ability to read, verbalize, analyze, and interpret common
    business and operational processes and procedures.
    MATHEMATICAL SKILLS
    Ability to apply advanced mathematical concepts.
    REASONING ABILITY
    1. Ability to apply principles of logical or scientific
    thinking to a wide range of intellectual and practical problems.
    2. Ability to deal with nonverbal symbolism in its most
    difficult phases.
    3. Ability to deal with a variety of abstract and concrete
    variables.
    CERTIFICATES, LICENSES, REGISTRATIONS
    Microsoft Application Developer (MCAD) or Solutions Developer
    (MCSD) certification(s) is desired but not required.
    If you're interested and qualified, please send a resume in
    word format to [email protected]. I can also be reached at
    901-257-3307. Excellent pay up to 50.00 an hour depending on
    experience.

    Hi,
    Is this still available? Current location Captain Cook -
    S.Kona. 8 yrs CF/SQL etc.
    Thanks

  • FLEX Developer needed in Little Rock

    Local company in Little Rock, AR seeks 2 Senior Web
    Developers for 6-18 month contracts. The positions will encompass
    creative interface design, coding, table and data store creation
    and converting specific and nebulous corporate and customer
    business requirements and specifications into functioning browser
    based applications.
    PURPOSE: Creates browser based and internet ready solutions
    from conceptual and detailed automated systems design and
    specifications
    WORK ENVIRONMENT: Windows Network, IIS 6.0 and/or Apache
    Tomcat Web Server
    ESSENTIAL DUTIES AND RESPONSIBILITIES:
    Implements conceptual and detailed design of enterprise wide
    production and business applications as directed by the UE 2.0 Team
    Leader by coding, testing, documenting and installing application
    software written in Microsoft Visual Studio 2005 languages and
    Adobe Flex 2.0 and Flash 8.0.
    Participates in the creation of databases, XML data
    structures and GUI (Windows forms and browser) based human
    interfaces for these same systems. These tasks may also include the
    integration of other technologies or 3rd party “off the
    shelf” components.
    Follows and adheres to corporate application and systems
    development standards during the development of application
    software
    Other duties may be assigned as necessary.
    EDUCATION AND EXPERIENCE
    1. Requires a four-year college degree in Information
    Technology or Electrical Engineering. Consideration may be given to
    exceptional individuals possessing a two year associate’s
    degree in Information Technology and/or 5 years related experience.
    2. Requires 3 -5 years experience developing enterprise
    applications using Microsoft Visual Studio 2005 and Object Oriented
    Design and Programming disciplines.
    3. Requires 2 -3 years proven experience with at least 5 of
    the following
    a. Microsoft SQL Server 2000
    b. Microsoft T-SQL
    c. Microsoft Visual Studio 2003 and 2005
    d. Adobe Flex
    e. Adobe ActionScript
    f. Microsoft Visio
    g. Structured Query Language – SQL
    h. XML
    i. Service Oriented Architecture (SOA)
    j. Postscript or PDF Print Workflow
    k. Adobe Creative Suite Professional
    4. Desirable experience includes: (1) previous work
    experience at a commercial digital print company.
    LANGUAGE AND PRESENTATION SKILLS
    Ability to read, verbalize, analyze, and interpret common
    business and operational processes and procedures.
    MATHEMATICAL SKILLS
    Ability to apply advanced mathematical concepts.
    REASONING ABILITY
    1. Ability to apply principles of logical or scientific
    thinking to a wide range of intellectual and practical problems.
    2. Ability to deal with nonverbal symbolism in its most
    difficult phases.
    3. Ability to deal with a variety of abstract and concrete
    variables.
    CERTIFICATES, LICENSES, REGISTRATIONS
    Microsoft Application Developer (MCAD) or Solutions Developer
    (MCSD) certification(s) is desired but not required.
    If you're interested and qualified for this position, please
    send me a resume in word format to [email protected]. I can also be
    reached at 901-257-3307.

    Please refrain from discussing job opportunities on this
    forum. There is a mailing list specifically for this topic. Do an
    internet search for "flex jobs".

  • How to use both wired and wireless connection with static addresses

    Now that I have setup my home network with static addresses (router, mini1, mini2 and PC) in the way I want, (big thanks to BDAqua http://discussions.apple.com/thread.jspa?threadID=1271635&tstart=0) I would like to understand some more advanced network concepts.
    I would like to change the network so that I use both the wireless connection and the built-in ethernet connection at the same time in my Mac mini1. I would like to connect my PC to my Mac mini by using the wired ethernet connection so that I reach the Internet from my PC as well. I would also like to be in control of all the addresses therefore I want to assign the addresses manually.
    The question: What addresses should I use between mini1 and PC? Should I use the same wireless address space as I already use between the wireless router and the other computers (router: 192.168.1.1, mini1: 192.168.1.101, mini2: 192.168.1.103) or should I use something totally different like 10.X.X.X? What should I put in ethernet connection "Router"-field, the same as in Airport (192.168.1.1)? What about DNS, same as in Airport?

    If I understand this correctly, you wish your Mini to perform Internet Sharing for your PC, correct!?
    If so you'll pretty much have to let the Mini handle DHCP & NAT on the Ethernet port. You also want to be sure Airport is dragged to the top of Network>Show:>Network Port Configurations, that's what position the Mini will use 1st for Internet itself.
    On the Mini turn on both Web Sharing & Internet Sharing. The PC once connected will have the Mini's Ethernet IP as it's Gateway addy.

  • Not getting synchronization with audion , vedio when merging

    Hi ,
    Nice to see your reply.First of thanks for it.
    Yes Now I am dumping the captured frames directly to .mov file .
    In that process I am doing compression using compressJPEG techinique [ORI] Image I/O in Java Advanced Imaging concept .
    When Cpatured image byte array size after compression = 226956 ( using Image I/O)
                                       = 753974 ( using compressJPEG)
    The following snippet shows how I am updating Buffer with my frames ( in a
         class PlayerSourceStream implements PullBufferStream ).
         recordArea = my screen size ( 0,0,1284,1024);
         Here I am using below mentioned format for Buffer object
         VideoFormatformat = new VideoFormat(VideoFormat.JPEG,
         new Dimension(recordArea.width, recordArea.height),Format.NOT_SPECIFIED,Format.byteArray,(float) frameRate);
    public void read(Buffer buffer) throws IOException
                   long lastFrameTime=0;
                   long time = 0;
                   if (!GlobalStorage.isRecodring() && !GlobalStorage.getPauseState())
                        start = System.currentTimeMillis();     
                        //We are done. Set EndOfMedia.
                        listener.recordingStopped();
                        System.out.println("Done reading all images.");
                        buffer.setEOM(true);
                        buffer.setOffset(0);
                        buffer.setLength(0);
                        buffer.setFormat(format);
                        ended = true;                         
                        return;
                   else
                        byte[] data = null;
                        if (!GlobalStorage.getPauseState())
                             System.out.print(". recordArea: "+recordArea);
                             try
                                  Thread.sleep(200);
                             catch(Exception e)
                             /*time = System.currentTimeMillis();
                             while(time-lastFrameTime < 200)
                                  try
                                       Thread.sleep(50);
                                  catch(Exception e)
                                  time = System.currentTimeMillis();     
                             lastFrameTime = time;
                             BufferedImage bImage = captureScreen(recordArea);
                             //data = ImageKit.toByteArray(bImage, 0.5f);
                             Image capImage = bImage.getScaledInstance(recordArea.width, recordArea.height, bImage.SCALE_DEFAULT);
                             //data = CompressImagePNG(capImage);
                             data = CompressImageJPG(capImage);                         
                             System.out.println("==> CompressImageJPG : "+data.length);
                             //System.out.println("==> CompressImagePNG : "+data.length);
                             //System.out.println("==> ImageKit.toByteArray CompressImage : "+data.length);
                             //data = getCompressByte(capImage);
                             listener.frameRecorded(false);
                             nextImage++;
                   //System.out.println("==========> nextImage :" + nextImage);
                        buffer.setData(data);
                        buffer.setOffset(0);
                        if (data == null)
                             buffer.setLength(0);
                        else
                             buffer.setLength(data.length);
                        buffer.setFormat(format);
                        buffer.setFlags(buffer.getFlags() | Buffer.FLAG_KEY_FRAME);
    Mean while I am recording Audio with following snippet.
    AudioFormat audioFormat = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, //     the audio encoding technique
                        22050.0F,// sampleRate          the number of samples per second
                        16, // sampleSizeInBits the number of bits in each sample
                        2, // channels          the number of channels (1 for mono, 2 for stereo, and so on)
                        4, // frameSize          the number of bytes in each frame
                        22050.0F,// frameRate     the number of frames per second
                        false); // bigEndian     indicates whether the data for a single sample is stored in big-endian byte order (<code>false</code> means little-endian)
    AudioSystem.write(m_audioInputStream,m_targetType,m_outputFile); ( it is in a separate run() of a Thread )
    Here I am not applying any compressing technnique in Audio file creation.
    To merge these two I ma using Merge.java which is mentioned in below link
    http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/Merge.html
    Here I am getting 3 problems
    1.Final out file merge.mov file size is getting more.
    Example : = 2 min Recording = 80MB
    2.More over I am not getting synronization in merge.mov file with audio, video.
    Video is completing before Slider reaches to end point when I play the movie.
    Need clarifications:
    1) Should I Compress the Audio also ?
    2) Which VideoFormat is better to in creation .mov file.
    x.WAV (only audio), y.MOV (only video) = > z.MOV ( merge.mov)
    I will be appriciate if i get any information need ful inofrmation.
    I dig the google almost I visted all related links and forum questions.
    Please try to help with code.

    Hi Thanks for reply .................if you want code what I am using to create .mov file ( by captured images) (which is input file to Merge)
    Just see here once... Please try it once on different resolutions .......if possible try to reply with resolution code.
    Please its very needful to me......please send ASAP. One more thing I want to mention is " app is target platform is MAC and UBUNTU"
    Please modify some code to execute .....hope you can execute it.
    Here I mentioned the main core logic to capture the screen :
    Here recordArea rect = > public static Rectangle recordArea = new Rectangle(Toolkit.getDefaultToolkit().getScreenSize());
    class PlayerSourceStream implements PullBufferStream
              float frameRate;
              VideoFormat format;
              //BufferedImage image;
              int nextImage = 0; // index of the next image to be read.
              boolean ended = false;     
              public PlayerSourceStream() throws IOException
                   frameRate = 2.1f; //1280 * 1024               
                   //frameRate = 4f; //1024 * 768
                   format = new VideoFormat(VideoFormat.JPEG,
                             new Dimension(recordArea.width, recordArea.height),Format.NOT_SPECIFIED,Format.byteArray,(float) frameRate);          
              public boolean willReadBlock()
                   return false;
              public void read(Buffer buffer) throws IOException
                   System.out.println("==> GlobalStorage.isRecodring() :"+GlobalStorage.isRecodring());
                   System.out.println("==> GlobalStorage.getPauseState() :"+GlobalStorage.getPauseState());
                   if (nextImage>0 && !GlobalStorage.isRecodring() && !GlobalStorage.getPauseState())
                        start = System.currentTimeMillis();     
                        //We are done. Set EndOfMedia.
                        listener.recordingStopped();
                        System.out.println("Done reading all images.");
                        //logger.debug("Done reading all images.");
                        buffer.setEOM(true);
                        buffer.setOffset(0);
                        buffer.setLength(0);
                        buffer.setFormat(format);
                        ended = true;                    
                        return;
                   else
                        byte[] data = null;
                        if (nextImage < 1 || !GlobalStorage.getPauseState())
                             System.out.print(".");
                             try
                                  Thread.sleep(140);
                                  //Thread.sleep(200);
                             catch(Exception e)
                             BufferedImage bImage = captureScreen(recordArea);
                             data = ImageKit.toByteArray(bImage, 0.5f);
                             //Image capImage = bImage.getScaledInstance(recordArea.width, recordArea.height, bImage.SCALE_DEFAULT);                                                  
                             //System.out.println("==> CompressImageJPG : "+data.length);     
                             //logger.debug("==> ImageKit.toByteArray CompressImage : " + data.length);
                             System.out.println("==> ImageKit.toByteArray CompressImage : " + data.length);
                             listener.frameRecorded(false);
                             nextImage++;
                             /*buffer.setData(data);
                             buffer.setOffset(0);
                             buffer.setLength(data.length);
                             buffer.setFormat(format);
                             buffer.setFlags(buffer.getFlags() | Buffer.FLAG_KEY_FRAME);*/
                        buffer.setData(data);
                        buffer.setOffset(0);
                        if (data == null)
                             buffer.setLength(0);
                        else
                             buffer.setLength(data.length);
                        buffer.setFormat(format);
                        buffer.setFlags(buffer.getFlags() | Buffer.FLAG_KEY_FRAME);
              * Return the format of each video frame. That will be JPEG.
              public Format getFormat()
                   return format;
              public ContentDescriptor getContentDescriptor()
                   return new ContentDescriptor(ContentDescriptor.RAW);
              public long getContentLength()
                   return 0;
              public boolean endOfStream()
                   return ended;
              public Object[] getControls()
                   return new Object[0];
              public Object getControl(String type)
                   return null;
         }

  • How  to set some fields of a table, not fields form ..

    Hi,
    I have a form based on a table with a few fields and others fields on the same table whose don't appear in the form.
    I want to set the others fields of this table and i use the following code (ex) :
    p_session.set_value(
    p_block_name => 'DEFAULT',
    p_attribute_name => '_REMARQUSER',
    p_value => PORTAL.WWCTX_API.GET_USER );
    I had put this code in the advanced plsql section but it DOES NOT WORK.
    after form :
    Erreur interne (WWC-00006)
    Une erreur inattendue s'est produite : ORA-06502: PL/SQL : erreur numérique ou erreur sur une valeur (WWV-16016)
    Une erreur inattendue s'est produite : ORA-06502: PL/SQL : erreur numérique ou erreur sur une valeur (WWV-16016)
    (WWV-00000)
    ORA-01007: la variable n'est pas dans la liste SELECT (WWV-11230)
    Le chemin de la préférence n'existe pas : ORACLE.WEBVIEW.PARAMETERS.3137_LRCWEB_REMARQUES_571188203 (WWC-51000)
    before processing :
    Erreur interne (WWC-00006)
    Une erreur inattendue s'est produite : ORA-06502: PL/SQL : erreur numérique ou erreur sur une valeur (WWV-16016)
    (WWV-00000)
    after processing :
    Erreur interne (WWC-00006)
    Une erreur inattendue s'est produite : ORA-06502: PL/SQL : erreur numérique ou erreur sur une valeur (WWV-16016)
    (WWV-00000)
    I would appreciate any help on the problem.
    Thanks, Pat

    Did you try modifying the package body?
    I tried this code in my package body and it worked fine

Maybe you are looking for

  • REP-1401: 'no_daysformula':Fatal PL/SQL error occured. ora-06503: PL/SQL : Functio returned without value. REP-0619: You cannot run without a layout.

    Hi everyone. Can anyone tell me what is wrong in this code below? Code: function NO_DAYSFormula return Number is begin   IF TO_CHAR(TO_DATE(:P_FR_DT, 'DD-MM-RRRR'), 'RRRR') =TO_CHAR(TO_DATE(:ACCT_OPN_DT, 'DD-MM-RRRR'), 'RRRR')   AND :P_TO_DT<:MATURIT

  • What's wrong with my component?

    i make a new component which is a dragable icon here is my piece of code //class: DragAbleComponent.the father of my component import java.awt.Graphics; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import java.awt.event.Mous

  • Iweb page hit counter

    If you are a .mac user you can click on Mac in the top menu bar. It lists Account, Mail, Address Book, My Pages, etc. Under My Pages, it lists hits for my . mac homepage pages and now I notice it will show hits for 5 of my iweb pages, but how can I c

  • How do I increase Siri's volume?

    How do I increase the volume of the Siri voice? Both male and female are almost too low to hear.

  • Starting with Oracle Spatial

    Hi, in few weeks I will have to start a new project in wich I will work with Oracle Spatial. I will like to know a good book, or any online resource to learn about this new world for me... Thanks a lot for your help...!!!