Retrieving video width & height

Anyone have any tricks for ascertaining a video file's X and
Y dimensions to pass to the object / embed tags used to display
them, or to ensure that videos uploaded are of a specific
size?

You could try the Java Media Framework:
http://java.sun.com/products/java-media/jmf/
It should have the functionality you are looking for, but
you'd have to add the Java JMF package to your ColdFusion server.
Haven't seen too much about video processing on the CF
forums, but it might be worth checking out some of the Java forums.
Now that CF is Java based, you can do anything in CF that you can
do in Java.

Similar Messages

  • Retrieving Applet width/height in Forms 10g

    Dear Members :
    Is there any way I could capture width & height of applet, which was set in formsweb.cfg at runtime - appreciate your suggestion.
    Thanks.
    Atanu

    Hi Francois :
    Thanks for your reply. This is what I am working with. Could you please tell which utility I may use to sign the bean, whether "Jarsigner" or "sign_webutil" ? I am not using webutil features in my Forms 10g and my form runs using JRE 1.6.0 (the latest JRE version being installed in system).
    I find a whitepaper from Oracle "Jar File signing for Jini 1.3" - which is quite old, considering what I am using (JRE 1.6.0_xx) - isn't it ?
    Regards.
    Atanu

  • Why can't I import anything? "File video dimensions (width/height) too large"

    New to PP CS4 here (that will be obvious momentarily...).  I can't seem to import any footage into any project (well, at least none of the bits I've tried, and I don't think there's anything 'wrong' with them).  Every time I attempt to do so, I get the error:
    Dialog title: File Import Failure
    Error Message: File video dimensions (width/height) too large.
    This occurs with every files I've thrown at it - admittedly, they all have a lot in common, but they're not particularly exotic.
    The files are (mostly) AVI files (I know, I know...before I get jumped, I understand it's just a wrapper, etc.). The files come from two cameras:
    1. A Sony DCR-TRV20. Opening up the AVI in QuickTime Player, I see it's listed as "DV/DVCPRO - NTSC 640X480"
    2. Canon PowerShot A620. Opening up the AVI in QuickTime Player, I see it's listed as "MotionJPEG OpenDML 320x240"
    3. I somehow managed to get the AME to spit out a FLV file. That failed to import with the same error message, too.
    I tried running these files through AME, and got the same results (although never having used AME previously, I have a question on that, below).
    New project, settings are all (I think) the defaults: Preset DV-NTSC/Standard 32kHz
    New installation of PP CS4, with the 4.1 update, on a PC running Vista 32 with all the endless MS updates applied.
    Related question: I've skimmed other threads here, and noted the advice to "always convert any non-standard footage to DV-AVI Type II" before importing....however, I see no such option for that output format in AME....only generic things like "Microsoft AVI" and "Uncompressed Microsoft AVI".
    Codec issues?  I'm a little skeptical, since these AVI files play just fine in Windows if I double-click them. Does that not suggest that there's a codec there for them?  The files are from (what I believe to be) garden-variety consumer cameras (these devices are a bit old and certainly not high-end, but they're hardly exotic formats, I think). The files are small, short clips I'm attempting to use just to learn Premiere, but it gags on every one of them, every time.
    PP is so insistent that every file I throw at it has improper dimensions, but these files appear to be perfectly reasonably sized, and I assume it's operator error (I'm withholding judgement on the quality and accuracy of the error string it's presenting me).  But I'm not sure where to look for the right knob to twist.  Pretty frustrating to be stuck on Square 1 (actually, Square Zero).
    Can someone point me in the right direction?
    Please be gentle, it's my first time....

    Thanks, but....mmmm....maybe not.
    I've tried multiple settings for New Projects. Just created a new one using the preset for DV-NTSC/Widecsreen 48kHz (frame size 720 x 480, 48 kHz audio).  Exactly the same results.
    You say "To point you in a certain direction, DV from a TRV is 720x480, not 640x480."  However, according to QuickTime's Movie Inspector panel, the file is 640x480.  This clip was captured through Premiere - that wouldn't change its aspect ratio, would it?
    The files from the Canon still camera are AVI files, not still images (so I don't see how the reference to Photoshop applies, or perhaps I misunderstood your point). They are 320x240, according to QuickTime's Movie Inspector panel. If they're 320x240, wouldn't that be the same aspect ratio as 640x480?  Attempting to import them, I get the same error....
    While not exactly Hollywood quality, I just need files to play with as I attempt to learn the program, and it's not clear to me why these files should not work - other than the fact that NO files seem to work. Also, I'm not sure what your reference to "exporting" pertains to - I can't get anything imported, I'm not trying to export anything that (I'm aware of) - I'll worry about exporting once I've managed to get something, ANYTHING to import.
    I've got some PP training videos (from "you-probably-know-who.com"). Following along using their project files and their video assets (MOV files in this case), I still get the exact same error.
    So to summarize, so far, I've seen no evidence that this copy of PP can import ANY video file.
    While I'm sure I would benefit from spending more time with the fine manual, I think there's something wrong here that's not going to be addressed in the introductory documentation.  If I can't import any footage into any project, progress is going to be slow.
    How about this: is there some known-to-be-good test file I can grab and try importing that?  I've got very strong suspicions that I'll get the same error message.
    Thanks again.

  • [svn:osmf:] 10085: Fixing video width and height getting reset when there' s no true dimensional change reported by 'onMetaData'.

    Revision: 10085
    Author:   [email protected]
    Date:     2009-09-09 07:39:54 -0700 (Wed, 09 Sep 2009)
    Log Message:
    Fixing video width and height getting reset when there's no true dimensional change reported by 'onMetaData'.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/video/VideoElement.as

    hi their i have tried your last code but their is a problem with it on my pc that when i click the send video button it gives the error related to vector,
    Vector deviceList = CaptureDeviceManager.getDeviceList()
    di = (CaptureDeviceInfo)deviceList.firstElement();
    returns zero.
    please help my email address is [email protected]
    kindly send me an email regarding the solution of my problem. i am using 'creative web cam' over XP windows.

  • File video dimensions (width/height) too large

    I cannot impoty any file of any type into my time line.  I was having some issues with crashing, ended up upgrading my OS to snow leopard, and then reinstalling all my adobe products. Now all of my media is showing up as off line, when i try to relink anything, jpg, psd, ai, and all video files, i get the error "File video dimensions (width/height) too large".  I really do not want to start over and re edit everything I have ever done, and i am not even sure i can do that at this point, as it also happens when i try to create a new file.
    does anyone have any other fixes?  Please Help, I am going insane. 
    I have CS4 Production Premium.
    OS Snow Leopard.
    Mac Pro, 8 core.

    Hi,
    What kind of video files are you working with ?
    I did a google search using ---- file video dimensions ( width/height 0 too large ---  and most of the info I looked at in the search results is about files ( still images mostly ) that are larger than 4000 x 4000 px.. which is a limit for the NLE....but some results were about using cineform codec and matrox graphic card and some stuff about nero and so on....so I would guess the more info you can give about what you have and have done the better...
    Rod

  • File video dimensions (width/height) too large, importing AVI

    I'm testing Windows 7RC and Adobe Production Premium CS4. Both CS4 and Windows are fully updated with all updates available through today. Premiere Pro CS4 is at 4.1.0.
    I have hundreds and hundreds of AVI files captured from tape and from memory cards created by the capture process in Adobe Premiere Pro 1.5.1.  if I create a new project, HDV 1080i (60i) and try to import my AVI files I get the error message about 'file video dimensions (width/height) too large'. These files were created with the Cineform HD codec that came with 1.5.1. I have the CFHD codec "CineForm 10-bit-visually Perfect HD" loaded on this computer, and G-spot verifies that and can render and play the avi files. Since these are from HDV their actual dimensions are 1440x1080. I've also tried to import standard def AVI files with the same result.
    I just picked a few random projects to attempt to open, and none of them will open. Not SD not HDV. I get the 'too large' message.
    Suggestions?
    Hawkeye

    Throwing out wild guess here, but I think things changed with the way Premiere handled HDV with 2.0, at which point it went 'native' - meaning it no longer uses the Cineform codec.  I wonder if it's possible the two versions just don't mix, despite the Cineform codec being installed.

  • How handle Add Media Failure Error: File Video Dimensions (Width/Height) Too Large?

    I am a brand new user of Premiere Elements.  I am using it for stop gap animation, bringing in digital still photos from my Nikon D3200.  I just attempted to bring in the first set of photos from the SD card.  I'm running Windows 7.   After loading the photos, an "Add Media Failure" box came up with the message "Error:  File Video Dimensions (width/height) too large".   Is something wrong with the width and height of the photos and if so what do I need to do to make it work?  There were 763 photos, but the message seems to refer to the height/width of each photo and not the total file size so to speak - right?  During the import process, the program prompted us to bring the photos in as images and not as videos -- so that is what we selected.  Thank you for any assistance.

    Photo Scaling for Video http://forums.adobe.com/thread/450798
    -Too Large May = Crash http://forums.adobe.com/thread/879967
    -And another crash report http://forums.adobe.com/thread/973935

  • "Error Message: File video dimensions (width/height) too large"

    Hello,
    I believe someone else had a similar problem and posted to this forum, but here it goes...
    I have a project in Premiere CS3 that uses MPG files. The files open just fine in CS3 at work. At home I have CS4, but those MPG files do not import. I've tried converting the files to a MOV file but I just get the same result:
    "Error Message: File video dimensions (width/height) too large"
    I'm using Premiere CS4 version 4.1.0 on a Mac. My work computer is a PC.
    I've tried running the file through MPEG Streamclip a couple times with different settings, but so far no luck. I realy have no idea what I'm doing there or what setting could work, but I've got another conversion cranking away now. We'll see how that goes.
    Thanks

    A handheld 4K camera with exchangeable lenses with 1" sensors, standard with a 20-600 mm equivalent zoom range, with extender, with a simple battery that lasts at least 12 hours, that records on $ 25 SD 128 GB cards, available at every streetcorner and does 4:4:4 color space uncompressed I-frame with a weight of less than 4 Lbs and with a dynamic range over 60 dB, all under $ 1 K?
    Take out the prices and you've fairly accurately described the forthcoming Scarlet.
    It also describes somewhat well AVC-I cameras.
    But overall, I would not argue with your description as a goal to be achieved in 5 years.  In the interim there would have to be compromises, of course.  But there are three things that should never be compromised in any video camera anywhere - the imaging devices should always be full resolution, the recording format should always record the full raster, and only using I-frame compression.
    This was the norm for standard definition.  Only with HD have camera makers mucked things up.  It's time they got back to basics and made proper cameras.

  • "file video dimensions (width/height) too large" is the exact message, what is the solution please?

    Trying to make a slideshow in Prem Pro CS4 with full size D800 jpegs, but the message "file video dimensions (width/height) too large" appears
    I have checked the FAQ and found that the res of the D800 at 7000x5000ish is well below the 25,000x25,000 Prem quotes,
    Can anyone help please?
    Thanks

    4,096 X 4,096. See this:
    http://help.adobe.com/en_US/PremierePro/4.0/WS92DAB4F5-E46F-46fb-B2D8-71813E6A3AE4a.html
    The newer versions explained here:
    http://blogs.adobe.com/premierepro/2010/07/maximum_dimensions_in_premiere.html

  • I'm unable to fix width/height of video in the second frame of my site. thanks

    I have a site (www.vency.com) with two frames. By using the following code, the second/main frame of my site is full, instead of being of expected dimensions:<br />
    <nowiki>........</nowiki><br />
    <pre><nowiki><br><b><font face="Times New Roman,Times"><font size=-1><font color="#CC33CC">&nbsp;
    </font><font color="#33CCFF">&nbsp;VIDEO/Microrganismi </font></font></font></b>
    <br><b><font face="Times New Roman,Times"><font size=-1><font color="#00FFFF">&nbsp;
    </font><font color="#33CCFF">&nbsp;In contrasto di fase:</font></font></font></b>
    <br>&nbsp;<a href="200.mp4" target="MAINTEXTIT"><img SRC="blueball.gif" BORDER=0 height=11 width=31
    <video width="320" eight="240" preload controls loop>
    <source src="200.mp4" type="video/mp4">
    <source src="200.ogg" type="video/ogg">
    <source src="200.webm" type="video/webm">
    <font face="Times New Roman,Times"><font color="#FF8C00"><font size=-1>Batteri</font></font></font></b>
    </video></a></b></nowiki></pre>
    <nowiki>........................</nowiki><br />
    Thank for help.

    The site has an english version and an italian one. The central frame I named '''MAINTEXT''' for using the '''english''' texts in the central frame; while I named MAINTEXT'''IT''' the central frame used for '''italian''' version of the site.
    Anyway, when I test the reported code on my PC - where is a version of the site - the video is charged but at full screen; I'm unable to resize it. On the web, the video do not charge at all.
    It may be because the video is HD 750/50p ?
    Thanks.

  • ImporterProcessServer.exe has stopped working - width/height too large

    I'm getting this error everytime I try importing a video that I got converted from a BetaCam tape.  I have the movie in Microsoft DV Codec and Quicktime DV Codec.
    The first thing that happens is this error pops up with the following details:
    Problem signature:
      Problem Event Name:    BEX
      Application Name:    ImporterProcessServer.exe
      Application Version:    0.0.0.0
      Application Timestamp:    491896d7
      Fault Module Name:    MSVCR80.dll
      Fault Module Version:    8.0.50727.3053
      Fault Module Timestamp:    4889d619
      Exception Offset:    00008aa0
      Exception Code:    c000000d
      Exception Data:    00000000
      OS Version:    6.0.6001.2.1.0.256.1
      Locale ID:    2057
      Additional Information 1:    a388
      Additional Information 2:    cb1346f285b14b60ce06bcb7640ef607
      Additional Information 3:    7188
      Additional Information 4:    c8538bb25c54d271cb1dde4a6dfbc4e0
    Then a dialogue box pops up that says
    File Import Failure
    File video dimensions ( width/height ) too large.
    I have no troubles importing files I've used previous to this project.
    I'm using CS4 4.0.1
    Vista Ultimate.
    Many thanks for any help and advice.
    Kind Regards,
    Clint

    Hi Hunt,
    Thanks for the reply.
    Initially I was using a simple PAL DV setting, but once I got the error I tried using larger project settings with no luck.
    The source video was provided in two formats, for any compatitbility issues so it's the same video.... One is the QT and one is the MS AVI.  The frame size of the video is 720 x 576 and 25 fps. Each file is around 27 GB and just over 2 hours long.
    It's wierd, Premiere won't import either files, After Effects crashes but Encore brings it right in.... if only I didn't need to do a bit of editing.  I'm not sure of the program that did the conversion, but we had it sent off to a studio because the source footage was on Digital BetaCam tape and I'm guessing it was originally captured in Avid, but who knows.
    Any suggestions?
    Thanks,
    Clint

  • SWFLoader width height Issue

    When I use the SWFLoader to load an swf from a URL it is not
    using the
    sizes specified in the SWFLoader component that is loading
    it, the swf
    seems to initially load at whatever size the actual swf is,
    but after
    the swf has been downloaded fully then the SWFLoader jumps to
    the
    width/height I specified, so basically all swfs I load start
    out huge
    then after sever seconds shrink to the size I want them to
    be. has
    anyone else seen this or know how to remedy this issue?
    (also the element in the swf that animate say from outside
    the
    original swf stage width/height show out way outside the
    bounds of the
    size specified)
    //set the source(within a function)
    swfplayer.source="
    http://www.somedomain.com/myswf.swf";
    <mx:Canvas id="swfplaycontainer" width="452" height="252"
    horizontalCenter="0" verticalCenter="0">
    <mx:SWFLoader id="swfplayer" width="100%"
    height="100%"/>
    </mx:Canvas>
    Also tried with no Canvas...
    <mx:SWFLoader id="swfplayer" width="452" height="252"
    width="100%"
    height="100%"/>
    Thanks, Tim
    specified size does not take effect until fully loaded swf

    hmm, well I tried explicitly setting the widht/height of the
    SWFLoader to no avail, I just tried the scaleContent, it also did
    not work ;-( I cannot hide the SWFLoader until complete event
    because these are long swf animations(they are tutorial videos in
    swf format) some seem to take 30-60 seconds to fully load(depending
    on network traffic). They do start playing quite well immediately
    but the size is messed up until complete, but I would think and
    explicit size on the SWFLoader should be the definitive answer.
    Adobe?

  • Determine the type of connection & set webcam width/height

    Hi, two quick questions:
    1. Is there a way in ActionScript to determine what type of connection is being used (e.g. P2P or FMS)?
    2. Is there a way to set the width/height of the webcam picture? I currently extend the WebcamPublisher class to access the _camera instance and use the Camera.setMode() method, but it looks like that doesn't have any effect whatsoever.
    Thanks in advance,
    Michiel
    PS: I'm aware of the captureWidthHeightFactor method, but I really don't like that approach, as it's not really clear what dimensions are being used for the video. I would like to set the dimensions myself, like when using the Camera.setMode() method.

    Hironmay wrote:
    For you height/width part, you can use resolutionFactor API in webcamPublisher as captureWidthHeight API is deprecated. The default width and height gets multiplied.
    Ok, I'm using resolutionFactor now, but I'm not sure what the difference is. captureWidthHeightFactor is not really documented (it's there, but pretty unexplained), but the resolutionFactor uses multiples of the default width/height. I assume it does the exact same thing? (By the way: the resolutionFactor is not documenten on livedocs, only in the local documentation received as part of the zipped SDK.)
    And still if you want to set your own native width/height , since you are already subclassing WebcamPublisher, just subclass the function createMyStream and add your native width and height. See that function in the player 9 source code of WebcamPublisher provided.
    I'll look into that, for now resolutionFactor will have to do. (For testing purposes all video parameters have to be adjustable on the fly, and I unfortunately am already very short on time.)
    One thing I forgot to mention in last mail, you can only have P2P with player 10 and you need to use player 10 swc for any verification of P2P. Player 9 will be always FMS.
    You may have just saved my life! I was indeed using the player 9 swc, and tried the isP2P property, but didn't get it to work. And since it's not documented I labeled this as "deprecated" and dropped it. Great to see that it really is in there.
    Also, the difference between the player 9 and player 10 swc you just explained answers another question I had (but totally forgot about). When connecting, the console always showed:
    #FMSConnector# Wed Jan 6 10:52:11 GMT+0100 2010 is using RTMPS? true
    This gave me the idea that the P2P service was unavailable. I'm glad to see that this isn't the case.
    Thanks for your rapid replies everyone, I really appreciate it!
    Michiel

  • Script to receive width, height, movie url

    I'm a complete Flash neophyte, but despite this I've been
    tasked at work with creating an actionscript for a fla file that
    will receive width, height, and URL (of a .flv file) as arguments
    so that the file can dynamically display video based on the
    arguments passed. I have to have this done by tomorrow...would
    anyone be kind enough to throw me a clue or two on how this could
    be done? I'm looking through the tutorials and documentation, but
    they all look like they're for intermediate to advanced Flash
    users. I know javascript fairly well, so I think I get the general
    concept, but I'm in the dark as to syntax, proper object and
    properties to refer to, what the function would look like or where
    to save it...
    Any help would put me way in your debt.
    Thanks,
    Christophe

    function setVideo(newWidth, newHeight, newURL)
    _root.videoGizmo._height = newHeight;
    _root.videoGizmo._width = newWidth;
    //then set the filename. That will be different depending on
    what video component you are using. If you are using flash 8 and
    using the flash 8 video playback component then it will be the
    contentPath like so
    _root.videoGizmo.contentPath = newURL;
    Keep in mind that if you are using flash 8 and that's OK for
    users then then video playback component will autosize for you if
    you set its autosize property to true.

  • Width*height vals changing in save for web ??

    Hi all
    I've opened an EPS file in illustrator cs4. And its width & height values are differing with width & height values in "save for web" option.
    For example, normally in width & height boxes shows as
    width : 247.499 pt
    height : 116.524 pt
    but in save for web
    width : 249
    height : 117
    I've checked with various figures too.

    Script lan : javascript
    thanks for ur help!
    Actually I've to resize the figure for the width 175, 525, 1400 and the height should change proportionally. So I tried, but I couldn't resize the figures using save for web. Becoz its horizontalScale & verticalScale treats values as percentage. eg. 175 treats as 175%. Then I grouped all items and changed its "width" and foud out the values' corresponding "height" values. But the problem is, exported file's values are changing nearly 3pts.
    could u help on this?

Maybe you are looking for