9 Sep
2010
9 Sep
'10
6:18 a.m.
On Thu, 9 Sep 2010, Martin Storsj? wrote:
On Wed, 8 Sep 2010, Michael Niedermayer wrote:
On Wed, Sep 08, 2010 at 06:06:42PM +0300, Martin Storsj? wrote:
lowres could be checked for this
Ah, so if avctx->lowres == 1, we'd just output the lower subband? Good idea, I'll try to implement that tomorrow.
Implemented it, and it works more or less. I had to add an A flag to the lowres option in lavc/options.c. Also, if lowres is enabled, I set the sample rate to the half in g722_init, but it doesn't propagate automatically to the output when transcoding with ffmpeg, since it probably copies the original sample rate before opening the decoder. // Martin