You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having a recorded RTSP stream which is giving me the stream in reverse mode. like lets say 10:30:30, next is 10:30:29 .. which is fine . But at the same time the frames inside it are in forward direction. so the video is playing like 10:30:29 -> 10:30:30 , then again from 10:30:28 -> 10:30:29 and so on. basically the stream is in reverse order but the frames are in forward. so it playing like a glitch.
We are using HLS and MSE also .
we are having two types of streams one forward and one reverse also from NVR.
For HLS i am fetching the forward stream (not the stream i mentioned above) as 2 mins buffer and reversing it on the frontend. the stream will be now like 10:28:00 to 10:30:00 and reversing it on frontend, and triggering buffer again and fetching 10:26:00 and 10:28:00 and then as soon as the first video completed i am showing the second video and start reversing it. which seems to be fine, but managing the streams becoming so difficult as each will have there own session and we have to wait for 2 mins to get the buffer and sometimes its not fetching the .mp4 files as expected.
In MSE we are having the above issue where i mentioned the frames are in forward but the video is in reverse mode , so i need something like fetch the individual second frames and reverse them. So i tried to pipe RTSP stream using ffmpeg in mpgets. then using split of 188 bytes and reversing the each frame in a second. using web socket i am using JSMPEG cdn to play the stream. I am receiving the bytes but seeing black screen. somewhere the stream is not converting properly to mpgets or maybe the split is doing this black screen.
can you provide any solution for the above situation. As we play multiple stream in one go, reverse encoding is not an option so i am copying the RTSP stream.
The text was updated successfully, but these errors were encountered:
I am having a recorded RTSP stream which is giving me the stream in reverse mode. like lets say 10:30:30, next is 10:30:29 .. which is fine . But at the same time the frames inside it are in forward direction. so the video is playing like 10:30:29 -> 10:30:30 , then again from 10:30:28 -> 10:30:29 and so on. basically the stream is in reverse order but the frames are in forward. so it playing like a glitch.
We are using HLS and MSE also .
we are having two types of streams one forward and one reverse also from NVR.
For HLS i am fetching the forward stream (not the stream i mentioned above) as 2 mins buffer and reversing it on the frontend. the stream will be now like 10:28:00 to 10:30:00 and reversing it on frontend, and triggering buffer again and fetching 10:26:00 and 10:28:00 and then as soon as the first video completed i am showing the second video and start reversing it. which seems to be fine, but managing the streams becoming so difficult as each will have there own session and we have to wait for 2 mins to get the buffer and sometimes its not fetching the .mp4 files as expected.
In MSE we are having the above issue where i mentioned the frames are in forward but the video is in reverse mode , so i need something like fetch the individual second frames and reverse them. So i tried to pipe RTSP stream using ffmpeg in mpgets. then using split of 188 bytes and reversing the each frame in a second. using web socket i am using JSMPEG cdn to play the stream. I am receiving the bytes but seeing black screen. somewhere the stream is not converting properly to mpgets or maybe the split is doing this black screen.
can you provide any solution for the above situation. As we play multiple stream in one go, reverse encoding is not an option so i am copying the RTSP stream.
The text was updated successfully, but these errors were encountered: