codec-abc

Results 47 comments of codec-abc

It seems that your computer and/or camera is not able to stream in YUY2 @ 1920x1080 at 30 FPS. This is not surprising to be honest. Note that if you...

I don't think you should use my fork (at least in this state). Especially since it does not support MJPG. I don't know what happen for sure but I think...

About your remarks on the output mode I am not sure I agree. Ideally I would like things to work that way: 1. I ask Escapi to send me a...

Yes I think it should work if you had the MJPG as a supported format and then send the buffer through the jpeg-decoder crate. This is indeed what I did...

You might want to look at [that line](https://github.com/codec-abc/escapi/commit/566e86286a01158a79fca4892524828e1f4518c7#diff-c2dd74b222de2e25dcac565744140e6fR135). It seems that I found a way to find out the actual MJPG buffer length. Sadly, I don't remember anymore and my...

No idea but like I said MFCopyImage does not make sense for MJPG buffers. You should try with ``` memcpy(aWidthInPixels * aHeightInPixels * 4); ``` instead. But you will have...

You are almost there, noise is indeed the expected display of the MJPG buffer if you treat it as a RGBA texture. MJPG is not very different from JPG. The...

You have made great progress. I did not run into those issues and I am mostly clueless about the artifact, the fact that the whole image is flipped or the...

I think it is but that is the only thing that come to my mind. EDIT: The jpeg crate has been updated to support decoding of MJPG frame, so it...

I agree that the current code of Escapi does not make it easy for what we are trying to achieve but after looking at the libdshowcapture I am not sure...