Streaming into TV

I currently watch the CBS News on my MacBook Pro.  I have a Smart TV that connects to my newwork but it cannot stream the news when I go to the CBS website.  Is there a way that I can stream the news from my MacBookPro into the TV via my WiFi (Airport)?

Well backups I did make. The last of which was being done Feb. 1st this year. It's just that all my music data between then and the day my HDD crashed (few days ago) is gone (except the ones I purchased via the music store). But I think music I ripped off my personal CD collection is not to be streamed back via ATV nor my iPod (not in disc mode). But maybe you have any ideas on how to bring music back into my library with the tools I have available (iPod & ATV). Thanks!

Similar Messages

  • Import from photo stream into Lightroom 5.7 - how can I import only new photos since first import of all photos in stream (mac)

    Hi
    Importing my photos from photo stream (mac) went well, got 2012 photos out of my photo stream into LR 5.7 with the help of the new plug-in.
    Now I have 3 new photo's in the stream and I want to add them to the library of LR.
    When starting up the plug-in it tells me it will import 2015 photos, instead of just 3.
    I hesitate to continue the process and to try my luck as I'm afraid I will end up with more than all 2012 photos doubled.
    Any experience out there yet?
    Thanks!
    Kind regards
    Jan

    Found it.
    At first I was scared off because LR showed the same amount of photos to be imported the second time as it did before the first import.
    Fortunately, the second import did nothing but import the new photos.
    Thanks.

  • HT4906 how to import photos from photo stream into an event?

    How to import photos from photo stream into an event?

    How to import photos from photo stream into an event?
    In iPhoto 9.4.3 the following works:
    If you have not auto imported the photos from the Photo Stream, as Larry suugests, select the photos that you want to import in the Photo Stream, and drag them to the "Events" view in the Source List. They will be imported as new events, auto split with respect to your preferences.
    Regards
    Léonie

  • Storing that Video stream into our local disk in java

    Hi frendz,
    I want to know how to, Connect to a remote online webcam and store that Video stream into our local disk.
    Any java interface tools are there, or can we use java api to do so.
    Anybody Please share your valuable suggestions.
    thanx,
    [email protected]

    Hi frendz,
    I want to know how to, Connect to a remote online
    webcam and store that Video stream into our local
    disk. The jennicam is no longer online.

  • I would like to share my photo's titles and descriptions in the photo streams into which I place these carefully labeled photos. I do this so clients can see the names of the things they're swiping through. Is this even possible?

    I would like to share my photo's titles and descriptions in the photo streams into which I place these carefully labeled photos. I do this so clients can see the names of the things they're swiping through. Is this even possible?

    No.  Send a feature request to Apple via http://www.apple.com/feedback/iphoto.html.
    OT

  • How to merge multiple live audio streams into a single stream in FMS?

    I need to merge multiple live audio streams into a single stream so that i can pass this stream as input to VOIP through a softphone.
    For this i tried the following approach:
    Created a new stream (str1) on FMS onAppStart and recorded the live streams (sent throgh microphone) in that new stream.
    Below is the code :
    application.onAppStart = function()
    application.myStream=Stream.get("foo");           
    application.myStream.record();
    application.onPublish = function (client,stream)
          var streamName = stream.name;
          application.myStream.play(streamName,-2,-1};
    The problem is that the Stream.play plays only 1 live stream at a time.As soon as a the 2nd live stream is sent to FMS then Stream.play stops playing the previous live stream.So,only the latest live stream is getting recorded.Whereas i need to record all the live streams in the new stream simultaneously.
    Any pointers regarding this are welcome.
    Thanks

    well i tried this once for one of my scripts and the final conclusion is its not possible to combine two streams into 1.....how would you time/encode the two voices......there is no know solution to this in flash. If you continue on despite me and find a solution please post it so we can explain to rest of world.

  • Insert video stream into call

    Hello,
    Does anyone know if it is possible to insert a video stream from an IP camera into a call? The calling device is an intercom with a camera nearby and the call wil lbe going to an 8941 video phone. The camera is H.264 compatible. 

    Hi frendz,
    I want to know how to, Connect to a remote online
    webcam and store that Video stream into our local
    disk. The jennicam is no longer online.

  • How do you open an image on the iPad, via Photo Stream, into PS Touch?

    To anyone using an Apple iPad w/ PS Touch.  How do you open an image on the iPad, via Photo Stream, into PS Touch?

    You need to start from PS Touch for this.
    There's two ways either direct in the gallery with the +image icon.
    Or you create a document and use the +image icon in the document view.
    thanks,
    Ignacio

  • In order to stream into a local radio station, I would need to install Silverlight. Is this compatible with MacBook Air?

    Is Silverlight compatible with MacBook Air and is it OK to install?  I am trying to stream into radio station and cannot, I'm told, w/o installing Silverlight. Please advise. Thank you.

    Hey!
    Silverlight requirements:
    Mac OS X 10.5.7 (Intel-based CPU) or newer and works with browser Firefox 12+ or Safari 4+
    Macintosh (Intel-based)
    Intel Core Duo 1.83-gigahertz (GHz) or higher processor with 512-MB of RAM
    You want to stream into a radio station?
    Like broadcasting signals from you mac to a radio station?
    Or do you want to lisen to radio on you MacBook Air?
    If you want to stream online radio stations on your Macbook Air, it is sevral options.
    1) You can download a app from App Store
    2) Stream online radio from your web browser ( cud be that some websites tell you that you need Silverlight plugin)
    3) You can add an radio station to an iTunes playlist (needs a few steps before you have it in playlist)
    Message was edited by: Kristoffer2

  • 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

  • How can I stop iPhoto from grouping each month's Photo Stream into one huge event?

    My iPhoto preferences are set to split events up based on 2-hour time periods. But photos that enter my iPhoto library via Photo Stream (basically all photos from my iPhone) get grouped into one big monthly event (i.e. titled something like "Jun 2012 Photo Stream"), which I then have to manually break up into smaller, more meaningful events.
    Does anyone know of a way to make this behaviour stop? I'd prefer that iPhoto follow the preferences I have set, which is to break up events based on 2-hour time spans.

    The problem is that every import is at least one new Event, and so it's quite possible that you could have 1,000 new Events every month thanks to Phootstream.
    However, it's not such a huge deal to just select the Event at the end of the month and auto-split it (in the Events menu)
    Regards
    TD

  • HT201302 How do I import my iCloud Photo Stream into Finder so I can edit images in Photoshop?

    I'm new to iCloud and my Photo Stream.  On my iPhone 6 I have 60-odd pictures from a vacation that I'd like to put on Facebook _AFTER_ editing them in Photoshop CS4.  Is there a easy way to copy the photo stream pictures to Finder so I can get started?  I don't see this option on my iPhone, and I definitely don't want to import them into iPhoto which is so limited in editing capabilities.
    Thanks in advance for any/all help.
    Mike

    Who shall be able to see your photos? If you use "My Photo Stream", only persons using your AppleID and iCloud account will be seeing the Photos. That is very restrictive. And the PhotoStream does not store your photos for a long time. It only pushes the photos to your other devices.
    You can use Shared Photo Streams. That are stored in the cloud and you can invite other iCloud users to view these streams. But they will need MacOS X Mt. Lion to see the stream.  iCloud: Using and troubleshooting Shared Photo Streams
    But if you publish a journal as a webpage to your iCloud homepage, the webpage will be stored in the cloud and you can invite persons to view the webpage. They do not need to sign up for a shared photo stream.
    To view your published web journal in a web browser you need to share a link, also to yourself on your windows laptop:
    To share a link to your published journal, tap Share Journal and do any of the following:
    Send a link in a message: Tap Message, add a recipient, and tap Send.
    Tweet a link: Tap Twitter and enter a tweet. Tap Send.
    Post a link to Facebook: Tap Facebook and tap Post.
    Send an email with a link: Tap Mail, add a recipient, and tap Send.
    Copy a link: Tap Copy and paste the link into another app.
    Sharing your journal and publishing to Photo Stream may take a long time. Your iPad will not upload to the Cloud, if the battery is low (less then 20%).

  • Parsing input stream into named value pairs

    Hi everyone. I figured I would post this scenario, and hope to get some 'expert' opinions on what the best way to handle this would be.
    I have an input stream being returned to me and I need to separate them into name/value pairs. I receive this as two lines of strings. The first line is the variable names, and the second line is the values. This is the format:
    "Variable1","Variable2","Variable3","Variable4"
    "Value1","Value2","Value3","Value4"
    I need to separate this out into:
    Variable1 = "Value1"
    Variable2 = "Value2"
    What I was thinking of doing is to create a hashtable, read the first line in and assign those as the keys, then read the second line in and assign those as the values. I'm not quite sure if this is even possible as of yet, but thats my original game plan. My primary goals are:
    1. Seperate each variable name and match it with its appropriate value
    2. Be able to retrieve each value by calling the appropriate variable name.
    Any advice/opinion on this is greatly appreciated!!! Thanks!

    You could choose to feed the String through an InputStream and use a StreamTokenizer, which is substantially more powerful than StringTokenizer. I would personally, however, choose to parse it myself, as antequated as that might seem. ;)
    Presume that s1 is equal to
    "Var1", "Var2", "MoreVars", "EvenMoreVars" , "LastVar"
    And that s2 is equal to
    "Hello","9900", ":)", "He said \"hi\".", "Hi, there."
    These would make good sample data, but aren't necessarily the case.
    String s1 = ...;
    String s2 = ...;
    HashMap map = null;
    String[] keys = parseQuotedByCommas(s1);
    String[] values = parseQuotedByCommas(s2);
    if (keys.length==values.length)
        map = new HashMap();
        for (int i=0;i<keys.length;i++)
            map.put(keys, values[i]);
    } else
    // Error!
    // throws IllegalArgumentException for improperly formatted strings
    public static String[] parseQuotedByCommas(String s)
         ArrayList acc = new ArrayList();
         char[] ch = s.toCharArray();
         int i = 0;
         try
              while (i < ch.length)
                   while (ch[i] == ' ') i++;
                   if (i < ch.length)
                        if (ch[i] != '"')
                             throw new IllegalArgumentException(
                             "Expected '\"', receieved '" + ch[i] + "'");
                        i++;
                        StringBuffer sb = new StringBuffer();
                        boolean stop = false;
                        while (!stop)
                             switch (ch[i])
                                  case '"':
                                       if (ch[i - 1] == '\\')
                                            sb.append('"');
                                       else
                                            stop = true;
                                       break;
                                  case '\\':
                                       int j = i;
                                       boolean write = true;
                                       while ((j >= 0) && (ch[j] == '\\'))
                                            write = !write;
                                            j--;
                                       if (write) sb.append('\\');
                                       break;
                                  default:
                                       sb.append(ch[i]);
                             i++;
                        acc.add(sb.toString());
                   if (i < ch.length)
                        while (ch[i] == ' ') i++;
                        if (i < ch.length)
                             if ((ch[i] != ',') && (ch[i] != '"'))
                                  throw new IllegalArgumentException(
                                  "Expected ',' or '\"', received '" + ch[i] + "'");
                             i++;
         } catch (IndexOutOfBoundsException oob)
              throw new IllegalArgumentException("Unexpected end of string.");
         return (String[]) (acc.toArray(new String[0]));
    That should work for anything formatted as
    <String> ::= [<WhiteSpace>] <Stmt> [ [<WhiteSpace>] , [<WhiteSpace>] <Stmt> ] *
    <Stmt> ::= " <Characters> "
    <Characters> ::= \" | \\ | <AnyCharacterExceptQuoteOrBackslash>
    <WhiteSpace> ::= <Space>*
    Any questions?
    Oh, BTW, that was all blue 'cause the code tag doesn't take well to '"'.

  • Importing 2 icloud photo streams into iPhoto

    Just as the title states..
    My wife and I just started our own seperate iCloud accounts and now it seems like we can't combine them in iPhoto.  Before we used one account and pictures were seamlessly across all devices, and now since iOS 8 and continuity out personal iPhones are more connected than we want.  So is there a way to get her photo's and my photo's into photo stream without creating a special album were we have to share them to it and the photo's automatically show up in the iCloud section?
    Thanks for any help!

    thank you.  so in order to optimize my HDD usage, I ought to import the photo into iPhoto and then delete the original folder?
    Yes, you can delete the files you imported. But don't be in a hurry. I'd back them up somewhere, until you are sure that everything imported well.
    last - is there any meta-tagging option in iPhoto?
    You can
    batch change titles, date, and description,
    add keywords
    tag faces
    and tag places on a map.

  • How to Import a MPEG-3-ts (Transport Stream) into Final Cut Pro ?

    Hello All;
    I just bought Final Cut Studio and I am trying to figure out how to import some video footage that I captured using ArcSoft's totalMedia software via a HD HomeRun High Definition TV decoder. I have verified that the video is being saved in MPEG-2 Transport Stream format but I've tried everything but still can't import it into Final Cut Pro. I've purchased the MPEG 2 Quicktime component but then realized that it doesn't work with Transport Streams. Then I downloaded MPEG StreamClip for Mac which does play the clips on a Mac but I need to obtain the codec so I can import them into Final Cut Pro. Any ideas would be hugely appreciated. Thanks. Tim

    I do:
    "You need to use MPEG Streamclip to convert the files to an editable format, such as those found in Final Cut Pro's Easy Setup menu.
    For HD, your best choice is ProRes, DVCPro HD or Apple Intermediate Codec."
    And so does Nick.

Maybe you are looking for