
Few flv files are playing at 2x speed
Hi All,
Certain flv files are playing at 2x speed in jwplayer, If I transcode these file from flv to mp4 then it plays normally, Below is my code:
<html>
<head>
<script type="text/javascript" src="jwplayer.js"></script>
<script>jwplayer.key="0JLG8nlJFVlclaZajNemRJFsJsJ4vzu7Ea6EWA==";</script>
</head>
<body>
<div id="myElement">Loading the player...</div>
<script type="text/javascript">
var playerInstance = jwplayer("myElement");
playerInstance.setup({
file:"speed1.flv",
image: "http://example.com/uploads/myPoster.jpg",
width: 640,
height: 360,
title: 'Basic Video Embed',
description: 'A video with a basic title and description!',
mediaid: '123456'
});
playerInstance.on('meta',function(event){console.log(event.metadata);});
</script>
</body>
</html>
Below is metadata for respective flv:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<duration>
12
</duration>
<width>
640
</width>
<height>
480
</height>
<videodatarate>
0
</videodatarate>
<framerate>
15
</framerate>
<videocodecid>
7
</videocodecid>
<audiodatarate>
62.5
</audiodatarate>
<audiosamplerate>
8000
</audiosamplerate>
<audiosamplesize>
16
</audiosamplesize>
<stereo>
false
</stereo>
<audiocodecid>
7
</audiocodecid>
<streamName>
flvLiveStream
</streamName>
<encoder>
Lavf55.12.100
</encoder>
<filesize>
753103
</filesize>
</root>
Please let me know what possibly went wrong here ?