Custom Video Generation and Streaming

Hi,
Suppose I have a server-side component which generates video
on-the-fly. For example, it could be a component which creates a
short sequence of video from a fly through of a 3D model. I want to
be able to have a client browse to my website, click on a link and
view the video. Clicking on the link would create a new video from
the 3D model and stream it to a flash video player within the
webpage. I want the video generation to be done server-side.
Is this possible by writing a custom application for Flash
media server? Do I have to write this component in server-side
ActionScript or could I write it in C++ and some-how interface to
it from a server-side ActionScript application?
As you can guess, I'm a bit of a novice at all this flash
stuff but I'm working on a project which requires it.
Thanks a lot!
Nick.

Unless the video is completely downloaded to the iMac you can not rule out the Internet connection.
Since it plays all other video with no problem the downloading stream would seem to be the source of the problem.
I had cable modem and it is no guarantee of a fast connection. Also even having a fast connection on one end doesn't mean that the source of the video is pushing it all that fast.

Similar Messages

  • Audio video capture and stream

    hi anyone, i need some source code for my application.
    i've got a task from my school to build an application that could capture and stream audio video file..
    if you could help me, please send me the code (more simple code is better, coz i'm a beginner)
    btw, i use JMF 2.1.1e
    thanx before

    hello any body knows how to read a .wmv file using jmf

  • Custom Event generation and Handling

    HI all,
    I am new to java. I have a dataset which changes dynamically and this dataset is responsible for some other dataset(s). So whenever the original dataset is modified, the other datasets based on this dataset should be updated automatically so as to preserve the consistency.
    What I want to do is to write a custom event which is to be fired whenever the original dataset is modified and notify it to other datasets so as to ensure the consistency.
    Any help in this regard is extremely appreciated.

    HI Duffymo,
    Here is my problem for better understanding:
    I have a vector data in a NodePanel (this vector data originates from some other datastructure...but that is immaterial as we know that this data is an instance of that datastructure). This vectordata in NodePanel is responsible for another vectordata in SchedulePanel. The NodePanel and SchedulePanel are tabbedPanels in a tabbedframe. Whenever I update the vector data in NodePanel, the vector data in SchedulePanel needs to be updated.
    The solution you gave me, taught me an insight of the event handling in Java.
    I am quoting my source for your reference as I am unable to incorporate your idea into my project.
    Event class:
    import java.util.*;
    public class VectorUpdateEvent extends EventObject
         public VectorUpdateEvent(Object source)
              super(source);
    Interface to EventListener
    public interface VectorUpdateListener
         public void eventVectorUpdated(VectorUpdateEvent event);
    class EventGenerator
    import java.util.*;
    public class VectorUpdateEventIssuer
         implements EventListener
         public VectorUpdateEventIssuer()
              listListeners = new ArrayList();
         public synchronized void addVectorUpdateEventListener(VectorUpdateEvent l)
              listListeners.add(l);
         protected synchronized void removeVectorUpdateEventListener(VectorUpdateEvent l)
              listListeners.remove(listListeners.indexOf(l));
         protected void notifyVectorUpdateEvent(Object source)
              VectorUpdateEvent evt = new VectorUpdateEvent(source);
              Iterator itr = listListeners.iterator();
              while (itr.hasNext())
                   ((VectorUpdateListener)itr.next()).eventVectorUpdated(evt);
         private ArrayList listListeners;
    class where the event originates
    class NodePanel
         extends JPanel
         implements ActionListener, ListSelectionListener
         /////////////Constructors/////////////////////////
         public NodePanel()
              addNodeButton = new JButton("Add Node");
              delNodeButton = new JButton("Delete Node");
              dumpNodeButton = new JButton("Dump Node");
              reloadNodeButton = new JButton("Reload Node");
              browseButton = new JButton("Browse Node");
              exitButton = new JButton("Exit");
              add(addNodeButton);
              add(delNodeButton);
              add(dumpNodeButton);
              add(reloadNodeButton);
              add(browseButton);
              add(exitButton);
              setButtonsEnabled(false);
              addNodeButton.addActionListener(this);
              delNodeButton.addActionListener(this);
              dumpNodeButton.addActionListener(this);
              reloadNodeButton.addActionListener(this);
              browseButton.addActionListener(this);
              exitButton.addActionListener(this);
              nodesVector = new Vector();
              nodesList = new JList(nodesVector);
              this.vectorNodeAttributes = new Vector();
              JScrollPane scrollPane = new JScrollPane(nodesList);
              add(scrollPane,BorderLayout.CENTER);
              nodesList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
              nodesList.addListSelectionListener(this);
         ////////////////Methods///////////////////////////
         /////////////Event valueChanged///////////////////
         public void valueChanged(ListSelectionEvent evt)
              JList source = (JList) evt.getSource();
              setButtonsEnabled(true);
              desiredNode = (String) source.getSelectedValue();
              if (desiredNode == null)
                   setButtonsEnabled(false);
         //////////////Event actionPerformed////////////
         public void actionPerformed(ActionEvent evt)
              Object source = evt.getSource();
              if (source == addNodeButton)
                   addNodeButtonClicked();
              else if (source == delNodeButton && desiredNode != null)
                   deleteNodeButtonClicked();
              else if (source == dumpNodeButton && desiredNode != null)
                   JFileChooser d = new JFileChooser();
                   //d.setCurrentDirectory("");
                   d.setFileFilter(new XMLFilter());
                   int result = d.showSaveDialog(this);
              else if (source == reloadNodeButton && desiredNode != null)
                   JFileChooser d1 = new JFileChooser();
                   //d.setCurrentDirectory("");
                   d1.setFileFilter(new XMLFilter());
                   int result = d1.showOpenDialog(this);
                   //String filename=d1.getSelectedFile().getName();
              if (source == browseButton && desiredNode != null)
                   browseButtonClicked();
              else if (source == exitButton)
                   System.exit(0);
         //////////Enables or Diables the Buttons////////
         private void setButtonsEnabled(boolean enable)
              delNodeButton.setEnabled(enable);
              dumpNodeButton.setEnabled(enable);
              reloadNodeButton.setEnabled(enable);
              browseButton.setEnabled(enable);
              private void deleteNodeButtonClicked()
              if (noFieldDlg != null)
                   noFieldDlg.dispose();
              noFieldDlg = new NoFieldDialog("Delete the Node?");
              noFieldDlg.show();
              if (noFieldDlg.getDialogResult() == DialogResult.OK)
                   int nodeToRemove=0;
                   for (int i=0; i< vectorNodeAttributes.size(); i++)
                        if(((NodeAttributes)(vectorNodeAttributes.get(i))).getNodeName().compareTo(nodesList.getSelectedValue()) == 0)
                             nodeToRemove = i;
                   vectorNodeAttributes.remove(nodeToRemove);
                   nodesVector.removeElement(nodesList.getSelectedValue());
                   this.nodesList.setListData(nodesVector);
                   NodePanel.nodesPresent = nodesVector;
                   updateStaticNodeList();
    /*************** as soon as the NodePanel.nodesPresent is updated, the changes are to be reflected in the Schedule Panel ******************/
                   VectorUpdateEvent e = new VectorUpdateEvent(this);
                   VectorUpdateEventIssuer v = new VectorUpdateEventIssuer();
                   v.addVectorUpdateEventListener(e);
                   v.notifyVectorUpdateEvent(this);
         ///////////////Data Members////////////////////
         private JButton addNodeButton;
         private JButton delNodeButton;
         private JButton dumpNodeButton;
         private JButton reloadNodeButton;
         private JButton browseButton;
         private JButton exitButton;
         private String desiredNode;
         private OneFieldDialog oneFieldDlg = null;
         private NoFieldDialog noFieldDlg = null;
         private JList nodesList;
         private Vector nodesVector;
         private Vector vectorNodeAttributes;
         private static Vector nodesPresent = null;
    } // end class NodePanel
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.event.*;
    ////////////////Class SchedulePanel////////////////
    class SchedulePanel extends JPanel
    implements ActionListener, ListSelectionListener, VectorUpdateListener
         ////////////////Constructors//////////////////
         public SchedulePanel()
              addScheduleButton = new JButton("Add Schedule");
              delScheduleButton = new JButton("Delete Schedule");
              dumpScheduleButton = new JButton("Dump Schedule");
              reloadScheduleButton = new JButton("Reload Schedule");
              browseScheduleButton = new JButton("Browse Schedule");
              exitButton = new JButton("Exit");
              add(addScheduleButton);
              add(delScheduleButton);
              add(dumpScheduleButton);
              add(reloadScheduleButton);
              add(browseScheduleButton);
              add(exitButton);
              setButtonsEnabled(false);
              addScheduleButton.addActionListener(this);
              delScheduleButton.addActionListener(this);
              dumpScheduleButton.addActionListener(this);
              reloadScheduleButton.addActionListener(this);
              browseScheduleButton.addActionListener(this);
              exitButton.addActionListener(this);
              scheduleVector = new Vector();
              scheduleList = new JList(scheduleVector);
              this.vectorScheduleOperations = new Vector();
              JScrollPane scrollPane = new JScrollPane(scheduleList);
              add(scrollPane);
              scheduleList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
              scheduleList.addListSelectionListener(this);
              //updateEventListener = new VectorUpdateEventIssuer();
              //updateEventListener.addVectorUpdateEventListener(this);
         /////////////Methods///////////////////////
         ////////////Event valueChanged/////////////
         public void valueChanged(ListSelectionEvent evt)
              JList source = (JList)evt.getSource();
              setButtonsEnabled(true);
              desiredSchedule = (String)source.getSelectedValue();
              if (desiredSchedule == null)
                   setButtonsEnabled(false);
         ////////////Event actionPerformed////////
         public void actionPerformed(ActionEvent evt)
              Object source = evt.getSource();
              if (source == addScheduleButton )
                   addScheduleButtonClicked();
              else if (source==delScheduleButton && desiredSchedule!=null)
                   deleteScheduleButtonClicked();
              else if (source == dumpScheduleButton && desiredSchedule!=null)
                   JFileChooser d = new JFileChooser();
                   d.setFileFilter(new XMLFilter());
                   int result = d.showSaveDialog(this);
              else if (source == reloadScheduleButton && desiredSchedule!=null)
                   JFileChooser d1 = new JFileChooser();
                   d1.setFileFilter(new XMLFilter());
                   int result = d1.showOpenDialog(this);
              else if (source == browseScheduleButton && desiredSchedule!=null)
                   browseScheduleButtonClicked();
              else if (source == exitButton)
                   System.exit(0);
         public void eventVectorUpdated(VectorUpdateEvent event)
              System.out.println("Hello! EventRaised");
         ///////////Data Members//////////////////
         private JButton addScheduleButton;
         private JButton delScheduleButton;
         private JButton dumpScheduleButton;
         private JButton reloadScheduleButton;
         private JButton browseScheduleButton;
         private JButton exitButton;
         private String desiredSchedule;
         private OneFieldDialog oneFieldDlg = null;
         private NoFieldDialog noFieldDlg = null;
         private JList scheduleList;
         private Vector scheduleVector;
         private Vector vectorScheduleOperations;
         private VectorUpdateEventIssuer updateEventListener;
    } // end class SchedulePanel
    I hope you understood my problem now. The NodeAttributes is a datastructure containing the node name and an associated table for that. THe ScheduleOperations is similar to the NodeAttributes but it contains a DefaultTableModel which inturn consists of a column which is filled with the list of current nodes available + their schedules.
    I am sorry for my long posting.
    Thanks once again in anticipation.

  • Strip audio from video and stream

    Hi. We have the Flash Media Interactive Serve 3.5. Is there an automated way to strip the audio from video files and stream on FMIS? Thanks.

    Thanks for your reply. I believe we'll be broadcasting to a single channel.

  • I have an iPod nano 6th generation and I downloaded 3 music videos but they won't play on my iPod. They only play on my laptop/iTunes. How can I get it to work?

    I have an iPod nano 6th generation and I downloaded 3 music videos but they won't play on my iPod. They only play on my laptop/iTunes. How can I get it to work? I know that my iPod should take music videos because there is a pre-made playlist called "Music videos". Can anyone help me please????

    You can sync the music videos, but they won't play on your 6G Nano, because it does not support video playback. Sorry.
    B-rock

  • How can I convert DVD- video into Apple's format so that it can be played and streamed from my Mac?

    How can I convert DVD- video into Apple's format so that I can play the content on my Mac and also stream it to my Apple TV? A few years ago, I transferred all of my home videos onto DVD but now would really like to put these onto my Mac and stream them through Apple TV to watch on the "big screen". Any advice would be most welcome!! Thanks

    MPEG Streamclip.
    Apple do not have their "own" format. You need to convert your DVDs to H.264 though.

  • Just bought an ipod touch 4th generation and haven't got a clue how to transfer music, videos, pictures... from my PC to my ipod! I just don't understand how it works!

    Just bought an ipod touch 4th generation and haven't got a clue how to transfer music, videos, pictures... from my PC to my ipod! Please, HELP! Cheers mates!

    Go here and read the Welcome, Get started and Basics.
    http://www.apple.com/support/ipodtouch/

  • I have a brand new mini mac and a new apple TV. Both have been updated and can see my movies in itunes. I can use Netflix and stream music. I have tried to use my old laptop and it streams video fine. But my new computer only see a spinning circle.

    I have a brand new mini mac and a new apple TV. Both have been updated and can see my movies in itunes. I can use Netflix and stream music. I have tried to use my old laptop and it streams video fine. But my new computer only see a spinning circle.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • Common video dimensions and bit rates for dynamic streaming?

    I'm going to be converting my videos to flv and am trying to decide what to use for video dimensions and bit rates.  Some of my users have slow computers and connections so I'm thinking 150 on the low end. 
    Is there a common practice?  What has worked well for you in the past?

    Hello MrWizzer
    I am not sure what FMS version you are currently using.
    Well, if you look at the sampe vod folder that ships with FMS4.5, it has files encoded @ 150kbps, 500 kbps, 700 kbps, 1000 kbps, 1500 kbps.
    I am sure that all of these files stream perfectly fine given the correct bandwidth environment.
    Its totally depend upon the FMS hosting service provider depending upon the user base of a particular provider.
    You need to judge what kind of BW is available to your viewers and put the files encoded at appropriate bitrates.
    You may also look at http://www.adobe.com/devnet/flashmediaserver/articles/beginning-fms45-pt06.html for refrences.
    Regards,
    Shiraz Anwar

  • I just got a ipod touch 5th generation and i was wondering if you can or how to take a picture while your recording a video?

    I just got a ipod touch 5th generation and i was wondering if you can or how to take a picture while your recording a video?

    https://itunes.apple.com/us/app/videosnap-taking-still-photo/id552270851?mt=8
    The manual does not show that feature natively for the iPod. Later iPhones and iPads have that feature natively.

  • Videos won't stream (eg youtube) and safari very slow

    Hi, I have 2 problems and would really appreciate any help
    1 - safari very slow to open pages and has been like this for weeks. I have seen a solution to change to 'opendns' under System preferences > network > advanced tab but I cannot see an option for that. I think this may be my problem as Google always opens quickly. Can anyone elaborate on this solution?
    2 - Videos won't stream and just hang with circle (e.g on sites like youtube) which started about 1 week ago. Only thing I have done differently is watching megavideos on unknown site. I have tried the solutions given under other threads (e.g. deleting cache files and uninstalling and reinstalling adobe flash). This seemed to help slightly the first time I tried it but still took approx 60s to stream 1 minute video. Has now reverted back to not streaming.

    To set up a test account, open System Preferences > Accounts, click on the padlock icon to unlock it, then click on the "+" sign, name the account "test" and leave the password field blank, since you don't need the account that long; you can delete it later.
    Quit System Preferences, log out of the regular user account and into the test account, then try using Safari to load pages and videos to see if the problem continues there.
    Other things you can try in your regular user account that may help your problem or solve it are this:
    1. Go to Home/Library/Caches/com.apple.Safari and delete the contents of that folder.
    2. Go to Home/Library/Caches/com.apple.Safari/Web Page Previews and delete the contents of that folder.
    3. If you don't want to use the Top Sites or Cover Flow features, open Terminal and paste in this command:
    defaults write com.apple.Safari DebugSnapshotsUpdatePolicy -int 2
    then press Enter or Return and quit Terminal
    4. Go to Home/Library/Caches/Metadata/Safari and delete the contents of that folder.
    5. Go to Home/Library/Caches/Safari and delete the contents of that folder.
    6. Go to Home/Library/Safari and delete these files (if you have them):
    Downloads.plist
    History.plist
    Form Values
    LastSession.plist
    WebpageIcons.db
    Then Repair Permissions, restart Safari and see if the speed is improved.

  • GHOSTERY EXTENSION MAKES MY EMAIL TEXT AND STREAMING VIDEOS INVISIBLE

    GHOSTERY EXTENSION MAKES MY EMAIL TEXT AND STREAMING VIDEOS INVISIBLE, can't read my individual emails only their headings and it i causing interference with all of my online tv/movie sites viewing screens/videos. they are either invisible too or will not play and some will not let me bypass the adds that read "click to hide and play". zshare says adblocking device or program is preventing videos from playing. MEGAVIDEO KEEPS TELLING ME TO DWNLD NEW VERSION OF ADOBE FLASH PLAYER - I HAVE ALREADY. i would like to revert back to the older version of ghostery worked well - HOW DO I DO THIS AS WELL? THANKS
    == Troubleshooting information ==
    i disabled all extensions and put back one at a time to locate which one was giving problems - this has only been a problem since i rec'd new extension updates andi believe the ghostery update as well

    Aish,
    Thanks for reading my question.  I had gone through the Muse styles for links and that was not the problem.  I tried it on a different computer this morning and everything went fine, even in altering the styles.  I am not sure what the problem was.....only the cloud knows.
    Thanks for responding.
    Tom

  • You tube videos and stream radio stations (all of them ) don't work on my computer.

    You tube videos and stream radio stations (all of them ) don't work on my computer. I updated Ffox and it still the same. I have that problem for a few days. Tried it on Explorer and it works =/ help! Thank you!

    fox and flash is not a friends now?

  • I had ATV first generation and used to use a software (VideoDrive) to make a quick movie conversion to iTune. Since I purchased the 2nd generation still I can convert the movies but streaming is disabled. Any advise ?

    I had ATV first generation and for the purpose of fast movie converting to iTune I used to use a software ( VideoDrive) , since I purchased the 2nd generation still I can convert movies but streaming via APT is disabled. Please advise if there is any solution for this or a new softawre with high speed converting function.
    Regards

    Many of your points are totally legitimate.
    This one, however, is not:
    …To put it another way, the design of the site seems to be geared much more towards its regular users than those the site is supposedly trying to "help"…
    The design and management of the forums for more than five years have driven literally dozens of the most valuable contributors and "regulars" away from the forums—permanently.
    The only conclusion a prudent, reasonable person can draw from this state of affairs is that Adobe consciously and deliberately want to kill these forums by attrition—without a the PR hit they would otherwise take if they suddenly just shut them down.

  • I have an ipod touch 4th generation and have just recently downloaded the new update. I was wondering why the videos that I had added in my playlist won't show up.

    I have an ipod touch 4th generation and have just recently downloaded the new update. I was wondering why the videos that I had added in my playlist won't show up. Is there anyway that I could get my videos to appear in my playlist? They are still in my ipod in the video section, but just won't appear in my playlist.

    iOS6 problems aplenty ....not sure if the link I inserted is working or not, but the issue is a lot more prevalent - the issue being that what shows up & plays in iTunes after the iOS6 update is not what shows up (& plays) on the device itself. This may go beyond just the iPod Touch as well.
    In my case I can see & play both audio & video files in my Playlist through iTunes, but can only see the Playlists on the iPod Touch with ALL of them being empty. Syncing numerous times no help. Contacting Apple Tech. Support no help - they suggested downloading my Purchases from the iTunes Store - waste of time, did not make a difference. It is clear Apple needs to release a fix to OS6.
    Another problem I noticed on the device is that the Shuffle option is hidden on the built-in Songs Playlist, having to swipe the screen down to see it - dumb dumb dumb.

