[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 Carl Eugen Hoyos
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

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

2020-01-29 Thread Carl Eugen Hoyos
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.

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

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

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

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

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.