[Live-devel] Troubles with playing backward
d.gordenin at ngslab.ru
d.gordenin at ngslab.ru
Tue Jul 1 06:43:17 PDT 2025
I recorded a number of frames and want to play them backward (forward
playing works). The problems are: video doesn't play or video stops
after 10 - 20 seconds and is slower twice.
How I do the playing. I read the archive backward and find previous
I-frame. After I read 2 frames before it, there are SPS and PPS. After I
make SEI, set all its frames a unique timestamp = I-frame timestamp, set
gettimeofday(&fPresentationTime, NULL) and send them.
What I tried. Merging these frames into one frame. In this case
Wireshark shows only SEI and FU-A Start:PPS. I'm not sure what is it.
Are there PPS and SPS in this frame alongside with I-frame?
Why did I merge them? RTP timestamps are different in Wireshark. I set
them the same in my code, but there are different anyways! If I play
forward there the same, ok, but the backward playing changes something
in Live555? RTP timestamps are increasing also.
More information about the live-devel
mailing list