timestamps

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

timestamps

诸葛亮
Hello!
        I am a beginner. When I was reading your source code, I didn't
quite understand the meaning of is_relative() and RELATIVE_TS_BASE. I would
like to ask for your help.
        Thank you very much!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: timestamps

Valentin Schweitzer
On 30/07/2020 08:37, 诸葛亮 wrote:
> Hello!
>          I am a beginner. When I was reading your source code, I didn't
> quite understand the meaning of is_relative() and RELATIVE_TS_BASE. I would
> like to ask for your help.
>          Thank you very much!
Hi!

You very much may get a useful answer here,
but in general questions about development
are best asked on the devel mailing list.

You can register here:
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

I hope that helps somehow,
Valentin
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: timestamps

zhilizhao
In reply to this post by 诸葛亮


> On Jul 30, 2020, at 2:37 PM, 诸葛亮 <[hidden email]> wrote:
>
> Hello!
>        I am a beginner. When I was reading your source code, I didn't
> quite understand the meaning of is_relative() and RELATIVE_TS_BASE. I would
> like to ask for your help.
>        Thank you very much!

Use git blame:

tree a3eb24614d470ec588bce56268f96c327b0d5c70
parent d07de6d75d36e9e953be7f0cdf82148c31a09b8a
author Michael Niedermayer <[hidden email]> Wed Mar 7 22:13:39 2012 +0100
committer Michael Niedermayer <[hidden email]> Fri Mar 9 19:36:12 2012 +0100

lavf: Add system to seperate relative timestamps from absolute ones.

With this we can always know if a timestamp is based on added durations
from an unknown origin or if it is based on a correct timestamp (and possibly
added durations)
This should fix some bugs where this distinction was mixed up.

Signed-off-by: Michael Niedermayer <[hidden email]>

Basically, RELATIVE_TS_BASE is the zero point for relative timestamp.
Relative timestamp is in range of (RELATIVE_TS_BASE - 2^48, RELATIVE_TS_BASE + 2^48).

> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: timestamps

Carl Eugen Hoyos-2
In reply to this post by Valentin Schweitzer
Am Do., 30. Juli 2020 um 10:12 Uhr schrieb Valentin Schweitzer
<[hidden email]>:
>
> On 30/07/2020 08:37, 诸葛亮 wrote:

> > I am a beginner. When I was reading your source code,
> > I didn't quite understand the meaning of is_relative() and
> > RELATIVE_TS_BASE. I would like to ask for your help.
>
> You very much may get a useful answer here,
> but in general questions about development
> are best asked on the devel mailing list.

To clarify:
Please do not send questions like this to the development
mailing list, they are not welcome there!

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: timestamps

诸葛亮
Hi!
    What kind of questions can I ask?
    Thank you!

Carl Eugen Hoyos <[hidden email]> 于2020年7月31日周五 上午7:03写道:

> Am Do., 30. Juli 2020 um 10:12 Uhr schrieb Valentin Schweitzer
> <[hidden email]>:
> >
> > On 30/07/2020 08:37, 诸葛亮 wrote:
>
> > > I am a beginner. When I was reading your source code,
> > > I didn't quite understand the meaning of is_relative() and
> > > RELATIVE_TS_BASE. I would like to ask for your help.
> >
> > You very much may get a useful answer here,
> > but in general questions about development
> > are best asked on the devel mailing list.
>
> To clarify:
> Please do not send questions like this to the development
> mailing list, they are not welcome there!
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".