Maybe you are looking for

  • Media Smart DVD, not that smart.... Will only play some blu ray, not all.

    When I get a computer with a blu ray player I expect it to play blu ray discs... all of them. It works with some but not all. The discs it does not work with, what happens is it will ask me "Do you want to check for updates" and there will be a box t

  • Acrobat 7.0 properties not getting updated

    Hello Everybody, The PDF properties of the file that i am changing in my application is not reflected in the PDF File I have used the below code to set the property: CAcroPDDoc acroPDDoc; acroPDDoc.SetInfo (_T("Creator"),pdfDocProperties.m_Creator);

  • Sort doesn't work

    BI Publisher 11.1.1.5.0 Validate template option returns "No Error found." RTF Template <?for-each-group:ROW;./ORDER?><?sort:current-group()/N;'ascending';data-type='number'?><?sort:current-group()/ORDER;'ascending';data-type='text'?><?N?><?ORDER?><?

  • EEM event_register_interface detector issue

    hi, Im working on a EEM policy for some of my routers using TCL, this policy checks for the txload value of an interface and reports the value with a syslog message, this policy is already in the eem scriptiong community so as least im sure that im i

  • HP Presario 700C headphone output not working!

    Hello, I installed Windows XP on my HP Presario 700c laptop, working perfectly.  the only  thing that isn't working is the headphone output on the laptop.... When i plugin my headphone i do not get any sound, the sound still goes to the laptop speake