Questions tagged [colorspace]

An RGB color space is any additive color space based on the RGB color model. A particular RGB color space is defined by the three chromaticities of the red, green, and blue additive primaries, and can produce any chromaticity that is the triangle defined by those primary colors. The complete specification of an RGB color space also requires a white point chromaticity and a gamma correction curve.

Filter by
Sorted by
Tagged with
12
votes
1answer
14k views

ffmpeg: explicitly tag h.264 as bt.601, rather than leaving unspecified?

I want to tag video as explicitly bt.601, rather than "unspecified". I know players typically choose bt.601 as the default for videos less than 1280 pixels wide, but I want to make it explicit that ...
10
votes
1answer
26k views

ffmpeg pixel format definitions

ffmpeg -pix_fmts lists many pixel formats. In my ffmpeg, there are 66 different pixel formats that start with yuv. A few of them are familiar to me (e.g., yuv422p), but most of them are not (e.g., ...
8
votes
4answers
10k views

Do any iOS video apps record in log color space?

Is there an app for iPhone or iPad that will let me record log color space video? It seems like with such an abundance of instagram-ish "filter" apps, developers probably have access to raw sensor ...
7
votes
1answer
8k views

Apply custom lut via ffmpeg?

I'd like to batch convert some log footage as well as transform each clip into rec709 colorspace. Is there any way to apply a custom lut to the footage? If so, what's the correct way to do that?
6
votes
1answer
337 views

Why are there so many color spaces available?

Whatever you are exporting, photo or video, you can choose between an enormous amount of color spaces. sRGB, Adobe RGB 98, Apple RGB, and many more. But why there so many different color spaces? Do ...
6
votes
1answer
1k views

Downsampling 4K footage for an increase in chroma sub-sampling

We have a Lumix GH-4 camera, which can shoot in 4K with 4:2:2 color space. I'd like to be able to convert the footage to 1080p 4:4:4 color space. I've read that there some ways of doing this: http://...
5
votes
1answer
848 views

What is the colour range of most videos?

Colour range (Limited, Expanded) is something I've only thought of recently, and I'm worried I may have introduced colour banding into some of my videos. When doing a standard MP4 export from ffmpeg, ...
4
votes
1answer
5k views

Is it safe to use the yuva420 pix_format option with ffmpeg to encode webm videos?

I am encoding png image sequences to both webm and mp4 formats using ffmpeg. My goal is to achieve perceptually lossless videos, with the smallest file size I can reasonably achieve. The webm videos ...
4
votes
3answers
7k views

Colors look different after export

Colors look great in FCPX. After I export (Share > Master file > H.264 Quicktime) they look a bit dull: desaturated, less vibrant. Also sort of like the wrong gamma curve - shadows are darker. I ...
3
votes
2answers
3k views

ffmpeg bgr vs rgb and other similiar pixel formats

I was wondering about the difference between rgb and bgr pixel formats available in many codecs. It reminds me in some way the Big Endian and Little Endian flavours of computer processors. While I ...
3
votes
1answer
521 views

Correct gamma for SMPTE ST-2084 EOTF

I recently purchased an Apple Pro XDR display that has an HDR reference mode specified as follows: HDR Video (P3-ST 2084) Use this mode for 4K or ultra high-definition video production workflows up ...
3
votes
1answer
6k views

FFmpeg BMP to YUV x264 color shift

When I encode a particular sequence of BMP image files to AVC/H.264, the colors get shifted. Why does this happen? But if I convert the BMPs to PNGs before running ffmpeg, the video conversion ...
3
votes
1answer
3k views

Record raw video with ffmpeg keeping the full color range

I want to do video captures with a video4linux2 device. The video data contains a lot of darker shades of grey. When I capture a single PNG file, everything is fine. Capturing with ffmpeg/avconf ...
3
votes
1answer
227 views

How can I know my if footage is rec.709 or not right out of the camera?

I just recorded a video (a talking head) using my Canon EOS 4000D (known as Canon EOS Rebel T100 in the U.S.) at 1920x1080p24. (Maybe informative/Important, that I want to color edit/grade it in Adobe ...
3
votes
1answer
614 views

How to manage colour in After Effects to get precisely a desired colour in h264 output

I am working on a video for the web only. It is going to be on a webpage (never on broadcast), delivered as an h264 file. The web page background is hex code FFF1E5 (RGB 255, 241, 229). My background ...
2
votes
2answers
695 views

Lossless color compression

I need to reduce the file size of an mp4 video. I don't need color information at all but pixel brightness resolution must be preserved. Videos consist of white background with a few (important) black ...
2
votes
1answer
1k views

How to preserve colorspace in ffmpeg

I have a x264 video with yuvj420p(pc, smpte170m) color space and i want to convert this video to x265 and reduce its file size. I have used this command ffmpeg -i input.mp4 -vcodec libx265 -crf 20 ...
2
votes
2answers
8k views

What exactly is D-Cinelike?

My DJI Mavic Air drone has the ability to shoot video footage in either standard mode or “D-Cinelike”. Is D-Cinelike just a flatter colour profile with less contrast (to capture more detail in ...
2
votes
3answers
1k views

Working in a linearized Color Space in After Effects causes hard gradients

I am just playing arround with the new trapcode suite in after effects working ina linearized color space for a better control over color and effects. Somehow I get really bad rendering on parts of ...
1
vote
1answer
219 views

Is video output in YUY2 color space lossless if the input is sRGB?

I am considering purchasing one of these: https://static.cloner-alliance.com/manual/ca-1080fl_user_manual_v1.1.pdf It claims to be able to capture "uncompressed video", but in the list of ...
1
vote
1answer
115 views

Resolution loss by chromatic subsampling: is there a workaround?

I was trying to make some recordings of a game (with OBS), but it wasn't really good even with "lossless" options. Some part of the interface was just pixelated... After a while I realized ...
1
vote
1answer
169 views

ffmpeg colormatrix operations only for 8bpc?

Unless I'm bad at reading, this page states that colormatrix is only good for 8 bpc. From Colorspace support in FFmpeg: ... colormatrix produces horrible quality for anything > 8bpc (8-bit per ...
1
vote
1answer
2k views

Convert sRGB color to linear Color Space

Just wondering if there is a simple and fast way to convert a specific color from my Illustrator layout file (#e3000b) to a linear Color Space. I am working in After Effects in a linear color space. ...
1
vote
0answers
120 views

Do you always need to convert videos with a YUV color space for compositing in Blender?

I have a 10 bits .mov file with YUV color space encoded prores 422HQ of some green screen footage. -Do we always need to convert videos with a YUV color space for compositing work? If I want to ...
1
vote
0answers
796 views

Why has grayscale a higher bitrate than YUV with H.265/HEVC?

For compression purposes, I am re‐encoding a grayscale video to the H.265/HEVC codec. Although the input video is more or less perfectly grayscale in aspect, it is provided in the yuv420p pixel format....
1
vote
0answers
325 views

ffmpeg ProRes to MP4 Alters Colors Slightly

I cannot for the life of me figure out what is going wrong, but I have a ProRes MOV file with the following specifications: And I want to convert it to a 4:2:0 MP4 video file. Every time I attempt ...
1
vote
0answers
2k views

ffmpeg: color loss when encoding to .webm

When encoding to webm (specifically VP8, i.e. libvpx), the color range gets reduced from 0-255 to 15-235. This causes a washed-out look; blacks become faded and not as sharp. I have found solutions ...
1
vote
0answers
611 views

MPC-HC is altering the colors

In order to test a lossless recording system, I have to verify that the input video is exactly the same than the output video. As a test source I have generated an ffmpeg's testsrc pattern, which is ...
0
votes
2answers
33 views

How can I find out which chroma subsampling (if any) is used in a video file?

If I have a video file, how can I find out which kind of chroma subsampling (4:2:2, 4:2:0), if any, that is used? What I've tried so far: If I open the codec info in VLC I can see that it's in the ...
0
votes
1answer
18 views

Confusion about Floating Point in Color Space Transforms

To explain my confusion I'm going to use an example with a hypothetical sensor which clips at a max 1000% scene linear reflectance and crushes blacks at 0% light (I know there is no such thing as 0% ...
0
votes
1answer
147 views

Which color space to use in camera while shooting video? RGB or YCbCr? [closed]

I want to shoot videos for my blog. Nature, landscapes, fitness. Which color space to use in camera while shooting video? RGB or YCbCr?
0
votes
1answer
118 views

"Canon RGB" color space *shift* to broadcast range with FFMPEG

for a noprofit project I do shoot with (up to 5x) Canon HF100 camera(s) but, as stated in this interesting artile, it genetates a "custom RGB range" (16-255) files. Thanks to this cool repository I'...
0
votes
1answer
327 views

Is color banding usual problem in commercial released movies?

for very long time I have used two machines - one with good monitor for work and one with "ordinary" monitor for fun/movies/games. Recently I unified this with high end mobile workstation with very ...
0
votes
1answer
3k views

What is the file size difference between 8 bit and 10 bit raw video?

How much color information does a 8 bit pixel need compared to an 10 bit pixel? What is the difference. As an example how much file size would an single 640x480 frame take if had 10 bit color instead ...
0
votes
2answers
162 views

Doubts about color spaces and chroma subsampling

Hy everyone, I have some questions about color spaces and chroma subsampling that I haven't been able to solve just by searching the web. Are YUV and YCbCr the same thing? When I take a look at the ...
0
votes
0answers
22 views

recording uncompressed or > 150000 kb/S video on a smartphone or tablet

Is it possible to record uncompressed or > 150000 kb/S video on a smartphone or tablet? If so, how and what devices are compatible? I am able to do this with cheap logitech webcams, however the ...
0
votes
0answers
22 views

Why does my ipad/macbook video camera quality not match logitech hd c270 quality?

I am trying to write a program that takes a video of someone's face, extracts the RGB values, and then uses the color change (imperceptible to the human eye) to map onto heart rate. When I use a ...
0
votes
0answers
34 views

Correctly compositing linear RGB elements over log footage

I have some water splash elements I need to composite over log footage in After Effects before sending it to the colorist for grading. As I understand, the correct workflow is to convert the log ...
0
votes
1answer
395 views

ffmpeg prores alpha channel not present when colormatrix and colorspace operations are performed

So I've figured out how to convert images to prores with no colorspace shifts using either: -vf colormatrix=bt601:bt709 filter for 8bit material and -vf colorspace=all=bt709:range=pc:format=...
0
votes
1answer
2k views

Color changes after video to single frame images back to video using ffmpeg

Given master video in mov rle: Video: qtrle (rle / 0x20656C72), rgb24(progressive) Converted the video to a serie of single .bmp frames. ffmpeg -i source.mov $FRAMES/f%03d.bmp Frames from ...
0
votes
1answer
1k views

Color shift FFmpeg raw RGBA images to YUV format

I have a list of raw bitmap in rgba format, captured with an openGL frameBuffer. I want to export them in a video, currently i am using the following command: ffmpeg -f rawvideo -r 30 -pix_fmt rgba -...
0
votes
1answer
655 views

Generating video thumbnails preview / contact sheet in batch, color issue

I have a large collection of videos to sort out, and for that purpose I want to create a thumbnail preview for each one of them, as quickly and efficiently as possible. I have tested several tools ...
0
votes
1answer
101 views

Matching colors for video

It appears that loading a graphics asset into Premiere’s new (2017.1) layered drawing tools does not do any kind of profile matching. Furthermore, the play preview image looks different on my (color ...