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
1 vote
1 answer
39 views

Is smpte170m Color Space Compatible with 10 bit yuv420p10le? Color Space choice(x265)

I need to encode a smpte170m color space MPEG-2 ("mpeg2video") video to 10 bit x265 (libx265, with FFMPEG). Hoping to use yuv420p10le, but any suggestions are welcome. Source video is in ...
strider's user avatar
  • 11
0 votes
1 answer
388 views

How to fix a presumably HDR video file that displays super washed out in all video players?

How do I fix a presumably HDR video file that displays super washed out in the Linux video player totem, the cross-platform player VLC, and also in Handbrake's video preview? All colors are extremely ...
E. K.'s user avatar
  • 101
0 votes
2 answers
113 views

How does color management work, fundamentally?

I have watched hours of videos on the subject, but I just can't understand it without a slightly deeper explanation. If it helps you to explain, my production software of choice is DaVinci Resolve. I ...
Snadegg's user avatar
1 vote
1 answer
1k views

Why does ffprobe report color space as unknown?

If the caja file properties report YUV for color space, why does ffprobe report color space as unknown ? The video in question was obtained from Astronomy Picture of the Day (APOD) Spinning Moon. Here ...
user40272's user avatar
0 votes
1 answer
215 views

Understanding YouTube Video Color

When I upload a video to YouTube, the white areas become grey and the colors seem a bit washed out. This is how it looks locally: And this is how it looks on YouTube (Screenshot from Firefox): This ...
AyCe's user avatar
  • 101
1 vote
1 answer
718 views

Using ffmpeg gdigrab to capture desktop output to h264 yuv420p. Color shift problem

The ffmpeg command below is being used to capture the desktop and create a resulting mp4. ffmpeg log says the input stream is bmp and I specified the target as h264 yuv420p. I found several older ...
Bidder's user avatar
  • 11
4 votes
2 answers
2k 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 ...
PetaspeedBeaver's user avatar
0 votes
1 answer
262 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% ...
user36287's user avatar
1 vote
1 answer
218 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 ...
fanyul's user avatar
  • 113
0 votes
0 answers
39 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 ...
connor449's user avatar
  • 101
3 votes
1 answer
1k 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 ...
Omid Ghayour's user avatar
0 votes
0 answers
71 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 ...
kurajber's user avatar
3 votes
1 answer
3k 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 ...
mustafa candan's user avatar
1 vote
0 answers
280 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 ...
blender28's user avatar
3 votes
1 answer
2k 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 ...
tomh's user avatar
  • 7,650
3 votes
1 answer
1k 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 ...
migu's user avatar
  • 143
1 vote
1 answer
841 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 ...
jl6's user avatar
  • 123
2 votes
0 answers
1k 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....
Maëlan's user avatar
  • 121
0 votes
1 answer
246 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?
Konskoo's user avatar
  • 19
0 votes
1 answer
227 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'...
FORART npo's user avatar
0 votes
1 answer
493 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 ...
HeliTux's user avatar
0 votes
0 answers
580 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 ...
EllipticalInitial's user avatar
2 votes
2 answers
9k 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 ...
Simon East's user avatar
0 votes
1 answer
665 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=...
Shao Zhang's user avatar
1 vote
1 answer
364 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 ...
Shao Zhang's user avatar
0 votes
1 answer
5k 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 ...
Delta Oscar Uniform's user avatar
0 votes
1 answer
3k 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 ...
Serge's user avatar
  • 189
1 vote
1 answer
2k 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 -...
Paltoquet's user avatar
  • 143
1 vote
0 answers
3k 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 ...
felwithe's user avatar
  • 117
0 votes
1 answer
1k 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 ...
GabrielB's user avatar
  • 101
5 votes
1 answer
8k 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 ...
Framerate's user avatar
2 votes
2 answers
902 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 ...
Stefan Popp's user avatar
0 votes
2 answers
273 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 ...
mcont's user avatar
  • 760
7 votes
1 answer
612 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 ...
Hugo Woesthuis's user avatar
5 votes
1 answer
1k 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, ...
spacer GIF's user avatar
8 votes
1 answer
12k 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?
p2or's user avatar
  • 2,324
0 votes
1 answer
120 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 ...
JDługosz's user avatar
  • 255
3 votes
1 answer
7k 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 ...
Nayuki's user avatar
  • 143
1 vote
0 answers
926 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 ...
RawBean's user avatar
  • 163
2 votes
3 answers
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 ...
Marten Zander's user avatar
1 vote
1 answer
6k 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. ...
Marten Zander's user avatar
13 votes
1 answer
16k 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 ...
Peter Cordes's user avatar
  • 2,749
3 votes
2 answers
4k 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 ...
user3450548's user avatar
  • 1,660
3 votes
1 answer
4k 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 ...
Nippey's user avatar
  • 151
8 votes
4 answers
12k 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 ...
Jason Conrad's user avatar
  • 4,484
11 votes
1 answer
37k 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., ...
Doug Richardson's user avatar
5 votes
3 answers
11k 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 ...
Anentropic's user avatar
6 votes
1 answer
2k 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://...
tomh's user avatar
  • 7,650