I'm creating a custom video decoder for ffmpeg. The code compiles and links,
my codec library is included. However, when I attempt to play my file, the
player (Nova player for Android though that shouldn't matter) doesn't find the
decoder.
The decoder is for a matroska container and the strea
Am Mi., 29. Jan. 2020 um 19:41 Uhr schrieb Timothy Fleming :
> I’m creating a custom video decoder for ffmpeg. The code compiles and links,
> my codec library is included. However, when I attempt to play my file, the
> player (Nova player for Android though that shouldn’t matter) doesn’t find th
Am Do., 30. Jan. 2020 um 03:17 Uhr schrieb Timothy Fleming :
>
> Attached...
Doesn't look like a patch...
It should be enough to add the new codec to allcodecs.c and its
codec_id to the demuxer
(as you did). Please compile ffmpeg (for the desktop) and run ffmpeg -i yourfile
to test your change.
-Original Message-
From: Libav-user On Behalf Of Carl Eugen Hoyos
Sent: Wednesday, January 29, 2020 6:23 PM
To: This list is about using libavcodec, libavformat, libavutil, libavdevice
and libavfilter.
Subject: Re: [Libav-user] Unable to register custom decoder
Am Do., 30. Jan. 2020 um
-Original Message-
From: Libav-user On Behalf Of Carl Eugen Hoyos
Sent: Wednesday, January 29, 2020 6:23 PM
To: This list is about using libavcodec, libavformat, libavutil, libavdevice
and libavfilter.
Subject: Re: [Libav-user] Unable to register custom decoder
Am Do., 30. Jan. 2020
> It should be enough to add the new codec to allcodecs.c and its codec_id to
> the demuxer (as you did). Please compile ffmpeg (for the desktop) and run
> ffmpeg -i > yourfile to test your change.
Turns out Matroska does it's own decoder lookup. It needs to be defined in
libavformat/matroska.