Deinterlacing using Quicktime SDK

Hi
Im writing on a Quicktime (*.mov) player using Quicktime SDK rendering frames for Direct3D textures. I get these textures using
newTexture = (LPDIRECT3DTEXTURE9)QT::CVDirect3DTextureGetName((QT::CVDirect3DTextureRef)newC VImageRef)
Which uses
QT::OSStatus err = QT::QTVisualContextCopyImageForTime(d3dContext, NULL, NULL, &newCVImageRef)
to receive a CVImageRef for each frame.
This seems to be working fine. However now I would like to deinterlace this image, or at least scale it down to half size in Y do do a rough deinterlacing.
It seems that the deinterlace functionality provided by Quicktime is not available for the windows SDK (kQTSettingsDeinterlaceSource) and it also seems that I cant lock the direct3D texture I receive, which means that I cant manipulate that in any way.
So the question is, is there a way for me to deinterlace or maybe just scale the texture before I get it as a direct3D texture? Maybe using some function calls on the imageref or the direct3dcontext?
Does anyone have experience with deinterlacing using the Quicktime windows SDK?
Thanks!
Rasmus

Hello again
We figured out a way to access the texture, which made it possible for us to do a simple deinterlace by removing every second line of the output.
By converting to a surface we where able to copy data to a new surface which we could lock...
Probably not the fastest most elegant way - but it seems to work alright

