nginx-1.3.2

Maxim Dounin mdounin at mdounin.ru
Thu Jun 28 12:07:06 UTC 2012


Hello!

On Thu, Jun 28, 2012 at 11:24:00AM +0500, shahzaib shahzaib wrote:

> i've installed jwplayer from this source
> http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12/install-the-jw-player-for-flash-v5,still
> when i try to seek video or try to download it by
> test.flv?start=343434 ,video size reduces but video broken

The fact that video size is recuded means that flv module in nginx works 
fine.

As I already said using arbitrary byte positions in the "start" 
argument isn't possible with flv, you have to use positions of a 
keyframe/seekpoint there.  With arbitrary byte position broken 
video is expected result.

If seeking doesn't work from a flash player, most likely reason is 
problems with flv file itself.  In particular, please refer the 
the note here:

http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12534/video-delivery-http-pseudo-streaming#mechanism

: Note: Some FLV encoders do not include seekpoints metadata when 
: encoding videos. Without this data, HTTP Pseudostreaming will not 
: work. If you suspect your videos to not have metadata, use our 
: Metaviewer plugin to inspect the video. There should be a 
: seekpoints or keyframes list. If it is not there, use the FLVMDI 
: tool to parse your FLV videos and inject this metadata.

(The page itself contains appropriate links, quoted here just 
clarify which note I'm referring to.)

Maxim Dounin



More information about the nginx mailing list