Copy link to clipboard
Copied
Sometimes but not always, the resulting flv video file recorded has corrupted time stamps.
The recording is done by creating a recording stream and republish the user stream to the recording stream.
The ffprobe dump shows one frame at the beginning of the file which start at time zero. The next frame immediately has time stamp in the 40s mark.
This corrupted flv playback various depends on player but it never plays correctly.
Running the flvcheck does not report error and -s does not fix the problem.
Thanks
Copy link to clipboard
Copied
This has been ongoing for a long time. Generally it's unsolveable and weirdly, only the Flash Player has a good idea of how playback such files. Recording to FLV files isn't generally recommended anymore as they are rarely used anywhere as it is.
Copy link to clipboard
Copied
Thanks for the timely response. So this bug only occurs when your record the published netstream to flv? Is there a recommended format that I should use? Or is there a better way to record the streams?
Thanks
Copy link to clipboard
Copied
To be honest, I haven't looked at this in a long time and for the reason that it was so frustrating that they wouldn't fix it that we moved off to another media server. Proof that you have the same issue to this point..
I have heard that some people will use ffmpeg to convert to something else once the recording is done. Unsure of how effective it is though.