Question about capture conversion

Hi, relating to capture conversion and to the code below:
public static void reverse(List<?> list) {
          rev(list);
     private static <X> void rev(List<X> l) {
     }Am I right in saying that the <X> (or whatever else for that matter), it's just giving a name to whatever type will be passed by the reverse method? The syntax looks strange since we are declaring a type in a void method, and since I'm an old fashioned Java 1.4 programmer I find a bit difficult to accept this new syntax; additionally
the JLS is not terribly simple in defining capture conversion :)
Message was edited by:
mtedone

First, is there any particular reason why you used:
Integer a = Integer.valueOf(1);while I used
Integer a = 1; //boxing
Just to get rid of boxing conversion as a possible issue--which it shouldn't be, but might as well keep it simple.
Integer a = Integer.valueOf(1);
Comparable<String> cs1 = a; // errorbecause we are assigning to a Comparable<String> an
Integer value, and that's illegal, since String and
Integer are not in a subtype relation (?)Something like that, yes. I'm not sure of the exact clause of the JLS that forbids it.
>
Comparable<Integer> ci = a; // ok
Comparable<String> cs2 = ci; // errorbecause we are assigning to a Comparable<String> a
Comparable<Integer>, and again, String and Integer
are not in a subtype relation (?)Yep.
Comparable<String> cs3 = c1; // warning
Comparable<String> cs4 = c2; // warningit's what I believe is called 'heap pollution' I forget what that term means, and am too lazy to look it up, so I'll take your word for it.
and I
believe that on first use a ClassCastException will
be thrown Sounds right. Run it and see for yourself.
(although the compiler behaves correctly by
flagging an unchecked warning, for compatibility with
legacy systems, etc)Right.

