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.
nginx-rtmp录制的.flv文件缺少视频的关键帧信息.所以不会显示时间,可以使用yamdi添加关键帧信息之后就会显示时间了.
下面这段话是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.