[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec oggvorbis.c,1.20,1.21

Rich Felker dalias
Sat Sep 3 02:46:37 CEST 2005

On Fri, Sep 02, 2005 at 07:43:15PM -0400, Justin Ruggles wrote:
> Michael Niedermayer CVS wrote:
> > Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
> > In directory mail:/var2/tmp/cvs-serv26062
> > 
> > Modified Files:
> > 	oggvorbis.c 
> > Log Message:
> > setting timebase in the encoder doesnt seem like a good idea
> In that case, should the ogg encoder set the granule position using the
> pkt->pts value directly as passed from the encoder instead of scaling it
> by the samplerate and AV_TIME_BASE?  I tried doing it that way and
> FFmpeg still gives wrong time and bitrate while encoding, but the output
> ogg file reports correct information (ogginfo).  '-acodec copy' doesn't
> work quite right still doing it this way, but at least a basic encode
> will give a valid audio file.

What does granule position have to do with this? It's vorbis, not ogg..


More information about the ffmpeg-cvslog mailing list