--- On Sat, 4/4/09, Tom Handal <[email protected]> wrote:
From: Tom Handal <[email protected]> Subject: Re: [libav-user] Issue in reading aac stream from network To: "Libav* user questions and discussions" <[email protected]> Date: Saturday, April 4, 2009, 8:41 PM 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? Yes ,I have done exactly like this. 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.... This is no possible for me as I am trying to guess the format from the network stream and hence no idea of the extension. Is it a genuine bug in av_probe_input_format().Is it solved in any versions in svn. 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 _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