Similar Messages

  • One last question about capturing from tape

    I have a box full of family VHS tapes that I will be capturing into the computer to digitally archive. However, I want to make sure I am doing it the best possible way. These are the two things most important to me:
    1. Quality
    2. Longevity
    1. Quality
    I have a VHS/MiniDV JVC SR-VS30 deck connected via firewire into my 2014 iMac. I know that firewire is typically the best option when capturing DV footage into the computer. However, is this still true for VHS and other forms of old tape. I can hook anything up to this deck via composite/s-video in and go out through the firewire connection. However, I wasn't sure if firewire was the best coming from a VHS tape. I also have an old video capture card that has a straight s-video/composite input. Which would be more native to the VHS/analog tapes as far as keeping original quality and the best possible image?
    When I use the JVC deck, some programs will capture the vhs tapes and others won't because they won't recognize unless I'm using the DV side. For example, FCPX recognizes the deck, but when I go to import unless it's a dv, it will say "no tape" and I cannot capture anything. iMovie will capture files as .DV. Quicktime will also recognize the deck and capture files as apple prores MOV files. When I compare the QT and iMovie, the QT files look better in my opinion, though I don't know if they truly are. The iMovie dv files have jagged edges like tv lines or something during quick movement and like others say about firewire it looks a little "milky" (though I know this isn't necessarily a bad thing). The QT clips don't necessarily look sharper, but they don't have the hideous jagged edges.
    So my question before I start this large project is:
    Which capture methods above would you use, or what else would you recommend for best quality?
    2. Longevity
    Which file format would you recommend saving these files (or just keeping them as they are at capture) for long term storage? When I come back to these files in 10 years and need to convert them to something new, I want them to have the greatest chance of being compatible with whatever lies ahead. There are so many different file formats.
    Many thanks for any help along this long process

    I want to make sure I am doing it the best possible way.
    I have done lots of that.
    For maximum quality here is my procedure:  ADVC300 > iMovie 06 > iDVD 09/11. 
    To get your VHS video into iMovie, use the Grassvalley ADVC300 .  With the ADVC300 Audio and Video go in, FireWire comes out. It also comes with a nice Macintosh application that works flawlessly with iMovie 06 and iDVD 09/11 (I have used it a few times with iMovie 11).
    The ADVC300 has been discontinued by the manufacturer. The included software (which is not really necessary but does enhance performance) is not compatible with OS 10.7 or newer.  You can still find the ADVC300 for sale in a few outlets as well as eBay. It will sell between 50% and 100% ABOVE its retail price. Yes, it's that good.
    If you can’t find the ADVC300, use the Grassvalley ADVC110.
    I have a drawer full of analog-to-digital converters.   After using the Grass Valley ADVC300 I find nothing else acceptable.
    The program that comes with the ADVC300 has some nice filters that can improve video and audio of the source material. The ADVC300 will take Audio and Video from any source (VCR, Tivo, Satellite Receiver) and convert it to FireWire (iMovie will treat it like a camera).
    I would use iMovie 06 with iDVD 09/11, why?
    iMovie 09, 11, and 13 uses 'single field processing' meaning every other horizontal line of the video is thrown out, which reduces the sharpness of the footage. iMovie 06 uses ALL of the image to form the video.  (Also the latest iMovie CANNOT set Chapeters !)
    After lots of experimenting I get the best results using OS 10.6, iMovie 06, and iDVD 09/11.  My movies look just like Hollywood!
    My primary computer is a Mac Pro, so I just use one of the four hard drives and boot OS 10.6. You can also partition a single hard drive to achieve the same results.
    This may seem like more trouble than you want to go through.  However, I find the superior quality to be well worth it.

  • Question about capturing with JVC GY-HD200U

    I am looking at this particular camcorder, JVC GY-HD200U, and was wondering if there is any issues capturing footage into FCP6. Does any one own or worked with the JVC GY-HD200U or early model?
    share you thoughts about this camcorder if you have worked with it.
    much thanks

    Excuse my naivety here, but how does one go about importing HDV 720 as 'pro res'?
    Can this be done by changing the import / capture settings, or does it require transferring the material to HD?
    I'm using footage from my JVC HD GY100 in 24p. I've spent over a week trying to import the material into FCP through a JVC BR-HD50 deck with absolutely no luck, and it's getting really frustrating!!
    I'm dealing with over 80 tapes of footage, so I don't have the option of going through each tape and logging individual clips. I've been trying to import entire tapes at a time.
    I keep getting a 'stream error' prompt when attempting to capture.
    I've tried with both start / stop detect on and off, I've tried to 'capture now', which seems to work until the very end of the tape / capture, at which time another error is reported. I've also attempted to set in and out points a minute or two from the beginning and end of the tapes, then batch capture the logged tape. Again, no dice.
    Unfortunately I haven't had luck with anything, and I'm getting very frustrated.
    I'm not a professional editor, so perhaps I'm missing something very basic? I have no clue why this format is so difficult to import!! I've never spent over a week trying to figure out how to import footage!
    I don't care whether each tape I import is an entire tape or cut up into clips at time breaks, but I can't seem to get anything!!!
    I really appreciate anyone's suggestions here. I'm at my wits end.
    And again, I don't usually do this type of work, so if you could describe in detail any suggestions / solutions I would be very grateful. Many thanks.

  • Question about capturing from FX1000

    Hello everyone. This is my first post here tho I have been searching these forums for some time now.
    I looked for my question but i could not find one that helped me.
    Anyway.
    So I just got a HDR-FX1000 and I love it!
    I just filmed my last show and when I plugged it into my television with the HDMI cable i was drooling.
    so now I want to import the footage onto FCE but the problem is that It's looking like a normal ol' HD camera. The colors are not even as bright. I'm wondering if it has anything to do with my computer screen but I have a new Macbook pro so I doubt it.
    I exported it onto quicktime and still the same. I am now dumping it onto iDVD and I'm going to see how that looks on my television.
    Anyway is there some kind of settings I should be using when Capturing from my FX1000? and is there a good export setting to retain the same HDV quality?
    Thank you very much in advanced. I appreciate any and all help!
    also, if you are in the Los Angeles area and wanna do any shooting with my FX1000 let me know. I'll go if its not too far and won't charge you anything. I'd like the experience of using the camera
    Luie

    I'm starting to wonder if it has anything to do with the Fire Wire I have. I had a bunch of Fire Wire cables around the house but I had to buy a new one because of the MacBook Pro. It's very thin too...
    the HDMI cable is really thick. Anyone think this an be a part of the issue?

  • Question about capturing clips

    I’m using Pre7 and capturing video from an HDV tape camcorder via FireWire connection. On the Capture window, I am able to record (capture) from the camera with no problems. But is there a way I can capture from the camera (miniDV tapes), without having to do each scene one at a time? I mean am I able to set things up so that I can have Pre7 record and create each clip automatically as each scene changes?

    If you have the option to Split Scene by Timecode selected in the capture workspace, the video should break at every scene (whenever the camcorder was put on pause) as you're capturing. If that doesn't work, you can try Split Scene by Content.
    You can also break already captured footage by right-clicking on it in the Project media panel and selecting Scene Detect.

  • Question about capturing ProRes HQ from D5

    I routinely capture 10bit uncompressed video from HDSR or D5 to FCP thru a Kona 3.
    Yesterday, I captured from the D5 (1920x1080 23.976psf) directly to ProRes HQ using the AJA Kona 1020x1080 23.98sf capture preset. The captured ProRes HQ format came in as 23.98 "upper field dominant". Is this normal with psf material, I thought it would be "none" for progressive.
    sm

    Sorry, I meant Progressive segmented Frame.
    http://en.wikipedia.org/wiki/ProgressivesegmentedFrame

  • Question about UoM conversion

    I'm trying to implement the UoM conversion that is now standard in BI 7.0.  I think I have all the backend work done, but I'm having trouble converting the UoM on the front end when running a query.
    Here's what I did on the backend to set it up.
    1- I went to 0MATERIAL (BEx Explorer tab) and entered 0BASE_UOM as the Unit field. 
    2 - I then generated the conversion ODS.
    3 - I created transformation to the ODS using 0MAT_UNIT_ATTR.  I did have to use a master data lookup for the BASE_UOM field (using the values in 0MATERIAL) since the 0MAT_UNIT_ATTR didn't have the Base Unit of Measure, just the conversion one.
    4 - Loaded the ODS for 1 material (test material 1 EA = 1 EA and 1 KIT = 20 EA)
    5 - Defined a Converstion type (trans RSUOM).  I used Dynamic Option 3 (InfoObject, then T006 tables).  I set the Source UoM = DataRecord, and Target is set to "Selection during Conversion"
    Here's what I did on the query:
    1. For my key figure, I went to the conversions tab.  I selected my Conversion type.
    2. I created a user entry variable with a default value of "EA".
    When I run my report, I enter KITS on the selection screen, but the report still shows eaches.  I can navigate to the Currency conversion on the report via the menus, but I can't find anywhere for Units.
    Any ideas?
    Thanks,
    Rudy

    First, is there any particular reason why you used:
    Integer a = Integer.valueOf(1);while I used
    Integer a = 1; //boxing
    Just to get rid of boxing conversion as a possible issue--which it shouldn't be, but might as well keep it simple.
    Integer a = Integer.valueOf(1);
    Comparable<String> cs1 = a; // errorbecause we are assigning to a Comparable<String> an
    Integer value, and that's illegal, since String and
    Integer are not in a subtype relation (?)Something like that, yes. I'm not sure of the exact clause of the JLS that forbids it.
    >
    Comparable<Integer> ci = a; // ok
    Comparable<String> cs2 = ci; // errorbecause we are assigning to a Comparable<String> a
    Comparable<Integer>, and again, String and Integer
    are not in a subtype relation (?)Yep.
    Comparable<String> cs3 = c1; // warning
    Comparable<String> cs4 = c2; // warningit's what I believe is called 'heap pollution' I forget what that term means, and am too lazy to look it up, so I'll take your word for it.
    and I
    believe that on first use a ClassCastException will
    be thrown Sounds right. Run it and see for yourself.
    (although the compiler behaves correctly by
    flagging an unchecked warning, for compatibility with
    legacy systems, etc)Right.

  • Question about assignment conversion

    JLS Third Edition, chapter 5.2 on page 93 and Discussion (p. 94), states that:
    >
    It is a compile time error if a chain of conversions contains two parametrized types that are not in a subtype relation.
    And in the Discussion the following example is shown:
    Integer -> Comparable<Integer> -> Comparable -> Comparable<String>
    Which rocks, since Integer and String are not in a subtype relation. This is still possible because of support for legacy code (i.e. raw types).
    However I wrote the following dummy code:
    Integer a = 1;
              Comparable<Integer> ci = a;
              Comparable c = ci;
              Comparable<String> cs = c;expecting the compiler to 'trace' the chain of conversions and throw a compile-time error, but all it did was to produce an unchecked conversion warning when the value of the reference variable c is assigned to the reference variable cs.
    Isn't this in contrast with what stated by JLS?

    First, is there any particular reason why you used:
    Integer a = Integer.valueOf(1);while I used
    Integer a = 1; //boxing
    Just to get rid of boxing conversion as a possible issue--which it shouldn't be, but might as well keep it simple.
    Integer a = Integer.valueOf(1);
    Comparable<String> cs1 = a; // errorbecause we are assigning to a Comparable<String> an
    Integer value, and that's illegal, since String and
    Integer are not in a subtype relation (?)Something like that, yes. I'm not sure of the exact clause of the JLS that forbids it.
    >
    Comparable<Integer> ci = a; // ok
    Comparable<String> cs2 = ci; // errorbecause we are assigning to a Comparable<String> a
    Comparable<Integer>, and again, String and Integer
    are not in a subtype relation (?)Yep.
    Comparable<String> cs3 = c1; // warning
    Comparable<String> cs4 = c2; // warningit's what I believe is called 'heap pollution' I forget what that term means, and am too lazy to look it up, so I'll take your word for it.
    and I
    believe that on first use a ClassCastException will
    be thrown Sounds right. Run it and see for yourself.
    (although the compiler behaves correctly by
    flagging an unchecked warning, for compatibility with
    legacy systems, etc)Right.

  • Question about unit conversion for BAPI_PO_CREATE1...

    Hello Experts,
    How do we bypass/supress the unit conversion in BAPI 'BAPI_PO_CREATE1'? Because what is happening
    right now is for example, I input in 88CV it will convert it to 'EA' as this is defined as the
    PO unit of measure. I want the 88 CV to be as it is.
    Also, I am manually populating the net price(net_price) with my own value as I do not want to get
    the net price from the info record. But it comes back as 0. I populate the 'X' fields as to let you know.

    This conversion takes place due to SPRO setting
    ask your functional people to do that
    goo SPRO->reference img->sap netweaveer->check units of measurement
    cheers
    s.janagar

  • Question about Captured footage and naming

    Hi everyone,
    I am trying to archive some old work by saving the TL's and by storing footage names down for future problems with clients shall they arise.
    What I am wonder is when footage is captured you name it and as the name appears in your bin (ie.... Filming Day 1 Tape 1a) it does not appear that way in the captured scratch folder. For my purpose which name should I write down? The old as I see it in FCP? or the one "Untitled 1" as it appears in the captured folder?
    If I ever need to come back to it and I have to recapture the footage which name will FCP look for?
    Thanks for the help!

    If you name your clip when you log it, before you capture it, that is the name it has in the capture scratch folder.
    If you change the name later, in a bin, the name of the file in the capture scratch folder does not change, and you have laid a trap for yourself, as it will be a painful experience re-connecting later if the names don't match.
    If you, or the others in your shop, captured carefully, you should be able to batch capture from the project file.
    Unfortunately, if you or someone else did not take care in logging and capturing, you may be in for some difficulty when those clients return for revisions.
    One strategy that might work in this circumstance would be to copy the whole project to a separate disk – media and all. This will get expensive quickly if you are doing any volume, but might save you for a few poorly managed, very important, projects.
    Hope this helps.
    Tom Meegan

  • Question about capturing a miniDV footage

    Hello,
    I have to capture 15 hours of footage from some miniDV tapes using a old Sony DCR--TRV30E camera and a recent MacBook Pro.
    The internal disk of the MacBook will probably not be able to hold so many hours of video.
    Is it ok to use a USB external disk (Iomega)? Good enough for capturing? I also have a Firewire disk but there is only one Firewire 800 port on the mac, and of course  it will be taken by the camera.
    What is the best strategy?
    Many thanks for your precious advise.
    Best

    Yes. Digits are digits. Firewire is preferred because the USB2 protocol uses data packets instead of the data streams that Firewire uses. There is no video quality difference between the two, only suitability for the bandwidth and delivery demands editing places on the media drive.
    Once the material is captured, you can easily make a back-up copy on the USB drive should your main editing drive become corrupted or fail.
    You should be doing this as a normal best practice anyway, even more so if you feel the material will not be recoverable if the drive should fail.
    Firewire drives are cheap, you should keep a clone of both your computer drive, and another clone of your media drive as hard disk drives will become corrupted and fail usually at the worst possible time.
    http://eshop.macsales.com/shop/firewire/EliteALmini/eSATA_FW800_FW400_USB
    MtD

  • Question about file conversion in the sender file adapter

    Hi, all.
    I am trying to get the file adapter to parse a file. The message type is the following:
    JOB
       Msg  0..1
          Transaction  0 ... unbounded
             Data   0 ... 1
                f1 string
                f2 string
    How would you define the recordset name and recordset structure to produce the same structure in the converted xml. I tried:
    recordset name : Msg
    recordset structure : Data, *
    But the transaction is missing. I tried:
    recordset name: Msg
    recordset structure : Transaction, *
    Then the data is missing. Note that the actual data in f1, f2 ... are loaded successfully though.
    Thanks,
    Jonathan.

    Hi, Hareesh
    I agree. But that is how it is defined now by someone else. It is hard to change it as he defines the same structure on the receiving side. I didn't want to change the receiving structure as it touches the proxy code too. So I want to make something short and sweet.
    Basically the data looks like this:
    11,222
    55,666
    The result xml should be something like:
    <JOB>
      <Msg>
         <Transaction>
            <DATA>
               11
               222
            </DATA>
         </Transaction>
         <Transaction>
            <DATA>
              55
              666
            </DATA>
          </Transaction>
      </MSG>
    </JOB>
    I know either the DATA has no meaning and it's giving me a headache ... but that's how it's done and I don't want to rock the boat too much. There are lots of mapping that I have changed otherwise.
    Thanks,
    Jonathan.

  • Easy question about capturing audio

    Forgive me if this sounds noobish....
    I would just like to know what kind of audio file Soundtrack Pro WRITES, not what kind of files it can export to. I'm just trying to save a step and eliminate the exporting time.
    Thanks!

    It records AIFF, and puts those files in the folder specified under Preferences > Recording > Sessions Location.
    tim

  • From USB to IEEE-1394: question about HD capture, editing, sharing.

    I’m new to editing video but have a question about capturing video into Premiere Elements 7. I have been using a Canon HF11 which shoots only in HD and only has USB output to copy video to my desktop. I don’t have a Blu-ray burner yet but I have burned a few projects to DVD, shared video on YouTube, and saved files in .avi and .mpeg to view on computer screens. But obviously I’m missing out on sharing HD on disk at this time. I just bought a Canon XH A1s which shoots both HD and SD on miniDV tapes. And uses IEEE-1394 cable for capturing (to Pre7). I did a 3 minute test project in SD and burned it on a DVD disk. I was very pleased at the results and the ease of editing. I don’t have any HD tapes yet, but when I do what differences will I experience from shooting in HD and then capturing, editing, then to sharing? My current HD processes with the HF11 is slow, occasional low-resources warnings, and less then pleasing results on DVD disks. Thanks for any and all comments and/or suggestions.

    Your HF11 is AVCHD format and the Canon XH A1 is HDV MPEG2. AVCHD takes a lot more computer horespower to edit compared to HDV MPEG2... main reason being that AVCHD is more highly compressed giving small file sizes. This is also why you get the low resource and memory alarms while editing.
    To shoot HD you do not need HD miniDV tapes you can use the standard miniDV tapes. However the HD tapes are supposed to give fewer drop-outs than the standard tapes but are considerable more expensive. With DV-AVI a drop out would be hardly noticed, but as HDV MPEG2 is a compressed format and the picture relies on information in a number of frames any drop-outs can give a second or so of bad video. That said I have had very few issues with drop-outs. If you are doing a wedding or something important that you do not want to risk then probably better to use a HD miniDV tape.
    In the past the advise has been to capture in high definition to get the best quality and then downconvert in the camcorder and capture in DV-AVI... the reason being that older versions of Premiere Elements did not do a good job of the down conversion. Reports on PE7 indicate it is better and that you could use a HDV workflow and burn to DVD as a last stage. This also allows you to export a high definition version of your video to view on a monitor where you can appreciate the higher resolution. Or in the future when you have a Blu-ray burner and player you can burn the file to disc... save doing all the editing all over.

  • Questions about XL2 24p and capturing

    Hello
    I have been reading through the posts and wondered if anybody could answer this question. I will be shooting on an XL2 using the 24 (Advanced or otherwise). Now I know how to set up FCP for capture, but I am wondering about capturing from a deck or another camera. I own both the XL2 and a GL1. I am wondering if I can capture footage shot in 24p (advanced or otherwise) using a the GL 1 as a deck.
    It would seem to me that I can't because the GL1 does not possess the 24p option, but I am not really sure. Does the deck actually play back at 24p or does it playback at 29.97 and FCP just takes the frames it wants?
    I ask this for saving wear and tear on the XL2 as my GL1 still works, but i won't likely use it for anymore shooting now that i have the XL2.
    Thanks for any help you can give.

    Any deck (almost) will read the tape fine. It's all just 0s and 1s.
    Do some research on what the xl2 uses for cadence and what it actually means to add cadence.
    In fact... a few posts down you'll find some good information.
    CaptM

Maybe you are looking for

  • Powerbook G4 Wont Boot consistently

    I have an older Powerbook G4 867. ('Twas my first mac-**sniff**) abt 4 years ago, I was on my couch surfing and the screen went black. I never got it to reboot. A while later I got it to boot out of the blue. It worked fine, ran some software updates

  • Bootmgr missing

    After i press power button, monitor still blank and there are some text "bootmgr missing" "press ctrl+alt+del to restart". I am doing "press ctrl+alt+del" but this is not working. How to fix this problem? Help me please...

  • Where are the image files located?

    hey guys, my book is 75 mb and I can only guess that it's because my images are Too big. I don't know how to get the file sizes down because I replaced them but they must still be retained in the image folder because when I look at the size its 75mb.

  • How do i get the menu bar to stay

    how do i get the menu bar to stay down where i can see it all the time - instead of hiding from me. thx deb

  • MIGO and MR8M

    Hi Guru, We have a PO created and Goods Receipt made. When we made a invoice using MIRO and reversed this invoice using MR8M Goods Receipt Entry ( MIGO Entry) Dr. Inventory account Dr. PPV ( Account for Purchase price variance) Cr. GR/IR account MIGO