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

Justin Ruggles jruggle
Sat Sep 3 01:43:15 CEST 2005

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.


More information about the ffmpeg-cvslog mailing list