How to convert bytearray to video

Hi,
I want to convert a ByteArray wich contains a .flv file read
through a socket connection to a video playable object and play it,
or attach it somehow to the netstrem as its source.
Why this ? I´m trying to write an app using AS 3.0 that
connects two swf clients to each other directly without a server
(after they know of each other) and allow them to exchange video
sequences.
So the reverse way video -> bytearray -> network ->
reciever ->video would be of interest aswell.
I would appreciate any suggestions that somehow brings me
closer to this.
Regards, Immanuel

Hi,
since two swf files on different machines can communicate
with each other without a server after you have introduced them to
each other by telling every one of them whats the ip of the other
one by passing it (the ip) to the swf and the swf adds it to its
list of allowed domains it´s possible for 2 swfs furtheron to
exchange data without a server.
Now for me it´s for media collaboration and I basically
need to know :
how to convert the buffered netstream data to a bytearray
and
how to read the bytearraydata into a netstrem object vice
versa
or
if therre is any other way for two swf files to share the data
of a netstrem directly (without a server)
I really need help with this and any suggestion would make me
happy.
Thanks, Immanuel

Similar Messages

  • Video Format Total Solution: How to Convert and Edit Video on Windows/Mac

    More and More video formats are coming out with different video encoders and it makes our spare time more and more colorful. However, it is not to say that there is no problems. Actually, different video formats make it difficult to share video with others, even your own camcorder and iPod. Is there an easy way to convert videos effectively. Yes, there is.
    In this article, I will show you guys how to convert videos on windows and mac.
    Part 1. How to Convert and Edit Videos on Windows
    For Windows users, you need a Video Converter(http://www.aiseesoft.com/total-video-converter.html) to do that for you.
    Here I use Aiseesoft Total Video Converter(http://www.aiseesoft.com/total-video-converter.html)
    Step 1: Download and install Aiseesoft Total Video Converter
    After you download it to your computer, double click it and it is really easy to install.
    You just need to click “next” and it will complete it in seconds. It will automatically run after installation.
    http://www.aiseesoft.com/images/guide/total-video-converter/screen.jpg
    Step 2: Load Video
    Click “Add File” to find the video that you want to convert and click “open”. It will be loaded automatically.
    Step 3: Select the target to decode
    In the “Profile” drop download list you can find your target according the usage of your output video, such as if you want to put the video on your iPod touch, you can select the “iPod” in the first list and “iPod touch 2 MPEG-4 640*480(*.mp4)” in the second list.
    Step 4: Set Advanced Parameters
    After you select the right output profile, you can click “setting” button to set your advanced parameters. You can adjust video and audio settings separately. In video section, you can change “video encoder”, “resolution”, “frame rate”, “video bitrate”In audio section, you can change “audio encoder”, “sample rate”, “channel”, “audio bitrate”If you want to save this profile and settings and use it next time you can click “save as” button to give a name to it. And the next time you want to use it you can find it in the profile list named “user defined”.
    Step 5: Choose a Destination
    To browse and find a output folder for your output files or just the default one.
    Finally, Click “Convert” button to begin your conversion, here in the converting
    interface you can choose “shut down the computer when conversion complete” or “open output folder when conversion complete” or you just do not choose neither one.
    Tips: How to Edit the Output Video
    This video converter is also a video editor, you can use it to edit your output video as follows:
    http://www.aiseesoft.com/images/guide/total-video-converter/effect.jpg
    1. Effect:
    You are allowed to adjust the “Brightness”, “Contrast”, “Saturation” and you can choose the “deinterlacing” to make the video more enjoyable.
    2. Trim:
    In “Trim” section you can pick up any part of the video to convert.
    There are two ways to select the part of the video you want. One is set the start and end time in the box. The other one is to drag the start and end button in the processing bar.
    3. Crop:
    This function allows you to choose a certain play area to convert. That means you can choose a part of the screen you like to convert. For example, you just like the tv in the middle of the screen, then you can drag the frame around the preview window to select the tv and the output preview will show you the output video.In this section you can also choose the “zoom mode”, such as “keep original”, “full screen”, “16:9”, “4:3”.
    4. Watermark
    In the section, you can add a watermark on the output video to show people something, such as your name, website, studio name or other things. The watermark could be words and picture. You can adjust the transparent of the watermark easily to make it more beautiful.
    Part 2. How to Convert Video on Mac
    This time you need a Video Converter for Mac(http://www.aiseesoft.com/video-converter-for-mac.html)
    Step 1: Add File
    Click “Add File” button to load the video you want to converter
    http://www.aiseesoft.com/images/guide/mac-video-converter/steps.jpg
    Step 2: Choose profile and adjust settings
    You can find your output video format from a drop-list called “Profile”You can also adjust the specific settings of the output video, such as “Resolution”, “Bitrate”, “Encoder” and so on.

    @ Tamwini
    Your only goal is to sell software.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • Share : how to convert dvd and video to zune

    Share : how to convert dvd and video to zune
    Download this software at Share : how to convert dvd and video to zune
    1. Free download Zune Video Converter + DVD to Zune Suite install and launch.
    2. Click DVD to Zune Converter component, load your DVD by clicking 'Open DVD' button or choosing 'Open DVD' from 'File' drop down menu, choose the DVD ROM in your PC, it will take you to the DVD menu in the player screen.
    3. Click the "Setting" and go to menu "Subtitle", Set Subtitle to what you like.
    4. Click the "Setting" and go to menu "Audio Track", Set audiotrack to what you like. To 'Output Folder', Enter the full pathname or choose the path where you want to save your video files by clicking 'Output folder'. The default output format is WMV, which natively supported by Zune. You can also hit "Setting -> Output settings", select other output formats you like (MP4, H.264, WMV7/8/9, MP3, WMA, etc.)
    5. The converter will automaticly detect the main movie of your DVDs, it will popup with below window to let you make a decision, just keep the setting of "Record from movie start point" and output file size setting, the default setting is the best for good quality and compact output file size, click "Yes" to start ripping DVD to Zune video files.
    Tips: You can also just record any part of movie by drag the slide bar to where you want to start, and click the "Convert" button, please select "Record from current time point". This provide you with more flexibility.
    6. Find the .wmv or .mp4 file that DVD to Zune converter created and add it into your Zune software library.
    7. Load the .mp4 or .wmv files to Zune by clicking 'Sync contenct to and from your Zune'. Done!
    Share : how to convert dvd and video to zune

    Unfortunately discussing this subject is not permitted on Apple's forums as the recently updated Apple Discussions User Agreement now clearly states.
    Under item 2, para 8.2 it says "Do not submit software or descriptions of processes that break or otherwise ‘work around’ digital rights management software or hardware. This includes conversations about ‘ripping’ DVDs or working around FairPlay software used on the iTunes Store."

  • How to convert Mod/Tod video to AVI/MPG/WMV/MPEG

    question:
    1: What is .Mod and .Tod video?
    2: How to convert .Mod and .Tod video to AVI, MPG, WMV, MPEG?
    Answer:
    1: .Mod and .Tod videos are mainly produced by digital harddisk camcorder such as JVC camcorder and so on. It is not common video formats and can only be played on some special players.
    2: Now there is one professional Mod Converter that can convert .Mod and .Tod video to AVI, MPG, WMV, MPEG now. Aiseesoft Mod Video Converter has super conversion speed and excellent image/sound quality.
    The following is a step-by-step guide on how to handle the conversion.
    Step 0: Install and run Aiseesoft Mod Video Converter.
    Step 1: Add files
    Click “Add File” to add your video files.
    Step 2: Set output video format
    Click “Profile” button from the drop-down list to select the output video format such as AVI, MPG, MPEG and WMV. You can click the “Settings” button to set parameters of your output video such as Frame Rate, Bitrate to get the best video quality as you want.
    Step 3: Click the “Start” button to start the conversion.
    Tips:
    1: How to join your Mod/Tod videos
    If you want to merge several Mod/Tod videos into one file you can choose them and click the “Merge into one file” to do it.
    2: How to split your Mod/Tod video
    The “Trim” function also servers as a video splitter. You can set the “Start Time” and “End Time” to set the time of the clip or you can directly drag the slide bar to the accurate position. After cutting your Mod/Tod videos into small clips you can upload them to YouTube, Myspace and so on to share your video with people of the world.
    3: How to crop your Mod/Tod video size
    By using the “Crop” function you can crop the black edge of your video and you can also drag the line around the video image to adjust your video to your mobile devices. With it you can enjoy and share your DV with other people anytime and anywhere.
    4: How to save your favorite picture
    If you like the current image of the video you can use the “Snapshot” option. Just click the “Snapshot” button the image will be saved and you can click the “Open” button next to “Snapshot” button to open your picture.

    .mods are (somekind of) mpegs ...
    At first I though he was talking about the ancient audio .mod files:
    "The first version of the format was created by Karsten Obarski for use in the Soundtracker tracker released for the Amiga computer in 1987".
    http://en.wikipedia.org/wiki/MOD%28fileformat%29
    Oh, nostalgia ain't what it used to be!

  • How to convert analog SD video from VCR tapes to DVD

    What is the simplest way to convert analog SD video signals from VCR tapes for input to a mac intel mini so that I can create DVDs? Any help would be appreciated.
    Owen

    not sure about doing it on a mac mini, but based on the costs of the equipment needed to do it and the time, your best bet is to take your vcr tapes to costco and let them transfer them to DVD...
    then editing pieces of the dvd's to make a compilation would be fairly easy using any number of software tools for the mac.

  • I dont know how to convert movies or videos into iPod form.

    Okay heres the deal, I have a fifth generation iPod Video and it is as up-to-date as possible. But I dont know how to change videos or movies to iPod format. I also have QuickTime PRO. Someone please help!
    Thank-you for your time.

    Quicktime, Quicktime Pro and iTunes don't convert "muxed" ( muxed means multiplexed where the audio and video are stored on the same track) video files properly. It only plays the video and not the audio.
    See:iPod plays video but not audio.
    You need a 3rd party converter to convert the file with both audio and video.
    See this for help: Guide to converting video for iPod (Mac/Windows).

  • How can convert final cut video for best flash web quality?

    does anyone know the best way to convert short video clips so they will work great with flash and have the best quality possible for the web. i know a lot of different ways to convert them for the web, but i am having a hard time converting them to high, high quality for flash. can anyone please help?

    Wouldn't it be better if you were to post this in a flash forum?
    http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=15&catid=194 &entercat=y

  • How can I convert a UTUBE video to a movie usable in Power Point?

    How can I convert a UTUBE video to a movie usable in Power Point?

    How can I convert a UTUBE video to a movie usable in Power Point?

  • How can I flip my iphone videos on my PC? My videos from my iphone are horrible when I transfer them to my PC. How can I improve the video on my PC? Can I just convert the files to WMV? When the video plays the speed is off, it's half slow-motion

    My videos from my iphone are horrible when I transfer them to my PC. How can I improve the video on my PC? Can I just convert the files to WMV? When the video plays the speed is off, it's half slow-motion and staggers into normal play. The clips are slightly cut as well, the clips do not roll continuously.  I'm taling about videos that are no more than 2 minutes long.  I'm frustrated and I could really use some advice-my kids basketball games is what I'm recording and I'm trying to send them to my family (they are not very tech savvy). Thanks

    Not it's only function but one for which it was most admirably suited, which is why I really hope someone can find a work around. I am hoping my post to the Apple feedback may prompt a useful response from Apple and I live in hope that my post here will elicit a useful response from another user. I did not miss the the text at the top of the feedback form but you presumably missed my initial text, 'someone here can explain' or my subsequent 'work around from another user'
    Just in case anyone reading this has a large collection of music videos, video podcasts or iTunes U then DO NOT upgrade your iPad to iOS 5. If you are considering purchasing the iPad as a useful mobile device to experience these media organised in your iTunes please don't as you will be wasting your money. (unless someone on this forum knows of a way to undo the mess created by those infallible folks at Apple)
    Yes I know it does other things but the purpose I bought it for doesn't work anymore

  • I downloaded the updated Firefox, but the ad-on for converting YouTube music videos to mps files is now unavailable. How do I get it back? Why was this feature disabled?

    I downloaded the updated Firefox, but the ad-on for converting YouTube music videos to mps files is now unavailable. How do I get it back? Why was this feature disabled?
    In the former Firefox version there was a box to click for converting YouTube music videos into HQ mp3 files. That box is no longer apparent in the new Firefox version. I went back to Ad-On s and re-downloaded the program YouTube to MP3 1.2. It says it's not compatible with Firefox 6.0. Can I reinstall the older version of Firefox?

    When I clicked on the second site mentioned, I got such EXPLICIT, step-by-step directions!!! Thank you so much. I'd been wondering what that window was that kept popping up with the Firefox icon and that other funny thing. The word *install* was never mentioned. Pictographs were never my thing.
    When I looked under the initial system requirements, it said that OS X 10.4.5 and higher were good for 5.0. I didn't check further. Under your advice, I'll go with the older version. Thank you for taking the time to help me.

  • How do I convert my iphone videos (.mov) to .flv files?

    How do I convert my iphone video (.mov) to .flv files?

    Or try to search in the App Store.
    I am using ifunia media-converter, the one that got from Mac App Store, successfully converted dvd and HD video for me, seems it support converting mov to flv.

  • Photoshop how to convert video into a GIF

    Does anyone know how to use Photoshop CS6 to convert a short video into a animated GIF?

    A blob would be a byte-array, which you can use in the String(byte[]) constructor

  • How to convert mp4 videos (HD) for use on the new ipad in imovie without a mac.

    Hi,
    Please help. I have many videos taken with my sony cybershot camera (Mpv4 (HD)). I have the new ipad and have downloaded imovie. I have converted the videos so they can be viewed on the ipad but imovie will not recognize them. I have a Pc (not a Mac) and have watched many youtube tutorials on how to convert my videos for use on the new ipad and imovie but so far no success.

    If you are on the PC there are a LOT of video converters you can use. One of them is Freemake: http://www.freemake.com/
    It's free, no ads or banners, clean interface, simple to use, and you can convert to various formats with ease.

  • How to convert and edit HD video

    Because of the widely using of HD Camcorder, now it is really convenient to record family parties and other things you are interested in. Nowadays, people would like to share their things with the rest of the world through Internet, such as youtube.com and other video websites.
    This guide aims to show you how to convert and edit the video you recorded using your HD camcorder
    What you need is a powerful HD Converter.
    Step 1: Load Video
    Click “Add File” to load the video that you want to convert.
    Step 2: Choose Your Output Profile and Settings.
    From “Profile” drop-down list you can choose your output profile according to your need.
    You can also click “setteing”adjust the settings of your output video, such as “video/audio encoder”, “Video/audio Bitrate”, “Channels”, “Resolution” and so on..
    Step 3: Video Editing.
    This powerful MTS Converter allows you to do many video editings.
    1. Click "Effect". to make special effect for your movie.
    You can adjust the “Brightness”, “Contrast”, “Saturation” and also you can use “deinterlacing” to improve you output effect.
    2. Trim: .
    “Trim” function allows you to pick up any part of your video to convert. You can just convert a part of your video that you want.
    3: Crop: .
    Cut off the black edges of the original movie video and watch in full screen on your iPod using the "Crop" function.
    Step 4: Conversion.
    After you have done all the steps above you can click “Start” button to start your conversion.
    Here I also recommend you some High Definition video converter, MTS Converter, M2TS Converter.
    Hulu Downloader
    Total Video Converter
    Best DVD Ripper

    @ Tamwini
    Your only goal is to sell software.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • I'm new to Macs. How do I uninstall iSkysoft Video Converter ?

    I'm new to Macs. How do I uninstall iSkysoft Video Converter ?

    In version 4.1.0 of iSkysoft click on File/Preferences/Extensions. There are 3 buttons there to install or uninstall the iSkySoft extension for Safari, Chrome and Firefox. Click uninstall for which ever browser you're using then click OK. Restart your browser.

Maybe you are looking for