[Ffmpeg-devel] Shorten audio FourCC

Baptiste Coudurier baptiste.coudurier
Mon Oct 9 21:46:12 CEST 2006

M?ns Rullg?rd wrote:
> Diego Biurrun said:
>> Shorten audio is not yet supported by MPlayer since it lacks a FourCC in
>> libavformat/riff.c.  Now adding one would be easy, but the question is
>> which one to choose.  The obvious choice would be 'shn', but that's just
>> three characters.  So maybe 'shor' or 'shn '.
>> Then again, in libavcodec/shorten.c is the following code snippet:
>>   /* shorten signature */
>>   if (get_bits_long(&s->gb, 32) != bswap_32(ff_get_fourcc("ajkg"))) {
>>   av_log(s->avctx, AV_LOG_ERROR, "missing shorten magic 'ajkg'\n");
>> Does 'ajkg' have any further relationship with Shorten?  Should it be
>> used as the FourCC?
> RIFF files use 16-bit IDs for audio.  Adding a bogus 32-bit ID there to work
> around design limitations in mplayer is unacceptable IMO.

I agree.

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312

More information about the ffmpeg-devel mailing list