Video Compression

This is what I want to do:
Read an AVI file, process each frame in it (i.e draw something onto them), save the processed frames/buffers to file.
My application implements the Effect interface and inserts this on the Processor's codec chain.
I've accomplished all of the tasks above, but I've stumbled upon some unacceptable shite..
1) The resulting file is HUGE. It seems like the frames are saved as RAW data. I.e: input: 1,5 MB AVI sequence (480x360, 10 seconds long, cvid (cinepak) encoded) results in a .mov file of 105 MB (!) (480x360, cvid encoded??)
2) I've not found any way to alter the output format of the video sequence read. I always get some exception when trying to specify the format manually. I've tried setting the format both at the processors track control-instances (and at the processed buffers setFormat()-methods.)
Do I really have to implement the compression and resizing of the output video myself? I got the impression that this can be defined by the setContentType() method of the processor. I.e. if I do the following:
processor.setContentDescriptor(new ContentDescriptor(FileTypeDescriptor.QUICKTIME));
...and then later when I've gotten hold of the video TrackControl object (vtc) I could do a:
vtc.setFormat(new VideoFile(videoFile.CINEPAK));
...to ensure that I use CINEPAK to encode the resulting buffers (that is later passed to a DataSink). The way I use it now, it seems like cvid (cinepak) is used, but the resulting filesize suggests that no compression applied.
I'd really appreciate any input and ideas on my case. I'm going crazy here!! ;-)
-- Regards Jennifer

Thanks alot for the suggestion. I've tried this out, but I'm still having problems.
I'm now using two processors (drawP and compP). The first (drawP) set with content descriptor RAW. This processor's got the effect/codec attached to it. The second processor (compP) gets its datasource from the first (drawP). Its content descriptor is set to QUICKTIME and a datasink is attached to it. This works fine, but the output still seems to be uncompressed (RAW?).
Does anyone have any suggestions on any other way to define the output format. The way you say "should be passed to another processor that defines that it accepts RAW input and produces compressed data"... Does this imply setting the first content descriptor to RAW and the second to i.e QUICKTIME, or is there a better way? Or maybe I've misunderstood..?
Appreciate views, ideas, comments, anything ;-) Thanks for your time!
-- Regards Jennifer

