I've tried, but whitout results. I've checked and in the both thread I've the same information in the buffer, but in the first thread I find the right AVInputFormat, in the second one the AVInput Fortam found is mp3. Obviously if I use this wrong data the av_open_stream doesen't work fine. I need to copy the data from the first thread for open the stream in the scond thread, but this is of course the wrong way.....
Regards, Arielle 2009/9/29 xirexx <[email protected]> > Have you tried to increase the buf_size ? > > > On Tue, Sep 29, 2009 at 1:40 PM, arielle dear <[email protected] > >wrote: > > > Hi, > > I've one probme with this function. > > I receive one mpeg4 stream fron the network. I decode the data with one > > thread and all works fine. > > I try to decode another mpeg4 stream in the same time. When the second > > thread start the result of the av_probe_input_format return to me that > the > > stream is mp3, but the source is the same for both stream. > > I've tried to use mutex and hol the first thread but the result is the > > same. > > If I copy the first AVInputFormat calculated on the first thread in the > > second I'm able to decode the stream. > > > > Have someone a solution of this issue? > > > > Regards, > > Arielle > > _______________________________________________ > > 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
