Skip to main content
Participating Frequently
June 5, 2009
Answered

RTMP for big file

  • June 5, 2009
  • 2 replies
  • 1742 views

I wanna streaming file flash in rtmp protocol but if the files are great the only protocol possible is HTTP ( with its progressive download).

There is a way to reproduce big file with rtmp protocol ( I'm working with file of 30 MB). If I try to reproduce the file with RTMP protocol they stay in waiting without any error messages.

Thanks for any answer

    This topic has been closed for replies.
    Correct answer

    I just see that the file called senzatitolo2.flv is in two folder. A copy of this file is in the webroot/vod and another copy is in the application/vod/media.

    Now I assigned the name senzatitolo2.flv to two different files and I discovered that my code thake the video from webroot/vod folder.

    Reading the precedent post I think that the problem is a no clean code . It's true?

    The final result is that

    ************************************************************

    serverURL=rtmp://78.129.192.85/vod/senzatitolo2.flv

    ************************************************************

    is refered to webroot/vod and I must go to application/vod/media!

    Is it possible to resume the right folder with an intervent on the Application.xml in vod folder, maybe in the Stremmanager section?

    The code of Application.xml in the vod folder is :

    ***************************************************************

    <StreamManager>
      <VirtualDirectory>
          <!-- Specifies application specific virtual directory mapping for recorded streams.   -->
       <Streams>/;${VOD_COMMON_DIR}</Streams>
       <Streams>/;${VOD_DIR}</Streams>
            
      </VirtualDirectory>
     
    </StreamManager>

    ***************************************************************

    where:

    VOD_COMMON_DIR = <FMS_Installation_Dir>\webroot\vod;

    VOD_DIR = <FMS_Installation_Dir>\applications\vod\media.

    Thanks everybody for help me!


    If you want to server the file over RTMP and HTTP, put the file in the webroot\vod folder. If you want to stream the file over RTMP only, put the file in applications\vod\media.You don't need to put the file in both folders.

    Access the file with the same URL: rtmp://IP/vod/filename

    If you put the file in the webroot\vod folder, use http://IP/vod/filename.flv to access the file.

    With RTMP, do not specify the ".flv" file extension for FLV files. For MP4 files, use "mp4:filename.mp4". (or .f4v, .mov, etc).

    With HTTP, do specify the file extension for FLV files. For MP4 files, use "filename.mp4) (or.f4v, .mov, etc.)

    HTH,

    Jody

    2 replies

    fraxdevelAuthor
    Participating Frequently
    June 5, 2009

    I try with the .flv files!

    Tomorrow I can send my code to reproduce file....and you could say me where is the problems.

    Thanks for help

    June 5, 2009

    You should also try using the FLVCheck tool that comes with FMS... it will be able to tell you if there are any problems with the FLV that might prevent it from streaming. IT's inside fms/tools

    fraxdevelAuthor
    Participating Frequently
    June 8, 2009

    It dont' work!!!!!

    Maybe my problems born in the first installation of FMS.

    I assigned two IP address at the same server and on the first address I put Windows Media Server while on the second address there is FMS.

    Maybe I must change work!

    June 5, 2009

    FMS is supposed to be capable of streaming files up to 2GB, so your 30MB file should not be a problem.

    Perhaps the problem lies elswhere... what sort of file are you trying to stream?