Hey guys~ I am trying to decode video stream with RTP, when I put all the *receive packets ->assemble into a whole frame -> decode and display stuff in one thread*,everything seems fine with some delay,then
I try to do multi-thread with one thread to receive to receive and assemble packets another to decode and play..But I *got avcodec_decode_video failed all the time*, with pthread_mutex_lock assistance I think crucial data struct is safe and I have checked every parameters avcodec_decode_video evey takes, seems normal...No luck with avcodec_decode_video2 too....... I am completely clueless, any tips and suggestion would be appreciated !! Thanks in advance ~ Cheers ---------------------------------------- Best Regards
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
