Hi everyone!

I've managed to normalize an entire multicast mpeg-ts stream by subtracting
the PTS from the first packet from all the PTS:s in all the other packets in
the stream. Because of this, I'm able to stream a file, save it to disk,
stream another file, save it to disk and the two saved files are exact
copies of each other.

However, the problem I have occurs when two clients are listening to the
same multicast mpeg-ts stream. For example, client A start listening to the
multicast stream at time 05 (just a random number for the example). Client B
then starts listening at time 15 (some time later), and both clients listen
until the end of stream, which is at time 30.

When I try to normalize the two streams A and B, the part of streams which
should be the same (from time 15 - 30) differ. I then understood that I had
to supply the same PTS for the first packet in stream B as the corresponding
PTS in the packet in stream A at time 15. I did this, but I still can't get
the files to be the same...

Does anyone have any suggestions of how to solve this?

Thanks!
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to