Luca Abeni wrote: > >>>> Here are the timestamps, which I have received, when my application was >>>> reading live MPEG TS: >>>> pkt.pts=8589902202, pkt.dts=8589902202 >>>> pkt.pts=8589927402, pkt.dts=8589927402 >>>> pkt.pts=7210, pkt.dts=-3590 >>>> pkt.pts=10, pkt.dts=10 >>>> pkt.pts=3610, pkt.dts=3610 > >> I think so too. >> But why does negative value appear? > > Because you are printing the timestamp as a signed value ;-) > Yes, that's right. However, I thought, that sign bit is 63th. 8589927402(10) = 111111111111111111110001111101010(2) The timestamps have a difference of 3600, so if I append 3600, I will get 8589931002 ( 111111111111111111111000111111010) 8589934602 (1000000000000000000000000000001010) The sign bit is not set... -- View this message in context: http://www.nabble.com/How-to-handle-33-bits-rollover-in-MPEG--tp18282365p18315617.html Sent from the libav-users mailing list archive at Nabble.com. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
- [libav-user] How to handle 33-bits rollover in MPEG? Michel Bardiaux
- Re: [libav-user] How to handle 33-bits rollover in M... Luca Abeni
- Re: [libav-user] How to handle 33-bits rollover ... Vladimir Eremeev
- Re: [libav-user] How to handle 33-bits rollo... Luca Abeni
- Re: [libav-user] How to handle 33-bits r... Luca Abeni
- Re: [libav-user] How to handle 33-b... Vladimir Eremeev
- Re: [libav-user] How to handle ... Vladimir Eremeev
- Re: [libav-user] How to handle 33-b... Vladimir Eremeev
- Re: [libav-user] How to handle 33-bits r... Vladimir Eremeev
- Re: [libav-user] How to handle 33-b... Luca Abeni
- Re: [libav-user] How to handle ... Vladimir Eremeev
- Re: [libav-user] How to han... Luca Abeni
- Re: [libav-user] How to han... Michael Conrad
- Re: [libav-user] How to han... Vladimir Eremeev
- Re: [libav-user] How to han... Luca Abeni
- Re: [libav-user] How to han... Vladimir Eremeev
- Re: [libav-user] How to handle 33-bits rollover ... Michel Bardiaux
- Re: [libav-user] How to handle 33-bits rollo... Vladimir Eremeev
- Re: [libav-user] How to handle 33-bits rollo... Luca Abeni
- Re: [libav-user] How to handle 33-bits r... Michel Bardiaux
