Stefano Sabatini schrieb: > > On date Friday 2008-05-16 15:30:41 +0200, Thomas Rehaag wrote: > > Hi, > > Don't hijack threads. > > > my code has got problems with AC3 audio material in Mpeg2 files. > > avcodec_find_decoder(CODEC_ID_AC3) returns 0. > > Shouldn't libav be able to find the AC3 codec? Or is AC3 encoding > > switched off because of license problems? > > > > I've had a look into ffmpeg's config.mak and found the lines: > > CONFIG_AC3_ENCODER=yes > > > > CONFIG_AC3_PARSER=yes > > > > CONFIG_AC3_DEMUXER=yes > > > > CONFIG_AC3_MUXER=yes > > > > Is there something missing like: > > CONFIG_AC3_DECODER=yes > > > > ? > > Did you register what you want to use when your application starts > (e.g. with av_register_all)? >
I used av_register_all(). > Also you cna check which components are installed on your ffmpeg > installation trying for example ffmpeg -formats, or reading the output > of your configure line. > > HTH, regards. among other things ffmpeg -formats returned: File formats: ... D aac ADTS AAC DE ac3 raw ac3 E adts ADTS AAC ... Codecs: ... D V D aasc EA ac3 D A adpcm_4xm ... Thanks, Thomas _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
