04-30-2014 09:21 AM
Hi all... So finally might have a crude solution to be able to read in most videos if i can get this working (mp4 etc... ). I plan on sharing everything here if i can get it working, but I am stuck at the moment and was hoping someone could help me out. So i have a binary string that is supposed to be a RGB24 640X480 image. The size of the string should be (640*480*3) which it is. I am hoping i am just not parsing it correctly and that is why I am having problems. Does anyone see anything wrong, or have any ideas? I included a jpeg on the front panel that shows what the image should look like. As you can see, the color is off, and the image is shifted some.
Thanks in advance for any help!
04-30-2014 10:45 AM
Not sure how to edit last post, looks like i am getting the color right now, but image is still shifted... (See attached VI)
04-30-2014 12:40 PM
Okay, everything seems to be good now, the binary string was not correct in the first place.
Will start posting code to read mp4's here soon, hopefully others can help me with it.
thanks!
05-29-2015 12:45 PM - edited 05-29-2015 12:49 PM
As I was looking through your code and looking for errors that would cause the shifting, I found like you said that the string wasn't right to begin with, but I also think that the colors being different is only because you plugged the colors into the wrong indicator of the Replace Color Pane VI.