YUV and RGB

Hi Everyone,
If I render my sequence in YUV, would I get better rendering than in RGB? If so, How better? And When should I render in YUV?

igiggles wrote:
Hi,
So I ignored this and selected the format I was looking for anyway using the setFormat method. It compiled and ran but when i checked it, it did not accept the YUV format I chose from the list. Instead it used an RGB format. Im not sure how this can happen as the list of supported formats did not contain any RGB formats. Any help would be greatly appreciated. ThanksSo, you're setting the format of the player that you're using to watch the video from your camera? If you expect that to set the format that the web cam is giving the camera, you're expecting that setFormat command to back-track to the DataSource that's going into the player, and if you just think about that for a second...yeah, not going to work.
[http://forums.sun.com/thread.jspa?messageID=10599264#10599264]
That code will correctly set the format on a web cam.

Similar Messages

  • YUV and RGB Formats

    Hi,
    I bought a webcam recently to use with JMF. The camera can be identified by JMF Registry and shows that it supports YUV and RGB formats. However, in my code, it says that it only supports YUV. Here is the code:
    FormatControl y = (FormatControl)player.getControl("javax.media.control.FormatControl");
    Format [] x = videoDevice.getFormats();So I ignored this and selected the format I was looking for anyway using the setFormat method. It compiled and ran but when i checked it, it did not accept the YUV format I chose from the list. Instead it used an RGB format. Im not sure how this can happen as the list of supported formats did not contain any RGB formats. Any help would be greatly appreciated. Thanks
    Gary C

    igiggles wrote:
    Hi,
    So I ignored this and selected the format I was looking for anyway using the setFormat method. It compiled and ran but when i checked it, it did not accept the YUV format I chose from the list. Instead it used an RGB format. Im not sure how this can happen as the list of supported formats did not contain any RGB formats. Any help would be greatly appreciated. ThanksSo, you're setting the format of the player that you're using to watch the video from your camera? If you expect that to set the format that the web cam is giving the camera, you're expecting that setFormat command to back-track to the DataSource that's going into the player, and if you just think about that for a second...yeah, not going to work.
    [http://forums.sun.com/thread.jspa?messageID=10599264#10599264]
    That code will correctly set the format on a web cam.

  • Super white - proc amp - clipping - YUV to RGB

    I have been investigating the issue of clipping with YUV to RGB conversions (from DV) and found that as Stu Maschwitz pointed out in DV Rebel, there are a couple of ways to save the higher dynamic range of YUV video without clipping when converting into RGB for editing and effects. The Premier Proc amp function works in YUV and does this as does the interpret footage color management tab in AE.
    HOWEVER. It seems something may have broken the proc amp effect in CS5 as it no longer seems to save super white and super black values. Perhaps there is now another recommended way to save the higher dynamic range that some DV and HDV cameras will capture in YUV?
    Also, there is no longer a "maximum bit depth" setting in Project settings, so maybe this is where things got broken, as in earlier versions of Premier that setting on was required for proc amp to work correctly.
    I took some DV footage that has 110% signal highlights and tried to adjust it in CS5 proc amp and it was clipped. The same footage was recoverable in AE CS5 with  the interpret footage color management tab "wide Gamut RGB". This footage also is recoverable with proc amp in CS3 and CS4 Premier.
    Any suggestions??
    David

    Hi Guys,
    Without opening a new thread, I just wanted to say that I can't get ProcAmp to work on my footages. And I remember it worked in the past.
    I have footage from Nex-7, D4s, GoPro Hero 3 Black. At least on the GoPro & Nex-7 footage it was easy to recover highlights. But when I try it now, I just grey out the highlights without recovering anything.
    Original here:
    ProcAmp applied:
    Of course, Maximum Bit Depth is enabled in the sequence. I cleaned the cache, I enabled Maximum Render Quality as well, and also tried with Mercury on/off.
    Any suggestions in fixing this?
    Thanks a lot,
    Bogdan

  • How to switch Premiere Pro from YUV to RGB

    Hello
    First of all, sorry if there are mistakes in my sentences, I'm french. (but I don't want to post in french forums, because I want to improve my english !)
    I'm having some problems on Premiere Pro.
    Indeed, I have many shots on After Effects that looks good...
    But strangely, when I import them in Premiere, they turn into a mess : there are ugly "strips" that appears...
    From what I was told, that quality loss is due to a difference between Premiere Pro and After Effects colorspaces : After Effect is RGB, as Premiere Pro is YUV.
    So now, what I'm trying to do is to switch Premiere Pro from YUV to RGB.
    Does anybody know how I can do this ? I looked into "Sequence Settings" and "Media" (export) windows, but unfortunately I couldn't find any form allowing me to make that change...
    If someone can help me, I would be grateful to him
    Thank you for your attention !
    Kind regards,
    Babada

    Hello,
    Jim Simon wrote:
     Those images are actually too small for me to see any banding.
    Oh...
    Here are direct links to these screenshots :
    On After Effects => http://imageshack.us/a/img18/1667/soz9.png
    On Premiere Pro => http://imageshack.us/a/img196/999/zzt8.png
    Please let me know if it's OK.
    Fuzzy Barsik wrote:
     What you see in shadows (colour banding) is a result of compression. What are your export settings in After Effects?
    Are you sure ? As I have written, if I export an .AVI from After Effects, the video file is perfectly clean, there is no coulour banding. But if I happen to import the .AVI file in Premiere Pro, at this moment, the PP preview will be coulour banded.
    Anyway here are my After Effects export settings (just in case) :
    (direct link => http://img15.hostingpics.net/pics/382957141.png)
    Thank you for your help.
    Kind regards,
    Damien

  • How do I connect my iMac to an LG TV which has an HDMI, USB, and RGB IN port ?

    I am trying to screen share between my iMac and an LG television which has USB, HDMI, and RGB IN ports; is there a cable which will enable me to do this ?

    Depending on what you mean by "sharing" you also may be a good candidate for an AppleTV. Connecting content stored on your Mac is pretty easy with one, you can display photo's, movies & music  through it. In addition you can use your LG as a simple external display using Airplay assuming your iMac has Airplay capabilities. If any of that interests you then look at Apple's web site on AppleTV, you can buy them refurbished from Apple's online store for $75.00.
    https://www.apple.com/appletv/
    http://store.apple.com/us/browse/home/specialdeals/appletv

  • Error message when uploading book for printing. All images are jpg and rgb. Could they be too large to upload? What size is required and how do I reduce size in Aperture?

    I receive an error message when I upload my book for printing. Not sure what the problem is. All my images are jpg and rgb. Could they be too large as it takes about 15minutes to upload to Apple. How do I reduce the size of the image in Aperture?

    Hi Leonie,
    Thanks for your reply.
    Error message below. The preview is fine . I can discount the first 2messages as its a new computer so plenty of disk space and upload doesn't seem to be interrupted. I have uploaded to iphoto before. have tried to upload 3times with the same error message. I had to photo my slides with a Kaiser Baas photo maker , which apparently doesn't scan but takes photos in megapixels of the slides. I am wondering now if the format is incompatible though they are jpg files or the colour type wrong. The image files are  around 1-3 mb each and  72 ppi. I think  I will now scan them properly with a scanner to 300dpi anyway to improve quality.
    Apple  talks about image files not being too big for uploading but gives no sizing of what too big is?
    Error message
    1. Upload Error. Loss of connection or file corruption during order upload may cause an incomplete order. Resubmitting your order usually resolves this issue.
    2. Low Disk Space. If your computer is running on low disk space, your files may be assembled incorrectly. Create more space by deleting unused files.
    3. Unreadable PDF file or image files. Files are sometimes assembled incorrectly due to CMYK or Grayscale color space. Use the RGB color space for best results.

  • Colours washed out - YUV or RGB?

    I just outputted my sequence to DVD and when I play it on the TV, the colours are washed out (on the computer looks fine). My yellow subtitles are almost white (subtitles made in FCP).
    It's been about six months since my last video and I suspect some sequence settings have been changed. I use a Sony MiniDV camera, import via firewire and export via Compressor to DVD, should my render colour spacing be RGB or 8 bit YUV?
    Or am I barking up the wrong tree?
    Cheers,

    Hey,
    I had the same problem when I started to author DVDs...
    DV has a 0 setup (black level) and broadcast TV is 7.5 Setup. Most DVD players have two settings in the DVD player setup menu - one for richer black (0 setup) or regular (7.5 setup). They come with regular black as default. Most people don't even know about this setting on their players.
    But when you're looking at your DV sequences (even on an NTSC monitor), you're looking at the DV footage at 0 setup, with richer blacks.
    Then, when you encode, burn and watch it on your DVD player, you're getting an image with 7.5 setup.
    So, you will always get a discrepancy, unless you set your DVD player and your clients' to richer black, or add about 10 to 15 point of black using a Color Corrector filter inside FCP just before you encode!
    I've decided to adopt the latter, since I've asked around and discovered that pretty much no one messes with that black setting in their DVD players!

  • How to convert YUV to RGB

    I need to convert the YUV values to RGB. What is the formulae to convert? YUV values in the ratio 4:2:2. First I read it from a YUV file,then
    convert it to RGB. Then make an image(JPEG) from this values. How can I do this?

    http://www.fourcc.org/fccyvrgb.php
    First result in google...Like I said, no initiative what so ever!
    The OP is a goldmine of post like these, I forsee that he's about to start a major project that he's incapable of and get the forum to complete it for him

  • Is there a way to open two color windows? I want to use both HSB and RGB sliders and have them side by side. If there isn't a way, how would I go about creating my own script for it?

    Here's an example of what I mean:
    http://i.imgur.com/Q5aiHvE.png
    I would have access to both RGB and HSB at the same time instead of constantly switching back and forth. Any input on this matter would greatly help thank you!

    Photoshop only has one Color Palette.  If you could script something  like a Color Palette with  two sets of active sliders the script would be in control till you dismissed its sliders dialog.  You would not be able to do anything but adjust the script's sliders in Photoshop while the script dialog window is being displayed.  Photoshop Scripting does not have real palette dialog type support.
    I do not know what is possible with Photoshop extensions using HTML 5 Panels.....

  • CMYK and RGB Issues between PS and AI

    I also posted this in the AI forum, not sure if people look at both. If this is taboo, sorry.
    Greetings
    I am using AI and PS CS5.
    I have an eps in AI that is set for RGB. The colors are how I want them.
    When I open the same eps in PS, PS thinks the file is CMYK. Whether I open the file as CMYK and convert to RGB or open at RGB, the colors shift. If I leave the file as CMYK, the colors are shifted.
    I can confirm that when I convert the file in AI from RGB to CMYK, I can see the color shift. If I leave the file as RGB in AI, it looks how I want.
    I cannot get the file to show in PS as the same color as what I see in AI.
    I have confirmed that both AI and PS have color settings set to NA GP2.
    I am hoping this is something simple and someone can help me out.
    I hope this helps explain:
    http://img170.imagevenue.com/img.php?image=576032284_colorshift_122_52 4lo.jpg
    Basically, the file with AI in RGB mode looks how I want. The file with AI in CMYK mode looks different.
    In PS, both RGB and CMYK color mode are the same as CMYK in AI.
    I am not sure why PS does not show the RGB colors like AI does.
    PS CS5 and AI CS5 are synched:
    http://img157.imagevenue.com/img.php?image=586919644_colorsync_122_199 lo.jpg
    I think this is a PS issue? Thanks in advance.

    File -> Document Color Mode -> RGB is the default when the EPS is opened in AI. This displays what I want.
    When the EPS is opened in PS, the default is CMYK. Whether I change it to RGB there or import as CMYK and then change the mode to RGB, the colors do not change. In PS, they look like what I see when in AI when the EPS is set to CMYK, if do this: File -> Document Color Mode -> CMYK. 
    So in PS, whether I have mode set to RGB or CMYK, it looks the same.
    And in AI, based on the setting Document Color Mode, I can see the difference.
    How do I get what I see in AI in RGB mode to appear in the same EPS in PS?
    Thanks

  • Problem with pypanel and rgb

    Hi all,
    Been running OpenBox with pypanel for a while and everything has been running smooth, but then I updated and had to comment the rgb in xorg.conf. Now pypanel doesn't display any text or the clock, just the icons.
    What can I do in order to get the text and clock back?

    I'm using the nvidia-96xx. Below's my complete .pypanelrc. Using the bitstream-vera font and it has work before the update of X.
    # PyPanel v2.4 Configuration
    # This configuration file is a Python script that will be executed when
    # PyPanel is started. In order for PyPanel to start properly, make sure that
    # this file contains proper Python formatting and no syntax errors.
    VERSION = 2.4 # Config file version
    # Colors: Format is hex triplet - 0xrrggbb
    BG_COLOR = "0x000000" # Panel background and tinting color
    TASK_COLOR = "0x333333" # Normal task name color
    FOCUSED_COLOR = "0x999999" # Focused task name color
    SHADED_COLOR = "0x333333" # Shaded task name color
    MINIMIZED_COLOR = "0x333333" # Minimized task name color
    DESKTOP_COLOR = "0x000000" # Desktop name color
    CLOCK_COLOR = "0x666666" # Clock text color
    LINE_COLOR = "0x333333" # Vertical line color
    # Text Shadow Colors
    TASK_SHADOW_COLOR = "0xffffff"
    FOCUSED_SHADOW_COLOR = "0xffffff"
    SHADED_SHADOW_COLOR = "0xffffff"
    MINIMIZED_SHADOW_COLOR = "0xffffff"
    DESKTOP_SHADOW_COLOR = "0xffffff"
    CLOCK_SHADOW_COLOR = "0xffffff"
    # Panel Spacing and Location Options: Measured in pixels
    P_LOCATION = 1 # Panel placement: 0 = top, 1 = bottom
    P_WIDTH = 700 # Panel width: 0 = Use full screen width
    P_START = 500 # Starting X coordinate of the panel
    P_SPACER = 6 # Spacing between panel objects
    P_HEIGHT = 16 # Panel height
    # Icon Size Options: Measured in pixels
    I_HEIGHT = 12 # Panel application icon height
    I_WIDTH = 12 # Panel application icon Width
    APPL_I_HEIGHT = 16 # Application launcher icon height
    APPL_I_WIDTH = 16 # Application launcher icon width
    TRAY_I_HEIGHT = 16 # System tray icon height (usually 16 or 24)
    TRAY_I_WIDTH = 16 # System tray icon width (usually 16 or 24)
    # If TRAY_I_WIDTH is set to 0, then the
    # width specified by the tray app will be used
    # Panel Clock Format: 'man strftime' for detailed formatting options and help
    CLOCK_FORMAT = "%d/%m %H:%M:%S" # Ex: 2004-09-25 17:45
    # Clock Delay: Seconds between each clock update during periods of inactivity
    CLOCK_DELAY = 20
    # Hidden Application List: Apps listed here will not be display on the panel
    # The application name is its WM_CLASS name, use 'xprop' to find WM_CLASS
    # Ex: ["xmms", "xine", "gDesklets"]
    HIDE_LIST = []
    # Hidden Panel Size: Size of the panel when it's hidden/minimized
    HIDDEN_SIZE = 2
    # Panel Text Font: This option takes either a traditional or Xft font string
    # Ex: "-schumacher-clean-medium-r-normal-*-12-*-*-*-*-*-*-*"
    # "aquafont-8"
    FONT = "bitstream vera sans-8"
    # Show All Applications: Show apps from all desktops or just the current
    # 0: Disabled - Only applications on the current desktop will be displayed
    # 1: Enabled - Selected apps are moved to the current desktop
    # 2: Enabled - Current desktop is changed to the selected apps desktop
    SHOWALL = 0 # 0, 1 or 2 - see descriptions above
    # Show Minimized/Iconified Applications: Show only minimized apps or all apps
    # 0: Disabled - Show all applications on the panel
    # 1: Enabled - Show only minimized apps on the panel
    SHOWMINIMIZED = 0
    # Application Icon List: List of custom icons for specific applications
    # The application name is its WM_CLASS name, use 'xprop' to find WM_CLASS
    # The "default" entry is used for applications with no icon. If left "",
    # PyPanel will use the default icon distributed with the source.
    # Add entries using the following format -
    # "<application name>" : "<full path to icon>",
    ICON_LIST = {
    "default" : "",
    "example" : "/usr/share/imlib2/data/images/audio.png",
    # Application Launch List: Ordered list of icons and applications for the
    # application launcher.
    # Add entries using the following format -
    # ("<executable>", "<full path to icon>")
    LAUNCH_LIST = [
    ("gimp-2.2", "/usr/share/imlib2/data/images/paper.png"),
    # Background Alpha/Shade Level: 0 (Fully Translucent) -> 255 (Fully Opaque)
    # BG_COLOR is used for tinting
    SHADE = 50
    # Misc. Options: 1 = Enabled/Yes, 0 = Disabled/No
    ABOVE = 1 # Panel is always above other apps
    APPICONS = 1 # Show application icons
    AUTOHIDE = 0 # Autohide uses the CLOCK_DELAY timer above
    SHADOWS = 0 # Show text shadows
    SHOWLINES = 0 # Show object seperation lines
    SHOWBORDER = 1 # Show a border around the panel
    # Desktop Names: Configure the names of your desktops
    # If the option is [], PyPanel will attempt to use the desktop name specified
    # by the XServer, if that fails it will use the desktop number as its name
    # Ex. ["One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight"]
    DESKTOP_NAMES = []
    # Panel Layout: -----------------------------------
    # [ 1 ][ 2 ][ 3 ][ 4 ][ 5 ]
    # The panel layout is split into 5 sections numbered 1, 2, 3, 4 or 5 as shown
    # in the diagram above. Each of the following objects can be enabled by
    # assigning it a section number or disabled by assigning it 0:
    DESKTOP = 0 # Desktop name section
    TASKS = 2 # Task names section
    TRAY = 3 # System tray section
    CLOCK = 4 # Clock section
    LAUNCHER = 0 # Application launcher section
    # Button Event Function Definitions
    # Left click - button 1
    # Middle click - button 2
    # Right click - button 3
    # Wheel up - button 4
    # Wheel down - button 5
    # changeDesktop(x)
    # - Change Desktop: Increase or decrease the current desktop by 'x' amount
    # toggleShade(task)
    # - Shade or Unshade an application
    # toggleHidden()
    # - Minimize the panel to the top or bottom depending on its start location
    # toggleMinimize(task, traise=1)
    # - Minimize or Unminimize an application and optionally raise it
    # taskRaise(task, focus=1)
    # - Raise an application to the top of the window list and optionally focus it
    # taskLower(task, focus=0)
    # - Lower an app to the bottom of the window list and optionally focus it
    # taskFocus(task)
    # - Give focus to the selected application, if it has focus then minimize it
    # showDesktop()
    # - Toggle between hiding and unhiding ALL applications
    def desktopButtonEvent(pp, button):
    """ Button event handler for the panel's desktop object """
    if button == 1:
    pp.changeDesktop(-1)
    elif button == 2:
    pp.changeDesktop(2)
    elif button == 3:
    pp.changeDesktop(1)
    elif button == 4:
    pp.changeDesktop(1)
    elif button == 5:
    pp.changeDesktop(-1)
    def clockButtonEvent(pp, button):
    """ Button event handler for the panel's clock object """
    if button == 1:
    os.system("xclock &")
    elif button == 2:
    pass
    elif button == 3:
    pp.toggleHidden()
    elif button == 4:
    pp.showDesktop()
    elif button == 5:
    pp.showDesktop()
    def panelButtonEvent(pp, button):
    """ Button event handler for the panel with no active tasks """
    if button == 1:
    pass
    elif button == 2:
    pass
    elif button == 3:
    pass
    elif button == 4:
    pass
    elif button == 5:
    pass
    def taskButtonEvent(pp, button, task):
    """ Button event handler for the panel's tasks """
    if button == 1:
    pp.taskFocus(task)
    elif button == 2:
    # Destroy the application
    task.obj.destroy()
    elif button == 3:
    # Ex. - XMMS doesn't shade, so we want to minimize it instead and
    # still use button 3 to shade other applications
    # task.tclass is the tasks class name (WM_CLASS)
    if "xmms" in task.tclass:
    pp.toggleMinimize(task)
    else:
    pp.toggleShade(task)
    elif button == 4:
    pp.taskRaise(task, focus=1)
    elif button == 5:
    pp.taskLower(task, focus=0)

  • Which adapter do I use for my DVI and RGB only inputs Monitor?

    My Samsung monitor only has RGB and DVI inputs.  I can't figure out which adapter from Apple to buy since I'm new in the Mac world and not sure of the limited port options I have.
    Thanks.

    You don't say which Air you have.
    Provided yours is one with a Mini-Displayport or Thunderbolt, this should do the job.
    http://store.apple.com/us/product/MB570Z/B/mini-displayport-to-dvi-adapter

  • NEF to DNG 6.5 results in different number of unique colors, pixels and RGB values

    I took pictures from my old Nikon D40. I converted them with the standard settings from NEF to DNG.
    I then used UFRAW under Linux and saw that the pixel size increased from 3039x2040 in NEF to 3040x2040 in the DNG - and that the live view RGB values were about 5% higher for NEF that for DNG.
    "FastStone Image Viewer" shows the same increase in pixel size. Additionally, it shows that the DNG has roughly 93,000 unique colors compare to 90,000 for the NEF file.
    More pixel, different RGB values, different counted unique colors - what's going on here? This doesn't look like a 1:1 conversion?

    Not exactly sure what you're comparing.  For raw data you need to be comparing the original mosaic data values (not some converted result, or even partially converted result like demosaiced result).   Are you sure that's what you're doing?

  • CS6 BUG: Reference window and RGB Color Corrector

    An interesting bug in Premiere Pro CS6.
    It took me a while to work out what the common factor was, but it now seems to be the RGB Color Corrector effect.
    When the current tine indicator is on a clip using this effect, the Reference window will not update.
    And not only doesn't it update the data on the graph, but if you change the type of scope (Display Mode) (e.g. from RGB Parade to Vectorscope), that also doesn't change until you move the CTI to view a clip without the RGB Color Corrector effect on.
    I have tested this with both Red R3D files as the source and image sequences. Same thing in both cases.
    Extra info:
    OS is Windows 7-64 bit

    If anyone is still having trouble with this issue, here is a link to download the 6.0 version of the RGB Color Corrector plug-in. Just grabbed it from an old install, and replaced the file in the Plugins folder and it worked perfectly.
    https://drive.google.com/file/d/0B9ULtCJ4GoxhTndMX0MxdGZfVmc/edit?usp=sharing

  • CMYK and RGB in one document

    I do not understand why the RGB and CMYK dokument still needs to be separate?
    So at the end decide how and in what format should I save my output result.
    We have the era of CMS, and Illustrator has not changed thinking!???
    Now every time If I create a style guide for different media I need to save separate documents, and make changes the tem, and when I want to change jet mess sync.
    Please explain if I think impractically.
    Eg:
    The same applies to the choice of mixing color for the object.
    If select object the color mixing of RGB, HSL, WEB etc ... let the mixture is automatically called when re-select the object.
    If I wanted to replace the selected objects to a particular model of CMYK, RGB etc then I can select it and choose options from a palette of CMYK, RGB etc, will automatically convert on a mixing model.
    Just add an option in isolates by RGB, CMYK etc. in my document if I necessarily want to isolate the CMYK or RGB object in my composition.
    As it is well make in the preview window in "Recolor " function under the magnifying glass icon.
    (sorry for poor English)

    I support your point of view, Illustrator development team need to work to update Illustrator's Color Management System, that's why color profiles are.
    We need to create color in Lab, RGB or CMYK in the same document.

Maybe you are looking for

  • Windows 8 HP Pavilion dv7-4285dx Upgrade results in black screen after intallation finalizes.

    I have a 2011 HP Pavilion dv7-4285dx with Windows 7 64 bit Home premium installed.  The notebook/laptop has a AMD Radeon HD 6300M series display adapter with driver version 9.2.2.0 dated 9/27/2012 and an ATI technologies Intel HD Graphics display ada

  • It's very urgent(WM)

    Hi Guru,    Can we post or can we do any goods movement without TR/TO ?

  • How to handle Excise Invoice

    Dear All, My problem is regarding excise invoice. Yesterday we have recieved the excise invoice of Month August 2007. Now my problem is how to handle this excise invoice because everything has been posted in Auguset 2007. Now we want to pay excise am

  • Best way to manage images in a swing app

    Hi. I have a swing app that uses alot of images around 100+ at around 40kb each. I am currently using new ImageIcon("icon\\main.png")) to create them. Is this the most efficient way to manage images? Would it be more efficeint to store then in the my

  • OC4J orion-application.xml - elements and attributes

    Hi. i read in oracle docs sentense like this: "Each property maps to an element attribute in the orion-application.xml descriptor." These properties are from deployment plan and i need to know what is the name of the element in orion-application.xml