VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Member
    Join Date
    May 2013
    Location
    Germany
    Search PM
    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.
    Quote Quote  
  2. What's RGB/B?
    Quote Quote  
  3. Member
    Join Date
    May 2013
    Location
    Germany
    Search PM
    I gues I got trolled by Photoshop
    Nevermind, using RGB was stupid anyways, I will stick to YV12.
    Quote Quote  
  4. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    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.
    Quote Quote  
  5. Member
    Join Date
    May 2013
    Location
    Germany
    Search PM
    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.
    Quote Quote  
  6. 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.
    Quote Quote  
  7. 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
    Quote Quote  
  8. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    Originally Posted by vin97 View Post
    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.
    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.
    Quote Quote  
  9. Member
    Join Date
    May 2013
    Location
    Germany
    Search PM
    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.
    Quote Quote  
  10. Originally Posted by vin97 View Post
    Oh man, it's RGB/8,
    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).
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!