How do you fix a 'Backward Timestamp' in FLV file?
Copy link to clipboard
Copied
I posted a discussion earlier on a video stream not playing past a certain time. I ran FLVCheck on the video and it came back saying there is a backward timestamp in the video. I recompressed it from the uncompressed video (AVI) and I got the same error again in the exact same place.
The error has to be in the uncompressed file, but I don't know how to fix it. Recompressing obviously doesn't help. Anyone know how to fix a 'Backward timestamp'?
Copy link to clipboard
Copied
We have been getting this too, what causes it? how do we fix it?
.....
Copy link to clipboard
Copied
Hello,
We are experiencing same problem here, in our recorded flvs video suddenly stuck. FLVCheck tool and logs say we are touched by backward timestamp issue. How to prevent from getting such error? Does it depend on server config or application scripts?
I wonder whether Adobe knows the answer since FMS should be the most reliable streaming solution.
Regards
Copy link to clipboard
Copied
UPDATE!!!! Problem solved
We were able to fix this after a lot of messing around. There is an open source project called FFmpeg that will scan a file for errors, and then create a new fixed file. It keeps the stream intact and just removes the meta data, which was causing the error in the first place. You need to have some somewhat advanced knowledge and probably have a linux machine on hand to compile/run the software. NOTE: It removes ALL meta data so any embedded cuePoints you had in the file will be gone. But at least it will now work.
FFmpeg can be obtained here:
There is a bash script you can run once you have ffmpeg compiled:
http://muzso.hu/2008/12/18/fixing-flash-videos-flv-for-use-with-adobe-flash-media-server-fms
