Trouble Encoding Still Video Images

Hi All,
Newbie Premier user struggling to finish  first video. Here's my problem, and hopefully someone out there has encountered it before:
     I have finally finished creating  a very basic, short (~ 2 min.) video (4:3 interlaced; SD DV-NTSC, ) clip containing several interspersed  title frames and a single JPEG image serving as my establishing shot.  For some reason, the high resolution JPEG image appears jagged and blurry once imported into Premier Pro CS4. After several hours of meddling around I have discovered an interesting phenomenon whereby increasing the magnification percentage from 'Fit' to '100%' in either the Source OR Program monitors restores the image quality. However, when this is done the video quality appears severly interlaced. Can someone shed some light on this issue because I am about to pull my hair out. Thanks.

Hi Jim,
Thank you very much for taking the time to read and reply to my question.
I have rendered out to a .mov file using the DV-NTSC authoring codec and the quality of the video still image is very jagged and blurry. My export settings are as follows:
     Container: Quicktime .mov
     Codec:      DV-NTSC
     Qualty:      100%
     Scan:        Progressive ( Video looks great...image degrades) ; Interlaced (Odd/Upper) field (Image looks great...interlace artifacts predominate)
                                                          ||                                                                                     ||
                                                          V                                                                                    V
     ASR:                                            0.9091                                                                             1.0 (sq.)
     Since my first post I have imported the video into Sorenson Squeeze 5 and compressed using the On2 VP6 Pro codec with Flash 8+ HQ presets. The file size has been reduced ten fold and the video quality has held up well. I have also noticed and improvement in the clarity of the title slides, but the image issue persists. Any thoughts on what is going on here.
Thanks,
DANNY

