I have added the details provided by ffmpeg for the videos.
1. These are the details for the FLV video which plays properly:
Code:
[flv @ 004fe9a0] Invalid keyframes object, skipping.
[flv @ 004fe9a0] Keyframe index parsing failed
Input #0, flv, from 'proper.flv':
Metadata:
audiosize : 1898489
canSeekToEnd : true
datasize : 7779396
hasAudio : true
hasKeyframes : true
hasMetadata : true
hasVideo : true
lastkeyframelocation: 7780226
lastkeyframetimestamp: 110
lasttimestamp : 110
metadatacreator : Yet Another Metadata Injector for FLV - Version 1.4
videosize : 5850839
Duration: 00:01:50.36, start: 0.000000, bitrate: 563 kb/s
Stream #0:0: Video: h264 (High), yuv420p, 960x540, 421 kb/s, 25 tbr, 1k tbn,
50 tbc
Stream #0:1: Audio: aac, 44100 Hz, stereo, s16, 133 kb/s
2. These are the details for the FLV video which does not play properly:
Code:
[flv @ 0051e9a0] Invalid keyframes object, skipping.
[flv @ 0051e9a0] Keyframe index parsing failed
Input #0, flv, from 'tofix.flv':
Metadata:
audiodelay : 0
audiosize : 6607344
canSeekToEnd : false
datasize : 271773993
hasAudio : true
hasCuePoints : false
hasKeyframes : true
hasMetadata : true
hasVideo : true
lastkeyframetimestamp: 424
lasttimestamp : 425
metadatacreator : inlet media FLVTool2 v1.0.6 - http://www.inlet-media.de/fl
vtool2
videosize : 265143027
Duration: 00:07:04.62, start: 0.000000, bitrate: 1903 kb/s
Stream #0:0: Video: flv1, yuv420p, 960x540, 5112 kb/s, 29.97 tbr, 1k tbn, 1k
tbc
Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16, 112 kb/s
At least one output file must be specified
From the output, I can see the following:
1. The video which plays properly is in h264 format with a bit rate of 421 kbps and a resolution of 960x540.
2. The video which does not play properly is in flv1 format with a bit rate of 5112 kbps and a resolution of 960x540.
The difference is in the format (h264/flv1) and the bit rate.
Since I have already captured the videos from the flash media server, will I be able to fix the video by converting them to a lower bit rate?
Thanks.