[Ffmpeg-devel] simple question: how works the new time_base mechanism for audio streams?
Michael Niedermayer
michaelni
Fri May 20 23:12:39 CEST 2005
Hi
On Friday 20 May 2005 22:24, Martin Wache wrote:
> Hi all,
>
> there has been a change in the AVPacket.pts handling recently, and I
> don't understand how it is now working. For video everything seem to be
> clear, but what is the time_base for audio streams?
> From ffplay:
> is->audio_clock = av_q2d(is->audio_st->time_base)*pkt->pts;
>
> Here it looks like one should handle exactly the same like video
> streams, but in my examples is->audio_st->time_base is always just the
> default {0,1}. So the above peace of code always gives 0.
not reproduceable
[...]
--
Michael
More information about the ffmpeg-devel
mailing list