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

Naikar, Vinay Vinay.Naikar at harman.com
Wed Sep 16 12:49:21 EEST 2020


Hi Paul B Mahol,

Thank you for the information. I have used the example code decoding.c as it is in my main(). Now that you have made me aware of my mistake, could you also help me with the APIs I should use for my purpose. I referred the demuxing_decoding.c file provided in the doc/examples folder of the source code. Should I follow the same code?

Regards
Vinay Naikar


-----Original Message-----
From: Libav-user <libav-user-bounces at ffmpeg.org> On Behalf Of Paul B Mahol
Sent: Wednesday, September 16, 2020 2:55 PM
To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter. <libav-user at ffmpeg.org>
Subject: [EXTERNAL] Re: [Libav-user] "Parser not found" for api call - "av_parser_init"

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://clicktime.symantec.com/3UqGBgpB51gMC6eAKptAHtz7Vc?u=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Flibav-user
> 
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".

_______________________________________________
Libav-user mailing list
Libav-user at ffmpeg.org
https://clicktime.symantec.com/3UqGBgpB51gMC6eAKptAHtz7Vc?u=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Flibav-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