Conversion from YUV to RGB

Hi,
I'm developing a video application in AIR, to run both on Iphone/Ipad and Android.
I am looking for Adobe flash built in methods and primitives to convert images from YUV411 to RGB format for display.
I imported C functions in ADOBE Alchemy to create .swc library to decompress YUV411 to RGB but I am looking for something more optimized to gain in performance.
Any help is very welcome
Andrea

JP:
Thanks for pointing out the Floating Point option in the Internal Pixel Format pop-up menu in the User Prefs tab in Color.
According to the Color manual it says that
“Float: The highest level of image-processing quality available in Color. Float refers to the use of floating-point math to store and calculate fractional data. This means that values higher then 1 can be used to store data that would otherwise be rounded down using the integer-based 8-, 10-, 12-, and 16-bit depths. Float is an extremely processor intensive bit depth, so plan for longer rendering times.”
I assume that “storing data that would otherwise be rounded down” is what prevents luma clipping and chroma clamping.
In other words:
1. if I process maximum white as super-white (FCP Seq settings)
2. then send such sequence to Color
3. uncheck broadcast safe in the project settings tab in Color
4. select the Floating Point option in the Internal Pixel Format
5. Grade in Color
6. render in Color
7. Send back to FCP
8. My super-whites (whether 8 or 10 bit) should not be clipped.
Does this sound right?
In the case of RED or HDCAMSR (Dual Link), FCP will handle the video as RGB, and superwhite (at 10 bit levels, from 940 to 1019) will not be clipped, In Color, following the previous recipe, clipping or clamping should not occur either.
Rubén

