Is the conversion from RGB/B (TGA) to RGB32 (FFV1) via VirtualDub lossless?
If I am not mistaking RGB32 should preserve all information that RGB/B offers but I'm not 100% sure.
+ Reply to Thread
Results 1 to 10 of 10
-
-
All VirtualDub filters work in RGB. You can save the work in whatever colorspace you want, but the filters want RGB.
Last edited by sanlyn; 25th Mar 2014 at 14:04.
-
RGB takes much more space and time and I will have to convert the video to YV12 in the end anyways because I will upload it to YouTube.
The thing is though, when converting RGB/B to RGB32 theoretically no information should get lost because TGA files can only contain a maximum of 32 bits per pixel.
The TGA files are screenshots created by a game. -
TGA can only contain 24 bits of color. The extra 8 bits is an alpha channel, generally used as a transparency map. Both in RGB32 and 32 bit TGA. I don't know if VirtualDub preserves the alpha channel.
I still don't know what RGB/B is. -
The alpha channel is not preserved by vdub , but the alpha channel wouldn't be used in a screenshot for a game.
The alpha channel in this case is a "dummy" alpha channel - it's not used even though the data is stored as 32bpp . It's "32bpp" because 8R + 8G + 8B + 8A = 32bits per pixel, but only 24 are really useful. The dummy alpha actually takes up storage space (it can be compressed or discarded to 24bpp to save space)
I have no idea what RGB/B is either; I thought it was a typo supposed to be RGB/A -
The only reason one would convert to RGB in VirtualDub is to use VirtualDub's filters, or to get into advanced masking and color correction in something like After Effects or Premiere. If you don't need that filtering work, you don't need RGB. If you're talking about data loss when you say "Lossy", the answer is no. Conversion between RGB color spaces isn't like lossy compression, although you might notice something about hues and whatnot looking somewhat different. Going fom one 24-bit to another 24-bit (effectively) RGB colorspace isn't a lossy process. If you go from 32-bit RGB to 24-bit RGB, you lose the transparency layer (which isn't used in final video output anyway).
Going from RGB to YUV loses some chroma resolution, but one could compensate for that somewhat if it's done with a better system like Avisynth's dither() or some other sophisticated means. I wouldn't do it in an NLE, their colorspace conversions are garbage.Last edited by sanlyn; 25th Mar 2014 at 14:05.
-
Oh man, it's RGB/8, I think I should get glasses.
Anyways, I was being a little bit stupid.
Still thank you all for your answers. -
LOL. I looked all over trying to figure out what RGB/B was.
So, to answer you original question, there is no loss in converting to FFV1 RGB32 in VirtualDub as long as you don't force any colorspace conversions. It will create a dummy alpha channel (all zeros).
Similar Threads
-
RGB32 colorspace > Avisynth 2.5.8 MT vs 2.6.0
By zanaitoryoushi in forum Video ConversionReplies: 3Last Post: 10th Dec 2012, 14:10 -
YUV 4:2:0 to RGB
By toshyuki in forum ProgrammingReplies: 15Last Post: 8th Oct 2012, 12:12 -
RGB + Audio
By abdelilah in forum DVD & Blu-ray PlayersReplies: 7Last Post: 23rd Jan 2011, 11:10 -
DebugMode frameserver output: RGB24, RGB32 or YUY2 ?
By codemaster in forum EditingReplies: 8Last Post: 6th Jan 2011, 13:09 -
Need RGB File
By Dave1024 in forum Newbie / General discussionsReplies: 10Last Post: 26th Jun 2008, 06:30