Importing xna games into a webpage

Would anyone be able to help here. I have made up a simple game in xna game studio and I would like to import/embed this into my web page. I have no idea of what to do as I have only recently started web design. The webpage is not yet live.
Would like it if somebody could help!
Jock

Hi
Unfortunately Microsoft xna only works on windows platforms as a native app/game and will not work in a web browser, (not even IE).
You could package the game and offer it as a download for windows/windows-phone/x-box.
PZ

Similar Messages

  • How do I import animated gifs into Premiere with a transparent background?

    I have an animated gif that I got from the internet, and I'm trying to import it into Premiere Pro with a transparent background. The gif is of a video game character standing still and blinking. Whenever I import it, it always has a white background, so I need help on how to change that.
    I've gone into Photoshop and removed the white background frame by frame, making it transparent. I do this by using the magic wand tool to select the white background, then hit "delete" to turn it into that diamond grid, which means it's transparent. I then select File -> Save for Web. I preview every frame, and it shows that the backgrounds are transparent. I save it as a gif. But when I import it into Premiere Pro, the white background is still there.
    I've read many forums online about people trying to import images into Premiere Pro with a transparent background, but none of them have explained how to do it specifically for animated gifs. Every answer has always been "export the image as a png, that'll work", and sure enough, I exported a few frames of the gif as pngs, and those few frames had transparent backgrounds in Premiere Pro. But I don't want a png because those aren't animated sequences, those can only be still images. I need to export it as a gif so that it will remain animated, but gif files always have that dreaded white background in Premiere Pro.
    I suppose I could export every frame as a png, import each of those frames into Premiere Pro, then string all the frames together and tweak them so they'll be functionally identical to the animated gif, but that would take forever. I'm making a video project and I need numerous animated gifs to work with, so I don't want to do that with every single one of them. I'm looking for a way to simply import the gifs into Premiere Pro and be done with it. If there is any way to do this, please help me.
    -Robert

    faind on gif transparency and other cartoon animation problems : Adobe After Effects
    " The reason: GIFs don't support alpha channels. Instead, their file structure assigns a certain color value to be read as totally transparent. There aren't any degrees of transparency as you find in graphics formats that do support alpha channels.
    To use an animated gif in AE, you'd first have to create the areas of transparency, then convert the series of images into a graphics format that supports alpha channels, and there are a bunch: PICT, TIFF, TARGA or PNG, to name a few."

  • Find photos by Folder name or Import Folder name into Metadata

    In iPhoto, I can locate photos by folder name. Is this available in Aperture (Managed or Referenced)? From what I've seen, you can only search on metadata fields, none of which contain folder names.
    If I cannot search on folder names, can Aperture import folder names into Metadata automatically. In other words, if I import a directory tree 2009Games, with subfolders Game-ABC, Game-DEF, etc.
    Can Aperture insert the subfolder name into the photo's metadata? I know I can add the text manually, but I would like Aperture to import a top level folder like 2009Games, and add the subfolder directory name to each photo's metadata.
    If that is not an option, how does someone migrate from folder organization to metadata searches without renaming every photo?

    What project and folder naming structure do you intend to use in Aperture to manage your collection?
    The inclusion of the file name in metadata for searching purposes seems to be redundant as you can always, if you really need to, see where a particular image is located on the hard disk by right clicking on it in Aperture and selecting "Show in Finder".
    Regards,
    Calx

  • Import J2ME source into Java ME SDK 3.0

    Hi,
    Im new to Java ME.
    The internet has lots of J2ME examples for games(but none for Java ME SDK 3.0), and im trying to import these into Java ME SDK 3.0 . I click on new project and select 'Import Wireless Toolkit Project', but it doesn't detect a project. Ive tried this with several popular J2ME samples.
    Anyone know how to do this right, so I can import J2ME projects into Java ME SDK 3.0 completely, with classes, packages and resources intact?
    I tried making a new project, and then copying the files into the relevant directories too. All the classes show up in the SDK, but on running the program no app is displayed in the emulator.

    Don't double post. I've removed the thread you started in the Java Programming forum with the identically same question.
    db

  • Trouble Importing Motion Projects into DVD Studio

    I’m in the process of creating a Demo DVD and I was looking to use Motion to create menus and transitions in DVD Studio Pro. Every time I try to import a project I get an “Incompatible Format” error. My roommate’s iMac G5 imports Motion projects with no problems. I called Applecare to get help and was told Motion was bad and to reinstall it. I did and it didn’t work. (It was also suggested that my video card might not be good enough. Doesn’t make sense though because my roommate’s iMac does the trick.) I called back like I was told and was informed by another guy that I don’t have support available to me because the complimentary phone support expired last year. What is the world is wrong? Does anyone have any suggestions? I’m game for a complete hard drive wipe if it’ll fix the problem? My specs are below. Here are the specs of my roommate's computer:
    Processor: 2.1 GHz PowerPC G5
    RAM: 1.5 GB DDR2 SDRAM
    Video Card: ATI Radeon X600 XT, 128 VRAM
    Software: Final Cut Studio Academic
    Please help me!!
    ~Thanks

    One more thing, I tried opening up my project no DVDSP on my roommate's computer and it worked. His own project worked too. I brought the same files over to my computer (I opened the files both time off my thumbdrive, so they're the same files, not copies) and I got the same "Incompatable Format" error.
    I also cannot import Motion projects into FCP either, but both my roommates can.
    ~Jeff

  • I'm writing XNA game and want my game to support 12 different languages

    I'm writing XNA game and want my game to support 12 different languages and be visible in all the respective markets where users speak those 12 languages. I Develop my game in English
    language. 
    So what are my next steps? I've seen examples for Silverlight, but I develop in XNA. Basically, what is the difference between globalization
    and localization? Which one should I use? Will I have to produce 12 different .xap builds or one universal?
    Please help....
    Thanks in Abvance
    Manoj Kumar

    This is covered on MSDN:
    How to: Create a Localized Game
    And this sample:
    http://xbox.create.msdn.com/en-US/education/catalog/sample/localization
    "Globalization" is the process of making a piece of software 'language-neutral' so you can translate it into many languages. Primarily this is making sure all text is in a resource file rather than hard-coded in the source, all display/layout of
    text is robust with sufficient room, and all art/sound assets with language/locale-specific content are isolated and known.
    "Localization" is the process of actually translating the assets to a specific language.
    This is not specific to XNA Game Studio, and the solution there is general to all C# applications. The main challenge for XNA Game Studio is making sure have spritefonts captured for all the languages you support. This can be particularly challenging for
    very large character fonts which are too large to capture all into a single texture sheet.
    See Developing International Software (MS Press) for a general book.

  • Questions  regarding an embedet cuseeme stream into a webpage

    hello all,
    i am researching for quite a while for an cuseeme project. The only source i found is from 1997
    and runs on an older java version. Since white pine bough the intelectual property rights
    in 1998 and they forgot to release the source i put some effort in finding a solution to
    embed a stream into a webpage .
    I found a free java reflector writen by hamano tadshi it works pretty well on my osx
    machine with a dynamic ip and a dyndns account.
    This java code is the only code that i found and i like to know if there is some help
    to make this work.
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.image.*;
    import java.net.*;
    import java.io.*;
    import java.util.*;
    public class JavaCU extends Applet {
         protected DatagramSocket recvSocket = null;
         protected DatagramSocket sendSocket = null;
         private Send Sender = null;
         private Receive Empfaenger = null;
            private String servername = null;
            private int port;
            private int chanid;
         private boolean stopped = false;
         protected boolean running = false;
         protected Graphics g = null;
         protected boolean verbose = false;
         public void init() {
              // Added by Karl
              servername = getCodeBase().getHost();
              int debug;
              String value;
              // Parameter auswerten
              value = getParameter("port");
              if( value != null ) {
                   try {
                        port = Integer.parseInt(value);
                   catch ( NumberFormatException e ) {
                             System.err.println( "Portnummer nicht erkannt: " + e.getMessage() );
                             System.err.println( "Benutze Portnummer 7649." );
                             port = 7649;
              else {
                   port = 7649;
              value = getParameter("debug_mode");
              if( value != null ) {
                         try {
                                 debug = Integer.parseInt(value);
                         catch ( NumberFormatException e ) {
                                       debug = 0;
              else {
                   debug = 0;
              if ( (debug & 0x1) == 0x1 ) {
                        System.out.println( "Debug-Mode: passiv");
              else {
                   // Hostname der Videoquelle ermitteln
                        servername = getCodeBase().getHost();
              if( (debug & 0x2) == 0x2 ) {
                        System.out.println( "Debug-Mode: verbose");
                        verbose = true;
              value = getParameter("chanid");
              if( value != null ) {
                         try {
                                 chanid = Integer.parseInt(value);
                         catch ( NumberFormatException e ) {
                                 System.err.println( "Channel-ID nicht erkannt: " + e.getMessage() );
                                 System.err.println( "Benutze ID 0." );
                                       chanid = 0;
              else {
                   chanid = 0;
              // Panel initialisieren
              setBackground(Color.white);
              resize( 160, 190 );
              System.out.println( "JavaCU 1.3a by Thomas Wagner 8.96, https://wiki.fsi.fh-trier.de/Umstellung_Domain_Fachschaft_Informatik~wagner/javacu/" );
         public void start() {
              InetAddress Server;
              running = true;
              try {
                   // Sender starten
                         if( servername != null ) {
                        Server = InetAddress.getByName( servername );
                        sendSocket = new DatagramSocket();
                                 Sender = new Send( this, Server, port, chanid );
                        Sender.start();
                   // Empfaenger starten
                   recvSocket = new DatagramSocket( port );
                         Empfaenger = new Receive( this, chanid );
                   Empfaenger.start();
                    catch ( UnknownHostException e ) {
                            System.err.println("Server unbekannt: " + e.getMessage());
              catch ( SocketException e ) {
                   System.err.println( "Probleme mit UDP-Socket: " + e.getMessage());
         public void stop() {
              // Sender stoppen
              running = false;
                    if( Sender != null ) {
                   Sender = null;
                    if( servername != null ) {
                   sendSocket.close();
              // Empfaenger stoppen
                    if( Empfaenger != null ) {
                   Empfaenger = null;
              recvSocket.close();
         public void paint ( Graphics g ) {
              String text;
              this.g = g;
              if( Empfaenger.bild != null ) {
                   g.drawImage( Empfaenger.bild, 0, 0, this);
                        text = Empfaenger.name();
                        if( text != null ) {
                                g.drawString( text, 8, 140 );
              text = Empfaenger.status1();
                        if( text != null ) {
                                g.drawString( text, 8, 160 );
              text = Empfaenger.status2();
                        if( text != null ) {
                                g.drawString( text, 8, 180 );
         public String[][] getParameterInfo() {
              String info[][] = {
                             {"port", "int", "NV-UC-PORT"},
                             {"chanid", "int", "Conference ID"},
                             {"debug_mode", "bitmapped", "bit 0: receive only, bit 1: verbose"}
              return info;
         public String getAppletInfo() {
              return "JavaCU 1.3a by Thomas Wagner 8.96, https://wiki.fsi.fh-trier.de/Umstellung_Domain_Fachschaft_Informatik~wagner/javacu/";
    class Receive extends Thread {
         protected Image bild = null;
         private int pixel[] = new int[19200];
         private MemoryImageSource image_producer = null;
         private int image[] = new int[19200];
         private byte data[] = new byte[8192];
         private long rowdata; // vorl?�ufig hier
         private JavaCU javacu = null;
         private int chanid = 0;
         private DatagramPacket recvPacket = null;
         private String status1, status2, name;
         private int rh_sync = 0;
            protected Receive( JavaCU javacu, int chanid ) {
              // minimale Prioritaet um regelmaessigen Bildschirmaufbau zu ermoeglichen
              try {
                   setPriority(MIN_PRIORITY);
              catch ( IllegalArgumentException e ) {
                   System.err.println("Veraendern der Prozessprioritaet misslungen: " + e.getMessage());
              this.javacu = javacu;
              this.chanid = chanid;
         public void run() {
                 int data_pos, len, i;
              image_producer = new MemoryImageSource(160, 120, pixel, 0, 160);
              while( javacu.running ) {
                   len = recv_data();
                   data_pos = parse_header( len );
                   if( data_pos >= 0 ) {
                        decode( data_pos, len );
                        if( rh_sync == 1 ) {
                             for( i = 0; i < (19200); i++ ) {
                                  pixel[i] = 0xff << 24 | image*16 << 16 | image[i]*16 << 8 | image[i]*16;
                        bild = javacu.createImage(image_producer);
                             if( bild != null && javacu.g != null ) {
                                  javacu.g.drawImage( bild, 0, 0, javacu);
    public String name() {
    return name;
    public String status1() {
    return status1;
    public String status2() {
    return status2;
         private int recv_data() {
              try {
                   if( javacu.running == false ) {
                        System.err.println("Fehler! Lesen nach stop.");
                   } else {
                   recvPacket = new DatagramPacket( data, 8192 );
                        javacu.recvSocket.receive( recvPacket );
              catch ( IOException e ) {
                   if( javacu.running ) {
                        System.err.println( "Fehler beim Empfangen: " + e.getMessage());
                   return 0;
              return recvPacket.getLength();
         int avgpos = 0;
         long totseq=0, totpkts=0, totframes=0, tottime=0, totbytes=0;
         long laststamp=0, lastrecv=0;
         int startseq[] = new int[8];
         int maxseq[] = new int[8];
         long pkts[] = new long[8];
         long frames[] = new long[8];
         long time[] = new long[8];
         long bytes[] = new long[8];
         int sender_id = -1;
         private int parse_header( int len ) {
              int rh_vers, rh_chanid, rh_opts, rh_content, rh_seq;
              long sec, fraction, rh_ts;
              int rsh_id = -1;
              int roh_fin = 0, roh_type = 0, roh_optlen = 0;
              int rtsh_id = 0;
              int rtsh_addr[] = new int[4];
              int opts = 0, off = 8, i = 0;
              byte hilf[] = new byte[80];
              long lastflush = 0;
              Date d = null;
              boolean ignore = false;
              // Statistik Variablen
              long tdiff, tsdiff;
              int seqdiff, data_len, maxseq_help;
              // RTP-Paketkopf auslesen
              rh_vers = uint8(data[0]) >>> 6;
              rh_chanid = uint8(data[0]) & 0x3f;
              if( rh_chanid != chanid ) {
                   //ignore = true;
              rh_opts = uint8(data[1]) >>> 7;
              rh_sync = (uint8(data[1]) >>> 6) & 0x1;
              rh_content = uint8(data[1]) & 0x3f;
              rh_seq = uint8(data[2]) << 8 | uint8(data[3]);
              sec = (uint8(data[4]) & 0xff) << 8 | (uint8(data[5]) & 0xff);
              fraction = (uint8(data[6]) & 0xff) << 8 | (uint8(data[7]) & 0xff);
              rh_ts = (sec & 0xffff) << 16 | (fraction & 0xffff);
              opts = rh_opts;
              // Erweiterungen des RTP-Paketkopfes auslesen
              while( opts == 1 ) {
                   roh_fin = uint8(data[off]) >>> 7;
                   roh_type = uint8(data[off]) & 0x7f;
                   roh_optlen = uint8(data[off+1]);
                   if( roh_type == 1 ) {
                        rsh_id = uint8(data[off+2]) << 8 | uint8(data[off+3]);
                        // Nur ersten Sender auswerten
                        if( sender_id == -1 ) {
                             sender_id = rsh_id;
                        if( rsh_id != sender_id ) {
                             ignore = true;
                   if( roh_type == 33 ) {
                        rtsh_id = uint8(data[off+2]) << 8 | uint8(data[off+3]);
                        // Nur ersten Sender auswerten
                        if( sender_id == -1 ) {
                             sender_id = rtsh_id;
                        if( rtsh_id != sender_id ) {
                             ignore = true;
                        i = 0;
                        while (data[i+off+8] != '\0') {
                             hilf[i] = data[i+off+8];
                             i++;
                        hilf[i] = '\0';
                        if( !ignore ) {
                             name = new String(hilf, 0, i);
                   opts = 1 - roh_fin;
                   off = off + 4*roh_optlen;
              // Ausgabe des Paketkopfes auf die Java-Console
              if( javacu.verbose ) {
                   if( ignore ) {
                        System.out.println("Falsches Paket! Paketlaenge: "+ len );
                   else {
                        System.out.println("Paketlaenge: "+ len );
                   System.out.println("vers: "+rh_vers+", chan: "+rh_chanid+", opts: "+rh_opts+", sync: "+rh_sync+", cont: "+rh_content+", seq: "+rh_seq);
                   System.out.print("time: "+rh_ts);
                   if( rh_opts == 1 ) {
                        System.out.print(", fin: "+roh_fin+", type: "+roh_type+", optlen: "+roh_optlen);
                        if (roh_type == 1) {
                             System.out.print(", id: "+rsh_id);
                        if (roh_type == 33) {
                             System.out.print(", id: " + rtsh_id + ", name: " + name);
                   System.out.println("");
              // Statistik Berechnung
              tsdiff = rh_ts - laststamp;
              if( tsdiff < 0) {
                   System.err.println("Altes Paket!");
                   ignore = true;
              if( !ignore ) {
                   d = new Date();
                   tdiff = d.getTime() - lastrecv;
                   lastrecv = d.getTime();
                   data_len = len - off;
                   seqdiff = rh_seq - startseq[avgpos];
                   if( (seqdiff > 50) || (seqdiff < -50)) {
                        startseq[avgpos] = rh_seq;
                        maxseq[avgpos] = rh_seq-1;
                        pkts[avgpos] = 0;
                        seqdiff = 0;
                   if (seqdiff >= 0) pkts[avgpos]++;
                   if ((rh_seq - maxseq[avgpos]) > 0) maxseq[avgpos] = rh_seq;
                   frames[avgpos] += rh_sync;
                   time[avgpos] += tdiff;
                   bytes[avgpos] += data_len;
                   /* Berechnung der Durchschnittswerte der letzten 8 Sekunden */
                   if (time[avgpos] >= 1000) {
                        maxseq_help = maxseq[avgpos];
                        /* aktuelle Werte zu den letzten 7 addieren */
                        totseq += maxseq_help-startseq[avgpos]+1;
                        totpkts += pkts[avgpos];
                        totframes += frames[avgpos];
                        tottime += time[avgpos];
                        totbytes += bytes[avgpos];
                        avgpos = (avgpos+1) % 8;
                        /* Durchschnittswerte berechnen */
                        if ((time[avgpos] != 0) && (totseq != 0)) {
                             status1 = ("frames/s: " + (( (int)(10000.*totframes/tottime) )/10.));
                             status2 = ("kb/s: " + (( (int)(80.*totbytes/tottime) )/10.) + ", lost: " + (100-100*totpkts/totseq) + "%");
                             /* 8-aelteste Werte subtrahieren */
                             totseq -= (maxseq[avgpos]-startseq[avgpos]+1);
                             totpkts -= pkts[avgpos];
                             totframes -= frames[avgpos];
                             tottime -= time[avgpos];
                             totbytes -= bytes[avgpos];
                        /* Variabeln fuer aktuelle Werte initialisieren */
                        startseq[avgpos] = maxseq_help+1;
                        maxseq[avgpos] = maxseq_help;
                        pkts[avgpos] = 0;
                        frames[avgpos] = 0;
                        time[avgpos] = 0;
                        bytes[avgpos] = 0;
              if( ignore ) {
                   return -1;
              else {
                   return 8+4*roh_optlen;
         private int uint8( byte arg ) {
              int i;
              // unsigned char in int umwandeln
              if( arg < 0 ) {
                   i = arg + 256;
                   return i;
              return (int)arg;
         private void decode( int data_pos, int len ) {
              int type;
              if( len - data_pos < 2 ) return;
              type = uint8(data[data_pos++]) << 8 | uint8(data[data_pos++]);
              if( type != 1 ) {
                   //System.err.println("decode(): Unknown type: " + type);
              else {
                   // Fuer jedes Quadrat in data decode_square aufrufen
                   while( (data_pos < len) && (data_pos != 0) ) {
                        data_pos = decode_square( data_pos, len );
         private int decode_square( int data_pos, int len ) {
              int square, x, y, image_pos, code_pos, row;
              square = uint8(data[data_pos++]) << 8 | uint8(data[data_pos++]);
              if( square > 300 ) return 0;
              x = square % 20;
              y = square / 20;
              image_pos = y*8*160+x*8;
              code_pos = data_pos;
              data_pos += 4;
              rowdata = 0x88888888;
              // Fuer jede Zeile des Quadrats decode_row aufrufen
              for( row = 0; row < 8; row += 2 ) {
                   data_pos = decode_row(image_pos, data_pos, (uint8(data[code_pos]) >> 4) );
                   data_pos = decode_row(image_pos+160, data_pos, (uint8(data[code_pos++]) & 0xf) );
                   image_pos += 320;
              return data_pos;
         private int decode_row( int image_pos, int data_pos, int code ) {
              int intraRowBytes[] =
              { -1,
              -1, 0, 1,
              -1, 0, 1,
              -1, 0, 1,
              -1, 0, 1,
              -1, 0, 1 };
              long interRowDiff[] =
              { 0x00000000,
              0xDDDDDDDE, 0xEEEEEEEF, 0x00000000,
              0xEEEEEEEF, 0x00000000, 0x11111111,
              0x00000000, 0x11111111, 0x22222222,
              0x11111111, 0x22222222, 0x33333333,
              0x22222222, 0x33333333, 0x44444444 };
              int wordDiff[] =
              { 0x0000, 0x0001, 0x0002, 0x0003, 0x0010, 0x0011, 0x0012, 0x0013,
              0x0020, 0x0021, 0x0022, 0x0023, 0x0030, 0x0031, 0x0032, 0x0033,
              0x0100, 0x0101, 0x0102, 0x0103, 0x0110, 0x0111, 0x0112, 0x0113,
              0x0120, 0x0121, 0x0122, 0x0123, 0x0130, 0x0131, 0x0132, 0x0133,
              0x0200, 0x0201, 0x0202, 0x0203, 0x0210, 0x0211, 0x0212, 0x0213,
              0x0220, 0x0221, 0x0222, 0x0223, 0x0230, 0x0231, 0x0232, 0x0233,
              0x0300, 0x0301, 0x0302, 0x0303, 0x0310, 0x0311, 0x0312, 0x0313,
              0x0320, 0x0321, 0x0322, 0x0323, 0x0330, 0x0331, 0x0332, 0x0333,
              0x1000, 0x1001, 0x1002, 0x1003, 0x1010, 0x1011, 0x1012, 0x1013,
              0x1020, 0x1021, 0x1022, 0x1023, 0x1030, 0x1031, 0x1032, 0x1033,
              0x1100, 0x1101, 0x1102, 0x1103, 0x1110, 0x1111, 0x1112, 0x1113,
              0x1120, 0x1121, 0x1122, 0x1123, 0x1130, 0x1131, 0x1132, 0x1133,
              0x1200, 0x1201, 0x1202, 0x1203, 0x1210, 0x1211, 0x1212, 0x1213,
              0x1220, 0x1221, 0x1222, 0x1223, 0x1230, 0x1231, 0x1232, 0x1233,
              0x1300, 0x1301, 0x1302, 0x1303, 0x1310, 0x1311, 0x1312, 0x1313,
              0x1320, 0x1321, 0x1322, 0x1323, 0x1330, 0x1331, 0x1332, 0x1333,
              0x2000, 0x2001, 0x2002, 0x2003, 0x2010, 0x2011, 0x2012, 0x2013,
              0x2020, 0x2021, 0x2022, 0x2023, 0x2030, 0x2031, 0x2032, 0x2033,
              0x2100, 0x2101, 0x2102, 0x2103, 0x2110, 0x2111, 0x2112, 0x2113,
              0x2120, 0x2121, 0x2122, 0x2123, 0x2130, 0x2131, 0x2132, 0x2133,
              0x2200, 0x2201, 0x2202, 0x2203, 0x2210, 0x2211, 0x2212, 0x2213,
              0x2220, 0x2221, 0x2222, 0x2223, 0x2230, 0x2231, 0x2232, 0x2233,
              0x2300, 0x2301, 0x2302, 0x2303, 0x2310, 0x2311, 0x2312, 0x2313,
              0x2320, 0x2321, 0x2322, 0x2323, 0x2330, 0x2331, 0x2332, 0x2333,
              0x3000, 0x3001, 0x3002, 0x3003, 0x3010, 0x3011, 0x3012, 0x3013,
              0x3020, 0x3021, 0x3022, 0x3023, 0x3030, 0x3031, 0x3032, 0x3033,
              0x3100, 0x3101, 0x3102, 0x3103, 0x3110, 0x3111, 0x3112, 0x3113,
              0x3120, 0x3121, 0x3122, 0x3123, 0x3130, 0x3131, 0x3132, 0x3133,
              0x3200, 0x3201, 0x3202, 0x3203, 0x3210, 0x3211, 0x3212, 0x3213,
              0x3220, 0x3221, 0x3222, 0x3223, 0x3230, 0x3231, 0x3232, 0x3233,
              0x3300, 0x3301, 0x3302, 0x3303, 0x3310, 0x3311, 0x3312, 0x3313,
              0x3320, 0x3321, 0x3322, 0x3323, 0x3330, 0x3331, 0x3332, 0x3333 };
              long longDiff[] =
              { 0x00000000, 0x00000001, 0x00000010, 0x00000011,
              0x00000100, 0x00000101, 0x00000110, 0x00000111,
              0x00001000, 0x00001001, 0x00001010, 0x00001011,
              0x00001100, 0x00001101, 0x00001110, 0x00001111,
              0x00010000, 0x00010001, 0x00010010, 0x00010011,
              0x00010100, 0x00010101, 0x00010110, 0x00010111,
              0x00011000, 0x00011001, 0x00011010, 0x00011011,
              0x00011100, 0x00011101, 0x00011110, 0x00011111,
              0x00100000, 0x00100001, 0x00100010, 0x00100011,
              0x00100100, 0x00100101, 0x00100110, 0x00100111,
              0x00101000, 0x00101001, 0x00101010, 0x00101011,
              0x00101100, 0x00101101, 0x00101110, 0x00101111,
              0x00110000, 0x00110001, 0x00110010, 0x00110011,
              0x00110100, 0x00110101, 0x00110110, 0x00110111,
              0x00111000, 0x00111001, 0x00111010, 0x00111011,
              0x00111100, 0x00111101, 0x00111110, 0x00111111,
              0x01000000, 0x01000001, 0x01000010, 0x01000011,
              0x01000100, 0x01000101, 0x01000110, 0x01000111,
              0x01001000, 0x01001001, 0x01001010, 0x01001011,
              0x01001100, 0x01001101, 0x01001110, 0x01001111,
              0x01010000, 0x01010001, 0x01010010, 0x01010011,
              0x01010100, 0x01010101, 0x01010110, 0x01010111,
              0x01011000, 0x01011001, 0x01011010, 0x01011011,
              0x01011100, 0x01011101, 0x01011110, 0x01011111,
              0x01100000, 0x01100001, 0x01100010, 0x01100011,
              0x01100100, 0x01100101, 0x01100110, 0x01100111,
              0x01101000, 0x01101001, 0x01101010, 0x01101011,
              0x01101100, 0x01101101, 0x01101110, 0x01101111,
              0x01110000, 0x01110001, 0x01110010, 0x01110011,
              0x01110100, 0x01110101, 0x01110110, 0x01110111,
              0x01111000, 0x01111001, 0x01111010, 0x01111011,
              0x01111100, 0x01111101, 0x01111110, 0x01111111,
              0x10000000, 0x10000001, 0x10000010, 0x10000011,
              0x10000100, 0x10000101, 0x10000110, 0x10000111,
              0x10001000, 0x10001001, 0x10001010, 0x10001011,
              0x10001100, 0x10001101, 0x10001110, 0x10001111,
              0x10010000, 0x10010001, 0x10010010, 0x10010011,
              0x10010100, 0x10010101, 0x10010110, 0x10010111,
              0x10011000, 0x10011001, 0x10011010, 0x10011011,
              0x10011100, 0x10011101, 0x10011110, 0x10011111,
              0x10100000, 0x10100001, 0x10100010, 0x10100011,
              0x10100100, 0x10100101, 0x10100110, 0x10100111,
              0x10101000, 0x10101001, 0x10101010, 0x10101011,
              0x10101100, 0x10101101, 0x10101110, 0x10101111,
              0x10110000, 0x10110001, 0x10110010, 0x10110011,
              0x10110100, 0x10110101, 0x10110110, 0x10110111,
              0x10111000, 0x10111001, 0x10111010, 0x10111011,
              0x10111100, 0x10111101, 0x10111110, 0x10111111,
              0x11000000, 0x11000001, 0x11000010, 0x11000011,
              0x11000100, 0x11000101, 0x11000110, 0x11000111,
              0x11001000, 0x11001001, 0x11001010, 0x11001011,
              0x11001100, 0x11001101, 0x11001110, 0x11001111,
              0x11010000, 0x11010001, 0x11010010, 0x11010011,
              0x11010100, 0x11010101, 0x11010110, 0x11010111,
              0x11011000, 0x11011001, 0x11011010, 0x11011011,
              0x11011100, 0x11011101, 0x11011110, 0x11011111,
              0x11100000, 0x11100001, 0x11100010, 0x11100011,
              0x11100100, 0x11100101, 0x11100110, 0x11100111,
              0x11101000, 0x11101001, 0x11101010, 0x11101011,
              0x11101100, 0x11101101, 0x11101110, 0x11101111,
              0x11110000, 0x11110001, 0x11110010, 0x11110011,
              0x11110100, 0x11110101, 0x11110110, 0x11110111,
              0x11111000, 0x11111001, 0x11111010, 0x11111011,
              0x11111100, 0x11111101, 0x11111110, 0x11111111 };
              int intra;
              long pix;
              // Daten einer Zeile eines Quadrats in Grauwerte umrechnen
              if (code == 0) {
                   pix = uint8(data[data_pos++]);
                   rowdata = pix << 24;
                   image[image_pos++] = 0xf - (int)(pix >> 4);
                   image[image_pos++] = 0xf - (int)(pix & 0xf);
                   pix = uint8(data[data_pos++]);
                   rowdata += pix << 16;
                   image[image_pos++] = 0xf - (int)(pix >> 4);
                   image[image_pos++] = 0xf - (int)(pix & 0xf);
                   pix = uint8(data[data_pos++]);
                   rowdata += pix << 8;
                   image[image_pos++] = 0xf - (int)(pix >> 4);
                   image[image_pos++] = 0xf - (int)(pix & 0xf);
                   pix = uint8(data[data_pos++]);
                   rowdata += pix;
                   image[image_pos++] = 0xf - (int)(pix >> 4);
                   image[image_pos++] = 0xf - (int)(pix & 0xf);
              else {
                   rowdata -= interRowDiff;
                   intra = intraRowBytes;
                   if( intra > 0 ) {
                        rowdata += (wordDiff[uint8(data[data_pos++])] << 16) | wordDiff[uint8(data[data_pos++])];
                   else if( intra == 0 ) {
                        rowdata += longDiff[uint8(data[data_pos++])];
                   image[image_pos++] = 0xf - (int)(rowdata >> 28);
                   image[image_pos++] = 0xf - (int)((rowdata >> 24) & 0xf);
                   image[image_pos++] = 0xf - (int)((rowdata >> 20) & 0xf);
                   image[image_pos++] = 0xf - (int)((rowdata >> 16) & 0xf);
                   image[image_pos++] = 0xf - (int)((rowdata >> 12) & 0xf);
                   image[image_pos++] = 0xf - (int)((rowdata >> 8) & 0xf);
                   image[image_pos++] = 0xf - (int)((rowdata >> 4) & 0xf);
                   image[image_pos++] = 0xf - (int)(rowdata & 0xf);
              return data_pos;
    class Send extends Thread {
    private JavaCU javacu;
         private InetAddress Server;
         private int port;
         private int chanid = 0;
         private byte data[] = new byte[8192];
         private boolean init = false;
    protected Send( JavaCU javacu, InetAddress Server, int port, int chanid ) {
              // Argumente speichern/auswerten
              this.javacu = javacu;
              this.Server = Server;
              this.port = port;
    if( chanid >= 0 && chanid < 64 ) {
    this.chanid = chanid;
    public void run() {
    int len, id;
              Random generator = new Random();     
    DatagramPacket sendPacket;
              id = generator.nextInt();
              if( id < 0 ) {
                   id = -id;
              while ( javacu.running ) {
                   len = fill_header( id );
                   sendPacket = new DatagramPacket( data, len, Server, port );
                   try {
                        javacu.sendSocket.send( sendPacket );
                   catch ( IOException e ) {
                        System.err.println("Fehler beim Senden: " + e.getMessage());
                   try {
                        sleep( 5000 );
                   catch ( InterruptedException e ) {
                        System.err.println("Ausnahme waerend sleep(): " + e.getMessage());
         private int fill_header( int id ) {
              InetAddress Local = null;
              int hilf[] = new int[32];
    int seq = 0, i = 0;
    long ts_long = 0, ts_long_ms = 0, ts_long_sec = 0, ts_long_hilf = 0;
    Date d = null;
              // konstanten Teil des RTP-Kopfes beim ersten Aufruf fuellen
              if( init == false ) {
                   init = true;
                   hilf[0] = (1 << 6) + chanid;     // rh_vers:2, rh_chanid:6
                   hilf[1] = (1 << 7) + 27;     // rh_opts:1, rh_sysnc:1, rh_content:6
                   hilf[8] = (1 << 7) + 33;     // rtsh_fin:1, rtsh_type:7
                   hilf[9] = 3;               // rtsh_optlen
                   hilf[10] = (id >> 8) & 0xff;     // rtsh_id
                   hilf[11] = id & 0xff;          // rtsh_id
                   try {
                        Local = InetAddress.getLocalHost();
                        hilf[12] = Local.getAddress()[0]; // rtsh_addr
                        hilf[13] = Local.getAddress()[1]; // rtsh_addr
                        hilf[14] = Local.getAddress()[2]; // rtsh_addr
                        hilf[15] = Local.getAddress()[3]; // rtsh_addr
                   catch ( UnknownHostException e ) {
                        System.err.println("Send.fill_header(): getLocalHost, " + e.getMessage());
                        hilf[12] = 0; // rtsh_addr
                        hilf[13] = 0; // rtsh_addr
                        hilf[14] = 0; // rtsh_addr
                        hilf[15] = 0; // rtsh_addr
                   hilf[16] = 'J'; // rtsh_name
                   hilf[17] = 'a';
                   hilf[18] = 'v';
                   hilf[19] = 'a';
                   hilf[20] = 'C';
                   hilf[21] = 'U';
                   hilf[22] = '\0';
                   // int in unsigned char umwandeln
                   for ( i = 0; i < 2; i++) {
                        if ( hilf[i] < 128 ) {
                             data[i] = (byte)hilf[i];
                        else if ( hilf[i] < 256 ) {
                             data[i] = (byte)(-256+hilf[i]);
                        else {
                             System.err.println("cast-Fehler1: " + i);
                   for ( i = 8; i <= 22; i++) {
                        if ( hilf[i] < 128 ) {
                             data[i] = (byte)hilf[i];
                        else if ( hilf[i] < 256 ) {
                             data[i] = (byte)(-256+hilf[i]);
                        else {
                             System.err.println("cast-Fehler2: " + i);
              // veraenderlichen Teil des RTP-Kopfes fuer jedes RTP-Paket neu erzeugen
              hilf[2] = seq >>> 8; // rh_seq
              hilf[3] = seq & 0xff;
              seq++;
              // RTP-Zeit berechnen
              d = new Date();
              ts_long_hilf = d.getTime();
              // Sekunden seit 1.1.1900, 0 Uhr ermitteln
              ts_long_sec = ts_long_hilf/1000 + (long)2208988800.;
              ts_long_ms = ts_long_hilf - (ts_long_hilf/1000)*1000;
              // jeweils 16 Bit fuer ganze Sekunden und Nachkommateil
              ts_long = ts_long_sec << 16 | ts_long_ms * 65536 / 1000;
              hilf[4] = (int)((ts_long >>> 24) & 0xff); // rh_ts
              hilf[5] = (int)((ts_long >>> 16) & 0xff);
              hilf[6] = (int)((ts_long >>> 8) & 0xff);
              hilf[7] = (int)(ts_long & 0xff);
              // int in unsigned char umwandeln
              for ( i = 2; i < 8; i++) {
                   if ( hilf[i] < 128 ) {
                        data[i] = (byte)hilf[i];
                   else if ( hilf[i] < 256 ) {
                        data[i] = (byte)(-256+hilf[i]);
                   else {
                        System.err.println("cast-Fehler3: " + i);
              return 23;
    sorry that the comments are in german , maybe its a good start to translate it to english first.
    But i will try it first.
    My questions is there any API that i can use ? or anything similar that i can modify ?
    any hints or help would be greatly appreciated.
    You can try connect to my reflector with any cuseeme client of your choice
    http://www.inforoots.org:8080/internet/cuseeme/
    or try the latest vchat version for osx
    http://homepage.mac.com/vchat/download.html
    REFLECTOR ADRESS IS
    let.dyndns.tvor view my informative website.
    http://www.let.de
    regards

    Annis,
    One of the other things to keep in mind is that the generation of an image does take some computing power so having the generation and the acquistion on the same machine is not always ideal. If you're using the machine that is publishing the front panel just to collect data it's not so much of an issue.
    If you really want to monitor in "Real-Time" using Remote Panels (requies LabVIEW 6.1) is your best option. This posting has more information on using Remote Panels and links to some live examples:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000C0660000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_TIER_0=0&USEARCHCONTEXT_TIER_S=0&USEARCHCONTEXT_QUESTION_0=web+control&USEARCHCONTEXT_QUESTION_S=0
    Remote panels makes it possible to control the application remotely as well.
    With .monitor the only way I've been able to manually refresh is to "Shift+Refresh" on the browser.
    Regards,
    Kamran

  • Unable to import .mp4/.ts into Premiere Elements 3.0

    I've captured footage from my PlayStation 3 using this device: http://gamerzone.avermedia.com/game_capture/live_gamer_portable
    The device saves the footage in a .ts file.
    I've tried to get information on the file using a program. If there's a better way to do it, please let me know:
    When I try to import the file into Premiere Elements 3.0, I get an error message: "File format not supported/One of the necessary components may not have been installed."
    I've converted the file into an mp4 format with this program: http://ftp2.avermedia.com/C875/C875_utility_v1.0.0.9_20131029.zip
    Information on the file:
    But this did not solve the problem.
    Ideally, I would like to avoid converting the video file, if that would take up a lot of time. If I can just upgrade Premiere Elements, that would be the most ideal solution.
    Please let me know if any additional information is needed.

    Akvod
    I am able to import a .ts file into Premiere Elements 10, 11, and 12 Windows 7 64 bit.
    But, not so, for Premiere Elements 4, 7, 8, and 9.
    And, the reason why your .mp4 conversion did not work would be in accord with the fact that you used AVCHD as the video compression, and AVCHD video compression was not supported by Premiere Elements until version 7.
    If you do decide to move to version 12, please note that there is a dramatic difference in workspace between 3 and 12. So, go the free tryout of 12 before any purchase.
    You could try to convert the .ts to H.264.mp4 and not AVCHD (MPEG4 AVC/H.264).mp4 and see if that works for you.
    ATR

  • How to Import XML file into SAP B1

    Dear All,
    I have a scenario like,
    I am receiving a XML file from a 3rd party application for the daily Creation,Update of Item Master,BP Master, Marketing Documents. I want to import this file into SAP B1 through its approp objects. I understand DTW has limitation in its file types (Semicolo,Tab,Comma,ODBC). How do i do this ? Please guide me.
    Thanks,
    Thanga Raj K

    Hy folks,
    I´m frim Brasil and I've been studying the tool EFM (Eletronic File Manager) to learn more about it!
    There I saw that we can extract to XML "any" infomation from the database we want, mainly through the GEP.
    However, as I've seen, this Add-On can not import any XML file into SBO, unless for the BFP wich can be imported in conjunction with the BTHF Add-on.
    So I ask: how is it possible to import XML data into SBO database? Is it possible to be done through the EFM? or  it´s really necessary to write a code specifically to do that?
    Besides, I know that de B1iSN fit to this necessity... but when I tried to use it, by the custom "object" for BP, for example, there are some data wich the mapping conteined in this custom "process" that can not be imported... I tried to understand how to map those other fields not imported by the custom but this has been dificult to me as I am a implementation consultant focused in administrative process not on development...
    Could you please help me with this subject!
    Thanks a lot,
    Denis

  • Importing .ISO files into SCVMM2012 R2 - Folder Naming Quirk

    We've run into a folder naming issue in regards to importing .ISO's into the VMM Library. When specifying a folder to import the .ISO into, VMM adds %20 to the folder names where spaces are. Not a huge deal but wonder if anyone has a way around this without
    using dashes or underscores. 
    Orange County District Attorney

    No, it's a bug, I have ran into this all over the UI and has caused me no end of pain. I have reported it but I have had no word if this will ever be fixed 
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. http:\\robbieroberts.wordpress.com

  • I have been trying to import VHS video into iMovie via a Hollywood Dazzle bridge.  Did not have trouble until I upgraded to mavericks.  I have a mac book pro, 10.9.1, iMovie 10.0.2.  Says it is recording, but when I go to check, it says the file is empty.

    I have been trying import VHS video into iMovie via a Hollywood Dazzle bridge.  I have been successful doing this in the past, but now it is not working.  I have a mac book pro, 10.9.1, (mavericks), iMovie 10.0.2.  Everything in iMovie looks like it is working.  It reads "recording" in the upper left hand corner of the pane while the video is playing.  When I stop the process to check on my clip it says that the file is empty.  The only thing that has changed since I did it successfully is that I upgraded to mavericks from whatever I had previously.  My system is about one year old.  Any suggestions?

    Hey, Clinton,
         Thanks for your help!  I was able to go to iMovie 9.0.9 and import video.  I was still curious as to why it didn't work in version 10.0.2, so I contacted Apple tech support.  They were't sure at first as to why it wouldn't work, so they had me delete iMovie 10.0.2 and then re-install it just to see if something had gone wrong when it upgraded.  That didn't change anything.  In the end, they determined that 10.0.2 doesn't support the Hollywood Dazzle DV bridge.  But I have a workaround path from them that I will share so that it's possible to import to 9.0.9, then move it to 10.0.2. 
         1.  Open iMovie 9 (finder/applications/iMovie 9.0.9
         2.  Import from Dazzle Bridge to iMovie 9, note which event you are importing the clips into
         3.  Close iMovie 9
         4.  Open iMovie 10 (probably in the dock)
         5.  File/Import Media...navigate to home(this was my name, on the left side of iMovie, under Favorites)/Movies/iMovie events.  Find the event folder that contains your Dazzle clips (tip-try sorting by date modified to look at recent events.) 
         6.  Select the clips and import.  Click the blue "Import Selected" button on the bottom right.
    You may get a message that some files cannot be imported.  Click continue import.  It's a little glitchy.  It imports your clip, and also makes a copy of it, too.  On the copy, the audio is normal, but the video is choppy.  In any case, you would delete the copy, anyway.
    Hope this additional information helps somebody else.  Thanks again, Clinton for helping me!

  • Import Russian text into FM 7.1, please advice

    Dear professionals
    From our Russian agent I received some MS-Word documents in the Russian language.
    I wanted to import the Cyrillic text / characters into Framemaker documents to make a structured book.
    But copying and pasting makes Frame only show question marks.
    Selecting an other font did not show anything else.
    What is the simpelest way of making Frame "eat" the Cyrillic MS-Word text and make a proper structured document.
    I read already things about "font mappings", but haven't the faintest "clou" about how to do such a thing.
    Al this on a Win-XP system and Frame version 7.1p116.
    Font Arial CYR and others available in the Paragraph Designer.
    Your advice will be appreciated.
    Regards,
    Wolter

    Wolter,
    You have to transform the text into the Cyrillic codepage. Codepage is a term describing a set of max. 256 characters (encodable with a single byte). With Western Windows we use the codepage 1252, for Cyrillic text codepage 1251 is necessary.
    Without rebooting etc. you may want to proceed like this:
    * Open the document with Word
    * File > Save as Text (there might be two options, we need the option which allows to set the encoding)
    * Select "Windows (Russian)" or something with "1251" from the encoding popup menu. If the document contains any characters that do not fit into this encoding, it will tell you.
    * Save as txt file.
    Now you can import this file into FrameMaker, if asked for an encoding, use Windows — FrameMaker 7.x does not know anything about Cyrillic etc., only when you apply a font like Arial CYR (which is a codepage subset of Arial) the correct glyphs will appear.
    HTH,
    - Michael

  • Is it possible to use my music files in both my girlfriend's and my separate Itunes libraries through our seperate user accounts?? I want to import my music into her library with out copying the files onto my hard drive a second time....

    Is it possible to use my music files in both my girlfriend's and my Itunes library's through our seperate user account?  I want to import my music into her library without copying to my hard drive a second time.....

    Would any of these help you?:
    http://www.apple.com/itunes/inside-itunes/2011/05/two-ways-to-share-media-librar ies-through-itunes.html
    http://www.apple.com/itunes/inside-itunes/2011/01/keeping-multiple-itunes-librar ies-on-a-single-computerif-you-share-your-computer-with-others-and-you.html

  • Importing web project into Workshop 9.2

    Hi,
    I'm trying to import an existing web project into Workshop 9.2.1 from my Subversion source. Unfortunately Workshop doesn't recognize this project as a valid web project.
    I imported the code project using 'File>Import>Existing Projects' into Workspace.
    Unfortunately, I get the following errors:
    - "The library module reference : beehive-netui-1.0 is not allowed from the classpath of a non-web project, only JAR,EJB, and EAR module types are allowed."
    - "The library module reference : jstl is not allowed from the classpath of a non-web project, only JAR,EJB, and EAR module types are allowed."
    How do I tell Workshop that this project is indeed a web project?
    Does anyone have any suggestions?
    Thanks,
    Derrek

    Wow.... I figured out a workaround (aka Ugly Hack). It seems that Workshop doesn't properly import Portlet projects. Here's how I got around it:
    1. Checkout the code from Subversion
    d:\MyProjects\Project\trunk\MyComponent\
    2. Move MyComponent to a temp directory
    d:\MyProjects\Project\trunk\MyComponent\ --> d:\tmp\MyComponent
    3. Open Workshop and create a new Portal project and PortalEAR project of the same name as the MyComponent projects
    File>New myComponentPortal
    4. Copy over the src and WebContent directories in the SVN directory with the files from tmp.
    d:\tmp\MyComponent\src -> d:\MyProjects\Project\trunk\MyComponent\src
    d:\tmp\MyComponent\src\WebContent -> d:\MyProjects\Project\trunk\MyComponent\WebContent
    5. Refresh Workshop and let the spooky voodoo happen. Viola! Now I've got a running portal project with a SVN connection.

  • Importing imovie project into Final Cut Pro

    Hello I need help getting my HD imovie project into final cut pro. I recored the project in 24p and it's already imported into imovie. What is the best way to get it into Final Cut Pro so that I can edit it further without sacrificing the quality.
    Another problem is that I have heard that imovie compresses the video and totally ruins the quality. Is this true? And is this reversible in any way? I have already recorded over all the clips for this project on my camcorder. How screwed am I?
    -Michael

    First thing to do is find your original clips that you captured in IMovie. I don't have much experience in IMovie, but see if you can select a clip and control click and choose reveal in finder. If that works, open one of these clips in quicktime player and hit command-i and let us know the format of the clip.
    Kind of doubt you'll be able to actually import your project into fcp, but you should be able to recreate it in fcp without too much difficulty.
    Let us know what camera you shot and captured from. That may be of some help.
    Hopefully someone with more experience in IMovie will speak up, but hopefully this will get us started.
    Message was edited by: Michael Grenadier

Maybe you are looking for

  • Reading a string of characters

    Hi all, How would one allow for a user to enter a random set of 80 characters and put each one of those characters in a cell in an array (one cell for one character)? Is there a special tokenizer or something I could use? Thanks, Mike

  • Middleware on CRM 7.0 for ERP and CRM sales integration

    Hi all, i am involved in a CRM upgrade project in order to repleace the client current release with CRM 7.0. currently, my client handles sales integration between ERP and CRM using middleware fucntion and in particular SCENARIO A that allows to crea

  • Why does my macbook pro only start up in safe mode?

    Last night i updated my macbook pro, and when it restarted it stopped at the logo with the spinning wheel, and it kept spinning for 20+ minutes. I shut it down by holding the button, and it will not start up again, every time the wheel just keeps spi

  • SQL Developer starts every time as if first time and ingores preferences

    Every time I launch SQL Developer, it offers me to configure file type associations. Also, many preferences, such as tab settings for editor, while preserved between sessions, have no effect. Other settings, such as the interface style, work normally

  • Mailer-daemon

    Hello,  I have been receiving dozens of "mailer-daemon" failures emailed to me saying that my email did not reach the recipient.  I have sent none of these emails.  I am also being notified by people on my email list that they are receiving ( some pe