[Ffmpeg-devel] ogg vorbis encode?

Justin Ruggles jruggle
Tue Aug 16 00:08:23 CEST 2005


hello,

small fix for vorbis pts.  after playing around with trying to set the
time_base to the sample_rate, i found that doing this was much easier
and more in line with how ogg2.c and the vorbis decoder do things.
vorbis still has to have the analysis buffer fill up before sending any
data through, but now it gives the correct time/bitrate once the ogg
writing starts.  one oddity, it always gives a "non monotone timestamp"
error on the 3rd to last ogg packet, but I can't figure out why...

-justin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffmpeg-vorbis_pts.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050815/6371d627/attachment.txt>



More information about the ffmpeg-devel mailing list