[Libav-user] "Parser not found" for api call - "av_parser_init"

Paul B Mahol onemda at gmail.com
Wed Sep 16 12:25:17 EEST 2020

On Wed, Sep 16, 2020 at 08:58:29AM +0000, Naikar, Vinay wrote:
> Hi,
> In our project, we are currently working on decoding and mp3 file to a pcm or wav file.
> I have built the ffmpeg source code and generated libavcodec, libavutil and other libraries using configure script without any options.
> When I run the binary of my testapp code by giving i/p files as test.mp3 and o/p file as test.wav - (./a.out test.mp3 test.wav)
> I am getting the below console message -
> "Parser not found" for api - av_parser_init
> I tried looking into the code and apparently its seems no parser is registered.
> Before calling av_parser_init I called avcodec_find_decoder(AV_CODEC_ID_PCM_S16LE);
> How can I register the right parser?
> What parser name should I provide while running configure script. To be more specific kindly help me with the name for pcm parser in
> the below command -
> ./configure --enable-parser=NAME

Parser for pcm 16le is not needed, so there is no such parser in code.

> Regards
> Vinay Naikar

> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".

More information about the Libav-user mailing list