Similar Messages

  • IMovie imports a still video image

    When I import a video into iMovie, I get the full audio but only a single still video image. What's up with that?

    I didn't film the video, so I'm not sure what kind of camera was used.
    Here is a screenshot of the Quicktime Inspector:
    And here is a bit more information about my situation: The video plays fine off of the thumb drive it was given to me on, and it plays fine off of my hard drive. But when I import the video into iMovie, all I see is the one still video shot while the audio plays beneath it. I've tried this on two different computers and on both of them, the video is frozen once it's imported into iMovie.
    Bizarre.
    I appreciate your help!

  • New to Flash - How far can I take video/image manipulation?

    Hi,
    I'm new to the flash/flex world and am considering using
    Adobe products for an interactive site. My understanding of all the
    various product, however, is still evolving so it's safe to assume
    and rather basic level of understanding of Flash, Flex, their
    related products and relationships to each other.
    I have a couple of questions before diving in, and any advice
    or pointers to docs would be most appreciated.
    - When the user pauses a video clip, can we pinpoint the
    exact frame in the video (not frame in swf) on which they paused?
    - Is it possible to take a screenshot of the current video
    frame?
    - How much "processing" can we do on the image? For example,
    can I get access to individual pixel data, and is it reasonably
    fast to manipulate?
    Thank you in advance!
    Sean

    SeanFlash,
    > - When the user pauses a video clip, can we pinpoint
    > the exact frame in the video (not frame in swf) on which
    > they paused?
    Seeking in FLV videos applies to keyframes, so it will
    depend on how
    many keyframes you include in that FLV when you encode the
    video. The
    greater the number of keyframes, the more precision -- but
    the greater the
    filesize.
    > - Is it possible to take a screenshot of the current
    video
    > frame?
    Flash doesn't have access to the OS deeply enough to take a
    screenshot,
    but you can certaily use the BitmapData class to copy pixels
    from one object
    to another. You can even manipulate those pixels.
    > - How much "processing" can we do on the image? For
    > example, can I get access to individual pixel data, and
    is
    > it reasonably fast to manipulate?
    These are subjective questions, so it's hard to answer them.
    I've seen
    examples of "fire" effects (particles) added dynamically to
    live webcam
    captures. I've seen blendmode effects and filters (glow,
    etc.) applied to
    video.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Need Help! Encore/PRPro 5.5 Slideshows w/ stills & videos: Best workflow/settings?

    Warning! Rookie here--I apologize ahead of time for the forthcoming dumb questions!
    Gear: 4 month old iMac, 12GB RAM, Lion. CS5.5 Master Collection.
    First, my goals:
    *Take 4-500 large DSLR stills (shot in 24MB RAW and JPEGs from 6-17 or so MBs with some Sony panorama shots sprinkled in) and 20 AVCHD/Sony HD videos (only 10 to 30 seconds long and labeled as ".MTS" files) and create a slideshow with the videos interspersed among the stills.
    *No audio, manual advance.
    *Create high quality file from Blu-Ray setting for playback over Apple TV from iMac or iPad 3 to LED HDTV (1920 x 1080, I believe).
    I've watched Lynda.com's tutorials regarding Encore CS.5 the past few days (watched the Premiere Pro course a while back for just a very short video DVD and I did OK--but no stills/no slideshow), but I'm quite confused and frustrated. For example, I tried to import the stills as assets and got an error message saying I didn't have the right software, leading to having to hit "return" for a few hundred error messages!
    After lots of google searches and searching this forum, I surmised my files sizes are too large. OK, but that's about as far as I got for this stage. Then I saw Bill Hunt's article on workflow and about converting all stills to .psd files, so that may be next...?
    But I would really like somebody to walk me through things that are still confusing given I am not familiar with all the terminology and things such as pixel/frame sizes etc.
    Given my goals, what would be the best workflow/course of action? I don't need every detail given that I have the Lynda.com tutorials, e.g., I have some menus set up from a background image with text that I made in Photoshop and I get the linking procedure for creating buttons that work once the image is a item in Encore.
    The main questions, I guess are:
    1. What should I do with with my stills to get them into Encore? Should I do as Bill says and make them .psd files? How do I then get Encore to accept them as assets? I'm really confused about the sizes to use during conversion--4:3 vs. 16:9 and/or 720 vs. 480 vs. HD sizes (1000 x 750?!). I gather this should be done in Photoshop, but not clear how, exactly. (My head's about to explode reading up on file types, sizes, pixels, for the slideshows with stills and videos blah, blah, blah....).
    2. How do I get my short videos into Encore? Do I create a timeline in Premiere Pro first? Should I create a timeline or sequence with both stills and videos in Premiere Pro and use the import sequence feature into Encore?
    3. Where are the stills and videos best interspersed--Encore or PRPro?
    4. Given Encore will only create slideshows of 99 stills, once I create multiple slideshows in the project panel, am I correct that I link to the second, third, etc. slideshows with "end actions" and the viewer will see a seamless transition? I plan on using some chapters for different sections of a 10 day vacation, so will there be any conflict with the multiple slideshow transitions?
    Thanks so much for your help! This trip was a dream come true as I hadn't had a vacation in 12 years and I was finally able to take my now teenage boys on a proper wilderness adventure a few weeks ago! I would really like to be able to show everyone a nice slideshow and eventually give the boys a Blue-ray disc they will always have as a keepsake etc. In other words, lots of emotion wrapped up in this one.....thanks again!

    1. Your images are square pixels, Blu-ray (BD) is square pixels, keep your images square pixels when you resize them.  That means a Pixel Aspect Ratio (PAR) of 1.0.  Fortunately, PS defaults to square pixels.  As for the frame size, the video will be the limiting factor if you want it interspersed with the stills.  Determine the frame size and frame rate of the video that was shot and use that as the basis for resizing your stills.  If you don't plan on doing any panning/zooming, then you resize your stills to match the video frame size (1920x1080 or 1280x720 are the likely choices).  If you plan on mild panning/zooming, then increase the size of the resized stills by roughly 30% in both dimensions.  More dramatic panning/zooming will require a larger increase in frame size; just don't go over 4000 pixels in either dimension.  And remember that video work makes any DPI or PPI value irrelevant.  The video frame size is exactly what it is, in pixels.  No more, no less.
    2. and 3. If you want video mixed in with stills, then you'll have to put them all together in a Premiere Pro timeline before sending them to Encore.  Unfortunately, that makes the manual advance feature you want problematic.  It can be done, sort of, but it probably won't work the way you expect.
    4. If you use Pr to create your stills/video timeline, there is no 99 slide limit.  Make the Pr timeline seamless and it will remain seamless in En.  If you do a slideshow in En, then moving from one 99-still slideshow to another will not be seamless.
    NB: the key to your project will be planning.  Take and old-fashioned pencil and paper and layout how you want the audience to view the finished BD.  Do you want just the main program?  Do you want quick and dirty slideshows of just still images that they can access by menu?  And so on.  You can make *almost* any navigation scenario work in En, but you need to know beforehand how you want the audience to get from here to there and back again.
    Jeff

  • Blackberry having trouble playing youtube videos

    I own a blackberry curve 8530 and its having trouble playing youtube videos. It plays youtube videos up to 59 seconds and then it stops. It gives me the same error message saying:
    "An error has occured attempting to play the media".
    I have tried turning on and off my phone, pressing alt+enter+del, and doing the battery pull. None of those methods have worked.
    Has anyone had this problem, and if so, how did you fix it? Ive pretty much have tried everything i could think of and none of the forums seems to have a solution.
    Is the phone the problem or is youtube?
    If you know of the solution, your help will be greatly appreciated.

    Hello hashbrown602,
    The following post by Cory from the Inside BlackBerry Help Blog outlines a few steps you can try to successfully play videos from YouTube.
    http://helpblog.blackberry.com/2011/03/watch-youtu​be-on-blackberry/
    If you still have issues after going through each of the steps, you may want to contact your wireless service provider to check your data plan settings.
    Cheers,
    -FB
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click "Accept as a Solution" for posts that have solved your issue(s)!

  • Trouble with HD videos on Satellite M70

    HI,
    I recently bought a M70-208. It seems that I experience trouble with HD video both with VLC and WMP. For example, while playing the demo video of "HDtoGo", the flow is very slow. Other non Toshiba notebook that I'm using for my job is playing this video smoothly, despite its lower configuration.
    I tried different combination of Energy management, but it still the same. I can't understand what's going on.
    Apart from that, this notebook makes me happy (6900 point at 3D mark05).
    Thanks for helping me.

    Hi
    Maybe is my English not so good but what you mean under flow? Is there any kind of bucking while video plays?
    Maybe some application in background occupied the CPU and because of that the video doesnt run well. Try to check it.
    Anyway, as you said this unit has very good value on graphic test. Friend of mine has M70-257.
    Bye

  • Does anyone know why video image in events section has a certain dimension and instead when I import same video in a clip, the size of video image is minor? Thanks for help

    Does anyone know why video image in events section has a certain dimension and instead when I import same video in a clip, the size of video image is minor? Thanks for help

    This may depend on your chosen encoding options for the Mails (MIME vs. Base64 or similar) and/or the mails being reduced in size and sliced up server side. Apple (and Google) do stuff like recompressing images when viewing mails on mobile devices from an Apple ID or Gmail account... You have to turn it off in their web frontends....
    Mylenium

  • Problem viewing video, something about an ad blocker. I had no trouble viewing streaming video until I downloaded firefox 4

    I do not have any trouble watching streaming video on the Netflix website, but all other streaming video such as on a tv network or on IMDB.com comes back unavailable or blocked by an ad blocker. The only change to my computer I have done is upgrade my Mazilla Firefox browser. Something downloaded with it maybe that is blocking streaming transmissions. I need to know how to disable or bypass the problem.

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                     
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar
    The missing apps could have been done by setting the Restrictions that can hid those apps. If the backup was made with those retrictions set the the Restrictions are also restored.
    Thus, if you get it to work restore to factory settings/new iPod, not from backup                               
    You can redownload most iTunes purchases by:        
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Bug when encoding f4v videos longer than ~ 1 hour ?

    Folks,
    We're getting a strange problem with Adobe Media Encoder.
    We encode a long (slightly more than 1 hour) f4v video
    and Adobe Media Encoder reports that the file encoded
    successfully with no errors. But when we scrub through
    the video (i.e., move the play head from start to finish),
    the video hangs early in the video.
    The source video in original H.264 Quicktime format
    works perfectly and is known to be OK. We have plenty
    of disk space and memory, so that is not an issue.
    We do not have this problem when encoding shorter f4v videos
    (even slightly less than 1 hour). Does Adobe Media Encoder
    have a bug when encoding f4v videos longer than about 1 hour?
    Is there a workaround?
    Thanks in advance,
    Raja.

    You can remove them from the iMovie timeline and replace(?) I believe iMovie plays the full quality video (there is an option on how iMovie previews the clips) but doesn't FCE play a lower resolution version? If you are not using the Highest Quality version in iMovie, what happens when the project is exported to Quicktime or iDVD? Does the video still studder?
    Regards,

  • For encode multiple videos do l need multiple sources?

    I would like to encode more than one video from the same source, but if l am able to use a software to create multiple virtual sources, can l encode multiple videos at the same time on the same computer, or do l need more than one??

    Sorry Alp, I should of tested but then I would just got angry with smart view : )
    It does say in the docs - "*You can select one cell or a range of contiguous cells in a row or column*"
    Strange thing is the OP has already been provided the link that says that but still insists on asking three questions around the same subject
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • RGB color over video image

    I used the FCP "tint" function to overlay a specific RGB color over a video image. But, I still can see the images bellow the color. Is there a way to partially or entirelly cover the video image with a solid color covering completely the video action with color; like solid ink, without transparency (or control it from 0-100%)?
    By the way; the RGB color values on video are the same; reflect the same values to the eye, as on ex: Photoshop? It´s the same monitor.
    Thanks very much.

    http://i1114.photobucket.com/albums/k533/pansottin/withtintfilter.jpg
    and
    http://i1114.photobucket.com/albums/k533/pansottin/withsepiafilter.jpg
    Using tint or sepia filters I allways see the video image bellow. That´s what I don´t want.
    I want to cover (opaque) the video image with color.

  • Chose "encode selected video files" to create apple pro res, but only gave me audio. now files are gone.

    Hello, I chose the "encode selected video files" from the finder to convert some H.264 files to Apple ProRes. It outputed only audio (but still as a .mov file). And I also selected to delete the source files after finished, so now the originals are gone and i'm left with only audio. is there any way to get back my original files?

    Sounds like you selected Audio Only
    If you regularly back up your system, you could locate the copy of the original file and restore it .
    Russ

  • Video Image gets resized

    I am trying to develop a chat application which has the webcam feature. I am using JMF for this purpose. I am creating this as an applet. The first time when the page loads and the user clicks the start button to start the video, the webcam starts and the video is displayed in a small area of the applet.
    The problem is that, if the user clicks on any other buttons on the applet, the image gets resized. It scales itself in the horizontal direction. I have no clue as to why is this happeneing. I have tried using GridBagLayout, but still the problem persists.
    Any help in this matter will be highly appreciated.
    Regards,
    Sharad

    This is the code which I am using. The start button is to start the video. After the video is started, clicking on the next button will resize the video. The next button loads another image on to the applet. The Image is on the left side and the video is being displayed on the right side. Clicking on the next button calls the class PresentControl.java.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.border.*;
    import java.net.*;
    import java.awt.image.*;
    import java.io.*;
    import java.util.*;
    Description : Online presentation client main applet
    public class ClientOnPres extends JApplet {
         private Container contentPane;
    private JToolBar tb;      // Toolbar
    private JButton closeBtn,descBtn,plistBtn;// general button
    private JButton attBtn, smediaBtn,qmediaBtn,nextBtn,prevBtn; //presenter control button
    private JRadioButton[] pntButtons;               // indicator shape type
    private JButton drawBtn, delBtn, submitBtn; //
    private JPanel bodyPane, leftPane, midPane,leftMidPane,rightPane;
    private JTextArea chatOutText;      // display chat data
    private JTextField chatInText;      // entering chat data
    private JScrollPane jpChat;      // chat textbox scrolling
    private JLabel pageLbl, subjectLbl, nameLbl; // # of page, subject, presenter name
    private JLabel matrLbl, prterImage; // display presentation material
                                                                     // display presenter video image
    private String SERVER_IP_ADDRESS = ""; //IP address of the server
    private static final int SERVER_PORT = ; //port number
    private Socket clientSocket;
    private long requestStamp;
    private long responseStamp;
    private PresentControl pcontrol;
    private ThumbnailHandler thumbHandle;
    private ArrayList imgList;
    private Vector imageVector;
    private ObjectInputStream ois;
    private ObjectOutputStream oos;
    private Component thisFrame;
    private ArrayList iparray;
    private TransMedia tm;
    private ReceiveMedia ar;
    private int casttype;
    private String senderip;
    private String requestIp;
    private String username;
    private String userid;
    private boolean isHost = false;
    private int presentId;
    private String presentTopic;
    private String presentPresenter;
    private String presentDesc;
    private static final String MULTICAST_IP = "228.11.12.13";
    private static final int VIDEO_PORT = 31000;
    private static final int AUDIO_PORT = 32000;
    private static final int VIDEO_PORT_HOST = 31010;
    private static final int AUDIO_PORT_HOST = 32010;
    private static final int MULTICAST_TTL = 255;
    private boolean transOk = false;
    private boolean readyToStart = false;
    Object dataSync = new Object();
    public ClientOnPres() {
    getRootPane().putClientProperty("defeatSystemEventQueueCheck",
    Boolean.TRUE);
    public void init() {
              contentPane = getContentPane();
              iparray = new ArrayList();
              requestIp = getParameter("requestIp");     
              username = getParameter("username");
              userid = getParameter("userid");
              presentId = Integer.parseInt(getParameter("presentId"));
              //---- Toolbar
              tb = new JToolBar();     
              closeBtn = new JButton("Close");
              closeBtn.setMargin(new Insets(0,5,0,5));
              descBtn = new JButton("Description");
              descBtn.setMargin(new Insets(0,5,0,5));
              plistBtn = new JButton("Participant List");
              plistBtn.setMargin(new Insets(0,5,0,5));
    Dimension dm = new Dimension(10, 0);     
              tb.add(closeBtn);
              tb.addSeparator(dm);          
              tb.add(descBtn);
              tb.addSeparator(dm);          
              tb.add(plistBtn);
    contentPane.setLayout(new BorderLayout());          
    contentPane.add(tb, BorderLayout.NORTH);
    //------ body panel
    bodyPane = new JPanel();
    leftPane = new JPanel();
    midPane = new JPanel();
    rightPane = new JPanel();
    bodyPane.setLayout(new BorderLayout());
              bodyPane.setBorder(BorderFactory.createEtchedBorder());     
    bodyPane.add(leftPane, BorderLayout.WEST);
    bodyPane.add(midPane, BorderLayout.CENTER);
    bodyPane.add(rightPane, BorderLayout.EAST);
    contentPane.add(bodyPane, BorderLayout.CENTER);
    //------ left pane : thumbnail panel
    JPanel leftTopPane = new JPanel();
    JLabel label1 = new JLabel("Preview");
    leftTopPane.add(label1);
    leftMidPane = new JPanel();
    leftMidPane.setPreferredSize(new Dimension(80,350));
    leftMidPane.setLayout(new FlowLayout());
    leftPane.setLayout(new BorderLayout());
    leftPane.add(leftTopPane, BorderLayout.NORTH);
    leftPane.add(leftMidPane, BorderLayout.CENTER);
              leftPane.setBorder(BorderFactory.createLoweredBevelBorder());
    //--- main Panel
    midPane.setLayout(new BorderLayout());
    //--- top Panel
    JPanel topPane = new JPanel();
    JPanel firPane = new JPanel();
    JPanel secPane = new JPanel();
    JLabel label10 = new JLabel("Presentation Control : ");
              drawBtn = new JButton("Draw");
              drawBtn.setMargin(new Insets(0,5,0,5));
              delBtn = new JButton("Delete");
              delBtn.setMargin(new Insets(0,5,0,5));
              submitBtn = new JButton("Submit");
              submitBtn.setMargin(new Insets(0,5,0,5));
              attBtn = new JButton("Attention");
              attBtn.setMargin(new Insets(0,5,0,5));
              smediaBtn = new JButton("Start");
              smediaBtn.setMargin(new Insets(0,5,0,5));
              qmediaBtn = new JButton("Stop ");
              qmediaBtn.setMargin(new Insets(0,5,0,5));
              nextBtn = new JButton("Next ");
              nextBtn.setMargin(new Insets(0,5,0,5));
              prevBtn = new JButton("Prev ");
              prevBtn.setMargin(new Insets(0,5,0,5));
              firPane.add(label10);
              firPane.add(drawBtn);
              firPane.add(delBtn);
              firPane.add(submitBtn);
              firPane.add(attBtn);
              JSeparator jsp1 = new JSeparator(JSeparator.VERTICAL);
              jsp1.setPreferredSize(new Dimension(30, 20));
              firPane.add(jsp1);     
              firPane.add(nextBtn);
              firPane.add(prevBtn);
              JSeparator jsp2 = new JSeparator(JSeparator.VERTICAL);
              jsp2.setPreferredSize(new Dimension(30, 20));
    topPane.setLayout(new BorderLayout());
              topPane.add(firPane,BorderLayout.WEST);
              topPane.add(secPane,BorderLayout.CENTER);
              topPane.setBorder(BorderFactory.createLoweredBevelBorder());
              //--- middle panel
              JPanel subPane = new JPanel();
    JPanel abovePane = new JPanel();
    JPanel abovePane1 = new JPanel();
    JPanel abovePane2 = new JPanel();
    JPanel belowPane = new JPanel();
    JLabel label2 = new JLabel("Subject : ");
    JLabel label3 = new JLabel("Page :");
              pageLbl = new JLabel();
              subjectLbl = new JLabel();
              matrLbl = new JLabel();
    abovePane1.add(label2);
    abovePane1.add(subjectLbl);
    abovePane2.add(label3);
    abovePane2.add(pageLbl);
    abovePane.setLayout(new BorderLayout());
    abovePane.add(abovePane1, BorderLayout.WEST);
    abovePane.add(abovePane2, BorderLayout.EAST);
              abovePane.setBorder(BorderFactory.createEtchedBorder());
              belowPane.setLayout(new BorderLayout());
              belowPane.add(matrLbl, BorderLayout.CENTER);
              subPane.setLayout(new BorderLayout());
              subPane.add(topPane, BorderLayout.NORTH);
              subPane.add(abovePane, BorderLayout.CENTER);
              midPane.add(subPane, BorderLayout.NORTH);
    midPane.add(belowPane, BorderLayout.CENTER);
              //---- right side panel
    JPanel rightTopPane = new JPanel();     
    JPanel rightMiddlePane = new JPanel();
    JPanel rightBelowPane = new JPanel();
              JLabel label4 = new JLabel("Presenter : ");
              JLabel nameLbl = new JLabel("Hwan K. Chung");
    JPanel rightAbovePane = new JPanel();
    JPanel rightButtonPane = new JPanel();     
    rightButtonPane.setBorder(BorderFactory.createLoweredBevelBorder());
              chatInText = new JTextField(14);
    chatOutText = new JTextArea(15,13);
    chatOutText.setLineWrap(true);
    chatOutText.setEditable(false);
    chatOutText.setBorder(BorderFactory.createLoweredBevelBorder());
              rightButtonPane.add(smediaBtn);
              rightButtonPane.add(qmediaBtn);
              rightAbovePane.add(label4);
              rightAbovePane.add(nameLbl);
              rightAbovePane.setBorder(BorderFactory.createEtchedBorder());
              rightTopPane.setLayout(new BorderLayout());
              rightTopPane.add(rightButtonPane,BorderLayout.NORTH);
              rightTopPane.add(rightAbovePane,BorderLayout.CENTER);     
              rightMiddlePane.setBorder(BorderFactory.createEtchedBorder());
              jpChat = new JScrollPane(chatOutText);
              rightBelowPane.add(jpChat);
              rightBelowPane.add(chatInText);
              TitledBorder border = new TitledBorder(BorderFactory.createEtchedBorder(EtchedBorder.LOWERED),
              "Chatting Box",
                                       TitledBorder.LEFT,
                                       TitledBorder.CENTER);
              rightBelowPane.setBorder(border);
              rightBelowPane.setPreferredSize(new Dimension(150,350));
              rightPane.setLayout(new BorderLayout());
              rightPane.add(rightTopPane,BorderLayout.NORTH);     
    //          rightPane.add(rightMiddlePane,BorderLayout.CENTER);     
              rightPane.add(rightBelowPane,BorderLayout.SOUTH);     
    //--- get frame object for thumbnail image transfer the popup window
    thisFrame = getParent();
         smediaBtn.addActionListener(new ActionListener() {
                   String result = null;
                   public void actionPerformed (ActionEvent em) {
              try{
              long requestStamp = System.currentTimeMillis();
              oos.writeLong(requestStamp);
              oos.flush();
              oos.writeInt(11);                // request start
                        oos.flush();
              oos.writeUTF(requestIp); // sender IP in this case
                        oos.flush();
                        } catch (IOException ie) {
                             System.err.println("System error, Send data :11 " + ie);
                        long then = System.currentTimeMillis();
                        long waitingPeriod = 30000; // wait for a maximum of 30 secs.
                        try {
                        synchronized (dataSync) {
                             while (!readyToStart &&
                                       System.currentTimeMillis() - then < waitingPeriod) {
                             if (!readyToStart)
                                       System.err.println(" - Waiting for ready to start...");
                             dataSync.wait(1000);
                        } catch (Exception e) { System.err.println("Error in waiting ..start"); }
         try {
              long requestStamp = System.currentTimeMillis();     
              oos.writeLong(requestStamp);
              oos.flush();
              oos.writeInt(13);                // request start
                        oos.flush();
                        } catch (IOException ie) {
                             System.err.println("System error, Send data :13 " + ie);
                        try {
                             if (casttype == 2)
                             tm = new TransMedia(MULTICAST_IP,casttype,iparray);
                             else
                                  tm = new TransMedia(senderip,casttype,iparray);
                        } catch (Exception ee) {
                             System.err.println("Video sending error, construction() : " + ee);
                        try {
                             result = tm.start();
                        } catch (Exception ee) {
                             System.err.println("Video sending error, start : " + ee);
                        if (result != null)
                             System.err.println("Error2 : " + result);
                        else {
                             System.err.println("Trans Ok");
                             transOk = true;
         qmediaBtn.addActionListener(new ActionListener() {
                   public void actionPerformed (ActionEvent em) {
                        try {
                             tm.stop();
                        } catch (Exception ee) {
                             System.err.println("Video sending error, stop : " + ee);
              ///// sending chat data          
    chatInText.addActionListener(new ActionListener() {    // input text
    public void actionPerformed(ActionEvent e) {
         try {
    long requestStamp = System.currentTimeMillis();
    oos.writeLong(requestStamp);
    oos.flush();
    oos.writeInt(21);
    oos.flush();
                        oos.writeUTF(username);
                        oos.flush();
    oos.writeUTF(chatInText.getText() + "\n");
    oos.flush();
    chatInText.setText("");
    } catch(IOException ioe) {
    System.out.println("Outstream writer err in chatting: " + ioe.getMessage()); }
    while (!(thisFrame instanceof Frame))
         thisFrame =((Component)thisFrame).getParent();
    public void start() {
    try {
    clientSocket = new Socket(SERVER_IP_ADDRESS, SERVER_PORT);
    ois = new ObjectInputStream(clientSocket.getInputStream());
    oos = new ObjectOutputStream(clientSocket.getOutputStream());
    long requestStamp = System.currentTimeMillis();
    oos.writeLong(requestStamp);
    oos.flush();
    oos.writeInt(1);           // send request for initial data
              oos.flush();
    oos.writeUTF(requestIp); // send participant data
              oos.flush();
    oos.writeUTF(username); // send participant name
              oos.flush();
                   thumbHandle = new ThumbnailHandler(this,
    contentPane,
    thisFrame,
    leftMidPane);
              pcontrol = new PresentControl(pageLbl,subjectLbl,
              matrLbl,
              nextBtn,prevBtn,
              ois,oos);
    new ResponseManager().start();
         } catch (Exception e) {
              System.err.println("RRManager Error : " + e);
              e.printStackTrace();
    //--- Client accessing class
    class ResponseManager extends Thread {
         private long prevStamp = 0;
         private int prevActType = 0;
         private int actType;
    public void run() {
    try {
         long curStamp;
    while(true) {
    curStamp = ois.readLong();
    actType = ois.readInt();
         if (curStamp > prevStamp || actType != prevActType) {
         switch (actType) {
         case 2:
         receiveInitData();
         break;
         case 4:
         pcontrol.receiveSlidePage();
         break;
         case 12:
              iparray = (ArrayList) ois.readObject();
                   casttype = ois.readInt();
                   senderip = ois.readUTF();
                   readyToStart = true;
         break;           
         case 14:
                                  System.out.println("Session type and sender ip : " + senderip + " " + casttype);
                                       if (senderip.equals(requestIp)) {
                                            long then = System.currentTimeMillis();
                                            while (!transOk && System.currentTimeMillis() - then < 30000) {
                                            if (!transOk) {
                                                      System.err.println(" Waiting for transmit...");
                                                 Thread.sleep(1000);
                                       if (casttype == 2)
                                            ar = new ReceiveMedia(MULTICAST_IP,VIDEO_PORT,AUDIO_PORT,MULTICAST_TTL);
                                       else {
                                            if (senderip.equals(requestIp))
                                                 //Play for sender himself
                                                 ar = new ReceiveMedia(senderip,VIDEO_PORT_HOST,AUDIO_PORT_HOST,MULTICAST_TTL);
                                            else
                                                 ar = new ReceiveMedia(senderip,VIDEO_PORT,AUDIO_PORT,MULTICAST_TTL);
                                       rightPane.add(ar,BorderLayout.CENTER);
                                       rightPane.validate();
                                       rightPane.repaint();
              if (ar.initialize())
                        ar.start();
         break;
         // receive chat data
         case 22:
    try {
         String inData = ois.readUTF();
    chatOutText.append(inData);
    chatOutText.setCaretPosition(chatOutText.getDocument().getLength());
    chatOutText.scrollRectToVisible(chatOutText.modelToView(
                                                      chatOutText.getDocument().getLength()));
                             } catch (Exception e) { e.printStackTrace(); }
         break;           
         default:
         System.out.println("Action type err!");
    prevStamp = curStamp;
    prevActType = actType;
    } catch (Exception e) {
         System.out.println("Response Manager Error : " + e);
                        e.printStackTrace();      
    } // end try
    } // end run
         ///// receive initial data and load thumbnail images
         private void receiveInitData() {
                   try {
                   presentTopic = ois.readUTF();
                   presentPresenter = ois.readUTF();
                   presentDesc = ois.readUTF();
                        imgList = (ArrayList) ois.readObject();
              } catch (Exception e) {
              System.out.println("Error in ReceiveInitData : " + e);
                   if (presentPresenter.equals(userid))
                        isHost = true;
                   if (!isHost) {
                        attBtn.setEnabled(false);
                        smediaBtn.setEnabled(false);
                        qmediaBtn.setEnabled(false);
                        nextBtn.setEnabled(false);
                        prevBtn.setEnabled(false);
                        drawBtn.setEnabled(false);
                        delBtn.setEnabled(false);
                        submitBtn.setEnabled(false);
                        midPane.validate();
                        rightPane.validate();
                   thumbHandle.receiveImages(imgList,presentId);
                   imageVector = thumbHandle.getImageVector();     
    pcontrol.firstLoading(imageVector);                               
    } // end class
    /********************************* Present Control **********************/
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.util.Vector;
    import javax.swing.*;
    public class PresentControl {
    private int SCALE_WIDTH = 560;
    private int SCALE_HEIGHT = 450;
    private JLabel pageLbl;
    private JLabel subjectLbl;
    private JLabel matrLbl;
    private JButton nextBtn;
    private JButton prevBtn;
    private Vector imgVec;
    private static int currentSlide;
    private ObjectInputStream ois;
    private ObjectOutputStream oos;
    public PresentControl(JLabel pageLbl,
                   JLabel subjectLbl,
                   JLabel matrLbl,
                   JButton nextBtn,
                   JButton prevBtn,
                   ObjectInputStream ois,
                   ObjectOutputStream oos) {
         this.pageLbl = pageLbl;
         this.subjectLbl = subjectLbl;
         this.matrLbl = matrLbl;
         this.nextBtn = nextBtn;
         this.prevBtn = prevBtn;
         this.ois = ois;
         this.oos = oos;
    public void firstLoading(Vector vec) {
         imgVec = vec;
              Image first = (Image)imgVec.elementAt(0);
              matrLbl.setIcon(new ImageIcon(adjustImage(first)));
              pageLbl.setText("1");
              subjectLbl.setText("1");
              currentSlide = 1;
              ReqButtonListener reqlistener = new ReqButtonListener();
              nextBtn.addActionListener(reqlistener);
              prevBtn.addActionListener(reqlistener);
    private Image adjustImage(Image org) {       
    return org.getScaledInstance(SCALE_WIDTH, SCALE_HEIGHT,
         Image.SCALE_FAST);
    class ReqButtonListener implements ActionListener {
    public void actionPerformed(ActionEvent evt) {
         Object source = evt.getSource();
         int sendSlide = 0;
         long timeStamp = System.currentTimeMillis();
              if (source == nextBtn) {
    sendSlide = currentSlide + 1;
    else if (source == prevBtn) {
    sendSlide = currentSlide - 1;
    try {
    oos.writeLong(timeStamp);
    oos.flush();
    oos.writeInt(3); // send request
    oos.flush();
    oos.writeInt(sendSlide);
                        oos.flush();
    } catch (IOException ioe) {
    JOptionPane.showMessageDialog(null, ioe.getMessage());
    }//try
    public void receiveSlidePage() {
              int slideNumber = 1;
         try {
         slideNumber = ois.readInt();
    } catch (Exception e) {
         JOptionPane.showMessageDialog(null, e.toString());
              if (slideNumber < 1)
              slideNumber = 1;
              else if (slideNumber > imgVec.size())
              slideNumber = 1;
              Image img = (Image)imgVec.elementAt(slideNumber - 1);
              this.matrLbl.setIcon(new ImageIcon(adjustImage(img)));
              this.pageLbl.setText(String.valueOf(slideNumber));
              currentSlide = slideNumber;

  • In FCE, how do i retrieve lost video images for my edit?

    In FCE, a project that i have worked on has lost some of the video images from an original file imported from iMovie. The source footage still remains in iMovie. How do i get the lost images back, without having to re-edit the whole thing?
    Also, please, what is the short cut to "highlight all" or select all" in FCE?
    Thanks for your help!

    Import the source footage from the iMovie events folder and add it in.
    Command-A. Pretty much always in every Mac application.

  • Display text and image over Video Image in applet

    Hi
    I am working in JMF for a video applet.
    I have a doubt ,how we can display text and image over Video Image.
    Is anybody know how we can draw text over Video Image,pls sent a small code how can do it in applet?.
    I can do it in a frame,but it not work in a applet !
    CHT

    it is very much possible in a htmlb:button.
    its same as how you have done it in xhtmlb:toolbarButton
    working code
            <%
      data image type   ref to cl_htmlb_image.
      data: image_string type string.
      create object image.
      image->id = 'IEX'.
      image->src = cl_bsp_mimes=>sap_icon( 'ICON_EXECUTE_OBJECT' ).
      image->tooltip = 'Find the Link'.
      clear image_string.
      image_string = image->IF_BSP_BEE~RENDER_TO_STRING( page_context ).
              %>
              <htmlb:button id     = "EX"
                            text   = "<%= image_string %> Execute"
                            encode = "FALSE"
                            onClick = "EXECUTE"/>
    Regards
    Raja

Maybe you are looking for