Similar Messages

  • I am having problems exporting my time lapses from quick time pro i need to save my files as photo jpegs but the standard video compression window will not open fully,

    i am having problems exporting my time lapses from quick time pro i need to save my files as photo jpegs but the standard video compression window will not open fully, it just keeps my mac (old 1.6Ghz 2.5 GB sdram G5 still good for most stuff i need) spinning for ever but i can see compression type H.264 selected and the other setting but i can not select any other options as it still thinking but never opens! why is this happening how do i get round it?
    my work flow is: 300 images shot on a 5d mark II medium jpegs opened in Light Room cropped to 16:9 then exported and opened in quick time i can save a .mov H264 giving me files sizes of 14 mb for a 16 second time lapse, mp4 9 mb. the only way i can get large files is saving as a self contained movie then i get 300mb files.
    i need to save my files 1920 x 1080 photo jpeg codec as i want HD quality.
    i am sure there is a simple way round this?
    thanks guys!

    It is very difficult to offer troubleshooting suggestions when the "os version" you are using is unknown as each os has their own troubleshooting solutions. 
    How large is your hard drive and how much hard drive space do you have left? 

  • Using BlackMagic Intensity Pro Video Compression card with FCP in a MacPro

    BlackMagic is offering the Intensity Pro card that they claim is enhancing the quality of video compression for better results than software driven compression, even with Standard DV in addition to HDV, and at a surprisingly cheap cost (less than $300).
    http://www.h-digital.com.au/hardware/hardwareview.asp?id=152
    As someone used such hardware driven compression card in a MacPro ?
    Does-it really help making better quality DVDs?
    If not are there better hardware driven compression card?

    7-8 years ago, we said that analog video was at the low end and DV was at the high end.
    Uh, DV was NEVER on the high end. Digibeta and Beta were analog, and were HIGHER end than DV. Just because it was digital doesn't mean it was better. DV is compressed 5:1 and has 4:1:1 color sampling. Beta was 4:2:2 and better than DV...and Digibeta was and still is the high end SD format. DVCPRO 50 a close second. No...DV came in on the low end...like HDV comes in on the low end of the HD spectrum.
    If this Intensity card does not help to get better compression than software driven compression, is there another card which can do so ?
    Well, I answered this, but you must have missed my answer, so I will bold it for you: *THERE IS NO CARD OUT THERE FOR THE MAC THAT WILL AID IN DVD COMPRESSION.* I don't know about the PC side, so I make the statement to include MAC only. There are several hardware solutions for encoding DVDs that distributors use when making the theatrical DVDs like OCEANS 13...but those are separate hardware encoders. And no, again, those encoders are not available on a Mac.
    What I mean at the end is to find ways to have higher quality DVDs than when using software such as Compressor. Do you follow me ?
    I follow you....you aren't following me. Since I am an editor and not a distributor, I don't know what those solutions are. They exist outside of the editing world, so you have to GOOGLE this or look elsewhere. Needless to say, the Intensity does not aid in this. No capture card does. That is not what they are designed for. They are designed to capture non-firewire formats and to output to non-firewire formats...not to aid in DVD compression.
    Shane

  • Adjust video compression within iWeb?

    Is there any way to adjust the QT video compression when posting movies via iWeb? Currently, my wife opens iWeb, and then selects movies from within the media pane (specifically, the iPhoto library). These have not been compressed in iPhoto, and as she's not very techie, I don't want her to have to go through that hassle.
    It seems strange that, from within iWeb, there is no video settings for compression. Right now, a 30 second video can be 50 MB or more. That is ridiculous.
    Any thoughts on how to compress without adding a bunch of complicated steps?

    Yes, it's very ridiculous that an application for creating webpages has no features for compressing video.
    And the movies in iPhoto are usually the raw material that comes out of a camera. They have to be edited too.
    Perhaps an application for editing movies does what you want. iMovie comes to mind. What a burden.

  • Video Compression Help

    Hey guys and gals,
    I just finished my music video assignment for media production class and everyone thought it was really good, albeit a bit weird haha. I want to put it up on YouTube or Google Video but I dont want it to look crappy. I have like 10 videos on Google but the quality could be better. I want the music video to look as good as possible. Do any of you know of any tips you could give me for video compression? I have Handbrake and tried playing around with that but the videos still look pixilated on Google and YouTube.
    Any help would be greatly appreciated!
    Thanks!

    Hi there!
    http://discussions.apple.com/thread.jspa?threadID=1226168&tstart=75

  • HD Video Compression Issue

    I'm looking for information on weather or not Flash CS5 (I currently use Flash 8) can handle HD video compression for web streaming.  I have tried this using Flash 8 but only get an error, however as you might expect Flash 8 does compress standard definition video for web streaming. I have done research on the internet, but really haven't come up with a definite answer except to find references to using Sorenson Squeeze or Final Cut Pro, but I don't want to pay for another Video editing program (currently using Final Cut Express) if I can upgrade Flash and get the HD compression feature.
    Any help and advise would be apreciated. Thanks

    If you're publishing for Flash 9 or higher (which CS5 can do) then you can publish to H.246. I would think that FCE could do that.
    Normally I would say that you could download a trial and see for yourself. But I think because 5.5 has been announced Adobe isn't offering a trial for the next couple of weeks. There were a lot of improvement to the Flash video encoder in CS5. That being said if you really want to do a lot of intense video work you should get the best tools.

  • Video compression on Zen Neeo

    Hello all!
    I was bought a Zen Neeon 2 GB from Japan as a gift recently. I'm quite fond of it so far, no problems getting music on and off or with the radio and getting videos on and off and converting them is fine too.
    BUT (yes, there's always a but) the video compression on the video converter software isn't up to much. An AVI of an hour long, full size, decent quality episode of spooks for example, runs through the converter software and whilst the picture obviously shrinks, the file doubles in size to about 900 mb, leaving no space for anything else! Does anyone know of a way to compress the files in the right format? I have tried loking for firmware / software updates but it seems the player has only been released in japan and I can't use that bit of the creative site!
    Any ideas? How can I compress files for this player?

    Hi! I also encountered the same problem [size="6" color="#ff0000">I wish I bought ipod instead of this JUNK!

  • Video compression in After Effects

    Hi,
    i have a little problem with video compression in After Effects.When I was looking for example on that video: http://vimeo.com/18672227 the quality in HD is really great. When we was trying to compress our video in After Effects, the best result, which we was able to get, had 80 MB and 18 seconds and the quality was still much worst than like the one which i posted above. 80 MB for only 18 secs of video and with that quality seems too much for me. I really doubt it is normal. Then for example video which i posted above should have 2000 MB and i really don't believe that.
    Is there some way how to get HD quality video for internet streaming with affordable size from After Effect rendering compression? Which settings, formats or codecs I should use? Or do i need some other Adobe program which is builded for this better compressions?

    You are looking for an easy answer where there is none. Yes, there are better tools than AE for final compression like Adobe Media Encoder, but your format will still be H.264. The rest is very much a matter of experience and a combination of settings for data rates, encoding passes and so on plus tricks on how to deal with Gamma shifts and color skewing due to the chroma undersampling. Without seeing the actual footage, nobody will be able to give you any exact pointers, but generally the presets you find in AE and AME will provide a good basis. The rest is just tippy-toeing through the settings and learning by doing. Also do some general research on the matter. Because it is so complex and difficult, this topic is discussed to death on pretty much every forum that deals with video editing, DVD/ BluRay authoring and ripping movies for fun...
    Mylenium

  • No Preview Box in "Standard Video Compression Settings"

    Hi:
    I'm taking a class in Photoshop CS5.  Our textbook is Adobe Photoshop CS5 Classroom in A Book and we've reached Lesson 12 Working with 3D Images.  At the end of the chapter we made a 3 second Quicktime (H.264 Compression) movie.  According to the book, after choosing Quicktime Export in the Render Video diolog box, it should open a Movie Settings diolog box which, after choosing Videe Settings button, opens the Standard Video Compression Settings box.  In the lower right of that box there should be a Preview window showing the effect of the compression on a frame of the animation.  For me the preview window is blank even though I can compress the file. I've moved the animation's timeline current time indicator to the beginning, middle, and end of the animation but to no effect.
    I'm rumming a Macbook 2 Ghz Intel Core 2 Duo with 4 GB of SDRAM.  The computer does support OpenGL which appears to be chosen in the 3D section of Photoshop's preferences.
    Thanks for any suggestions.

    Don't worry about file size at this point; the determining factor is program length. A single layer 4.7GB DVD will hold about two hours of video. The compression is handled in the DVD authoring application.
    From FCE, just export to QuickTime Movie (do not use QT Conversion). If you'll burn the DVD on the same computer, make sure the "self-contained" box is unchecked for a much quicker export.

  • PremierePro4 Help with Capture Video Compression Options

    Last week I started converting my old VHS tapes using a Canopus ADVC 110 box, a Mac with OSX 10.4.11, and PremierePro 4.0.0.
    Everything went fine until last night when I lost my compression choices in Premiere - Capture Settings - Video - Compression.
    Previously I had numerous compression type options and was using either DVCPro or DVCPro50. There were also many others available.
    Now, I only see DVCPro50 when my Canopus is attached as the source. If I remove the Canopus my iSight becomes the source and its only compression type is Y'CbCr 4:2:2 - uyvy.
    Thus far, I restarted and replugged everything, verified permissions, and unloaded and reloaded Premiere. None of that works.
    I suspect there is something running interference somewhere that I need to delete or reset.
    Help is greatly welcomed. Thanks

    I am also not sure how Mac OS updates affect other things, but on the PC, they can kill a video driver, or an audio driver instantly, and often do. However, those PC-specific behaviors should have zero impact on your options drop-downs going missing. I was just thinking aloud there.
    I'm trying to think of what else might have changed, as when something works one day, but not the next, then something has changed, and the task is to find out what it was.
    I know that iTunes usually also updates QT, and that is why I do not allow it to update, until I am positive that the PC version of QT is a good one with Adobe products - not all have been, so I am skitterish.
    On the PC, QT loves to install and go and seize the file associations of everything that it can play, unless one does a manual install. I wonder if QT Player was also installed with your iTunes? Also not sure how a Mac does the file type association linking, but on the PC, if certain programs loose their file associations, then strange things can happen. I assume that you are doing your Capture to MOV (you probably said in the OP, but I've forgotten), so I wonder if QT has messed with the file type. Wish I could tell you where to even start, but I cannot. No one ever lets me near their Mac's, as all PC-users are bad joux-joux!
    Just thinking aloud again, but good luck,
    Hunt

  • If any one has java code for any video compression algorithm

    i need a complete java code for video compression step by step

    i need a complete java code for video compression step by step

  • Audio and video compression preferences for export to DVDSP

    Hi,
    I have a few questions here. The first is regarding the internal use of compressor by DVD Studio Pro. It is my understanding from (limited experience with) past projects that quicktime movie files are automatically compressed to an mpeg2 format when imported into DVDSP. To what extent do I have control over the level of compression, and are the default mpegs that were made optimal quality? Where can I check this?
    My second question is regarding compression of audio files. Whereas my video files were automatically compressed, I am not so sure about the audio. I was forced to compress the audio down to Dolby2 separately using the external compressor program, in order not to exceed the bitrate on my last project. Was this just a question of one or the other (video/audio) needing further compression than the default amount, or is there more to this issue?
    I live and work with video in Europe, where I have recently been told that optimal audio is mp3? 4? rather than Dolby 5.1? Is this correct, and how much more space does dolby 5.1 take than dolby2? How significant an issue is this when making dvd's for musicians?
    Lastly, can someone recommend the best quality audio-video compression solution for a dvd containing approx 40 minutes of audio and video footage for use in europe?? or explain how I might go about finding this out for myself?
    Thanks a lot, and I look forward to reading your comments.
    4 x 2.5 GHz PowerPC G5   Mac OS X (10.4.6)   8 GB DDR2 SDRam
    4 x 2.5 GHz PowerPC G5   Mac OS X (10.4.6)   8 GB DDR2 SDRam

    It is my understanding from (limited experience with) past projects that quicktime movie files are automatically compressed to an mpeg2 format when imported into DVDSP. To what extent do I have control over the level of compression, and are the default mpegs that were made optimal quality? Where can I check this?
    Settings for DVDSP's internal encoder can be adjusted in DVDSP preferences. Press Command-, - that's the Apply and the comma keys - to bring those up, then select the Encoder tab. In your case, make sure you adjust the settings for SD DVD (and not HD-DVD). You will also be able to specify whether to encode in the background (basically, as soon as you import your file) or encode on build, at the bottom of that tab.
    I was forced to compress the audio down to Dolby2 separately using the external compressor program, in order not to exceed the bitrate on my last project. Was this just a question of one or the other (video/audio) needing further compression than the default amount, or is there more to this issue?
    I can't confess to have read any of your previous threads, but if you exceeded bit rate, that is a common reason to need to use Dolby compression for your audio. (unless you can afford to recompress your video files)
    That is, if you video files use a high bit rate (say over 6 Mbps average), then it's usually necessity to use Dolby compression to make sure that all your footage fits on a single disc. (this is a simplification, of course, but I think you get the idea)
    Or was there more to this question that I'm missing?
    I live and work with video in Europe, where I have recently been told that optimal audio is mp3? 4? rather than Dolby 5.1? Is this correct, and how much more space does dolby 5.1 take than dolby2? How significant an issue is this when making dvd's for musicians?
    Someone was mistaken when they told you that DVDs accept - let alone are optimized for - mp3 or mp4 files. That's flat out wrong.
    As for the difference between Dolby 5.1 vs 2.0, that depends on your encoding rates. Typically, most folks encoder Dolby 2.0 at 192 kbps, with some choosing to up the bit rate to 224 kbps. Beyond 224 kbps, you're not actually improving audio quality for a 2.0 mix, you're just bloating your file size. When it comes to 5.1 audio, it's typical to encode your audio at 384 or 448 kbps.
    When it comes to compressed audio vs uncompressed audio, it does matter when you're making DVDs for musicians. But that means that you'll probably need to lower the bit rate on your video files.
    Lastly, can someone recommend the best quality audio-video compression solution for a dvd containing approx 40 minutes of audio and video footage for use in europe??
    If you want to keep you audio as AIFF files, set your encode to 2 Pass VBR Best, with an Average bit rate of 5.0 Mbps and a Max bit rate of 7.0 Mbps. If you need things to happen a bit faster, use One Pass (not One Pass VBR) and use 5.5 Mbps as your bit rate.
    If you want to have a firm grasp over how all these numbers work, there is a section at the back of DVDSP manual, that explains how to calculate bit rates (what we call bit budgeting in the business). Give that a quick once-over if you can.

  • Best QuickTime Audio/Video Compression Settings?

    Hello there,
    Before inserting an iMovie to an iDVD project, I must compress it in QuickTime as it won't fit if "shared" as full-quality.
    What Audio and Video compression settings will provide, preserve, or enhance the audio/video content? I have the latest version of QuickTime Pro and am pretty savy with it.
    Thank you very much for any feedback you may provide.
    Jacobo

    You double posted in the iMovie forum. See my reply to you there: http://discussions.apple.com/message.jspa?messageID=4038522#4038522
    Let's keep additional comments there.
    F Shippey

  • Solution to AVC/H.264 MPEG4 video compression Audio Sync Issue

    Been trying to find an solution to this problem for a year now - one would think Adobe would have addressed themselves but....
    I have the Xacti E1 camera and it utilizes the AVC/H.264 MPEG4 video compression that both Premier Elements 4 & 7 plus Pro CS4 have sync issues with.
    What I did was use Quicktime Pro to convert the Audio ONLY to wave – very fast actually. So basically in Premier I added the original MPEG4 video to the timeline, removed its messed up audio, replaced it with the Quicktime Pro wav file then regroup the wav audio and video to keep it clean.

    Sure!
    Would be nice if Adobe addressed the problem as this std is used by most flash based video cameras

  • What are the best settings for video  compression if my end result is for use as  progressive .flv

    What are the best settings for video compression if my end result is for use as  progressive .flv.?
    Thanks,
    KIM

    Use the Final Cut Studio forum
    http://discussions.apple.com/forum.jspa?forumID=939

Maybe you are looking for

  • Messages are not visible in moni

    Hi PI mates, i have peculiar problem in my porduction environment. Here is the brief description. "  Communication channel is picking up the file and archiving but not processing the file to the Integration Server but cannot see the message and messa

  • Pricing Issue

    Hi experts, This is very crtical issue m facing. Please suggest me some gud solutions. I am writing it over here. pleaase do read carefully to suggest the sol. when ever we create sales order or change it. when we enter quantity for line items and th

  • Retrieve bean sent to JSP

    I create a bean/class after executing multiple SQL statements and sent it to the JSP using the request object. The user can make an update in the same page but can change only minimal information on the screen, After the change I have to update the t

  • Issue with PartnerLink invocation

    When i'm trying to invoke my partnerlink wsdl i have received the following error message. Can any one tell me how to resolve this issue. <messages><input><LN_SyncAssembliesAssemblySynchronizationAppReqMsg><part xmlns:xsi="http://www.w3.org/2001/XMLS

  • How to retrive the archive PR

    How to retrive the archive PR or anyway that user can view it in display mode Edited by: shakir on Jun 5, 2010 2:07 PM