[Libav-user] multithread issue about avcodec_decode_video
Yingzhou.zhang
zhangjsj at gmail.com
Thu Nov 10 03:04:11 CET 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20111110/1140d03c/attachment.html>
More information about the Libav-user
mailing list