Similar Messages

  • Can compression be done without changing YUV by using QuickTime SDK?

    Hi,
    I am using QuickTime 7.3 SDK on Mac OS 10.6.1.
    I was trying to compless in picture an aplication, using Quicktime SDK.
    Can compression be done without changing YUV of picture by using QuickTime SDK?
    Can compression be done without changing YUV of picture by using anoter soft?
    If it is possible to do , it teaches to me the soft.

    Hi,
    I am using QuickTime 7.3 SDK on Mac OS 10.6.1.
    I was trying to compless in picture an aplication, using Quicktime SDK.
    Can compression be done without changing YUV of picture by using QuickTime SDK?
    Can compression be done without changing YUV of picture by using anoter soft?
    If it is possible to do , it teaches to me the soft.

  • How can I use QuickTime SDK to get Compress format of Video stream?

    I can get uncompress video stream like this:
    QDerr = NewGWorldFromPtr( &m_hGWorld, k32BGRAPixelFormat, &rcMac,
    NULL, NULL, 0, (char*)m_pVideoBuffer,
    m_sAVFileInfo.sResInfo.ulWidth*4);
    then the m_pVideoBuffer is uncompress video stream. How can I use QuickTime SDK to get Compress format of Video stream? I could change "k32BGRAPixelFormat" to other format,use other API or something?
    Could someone have the method? Best Wishes!

    Firefox, I would make sure you update your Desktop to Firefox 14.0.1, as the version you are running is quite old and out of date.
    Then, do you have your Sync Recovery key, username and password? If you do, you can re-add Firefox Sync to your computer.

  • Extracting video metadata from .mov files using QuickTime SDK for Windows

    I'm trying to create a service which will process .mov files and extract some statistical information from it, such as length, bitrate, video height / width , and if it's possible info about audio, such as audio levels number of channels etc.
    I've downloaded a sample application which came with SDK and it uses a visual control (Asp.net) to load file url into and then extracts a Movie object which has most of the info I need.
    problem:
    I don't have ability to load a visual control as my program is a service application. Can someone tell me how it's possible to load movie object without using visual control and fetch all the metadata I need.
    Thanks
    shorkun

    QT does not export sound from muxed mpeg files: QT Mpeg Limitations. This freeware should do the trick: Mpeg StreamClip
    If the mpegs in question are mpeg-2 you will need to buy the mpeg2playbackcomponent from Apple ($20 US). Note that these programs will not work with encrypted Hollywood movies.

  • Looking porting some audio filtering using the QuickTime SDK

    I am working on porting an application to windows that need to be able to take an MP3 and add a fade in to the begging and a fade out at the end. I had the code compiling and running, but the fade just doesnt seem to happen in my output file.
    I am also performing a nomalization filter. I can here a difference in the sound, and if i modify the audio stream enough it distorts, but i can't get the volume down to 0.
    I based most of thie code off of the SCaudioextraction sample, and its correctly croping the song the way i want, but its not doing the rest of it. Is there anyone outthere with specific experience on the windows platform using quicktime SDK to do this?

    Thank you very much for answer me! I have installed QuickTime Player 7.3, and it plays Sample.mov well that in the folder of C:\ProgramFiles\QuickTime. when I use MoviesTask(Movie ,0)(API) of SDK 7.3, it has crashed. But When I installed QuickTime Player 7.1, MoviesTask(Movie ,0) works well. I want to know what problem to Player 7.3.
    Best Wishs!

  • Opening QuickTime references using Windows SDK

    I'm trying to use Quicktime SDK on the PC to open up a QuickTime reference file so that I can get the reference paths for all of the media contained within the tracks. The reason for this is that we sometimes need to get Windows to authenticate the paths that the reference file points to prior to opening the QuickTime file otherwise it will ask the use to browse for media. Out app is automated without a UI so this is undesirable.
    I have been writing a Utility to parse the QuickTime reference file and return the path of the Referenced media in each of the tracks. The problem I am having is that when I open the movie, if the referenced media is unreachable I am prompted by Quicktime to search for the media. I thought that I would be able to resolve this by setting the flag newMovieDontResolveDataRefs. Unfortunately while opening a a movie in this mode doesn't prompt me to search for the media, it also seems to reset the paths of the media files referenced by the tracks to the directory containing my application. This is no help at all. What I need is the original path to the reference file(s), regardless of whether or not the computer is able to reach them. Is this possible, and if not, what is the logic behind this behaviour, it doesn't seem to make any sense - why would I want to break my reference paths?

    I'm afraid we don't get a lot of QuickTime developers dropping by here, Damien. It might be worth checking in at the QuickTime-API or the QuickTime-users mailing list instead:
    http://lists.apple.com/mailman/listinfo/quicktime-api
    http://lists.apple.com/mailman/listinfo/quicktime-users

  • Quicktime SDK for Windows very slow processing UNC paths

    Hi,
    I am using the QuickTime SDK to ingest a file to XDCAM mov reference and storing the output file on a network drive using a UNC path.
    My call to QTNewDataReferenceFromFullPathCFString(...) is increadably slow in returning (7.5 seconds), so much so that the rest of the system gives up and the ingest fails.
    I tried using QTNewDataReferenceFromCFURL(...) but this didn't make any difference.
    If I map the network drive the call to QTNewDataReferenceFromFullPathCFString(...) is very quick and the ingest completes without issue.
    I am using QuickTime SDK version 7.3, QuickTime player version 7.7.3 and Windows Server 2008 R2.
    Is this a known problem with QuickTime?
    Thanks for your help.

    GarrySarre wrote:
    I have 32gig of ram with CS5 running on Windows 7 and it never uses a scratch.
    Not directly related to your main question, but this statement is flawed.  Photoshop ALWAYS opens scratch files.  I have 48GB and just opening Photoshop causes scratch files to be created with names like Photoshop Temp208190803952.
    I only mention this because if you're not seeing such files created, you may not have your Scratch preferences or permissions set right.
    Can you screenshot your Edit - Preferences - Performance panel, please, and post it here?
    And a last note that DOES bear on your Liquify issues:  If you're truly using Liquify a lot, you really, REALLY need to look into upgrading to Photoshop CS6.  You know they re-wrote it to use the GPU in the new version, right?  It's night and day faster.
    -Noel

  • Cannot use QuickTime functions in a plain C++ application

    Hi,
    Im new to QuickTime.Now i need to use quicktime7.1 SDK functionalities in my plain C++ application.Hence I started with a plain C++ application just to check whether i can access the quick time functions there.Im currently using Dev-cpp IDE for developing my application.
    Given the sample code.
    #include<iostream>
    #include<conio.h>
    #include<QuickTime.h>
    using namespace std;
    main()
    int ver=0;
    ver=quicktime_major(void);
    cout<<"VERSION"<<ver;
    getch();
    The given program uses the quicktime function quicktime__major to get the version information.The function returns an integer value,which is the version of the quicktime installed.The function is declared with in the header quicktime.h.Hence i added the header file.
    On Compiling,I am getting some errors in the main function as listed :-
    main.cpp: In function `int main()':
    main.cpp:9: error: expected primary-expression before "void"
    main.cpp:9: error: `quicktime_major' undeclared (first use this function)
    main.cpp:9: error: (Each undeclared identifier is reported only once for each function it appears in.)make.exe: * [main.o]
    Error 1Execution terminated
    I am getting so many other errors in the quicktime header files which i am not able to get resolved.Some sample errors are listed below.
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:145: error: conflicting declaration 'kATSULineWidthTag'
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:145: error: 'kATSULineWidthTag' has a previous declaration as
    `<anonymous enum> kATSULineWidthTag'
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:145: error: declaration of `kATSULineWidthTag'
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:145: error: conflicts with previous declaration `<anonymous enum>
    kATSULineWidthTag'
    [this same error is repeating for all the enum members in the header file ATSUnicode.h ]
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h: In function `OSStatus (* NewATSQuadraticLineUPP(OSStatus (*)(const
    Float32Point*, const Float32Point*, void*)))(const Float32Point*, const Float32Point*, void*)':
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2523: error: redefinition of `OSStatus (*
    NewATSQuadraticLineUPP(OSStatus (*)(const Float32Point*, const Float32Point*, void*)))(const Float32Point*, const
    Float32Point*, void*)'
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2523: error: `OSStatus (* NewATSQuadraticLineUPP(OSStatus (*)(const
    Float32Point*, const Float32Point*, void*)))(const Float32Point*, const Float32Point*, void*)' previously defined here
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h: In function `OSStatus (* NewATSQuadraticCurveUPP(OSStatus (*)(const
    Float32Point*, const Float32Point*, const Float32Point*, void*)))(const Float32Point*, const Float32Point*, const
    Float32Point*, void*)':
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2542: error: redefinition of `OSStatus (*
    NewATSQuadraticCurveUPP(OSStatus (*)(const Float32Point*, const Float32Point*, const Float32Point*, void*)))(const
    Float32Point*, const Float32Point*, const Float32Point*, void*)'
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2542: error: `OSStatus (* NewATSQuadraticCurveUPP(OSStatus (*)(const
    Float32Point*, const Float32Point*, const Float32Point*, void*)))(const Float32Point*, const Float32Point*, const
    Float32Point*, void*)' previously defined here
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2561: error: redefinition of `OSStatus (*
    NewATSQuadraticNewPathUPP(OSStatus ()(void*)))(void)'
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2561: error: `OSStatus (* NewATSQuadraticNewPathUPP(OSStatus
    ()(void*)))(void)' previously defined here
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h: At global scope:C:/Program Files/QuickTime
    SDK/CIncludes/ATSUnicode.h:2578: error: conflicting declaration 'uppATSQuadraticClosePathProcInfo'
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2578: error: 'uppATSQuadraticClosePathProcInfo' has a previous
    declaration as `<anonymous enum> uppATSQuadraticClosePathProcInfo'
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2578: error: declaration of `uppATSQuadraticClosePathProcInfo'
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2578: error: conflicts with previous declaration `<anonymous enum>
    uppATSQuadraticClosePathProcInfo'
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h: In function `OSStatus (* NewATSQuadraticClosePathUPP(OSStatus
    ()(void*)))(void)':
    C:/Program Files/QuickTime SDK/CIncludes/ATSUnicode.h:2580: error: redefinition of `OSStatus (*
    NewATSQuadraticClosePathUPP(OSStatus ()(void*)))(void)'
    Can anyone help me to resolve the above issues?
    Thanks in advance,
    Sans

    Antoine;
    There is a good KnowledgeBase at NI home page talking about that issue.
    If you go to www.ni.com and type +ni-daq +run +borland at the search engine of the page, the second result is the link to the KB I'm referring to.
    Hope this helps.
    Filipe

  • Oh no! "Deprecated API Usage - Apple no longer accepts submissions of apps that use QuickTime APIs."

    Tried to submit an app to the Mac App store and I received this now:
    "Deprecated API Usage - Apple no longer accepts submissions of apps that use QuickTime APIs."
    Looks like a fix is in for Adobe Air (https://bugbase.adobe.com/index.cfm?event=bug&id=3680732), but I'm not sure if the same is being performed on Director.
    I'm not using any Xtras or anything, I think this is just embed within the Director builds.
    Looks like submitting anything to any Apple App store is going to be on hold for everyone until this gets fixed.

    Hi,
    Looks like this issue has been fixed in April 8th, 2014 release of AIR SDK. So the latest release 13.0.0.111 on May 13th, 2014 will have this issue fixed.
    Download Adobe AIR SDK
    Release Notes | Flash Player® 13 AIR® 13
    Thanks!
    Mohan

  • Installing QuickTime SDK on Windows 2000?

    Hi,
    I'm trying to install the QuickTime SDK 7.3 for Windows (from http://developer.apple.com/quicktime/download/).
    When I try to install this I get a dialogue box telling me:
    "QuickTime SDK requires that your computer is running Windows 2000 or Windows XP."
    The problem is that I'm running Windows 2000!!
    Anyone knows of any way to solve this issue?
    Best Regards
    Pär

    I installing the Adobe Flash plugin ONLY by my own hand. Sadly, Adobe did not come up with zip archive with just the plugin dll file, but I install - copy the DLL - and uninstall. Then manually delete the remaining files and just use the DLL or the installer.
    To make the installe work at Win2k, the very same hack is need - hack the Flash Util file the same way, as the dll - change in it the SetDllDirectoryW to GetModuleHandleW and that it is!
    If someone want, there is Flash Util and Adobe Flash as DLL files, hacked with W2k:
    http://rapidshare.com/files/3122942562/Flash%20Players%20for%20W2k.zip
    http://depositfiles.org/files/max4wif3c
    http://www.sendspace.com/file/z2t9j2
    Archive contain Adobe Flash unpacked (ready to copy into Firefox) with their utility files hacked for W2k in these versions: Flash Player 9.0.124.0, Flash Player 10.0.32.18, Flash Player 10.1.85.3, Flash Player 10.1.102.64, Flash Player 10.2.159.1, Flash Player 10.3.183.29, Flash Player 11.2.202.235, Flash Player 11.3.300.273, Flash Player 11.4.402.287
    Interesting thing. Fullscreen video won't work on YouTube (only white screen, sound go ok) with Firefox v3.0.14 and Adobe Flash higher version that 10.0.32.18... Strange, strange 
    (could be that the Firefox is kinda old, but it is weird that v10.0.32.18 works flawlessly and just v10.1.85.3 not at all in fullscreen... I also use relatively old Forceware drivers v45.28 on crap GF2MX400 card :-) )

  • How to uninstall/remove Quicktime SDK?

    I have mistakenly installed Quicktime SDK and want to remove it. I have updated the player to the newest version 7.0.4 and it works ok. Now the software update wants to update the SDK, but I don't need the SDK at all.
    Pointers to relevant how-tos appreciated.
    TIA
    Dual-mirror G4   Mac OS X (10.3.9)  

    You have three choices, update it. Tell software update to ignore updates for it. Uninstall it manually. You can use Pacifist (shareware) to read the QuickTime7SDK.pkg in your /Library/Receipts which will show you what files were installed.
    You could also just run the installer again, when you get to the "Select Destination" screen, pull down the File menu and "Show files" to see what goes where.

  • Export using QuickTime...

    Hello,
    I recently started my second video project for my family which is converting Video8 and Hi8 tapes to digital video and had a few questions regarding "Export using QuickTime".
    I utilize a Digital8 camcorder to play my analog Video8 and Hi8 tapes with a DV FireWire cable so the camera does the analog to DV conversion when importing into iMovie 09. Next, I utilize the MPEG Streamclip to do the DV clip conversion using 720 x 480 (DV-NTSC) frame size settings and apply contrast & color alternations. Lastly, I import the new .mov clips into iMovie, create a new project, do some trimming and now ready to export.
    Question: I don't plan to share to iTunes, iDVD, Media Browser, YouTube or MobileMe Gallery however I would like to export and put the video on a media center device. That leaves me with "Export with Quicktime" however there are quite a few export options, for example:
    Movie to AVI
    Movie to DV Stream
    Movie to QuickTime Movie
    Which export option is best to use in terms of no loss of video and audio?
    Also, there is additional settings, Options button, to configure video settings (compression, frame rate, data rate, quality, dimensions) and sound settings (format, channels and sample rate & size). Are these settings or defaults good to go out-of-the-box or do I need to tweak?
    Any experiences or recommendations on export options and video and sound settings would be appreciated.
    Thanks,
    Dave

    "DV will import just fine into iMovie 09 however when you render or export, iMovie uses 'single field processing' meaning every other horizontal line of the video is thrown out. In effect, reduces the sharpness of the footage. By using MPEG Streamclip, I am converting it into another format and then importing it back into iMovie."
    I'm aware of the problem and I'm very curious about your solution. How exactly do you avoid the field drop issue? I thought you said you went from DV back to DV, which I thought would not have any effect on the field issue. Most other reports of working around the issue involve de-interlacing with, eg. JES Deinterlacer.
    "Format: H.264, 640 x 480, Millions
    Format: AAC, 2 channels, 44100 Hz
    FPS: 29.97"
    These are the AppleTV export defaults I guess? You could accomplish the same thing by an export via Quicktime, and then you'll get more control. IMHO, Apple's presets were chosen to produce "pretty good" quality at small file sizes. That's certainly a reasonable approach and they probably made a very well calculated compromise. But my preference is to sacrifice time and disk space to eke out a bit more image quality if I can.
    Either way, these settings are very close to what I would use anyway, if your original video is 640 x 480. I thought my SD camcorder gave a bit more resolution before it croaked. Sorry I can't check it right now. Just be sure you're not losing resolution in the process. You could also bump the audio to 48 kHz if the input audio is at that sample rate. In the QT export, the other thing you can adjust is quality level; the default for AppleTV is probably "Good" or "Better" and single pass compression. Choosing "Best" multi-pass compression will take longer and give you a bigger file. You'll have to judge whether it's worth it. And just because you can see things on your monitor doesn't mean you'll see it on your TV - you have to test.
    It's frustrating, but there really is no right answer to all this stuff, because the choices you make depend on your source and your display, and everything in between.

  • QuickTime SDK for Windows for Rez.exe

    YAHSHUA YHWH GOD BLESS you, Where can i download QuickTime SDK for Windows so i can get the Rez.exe resource editor?

    Hello again
    We figured out a way to access the texture, which made it possible for us to do a simple deinterlace by removing every second line of the output.
    By converting to a surface we where able to copy data to a new surface which we could lock...
    Probably not the fastest most elegant way - but it seems to work alright

  • QuickTime SDK Reading MPEG-2 Container W H264 Video

    I am interested in using the QuickTime SDK to develop a player app. The video file I have is H264 video in an MPEG-2 Program Stream container. QuickTime does not recognize this file. How do I use the SDK to play this file?

    Like many people here I have QT PRO (on Leopard) and the MPEG-2 Playback Codec (Version 6.4.1) installed. When I record from TV via Cable or DVB-T I always get a MPEG-2 Transport Stream.
    I may be wrong, but I don't believe "true" transport streams have ever been supported by the QT MPEG-2 Playback component and, by extension, would not be supported by either the Finder Preview or QuickLooK.
    When you have selected in Finder to show the Preview of a file it will go for a long cup of coffee when it comes to selecting a .m2v or MPEG Transport Stream file, i.e. the Finder crashes.
    M2V/AIFF elementary stream files, "muxed" MPEG (MPEG2/MP2 or MPEG2/MP1), and MOV (MPEG2/any compatible audio) all play fine for me in both the Finder Preview and QuickLook. The only problem are VOBs whose video content play fine in the QT Player but have to have their extension changed to MPEG to play in either the Finder Preview or QuickLook. Frankly, I am unable to duplicate your problem except for "true" MPEG-2 Transport Streams, which, as I previously said I don't believe have ever been QT compatible.

  • How to convert html to pdf using acrobat sdk 8.0?

    hi
    I am a beginner of acrobat sdk .
    I want to know How to use acrobat sdk 8.0 to convert html to pdf?
    herere some questions :
    1:How to support navigation inside PDF file that generated using acrobat sdk 8.0? For example: theres catalog in the top of HTML file, customer hopes can navigate inside the PDF file just like navigating inside the HTML file.
    2:How to support operating some controls in the PDF file that generated using acrobat sdk 8.0? For example: therere some drop down list and text box in HTML file, customer hopes can input text in the text box, click the drop down list to see available options in it just like in HTML file.
    Thanks in advance for any help and suggestion.

    Hello,
    I want a system to re-brand my 37 pages PDF for affiliates.
    I want a php dynamic link in the PDF online in order to personalize automatically the PDF for each affiliate. I need to change 2 links each time. The affiliate ID and the Paypal email (payment button) in page 36.
    Can you help?
    Please let me know
    Thank you
    Alex
    PS My system is online and i can give you the url if it helps.

Maybe you are looking for

  • Error in BEX report

    HI BW guru's. Iam executing a zreport in BEX, which is showing up all the vales that are there in the cube, except one master data attribute. when I check in master data contents it is having the values in it. But in the BEX all the values for the co

  • Interpretation of Explain Plan

    Hi All, I am trying to optimize my query. Can anybody tell me where can I get documentation for How to interpret the output Generated by Explain Plan. TIA Dharmesh Patel

  • RAW converter in Bridge

    The Elements Techniques March/April issue discusses the RAW cosnverter in Bridge that is a complete RAW converter that can be installed by updating the Adobe Bridge app but it does not seem to install.  I have Elements 6 for Mac with Adobe Bridge CS3

  • Force reevaluation of file location

    There are songs in the cloud on one computer that I actually have files for on a different computer.  If I add the files through iTunes, it thinks I have duplicates.  IfI just add the files through finder I can't force iTunes to figure out the physic

  • I have a Ipod 2g and want to download an app but it says that I must update but I can't because my Ipod is the highest IOS what do I do?

    I want to download Minecraft but my ipod isn't a high enough IOS what do I do?