[FFmpeg-user] FLV Video not Playing Smoothly
NeonFlash
psykosonik_frequenz at yahoo.com
Sun Dec 16 07:31:36 CET 2012
Hi,
I have captured some videos from a Flash Media Server using Stream Transport. These videos were downloaded over RTMP and were saved in FLV format.
Some of these videos which are in High Definition are not playing smoothly. They play like a slideshow, frame by frame. Below, I am giving 2 outputs of ffmpeg.
One is for the video which plays properly and smoothly. The other output is for the video which does not play properly or smoothly.
output #1: This video plays smoothly:
ffmpeg -i proper.flv
[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
output #2: This video does not play smoothly:
ffmpeg -i tofix.flv
[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
How can I fix the second video so that it plays smoothly? Someone suggested me that I need to Remux the second video so that it plays smoothly.
Your help would be appreciated.
Thanks.
More information about the ffmpeg-user
mailing list