[Libav-user] Unable to register custom decoder

2020-01-29 Thread 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 the decoder. The decoder is for a matroska container and the strea

Re: [Libav-user] Unable to register custom decoder

2020-01-29 Thread Timothy Fleming
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. Please fi

Re: [Libav-user] Unable to register custom decoder

2020-01-30 Thread Timothy Fleming
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. Please fi

Re: [Libav-user] Unable to register custom decoder

2020-02-01 Thread Timothy Fleming
> 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.