[FFmpeg-devel] [RFC] SVX8 stereo files and AVCODEC_MAX_AUDIO_FRAME_SIZE

Stefano Sabatini stefano.sabatini-lala at poste.it
Sun May 15 16:42:04 CEST 2011

On date Saturday 2011-05-14 22:19:02 +0200, Michael Niedermayer encoded:
> On Sat, May 14, 2011 at 11:07:24AM +0200, Stefano Sabatini wrote:
> the decoder can just copy the whole into a internal buffer and then
> return whatever fake partial reads it likes
> isnt pretty but its simple

I'm reading the whole audio chunk into the first packet, which is sent
to the decoder, and which decodes/interleaves the whole audio buffer
and returns it in little frames.

Check attached unfinished patches.

Now my problems is that for 8SVX files audio data format is signed
8-bit, which I see is not directly supported as format (why?).

I could convert samples in the decoder signed->unsigned, but really
why signed 8-bit is not supported natively (and what would prevent
from adding it to resample/convert routines?).
FFmpeg = Fanciful and Faithless Meaningless Picky Extravagant God
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-iff-send-the-whole-audio-chunk-to-the-decoder.patch
Type: text/x-diff
Size: 3034 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110515/43607b66/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-8svx-introduce-8svx_raw-and-other-dirty-changes.patch
Type: text/x-diff
Size: 7751 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110515/43607b66/attachment-0001.bin>

More information about the ffmpeg-devel mailing list