Questions tagged [yuv]

YUV is a color space typically used as part of a color image pipeline.

720 questions
0
votes
2 answers

Zxing camera and preview frame format (YUV, RGB...)

I'm using the Zxing API to decode some QR Code images. I need to convert the YUV format to -> RGB format to be used in an other application. I know the camera buffer returns a byte[] under the NV21 format (YUV), but which one is it ? Do I get a…
hico
  • 1,750
  • 1
  • 17
  • 28
0
votes
3 answers

Extract some YUV frames from large YUV file

I am looking for WIN32 program to copy part of the large 1920x1080px 4:2:0 .YUV file (cca. 43GB) into smaller .YUV files. All of the programs I have used, i.e. YUV players, can only copy/save 1 frame at the time. What is the easiest/appropriate…
TomiL
  • 597
  • 2
  • 10
  • 23
0
votes
1 answer

Exception writing data into a new file

My task is to read a yuv file and to each component(Y,Cb,Cr) of it, I'm appending some data and storing it into another file. I have tried the below code: #include #include void main() { FILE…
Zax
  • 2,612
  • 6
  • 44
  • 69
0
votes
1 answer

Converting a NV12 (YUV4:2:0) Byte array to RGB byte Array

I have a stream of bytes captured from a webcam (using Aforge.Net Library). But the image captured is returned in NV12 or YUV I need to convert it to RGB byte stream.In order can I achieve this transform, I need to know how to read / interpret the…
Vivek Bernard
  • 2,033
  • 3
  • 24
  • 43
0
votes
2 answers

Scanline in YUV image format

Can some body explain to me that what is scanline mean in general and what does it mean in YUV color format? Some explanation with some example will be great. Thanks A.S
Madu
  • 4,157
  • 7
  • 38
  • 69
0
votes
1 answer

How to perform RGB->YUV conversion with ActionScript?

How to perform RGB->YUV conversion with ActionScript? Libs? Tuts? Articles?
Rella
  • 59,216
  • 102
  • 341
  • 614
0
votes
0 answers

How do you set the camera to send gray scale images?

The camera in android gives us output in a format called YUV which we have to convert to RGB and then to gray. I was wondering if there is a way to set the camera so that it sends us gray scale images directly?
nette
  • 565
  • 2
  • 7
  • 23
0
votes
1 answer

RGB values varying with array values?

I have a project in which I am using d3js.I have to plot a line.But the twist is the color of line will vary with every array value(every 20px of line holds one element of following array).I have created lines but, I am facing problems with the…
HIRA THAKUR
  • 15,044
  • 14
  • 47
  • 82
0
votes
2 answers

YUV data in HEX to write into a YUV file

I have a typedef structure containing the YUV components that I took from a video frame. I need to find a way to write these YUV components into a (.YUV) file extension so I could use it for my application in C language. Does anyone know, How can I…
mtatty89
  • 41
  • 1
  • 6
0
votes
1 answer

How to Play YUV sequence of images with JSP

I could get YUV images from Camera for 20 frames per second, i want to play it as live streaming on JSP page. I have done some research about JMF/FFMpeg, maybe they could work with J2SE(Swing),but seems hard to work on web application(Tomcat+JSP…
Simon Wang
  • 2,137
  • 7
  • 30
  • 47
0
votes
1 answer

How to judge whether a file is a nv12 format file?

I have a file, I want to know whether it is NV12 format, how to judge a file is a nv12 format file? Is there any tool or test code?
Lyric
  • 15
  • 1
  • 5
0
votes
1 answer

YUY2 process image fault

I'm trying to process YUY2 image (Y, Cb, Cr). I need to filter the image and eliminate all the colors but the red coloring. I used Image Processing Lab to find the values of the elements Y, Cb, Cr. I found the values (you can see the image with the…
user2004403
  • 143
  • 1
  • 12
0
votes
1 answer

error in the output texture yuv422 in ios

here's a screenshot screen with the ipad http://joxi.ru/7J9NUdg5CbCJWOM8-i0 sein http://joxi.ru/SspPUdg5CbBrLdFutis error: 1) picture (http://joxi.ru/CYRRUdg5CbDiKIByZLo) 2) size, not full screen My shader: NSString *const yuvFragmentShaderString =…
user1881371
  • 119
  • 11
0
votes
1 answer

Capturing screen in YUV format with BitBlt

I am currently using BitBlt function to capture the screen and then I encode it. Since my encoder uses YUV420 format for the input I need to convert the data from RGB to YUV before encoding. I was wondering if there is any way to capture the screen…
Dundar
  • 1,283
  • 1
  • 14
  • 22
0
votes
1 answer

how to display yuv in android

In a camera preview function, I've been using yuv2rgb, and using the resulting bitmap. This is slow, so I want to display the picture as it is. I use example class // public abstract class ViewBase extends SurfaceView implements …