I have a video that I'm editing for YouTube and the color in the video looks a little off. However, when I do a screengrab from the video or save an image from the video using VirtualDub or AviDemux, the colors look perfect when viewing the still image.
I want the colors in the video itself to match the colors I get from a screengrab of the video.
Why are the colors in the saved image from the video being interpreted differently than the way the video players play the video and what changes should I make to the video to make the colors match up?
I hope the way I phrased this makes sense. I can post some samples if needed to better understand the situation.
Thanks
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 8 of 8
Thread
-
-
Saving a video involves converting YUV video data to RGB image data. There are different ways of doing that. Read up on color matrices:
https://en.wikipedia.org/wiki/Rec._601
https://en.wikipedia.org/wiki/Rec._709
See samples of incorrect conversions here:
https://forum.videohelp.com/threads/329866-incorrect-collor-display-in-video-playback#post2045830
VirtualDub usually uses rec.601. Generally high definition video uses rec.709 and standard definition video rec.601. Youtube assumes rec.709 for both.
Beyond that you have full range and limited range matrices. Digital video mostly uses limited range UV. Computer monitors use full range RGB. Converting between them requires that the matrix convert the range.
Check your graphics card's settings for these options. Also check your media players.Last edited by jagabo; 26th Jan 2023 at 21:03.
-
It looks like my video is Rec 709 but, by happenstance, I just prefer the colors when decoded using Rec 601. I want to keep my video Rec 709 but emulate the colors that VD displays when decoding using Rec 601.
I'm wondering if there's some simple conversion for my video rather than meticulously tinkering with the colors to try to achieve the same look.
In other words I want to keep my video Rec 709 and decoded using Rec 709, but have YouTube display it with similar or identical colors to the way VD displays it when decoding it using Rec 601.
ThanksLast edited by DavidS; 26th Jan 2023 at 22:54.
-
in vdub2 you should be able to use the alias format filter, set it to Rec.601(SD)
In the x264 configuration options (bundled with vdub2 under video=>compression), you can flag the file as 709 by entering in the extra commandline box.
Code:--colorprim bt709 --transfer bt709 --colormatrix bt709
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
vdub2 can save as mp4/mkv/mov/avi under file=>save video "save as type" -
When I select "601" under the alias format filter, it shows up as "alias format (601,same)". When I save the video, I don't notice any difference in the colors from the original video.. I'm guessing the "same" means that no change is being made?
When I choose "709", it also shows "alias format (709,same)". So, I'm not sure what "same" means here.
Thanks -
How are you checking the colors ?
The second entry "same" refers to the component range, full vs limited . Most videos will be limited range, so it should be "same"
It makes an immediate difference in the preview for me, and the encoded video has colors shifted -
I made a video from the "worse" image in this thread, using 709 to convert back to YUV . It's attached below as "worse.mp4"
https://forum.videohelp.com/threads/408373-Differences-in-color-between-video-and-save...eo#post2679289
I went through the vdub2 aliasformat filter to convert in YUV to 601 , and flagged it as 709
This is what it looks like when it's converted to RGB for display using 709 (it should look like that in a media player, or YT in firefox; but it should look "wrong" in vdub classic or the way you have edge setup for YT)
[Attachment 68895 - Click to enlarge] -
It worked. Thank you. The problem was that I forgot to set VD to decode the video using Rec 709. Since it defaults to decoding in Rec 601, when I added the alias filter it didn't change anything. After I set it to decode in Rec 709, then the proper conversion was done.
Thanks again.
Similar Threads
-
Differences in color between video and saved image from video?
By DavidS in forum EditingReplies: 3Last Post: 26th Jan 2023, 22:02 -
M3u8 Video From OWNTV Freezes MidVideo. Note: Saved to local machine
By gamerg in forum Video Streaming DownloadingReplies: 0Last Post: 23rd Apr 2021, 21:46 -
Is there a way to edit my skin-color and eye color on video?
By joewinko in forum EditingReplies: 6Last Post: 2nd Dec 2020, 14:48 -
How to remove previously entered and saved TEXT from video
By Eastwood in forum Newbie / General discussionsReplies: 2Last Post: 1st May 2020, 07:18 -
Color-correcting only one shade of a color in a video?
By hbenthow in forum EditingReplies: 8Last Post: 23rd Sep 2019, 06:14