Oh, I went crazy for days on this issue.... your passing in the format context right? You have to use av_probe_input_format, right?
Well, I noticed that there are issues with av_probe_input_format... the second argument (is_opened) ... try changing from 1 to 0.... if it fails, try calling it again with 1... What I had to do is call it with a 0, then check to see if it returned mp3.... (and the extension was not mp3), then try calling it again with a 0.... that seemed to work for me... Hope this makes sense.... Tom On Fri, Apr 3, 2009 at 12:47 PM, debanjana kayal <[email protected]>wrote: > Hi , > I am using av_read_input_stream() to read an aac stream from network. > But I always get as MP3 in the dump_format. > But when I do the same ,only changing my read function to get data from an > aac file,i get proper codec id (as aac). > Can anyone pl. help > Best Regards > Raja > > > > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
