Professional Web Applications Themes

streaming video at 640x480 - Macromedia Flash Flashcom

Hello I am using flash 8.0 and I want to improve video quality at receiving side. Sending side action script code is : sending.fla:-- var nc:NetConnection = new NetConnection(); nc.connect("rtmp:/server path/application1"); //we are using influxis server mycam = Camera.get(); mycam.setQuality(0, 80); mycam.setMode(320, 240, 30); send_video.smoothing = true; //send_video is video object send_video.attachVideo(mycam); var out_netstream:NetStream = new NetStream(nc); out_netstream.attachVideo(mycam); out_netstream.publish("livevideofile", "record"); and recieving side code is : recieving.fla:-- var nc:NetConnection = new NetConnection(); nc.connect("rtmp:/server path/application1"); var in_netstream = new NetStream(nc); rcv_video._width=640; // rce_video is video object rcv_video._height=480; rcv_video.smoothing = true; in_netstream.play("livevideofile"); rcv_video.attachVideo(in_netstream); receiving video seems to be pixellised. So any body ...

  1. #1

    Default streaming video at 640x480

    Hello
    I am using flash 8.0 and I want to improve video quality at receiving side.


    Sending side action script code is :

    sending.fla:--
    var nc:NetConnection = new NetConnection();
    nc.connect("rtmp:/server path/application1"); //we are using influxis server
    mycam = Camera.get();
    mycam.setQuality(0, 80);
    mycam.setMode(320, 240, 30);
    send_video.smoothing = true; //send_video is video object
    send_video.attachVideo(mycam);
    var out_netstream:NetStream = new NetStream(nc);
    out_netstream.attachVideo(mycam);
    out_netstream.publish("livevideofile", "record");

    and recieving side code is :


    recieving.fla:--


    var nc:NetConnection = new NetConnection();
    nc.connect("rtmp:/server path/application1");
    var in_netstream = new NetStream(nc);
    rcv_video._width=640; // rce_video is video object
    rcv_video._height=480;
    rcv_video.smoothing = true;
    in_netstream.play("livevideofile");
    rcv_video.attachVideo(in_netstream);

    receiving video seems to be pixellised.
    So any body has experience of streaming video at 640x480?
    It?s urgent.

    Thanks in advance



    sapna30 Guest

  2. #2

    Default Re: streaming video at 640x480

    The problem is that you're capturing video at 320x240, and showing it at
    640x480.

    This line:

    mycam.setMode(320, 240, 30);

    Is telling the Flashplayer to capture the camera image at 30x240, 30 frames
    per second.

    If you change it to:

    mycam.setMode(640, 480, 30);

    Your image should clear up some. Of course, this assumes your camera supports
    640x480 (most do).

    JayCharles Guest

Similar Threads

  1. Streaming video
    By Jordan Marton in forum Macromedia Flash Flashcom
    Replies: 20
    Last Post: September 22nd, 08:43 PM
  2. LAN: Live-Video 640x480 possbile??
    By Marco321 in forum Macromedia Flash Flashcom
    Replies: 0
    Last Post: June 23rd, 06:16 PM
  3. video Streaming?
    By 123lionel in forum Macromedia Flash Flashcom
    Replies: 1
    Last Post: March 25th, 08:36 AM
  4. Video streaming: OK audio but video just white
    By bobmcinnis in forum Macromedia Flash Flashcom
    Replies: 2
    Last Post: March 25th, 01:25 AM
  5. Video Streaming
    By SmileyBlue in forum Macromedia Flash Flashcom
    Replies: 3
    Last Post: October 21st, 08:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139