You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Why does my video have to load completly to start playing? Created Sep 1, 2010

This thread is solved

Views: 2089     Replies: 8     Last reply Aug 8, 2011  
You must login first before you can use this feature

Dave

Posts: 2

Registered:
Sep 1, 2010

Why does my video have to load completly to start playing?

Posted: Sep 1, 2010

My problem is: a video has to finish buffering (100%) to start playing and i can't force it to start... so i have to wait a very long time to start watching it.
Also the progress isn't shown in the timeline.

I have tryed to set the bufferlength to 2, but no reaction.

Is it possible that the problem is related with the .mp4 - format?

My Flowplayer Versions:
flowplayer.controls-3.2.2.swf
flowplayer-3.2.4.swf


$f("video_player", swfplayer, {
 playlist : [
  {
   //Ajax - JSON Response - response.video.value
   url: response.video.poster[0], 
   scaling: 'orig'
  },
  {
   url:response.video.url[0]+'.mp4',
   autoPlay: autoplay_video,
   autoBuffering: autobuffer_video,
   bufferLength:2
  },
  {
   url: response.video.poster[0], 
   scaling: 'orig'
  }
 ],
 plugins: {
  controls:  {
   url: swfcontrol,
   progressColor: '#05a1dc',
   bufferColor: '#727676',
   buttonColor: '#ffffff',
   buttonOverColor: '#04a1db',
   backgroundColor: '#313a3e',
   backgroundGradient: 'high',
   background: 'rgba(82,101,107,0.8)',
   all:false,
   fullscreen:true,
   scrubber:true,
   volume:true,
   mute:true,
   play:true,
   height:30,
   autoHide: 'always'		
  }
 }
});

$f("video_player").load();

orangebus

Posts: 34

Registered:
Feb 5, 2009

» Why does my video have to load completly to start playing?

Posted: Sep 2, 2010

Reply to: Why does my video have to load completly to start playing?, from David_Tux
Could it be a problem with the mp4 file itself?

You could try downloading this:

http://mp4creator.sourceforge.net/download/index.htm

Then from the command line, do:

mp4creator -optimize <filename>

where <filename> is the name of your mp4 file.

Dave

Posts: 2

Registered:
Sep 1, 2010

Solved!

Posted: Sep 2, 2010

Reply to: » Why does my video have to load completly to start playing?, from orangebus
I did what you said and it worked! :))

Thank you very much :)

I'm thinking about to use the pseudostreaming plugin, so does the optimize function make keyframes too?

orangebus

Posts: 34

Registered:
Feb 5, 2009

» Solved!

Posted: Sep 2, 2010

Reply to: Solved!, from David_Tux
I don't think it adds keyframes, but rather it puts all the file's metadata (including information about its keyframes) in the right place.

It made pseudostreaming work for me, so it's worth a shot.

flamadiddle

Posts: 5

Registered:
Jul 3, 2009

What does MP4Creator -optimize do?

Posted: Sep 14, 2010

Reply to: » Why does my video have to load completly to start playing?, from orangebus
I'm having the same problem as the original poster. Unfortunately, my videos are being converted by FFmpeg automatically on a Linux server, so running Windows-dependent software isn't an option.

If I know what the -optimize procedure does, maybe I can fix whatever's wrong with my encoded videos using ffmpeg.

Thanks.

orangebus

Posts: 34

Registered:
Feb 5, 2009

» What does MP4Creator -optimize do?

Posted: Sep 14, 2010

Reply to: What does MP4Creator -optimize do?, from flamadiddle
Take a look here, under "H.264 files and metadata":
http://flowplayer.org/plugins/streaming/pseudostreaming.html

flamadiddle

Posts: 5

Registered:
Jul 3, 2009

moov atom

Posted: Sep 14, 2010

Reply to: » What does MP4Creator -optimize do?, from orangebus
Aha... the moov atom at the end must be my problem. I'll try utilizing the moov relocator to fix this. Thanks.