[FFmpeg-devel] [PATCH 4/5] avcodec: add "Argonaut Games Video" descriptor

James Almer jamrial at gmail.com
Tue Sep 8 02:15:28 EEST 2020

On 9/7/2020 8:10 PM, Zane van Iperen wrote:
> On Mon, 7 Sep 2020 16:33:58 +0200
> "Paul B Mahol" <onemda at gmail.com> wrote:
>> On Mon, Sep 07, 2020 at 01:14:26PM +0000, Zane van Iperen wrote:
>>> Signed-off-by: Zane van Iperen <zane at zanevaniperen.com>
>>> ---
>>>  libavcodec/codec_desc.c | 7 +++++++
>>>  libavcodec/codec_id.h   | 1 +
>>>  libavcodec/version.h    | 2 +-
>>>  3 files changed, 9 insertions(+), 1 deletion(-)
>> If there is no actual video decoder source code ever
>> going to be added then no point in adding this.
> I asked about this on IRC, and this was suggested.
> If I leave it at AV_CODEC_ID_NONE, then the ffmpeg CLI complains with
> "Could not find codec parameters". I don't want to set it to
> AVMEDIA_TYPE_UNKNOWN because then you lose all the codec parameters.
> I would like to add a decoder eventually, but I'd have to reverse
> engineer it. There's also not many samples to work with, so I'm not sure
> how viable it'd be.

You could change the demuxer you submitted to simply skip the video
track and demux only the audio, which afaik can be decoded by libavcodec.
If this Argo video codec was supported by some other container then it
would make sense adding a descriptor for it, as it would allow remuxing.
But as is, it's probably better not to bother with it.

More information about the ffmpeg-devel mailing list