Similar Messages

  • 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

  • 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

  • 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.

  • Getting ÿþ as saved conversations from Lync in Outlook in Office 2013

    Hi,
    I've been trying to get to the bottom of this and have found similar posts, but no one seems to have an answer.
    When I IM someone using Lync 2013, they get a pop up notification but instead of the message they see ÿþ<.  Once they open the chat window, they can see my typed text.  Occasionally, certain people can't see the first line of my chat, but as
    long as they keep the chat window open, they can see everything new I type.
    All my conversations that are saved in outlook show ÿþ< for the text and are unreadable.  I've disabled the saving of conversations because they have become worthless.
    I believe it has to do with BOM but have not been able to find a way to fix this.
    If I copy a conversation from the chat window and paste it into Microsoft Word it shows ÿþ<, but if I paste it into notepad the conversation appears.
    (I had inserted a screenshot here, but am unable to because I am unable to figure out how to get my account "verified")
    I've tried changing the preferred encoding for outgoing messages: to Unicode (UTF-8) in Outlook, but this had no effect and I can't find a similar option in Lync 2013.
    (I had inserted a screenshot here, but am unable to because I am unable to figure out how to get my account "verified")
    I enabled logging for Lync and the event IDs that come up are 1, 11 and 12, to which I cannot find any information for at the moment.
    Any help and or suggestions would be appreciated.

    Hi,
    Did the issue happen only for you or for multiple users?
    Please try to delete Lync User Profile and information on Registry, then repair Office 2013.
    The path of Lync User Profile: %UserProfile%\AppData\Local\Microsoft\Office\15.0\Lync
    The path for information on Registry: HKCU\Software\Microsoft\Office\15.0\Lync\[email protected]
    Then test the issue again.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Project Conversion from 11.03 to R12- need help

    Hi All,
    I need some information regarding conversion from 11.03 to R12 along with Capital Project's conversion, do we need to take care Asset Assignment and Assets information at the time of Project Conversion. Iam doing Project and Task conversion different. Is there any good mapping document or Conversion FD, if any body have please send my mail ID. [email protected]
    Thanks for your help.
    Thanks,
    Srini..

    Usually only Open Invoices and Unapplied Receipts are migrated from Old system to New Instance.
    Post Migration Reconciliation shall be tough in that scenario. Reconsider/Rediscuss with Client.
    Migration can be done using APIs or Custom Scripts using Standard Interfaces.
    Hope this is helpful
    Regards,
    Sridhar

  • Since downloading Firefox 4, I am having problems archiving gmail conversations from my inbox view. Also, when I go to enter a new event in google calendar, I now have to click the cursor in the box to type the event (it used to let me just start typing).

    Since downloading Firefox 4, I am having problems archiving gmail conversations from my inbox view (either one or several conversations) as it says "No Conversations Selected" when I have selected one or several. Also, when I go to enter a new event in google calendar, I have to click the cursor in the box to type the event (it used to let me just start typing) or else it flips out and starts jumping to day view or another month. Does anyone know how to fix either of these?

    I have had this problem; but while trying to fix another problem, I reset my preferences for Firefox and it fixed this problem as well. To reset preferences, follow this link: http://support.mozilla.com/en-US/kb/Resetting%20preferences

  • How can I print a text message conversation from my iPhone? Not using screenshots.

    How can I print a text message conversation from my iPhone? Not using screenshots. It's around 500 messages so screenshots is not a option.

    Yes, you can delete from iphone:
    http://manuals.info.apple.com/enUS/iPhone_iOS4_UserGuide.pdf
    It is covered in the manual.
    Page 172:
    "Delete a podcast: In the Podcasts list in iPod, swipe left or right over the podcast, then
    tap Delete. "

  • Page numbers incorrect after conversion from Excel to pdf

    Page numbers incorrect after conversion from Excel to pdf
    ""This above link (thread:834599) is from a case back in 2011 that claims to solve this problem, but it does not solve this problem. I think that customer only cared about having continuous page numbering, not discrete page numbering per sheet.
    ========================
    I still have this issue in Acrobat XI and MS Office Professional Plus 2010. I keep upgrading to no avail. This regression has resulted in a huge time drain for me. If you fixed it, please explain how I can get my hands on the resolution.
    Previous versions of Excel and Adobe Acrobat enabled flexibility around the "Page #" of "Number of Pages" (Page &[Page] of &[Pages]) token, depending on context and usage. The "# of pages" token could represent EITHER the number of pages in the workbook OR the number of pages in the tab/sheet, depending on how you generated the PDF:
    You could select "Selected Sheets" and then select all or some of the individual sheets in the workbook, and the PDF would honor the discrete numbering of each of the sheets, so the first page of each sheet was p1 and the "# of pages" was the number of pages in the sheet; not the number of pages in the workbook; or
    You could select "Entire Workbook" and the PDF would honor continuous page numbers across all sheets, as a single document.
    Now, it only honors the total number of pages in the workbook, regardless of the method you use to publish to PDF: saving as PDF, printing to PDF, using "createPDF" from Acrobat plugin to Excel's menu ribbon; selecting all sheets, some sheets, or Entire Workbook; automatic First page number or "1" under Page Setup > Page> First page number. (This last option, btw, does restart every sheet at p1, but it hardly makes sense if the total number of pages is still the total number in the workbook instead of the number in the sheet.)
    I spent a lot of time trying each which way that the blog posts recommended and have tried this on multiple versions of Excel and Acrobat now.
    NONE of these time-consuming experiments gave me what I wanted.They all insist that "Page #" of "Number of Pages" (Page &[Page] of &[Pages]) is the total number of pages in the workbook or the total number of pages in the selected sheets combined.
    The numbering are correct in Excel Page Layout.
    The same issue happens when using LibreOffice calc. (Although, I never tested with Libre Office before, so I don't know that it ever worked).
    The workaround now is to create PDF for each spreadsheet one at a time, and then compile them using the Acrobat combine/binder feature. All alternatives are extremely time consuming and tedious. It used to be automatic. This is a major regression that has gone untreated for over a year now, maybe two years.
    My task takes infinitely more time to complete than it did with previous versions of Acrobat. That means that days are added to my project, when the functionality used to enable a quick pdf generation that was ready for review, now I have to do this very manual time-consuming set of steps to generate a draft. As the project has grown and more tabs are added, my pdf-generation task takes that much longer. We require lots of drafts. It used to be easy and fast. Now it is hard and time-consuming.
    In my opinion, the problem is not Excel; it is Acrobat because it was introduced with an upgrade in Acrobat, not an upgrade in Excel. The problem was introduced in Acrobat 9 or 10. Please provide a patch or add-on or something.

    If you are setting up the page numbers in Excel, the resulting PDF would display the the page numbers created in Excel. On Excel 2010 support page, (http://office.microsoft.com/en-us/excel-help/insert-and-remove-page-numbers-on-worksheets- HA010342619.aspx#BM2) is stated the following "tip" which indicates by default Excel 2010 starts numbering each tab with 1. Exel's workaround tip is below - 
    Set a different number for the starting page
    Tip   To number all of the worksheet pages in a workbook sequentially, first add page numbers to all worksheets in a workbook, and then use the following procedure to begin the page number for each worksheet with the appropriate number. For example, if your workbook contains two worksheets that with both be printed as two pages, you would use this procedure to begin the page numbering for the second worksheet with the number 3.
    On the Page Layout tab, in the Page Setup group, click the Dialog Box Launcher next to Page Setup.
    On the Page tab, in the First page number box, type the number that you want to use for the first page.
    Tip   To use the default numbering system, type Auto in the First page number box.
    Also helpful in the same section is the note on viewing page numbers. To see if the page numbering dilemma originates in Excel make sure you are using the Page Layout View see below:
    Hide All
    If you want numbers shown on pages when you print a worksheet  you can insert page numbers in the headers or footers of the worksheet pages. Page numbers that you insert are not displayed on the worksheet in Normal view — they are shown only in Page Layout view and on the printed pages.
    Overall it may be easier not to create the page numbers in Excel but instead create then in Acrobat using the Headers and Footers option in Acrobat.  I hope this helps - it sounds like a frustrating issue you are experiencing.

  • I can´t sync iCal events written in the iphone4 to the macbook ical, but conversely from macbook to iphone there´s no problem, can somebody help me?

    I can´t sync iCal events written in the iphone4 to the macbook ical, but conversely from macbook to iphone there´s no problem, can somebody help me?

    Thanks for your answer! I tried as you say, erase the Sync History, but now does not sync any calendar, only displays the birthday ...do not know whatelse to try.

  • Conversion from string "20041023 " to type 'Date' is not valid.

    Hi ,
       I have a table with one of the column(EmpHiredate) datatype is char(10). It has value like "20141023". I need to display this value as date format(dd/mm/yyyy) in report. 
    Following methods i tried in textbox expression but no luck.
    =Format(Fields!EmpHireDate.Value,"dd/MM/yyyy")
    =Cdate(Fields!EmpHireDate.Value)
    Error:
    [rsRuntimeErrorInExpression] The Value expression for the textrun ‘EmpHireDate.Paragraphs[0].TextRuns[0]’ contains an error: Conversion from string "20041023  " to type 'Date' is not valid.
    Is it possible to convert string to date using SSRS textbox expression ? Can anyone help me with the solution.
    Thanks,
    Kittu

    Hi Jmcmullen,
         Found one more issue on the same. I have one value like "00000000" for the column(EmpHiredate)
    , when i use above expression values(ex:"20141023")
    are displaying in dd/MM/yyyy format in report except value like "00000000" and giving following error:
    [rsRuntimeErrorInExpression] The Value expression for the textrun ‘EmpHireDate.Paragraphs[0].TextRuns[0]’ contains an error: Conversion from string "0000/00/00" to type 'Date' is not valid.
    Even i tried to pass its original value("00000000") as below but no luck.
    =IIF(Fields!EmpHireDate.Value = "00000000","00000000",Format(CDATE(MID(Fields!EmpHireDate.Value,1,4) + "/" + MID(Fields!EmpHireDate.Value,5,2) + "/" + MID(Fields!EmpHireDate.Value,7,2)),"dd/MM/yyyy"))
    Also tried this:
    =IIF(Fields!EmpHireDate.Value = "00000000","2000/10/21",Format(CDATE(MID(Fields!EmpHireDate.Value,1,4) + "/" + MID(Fields!EmpHireDate.Value,5,2) + "/" + MID(Fields!EmpHireDate.Value,7,2)),"dd/MM/yyyy"))
    Please Suggest. 
    Thanks ,
    Kittu

  • Error while loading : Time conversion from 0CALDAY to 0FISCPER

    Hi ,
           I get the following error when loading to an ODs .
    My 0FISCPER is mapped to one of the date fields from the extractor (Document date) and also Have 0FISCVARNT as part of data fields  .
    " Time conversion from 0CALDAY to 0FISCPER (fiscal year ) failed with value 20060405 " .
    thanks .

    Hello CG
    Please refere this forum
    Time conversion problem
    Thanks
    Chandran

  • ITunes will no longer play nor add to the library any mp3 files which I have created by conversion from a wav file.

    I am running iTunes 10 on XP Pro and it will no longer play those mp3 files which I have created by conversion from wav files.  I tried to delete some from the library and then re-add them but iTunes will not add them back to the library.
    Can anyone help solve this, please?

    Back up your purchased music before you upgrade, I've read at least 5 cases where purchased music has just gone.....missing.
    That is not supposed to happen, didn't happen to me or thousnds of other iTunes users, but you don't want to be the 6th person, do you?
    There are two things to try before you upgrade:
    Barbara Hall, "Unknown Error (-208)" #1, 07:42pm Oct 19, 2005 CDT
    http://docs.info.apple.com/article.html?artnum=302478

  • FM for Material number conversion from R/3 to APO in R/3

    Hi,
       Can anybody tell me conversion exit (function module) for Material number conversion from R/3 to APO in R/3 system. I mean i have 18 digit R/3 material number which i have to convert to 40 digit APO material number in R/3 system.
    Please suggest to win full points.
    Thaniks in Advance,
    Chandan Dubey

    Dear Chandan,
    Conversion Exits:
    CONVERSION_EXIT_MATN1_INPUT ....... If you are storing Material With Zeros
    Then concatenate it with 22 zeros. i.e. '0000000000000000000000000000'.
    For example:
    data : v_matnr type matnr,            "R/3 Material
           v_apo_matnr(40) type c,        "APO Material with 40 length
           v_zeros(22) type c. value '0000000000000000000000000000'.
    CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
           EXPORTING  INPUT          = v_matnr
           IMPORTING  OUTPUT         = v_matnr.
    concatenate e_mantr v_zeros into
                v_apo_matnr.
    Regards,
    Naveen.

  • Conversion from u0091Stringu0092 to type u0091Dateu0092

    Hi,
    I am fetching a date from DeliveryDate TextBox from Sales Order. I enter as 10/03/2007. As I need to fetch this value and store it in Production Order DueDate records through SDK Code.When I fetch this value from code,I get as 20070310. When I try to update my Production Order DueDate it gives me an Error Msgbox “Conversion from string “20070310” to type ‘Date’ is not valid.” Here is my code to update production order.
    Dim DelDt As String
    DelDt = MyForm.Items.Item("12").Specific.value
    Here DelDt shows 20070310
    Now I have created an object of ProductionOrder and try to add Records,
    sboProdOrder.DueDate = DelDt
    On the above line it gives me that messagebox.
    Can any one help me as to how can I convert this code in a working one or how to convert the string to date in VB.Net
    Thanks a lot
    Murtaza

    Hi Murtuza,
    Retrieving the value from a date-field through the value always returns the date as a string in the format yyyymmdd.
    the field DueDate is a field of type DateTime.Date. to enter the date in this field, you must convert the string to a date.
    The following line converts the date-string to a date.
    new DateTime.Date(left(DelDt,4), mid(DelDt,5,2), right(DelDt,2))
    Regards
    Ad

Maybe you are looking for

  • Exporting text from text entry box

    Hi Everyone, I am building a responsive project in CP8 and want to be able to extract (and store) the text that people type in the text entry boxes. Is there a way that you can export or store the content. Perhaps the LMS can store the information an

  • Java Server Problem

    I am using Secure Global Desktop Enterprise Edition (4.0) on Fedora Core 3 Linux. Sometime, the system shows the following error message when I click the application. Starting... Locating session... Couldn't start application. Please inform an Admini

  • Getting a parent folder WITHOUT IfsFileSystem

    Hi, We discovered that using the IfsFileSystem class drastically increases access times to iFS public objects. As a result we are considering phasing out use of this class in favour of other API calls, which appear to be faster. Unfortunately we cann

  • Configuring LDAP for WEBASJAVA  with Windows ADS LDAP

    Dear All,       I have installed Windows ADS with windows LDAP on a server and Webas java on another server. How to configure UME of WEBAS JAVA to connect  with Windows ADS. How to do the LDAP integration?    Please guide me. Regards Arun

  • Problems with photoshop cs5 plug ins

    Since upgrading to Lion and OnOne Photo Suite 6, every time I create an action and try to run it, the action stops to have me set the specifics, which I have a saved preset for. Anybody has any solution, suggestions? Greatly appreciated!!! Best regar