Skip navigation
albertomoreno1982
Currently Being Moderated

Streaming .flv video stops and gets back to the beginning

May 13, 2012 6:35 AM

Tags: #streaming #.flv #streaming_video

We have recently created a flash site in which a page simply opens a video using the video player and streams it - nothing else there.

 

The .flv movie is only 20MB (inside a folder in the main root of our server) - it starts loading fine and it streams, but after it reaches half of it (the movie is 3 minutes long), it simply stops and gets back to the beginning (you can press play to start it all again).

 

If I play the movie and stop it right away to let it load the complete buffer, the buffer starts loading slow but fine and suddendly it loads in one go to the end of the clip (it would have to take longer, like when it began). This is a sign it won't work -> if I click in the end area of it, no frames show (the end of the movie) meaning nothing has been buffered in that area.

 

The first days when we uploaded the site it all worked fine but now the movie stops - the buffer loads at one point in one go (bad sign...).

 

What could it be the problem? This is a professional flash template we are using. I've tried using a .mp4 (h264) movie and the same happens...

 

Cheers

 
Replies
  • Currently Being Moderated
    May 13, 2012 6:51 AM   in reply to albertomoreno1982

    It sounds like you may have a bad video file.

    Can you play the .flv by itself (not in browser) on your local machine (not over the Internet?

    Of course a link to the actual page would also be helpful so we could also test.

    Best wishes,

    Adninjastrator

     
    |
    Mark as:
  • Currently Being Moderated
    May 13, 2012 7:37 AM   in reply to albertomoreno1982

    The presets look just fine and neither type of bitrate coding would cause the problem.

    I still think you have a corrupted video file. Can you compare the video file size on your local machine with the one on the server... do they match?

    Did you create the video player yourself? using the FLVPlayback component? or is the player a 3rd party player?

    To eliminate whether it's your player or not, test the video file in JWPlayer here:

    http://www.longtailvideo.com/support/jw-player-setup-wizard

    Perhaps another troubleshooting step would be test using a different video file, one that is know to be working already on the Internet. Upload that video file to your server, temporarily rename your existing .flv to "myvideo_old" or something and rename the just uploaded, know to work video to whatever the original video was... don't worry about display size or aspect ratio... just see if the file correctly buffers and plays all the way through.

    Best wishes,

    Adninjastrator

     
    |
    Mark as:
  • Currently Being Moderated
    May 15, 2012 7:01 AM   in reply to albertomoreno1982

    While you may be able to change the buffer time a little, I don't think that's the problem.

    Why not just replace the video player? It's pretty easy to set up a player using the FLVPlayback component or use NetStream to build your own player (a little more complex), or even use a third party player (like JWPlayer).

    While templates may have there place, they can be real trouble to edit or try fix... since you didn't build it yourself and may not exactly know how it comes apart/goes back together.

    Best wishes,

    Adninjastrator

     
    |
    Mark as:
  • Currently Being Moderated
    May 15, 2012 5:43 PM   in reply to albertomoreno1982

    We have been thinking about the possibility to embed a vimeo video in a flash page

    Dispite what you may have heard, there is no such thing as a "Flash page" or a "Flash Website" on the Internet!

    All pages/sites on the Internet are .html, .php, .asp, etc pages.... none are .fla or .swf pages... So, lucky for you, it's very easy to place a couple Flash <objects> on the same .html page and make it LOOK like the two are part of the same .swf!

    Here is an example... actually using a Vimeo video over the top of a .swf:

    http://www.worldbarefootcenter.com/

    View the source code for details..

    but basically, you use your main .swf to file out the HTML Web page as normal, but leave a blank spot where you want the second .swf to appear... the Vimeo video. Set the dimensions and location of that blank spot to exactly match that of the Vimeo player you plan to embed.

    Then you use CSS to layer a second HTML container over the top of the main HTML container, making it appear as though it is all part of one .swf.

    You will be using CSS z-indexing to layer that second HTML container over the top of the first:

    http://www.w3schools.com/cssref/pr_pos_z-index.asp

    you will also need to know to correctly position that second .swf <object> over the first:

    http://www.w3schools.com/css/css_positioning.asp

    So while this may seem a little foreign at first, it's a very good way to accomplish exactly what you are attempting. Most competent Web developers could work that out pretty quick.

    Best wishes,

    Adninjastrator

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points