[FFmpeg-devel] Realmedia patch

Ronald S. Bultje rsbultje
Mon Sep 1 23:28:17 CEST 2008

Hi Luca,

On Mon, Sep 1, 2008 at 5:10 PM, Luca Abeni <lucabe72 at email.it> wrote:
> Ronald S. Bultje wrote:
> [...]
>> Do you happen to know why rtpdec.c calls set_pts_info() with values
>> depending on the stream type? What is the logic, and what should the
>> values represent?
> set_pts_info() is used to set the time base, and in RTP the time base
> depends on the payload type - the packetization of every different
> payload type is described in a different RFC, which also specify the
> time base for the RTP timestamps. Generally, the time base for
> audio streams is based on the sample rate, and is specified in
> the SDP (mp2 and mp3 audio is an exception, having a time base
> of 1/90000 independently from the sample rate).

I think it's the same as in realmedia files then, so I'll move the
value from rmdec.c to a location where it's shared between rdt/rm, in
a separate patch. That way we don't have to worry about it.


More information about the ffmpeg-devel mailing list