[FFmpeg-devel] [PATCH] Decoding of raw UTF-8 text from Ogg streams

ogg.k.ogg.k at googlemail.com ogg.k.ogg.k
Tue Jul 28 14:11:22 CEST 2009

>> +    sub->start_display_time = avpkt->pts;
>> +    sub->end_display_time   = avpkt->pts + avpkt->duration;
> this doesnt look correct

Indeed, but I'm hitting a wall here: I need to get the time base to convert
from whatever scale pts is in to milliseconds. I don't see how I can access
the AVStream from the decoder, however. Any pointer on how to retrieve
that time base info ?


More information about the ffmpeg-devel mailing list