Jwplayer playback nginx-rtmp recorded flv does not display time

the time of playing other flv files will show the time, but the flv recorded by nginx-rtmp will not show the time, and the time will show 00 flv 00. What"s going on? please advise


the .flv file recorded by nginx-rtmp lacks key frame information for the video. So the time will not be displayed, it can be displayed after adding Keyframe information using yamdi.

the following paragraph is on the official website of nginx-rtmp:

Indexed FLVs are played with random seek capability. Unindexed FLVs are played with seek/pause disabled (restart-only mode). Use FLV indexer (for example, yamdi) for indexing.

If you play FLVs recorded with the record directive please do not forget to index them before playing. They are created unindexed.

Menu