Ask a Question related to Macromedia Flash Flashcom, Design and Development.

  1. #1

    Default Basic FLV question

    Can someone please help me. we wish to stream flv files using Flash Media
    Server 2. we have installed the program however we are at a loss as to how
    to get things to work.



    For instance. were do we put the FLV files. and how do we access them from
    within flash?



    Let me explain. we have set the flash media server up to use a dedicated IP
    address. for example 90.90.90.90 we have created a separate folder within
    the applications folder of FMS2 called folder1 and within this there is a
    separate folder _definst_ and within this folder we have put our video file.
    video.flv - these are all on our dedicated hosting server.



    Now when using flash 8 on our standalone development computer. we try to
    import a video. we select the already deployed option. as that seems most
    appropriate. but whatever we enter results in a failure to load flv.



    We have tried rtmp://90.90.90.90/folder1/video.flv



    Help.. What do we do.



    Steve



    PS = Applogies, but the lack of documentation has me stumped and I daresay
    these questions have been asked a thousand times previously... your help is
    appreciated.


    SteveC Guest

  2. Similar Questions and Discussions

    1. basic 3d question
      Hi, Just a qiuck question....I have created a 3d world and exported it to director. I want to add a basic cube shape I create in 3dstudio max to...
    2. Basic Question
      Hello, I've noticed in some sample code that sometimes people use the @ before a string when concatenating them. Example: string filePath =...
    3. Basic question...
      I posted the other day a question about writing a daemon to monitor a directory and then process the files as they arrive in said directory. I...
    4. Basic question b/w ASP & ASP .NET
      I would like to know what is the basic difference between ASP and ASP .NET VB AND VB .NET ADO and ADO .NET look forward to your responses
    5. basic css question
      In several of my posts lately, I have made it known that I am nto a huge fan of using newer stuff as opposed to older methods of getting things...
  3. #2

    Default Re: Basic FLV question

    Hey there, try leaving off the .flv extension when you enter the path to the flv. For example: rtmp://www.weburban.com/testmovies/mymovie

    Good luck!

    -Rob.
    [url]http://www.weburban.com[/url]
    robnewport Guest

  4. #3

    Default Re: Basic FLV question

    Thanks Rob

    Tried rtmp://70.84.16.102/dbngp/video

    And sunfortunately I still get the error...

    Steve



    "robnewport" <webforumsuser@macromedia.com> wrote in message
    news:eguqbb$f3a$1@forums.macromedia.com...
    > Hey there, try leaving off the .flv extension when you enter the path to
    > the flv. For example: rtmp://www.weburban.com/testmovies/mymovie
    >
    > Good luck!
    >
    > -Rob.
    > [url]http://www.weburban.com[/url]

    SteveC Guest

  5. #4

    Default Re: Basic FLV question

    Anyone else any ideas...
    This is rather an annoying issue...

    thanks

    Steve


    SteveC Guest

  6. #5

    Default Re: Basic FLV question

    It would be helpful if you could post the code you're using to create you netconnection and nestream. That way, we can figure out where you're going wrong.
    JayCharles Guest

  7. #6

    Default Re: Basic FLV question

    I think he may be using the "import video" option, in which case you should be able to provide the URL to the FLV. I am having this same problem right now?
    J_Rohde Guest

  8. #7

    Default Re: Basic FLV question

    PLEASE !!!! I have the post right before this one. I'm in a world of hurt
    guys, and I've noticed 3 of you have attempted to work with this post. I"m
    desperate at this point. Please take a look at my post number 1210851. I
    would love to get a response from anyone

    mxxxxtasy Guest

  9. #8

    Default Re: Basic FLV question

    Do you have the FMS properly configured to stream video?

    You need to access the program files>macromedia>flash media server>
    applications>

    In the applications folder create a folder to represent your application
    (myvideos for example)
    In that folder create a sub-folder and label it "streams" (without the quotes
    of course)
    in the streams folder create another subfolder labled "_definst_" (again-
    without quotes)

    Put yopur flv files in the _definst_ folder (this is the default instance
    folder)

    Almost done,

    Now do a search and find a copy of "main.asc"

    Put the main asc file in the application folder you created (my videos for
    example)

    Finally, create a player or use the Flash8 video component to call that flv
    you want to stream. If you are using a net.stream object you will not need the
    ..flv extension. If you decide to use the Flash Component your content path
    shoul not include the "Streams" folder of=r the "_definst_" folder. In other
    words to call an flv named "ourvaction.flv" in the _definst_ ; of the streams
    folder; of the myVideo folder you would use a content path of:

    rtmp:/myVideos/ourVaction.flv n(note the single "/")

    if the FMS is remote to your application:

    rtmp://someremoteserver/myVideos/ourVaction.flv

    Just in case, here's a sample, simple ns.object you can try by placing in the
    first frame of your action layer with a video instance named myVideo

    var nc:NetConnection = new NetConnection();
    //change the "myvideos" to your application instance name
    nc.connect("rtmp:/myvideos");
    var ns:NetStream = new NetStream(nc);
    myVideo.attachVideo(ns);

    //insert you flv file name below without the .flv extension

    ns.play("flv file name here")
    ns.setBufferTime(2);

    A lot of info here so if you need help or clarification message me and I will
    be glad to help. Learning this can be frustrating but worth it.

    RB



    rblake@efiant.com Guest

  10. #9

    Default Re: Basic FLV question

    Hi, I'm not sure what I'm doing, I've trying establishing a connection with at
    RTSM that should has Flash Media Server installed. The code I am using to
    connect is:

    ncConnection = new NetConnection();
    ncConnection.connect("rtsm://209.58.253.190/VideoSource");
    //ncConnection.connect(null); -- this is what I used to test that the player
    worked with local FLVs
    nsStream = new NetStream(ncConnection);
    mcVideoHolder.vVideo.attachVideo(nsStream);
    nsStream.play("sizzle_400");
    nsStream.setBufferTime(2);

    I can't really see what I did wrong, but at the same time I'm not sure how to
    check if the connection to the RTSM was actually established. If anyone can
    help me it would be much appreciated. -Thanks.

    Link to the site where I am trying to get the streaming video to play is:
    [url]http://test.vippassport.tv/HOME/index_streaming.php[/url] - the video is on the far
    right, next to the car. I know the player is rouch, I just need it to work
    right now.

    My work in progress is: [url]http://www.vectorflash.net[/url]

    ddk800617 Guest

  11. #10

    Default Re: Basic FLV question

    I am not sure I know what "rtsm" is, I use rtmp.

    Also you need a ns.play(some flv here w/out flv extension)
    rblake@efiant.com Guest

  12. #11

    Default Re: Basic FLV question

    Ok, thanks. I'm going to talk to the guy who owns the server. I don't really know much about "RTSM" anyway, I just know that's what we are using.
    ddk800617 Guest

Posting Permissions

  • You may not post new threads
  • You may 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