Hello.
I have been working on vp8 encoding on my demo application.
previously, I wrote a code that generates test video images using QT
framework(Qimage,QPainter, QPixel etc).. I used small single memory
space(not buffering) with msleep(x) to get synchronization with actual
playing time. it was working ok. ( there is no ffmpeg or other middle
interface )
Recently, I moved on using circular buffering to take live video
capture using openCV and circular buffer using QT mutex. but the vp8
encoded frame looks awkward;some discoloration, fast playing back on
VLC player after video recording ( I found there is no I frames on
libwebm sample code(demuxer). only first one is V.I and all of them
are V.P blocks); timestamp looks monotonically increasing.
I posted this problem on application forum. No one have told me
clearly so far. .
https://groups.google.com/a/webmproject.org/group/apps-devel/browse_thread/thread/f16b858298d1e437#
I don't have much deep knowledge of video encoding,color space and
related. I confirmed the circular buffering is working fine;
otherwise it will have deadlock. The conversion RGB888 to I420 looks
fine; it may produce wrong color space and affect VP8 encoding ?
I cannot find root causes to generate missing I frame with
discoloration( more like blue color space, or missing red color
space ).
On your request, I put more detailed information or code later; I
cannot paste bunch of codes here to mess up the forum. Looking
forward to hearing some from you.
I forgot mention that I upgraded libvpx from v0.9.7-p1 to v1.0.0 too.
Thanks & regards
joon