Flex4: Detect source Video size in VideoPlayer?

Hi,
Is it possible in Flex 4's VideoPlayer control  (spark.components.VideoPlayer) to detect some attributes of the source  video?
In my case, it's a local file. I would need to detect the original  width and height of the input source video (an h264 f4v).
Thanks
Ben

What a pain all this is
It's kind of like learning to ride a bike. There is some pain in the beginning. Once you learn most of the basics, like not putting only your right foot out and then leaning left, the rest comes pretty easily, and without much pain, unless you do something very wrong.
Trust me, it will get easier in time.
Once you get past those basics:
1.) Project settings match Assets
2.) For SD, use DV-AVI Type II files
3.) Watch the PAR (4:3 vs 16:9) and learn how to handle the mixing, if necessary
4.) Have a system that can handle the workload
After that, things become a more simple and one can start to concentrate on the aesthetic aspects (keeping the technical aspects close at hand).
Good luck,
Hunt

Similar Messages

  • Error 0xBFF6001F - Cannot detect recognizable video source

    Hi,
    I'm using a NI PCI-1433 card with a Sentech camera.
    When I try to get a snap from the camera in MAX, I've the following error : 0xBFF6001F - Cannot detect recognizable video source.
    I use the icd file given by the camera constructor (Alliance Vision) for the camera parameters.
    I have Labview 2012 SP1 and MAX 5.4.0.
    Has someone any idea ?
    Maugan.

    Hi Maugan,
    Did you already look at this KB?
    Best regards.
    Paolo_P
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • Error 1074397153 Cannot Detect Recognizable Video source

    I'm using a single PCI1410 card to acquire images from two cameras and display those images in Labview using the Multiple Camera Acquisition.vi found on the NI website.  I'm running Windows XP, and my two cameras are Sony XC-HR70's with a resolution of 1024X768 each, running ~15FPS (total for both) thru the frame grabber.  I have one camera as a master, supplying the HD & VD synch signals for both my slave camera and the PCI1410.  Here is my problem:
          Whenever I change the light intensity for the cameras drastically (ie, abruptly shutting off the light source or blocking the camera), I get an error in Labview:  "1074397153 @ IMAQ Extract Buffer.vi.   NI-IMAQ: Cannot detect recognizable video source".  If I perform a gradual decrease in light intensity, I don't get the error.  Unfortunately, the users often need to toggle on and off my camera illuminators abruptly, so a gradual transition is not an option.
           I thought this was a MAX issue, but it is not-MAX gives no errors regardless of light intensity.
           I also tried decreasing the white level and/or increasing the black level-(per NI Knowledgebase post) all that did was decrease my image quality, error still appeared.  The error first appears in imgwaitforimaqoccurrence.vi which is inside imgsessionexaminebuffer.vi. 
    If I could somehow ignore the error and insert a ~ 500mS delay and then re-attempt to acquire video lock, it would probably work.  Just not sure how to do this, or if it is the right approach.  Any ideas?

    Hey wowens,
    I was wondering if you ran just a simple grab example program, and perform the same action of shutting off the camera's light source, do you get the same error? The error you are getting means that the frame grabber is not receiving any data from the camera in the expected timeout period. There shouldn't be any reason why decreasing the light quickly should stop the camera from sending data, as the camera should still be sending some data, like all black pixels or something. I might suggest tapping the data coming in with an oscilloscope to see if the data stops when you decrease the light. If you can't do this, I might suggest altering the code so that you don't stop the loop. You could also look at the shipping example called LL Scan Multiple Channels.VI. What version of the NI-IMAQ driver are you using? I would suggest that you upgrade to the most recent if you don't have it. Other than that it sounds like you need to find out what is causing the error before you start to find a solution.
    I hope this helps at least a little. Let me know if you have any questions or concerns. Thanks, and have a great day.
    Regards,
    DJ L.

  • What size export to iDVD if source video is DV

    I have an iMovie project that has source video in DV format.
    I am exporting in order to create an iDVD project, but when I export using QT Pro, the settings there tell me the current size is 640 x 480. This has me confused because I was under the impression that DV is 768 x 576
    Can anyone help please, what are the best export settings for importing to iDVD?

    Tom Wolsky wrote:
    When you create a new project you have the option to set the frame rate. If you set it to 25 then it's good to go.
    Yes it's 25
    If you're sharing using media browser or export movie you should be able to set it either 640x480 or 720x540. If you export to QuickTime Movie you can set the proper size, 720x576.
    Yes I can do that, but what is confusing me is when I set current size in QT pro (export using Quicktime), it tells me the current size is 640 x 480. How can that be when all my clips are DV?
    It depends why you're exporting and where you're trying to get to.
    I'm exporting so I can create a DVD in iDVD. I can't use the direct share to iDVD because it crashes iDVD all the time.
    I'm wondering if somehow the iMovie project really has converted the DV clips down from 768 x 576 to 640 x 480. Which would be a drag and if so then I suppose I should export at that size. If not then presumably I should set it to 720 x 576 as you say rather than 720 x 540.
    I must admit I've never quite understood the square pixel thing.
    Thanks

  • Error 1074397153 "cannot detect recognizable video source" in LabVIEW environment and but not in NI MAX

    Hi all,
    We have first tested our cameralink camera using NI MAX and we were able to grab with out any error.
    But when we are getting the  Error 1074397153 "cannot detect recognizable video source" in LabVIEW environment when we wanted to acquire from a 16 bit Cameralink standard camera. we are using Labview 2013 SP1 and Vision development module with  IMAQ 4.9 driver. Below is the VI pasted
    All the camera cables, power cables to the camera are fine.
    Kindly let us know what is the issue and any solution to solve it.
    with regards,
    Sri

    -What camera you are using? Did you try with any other software provided with camera vendor?
    -Did you check proper interface name?
    -Please post MAX screenshot also will be better to understand the changes...
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • DynamicStreamingResource use will keep changing video size

    We are using OSMF videoplayer and DynamicStreamingResource. Each time the videobitrate change will trigger video size change. I need the video to stay fit on the whole screen. I tried adding size change to the stage but I am must be doing something wrong because I can't see the function for the resize event being called at all.
    The video source is RMTP and streaming 5 different videobitrates.
    Is there an example on how to handle the video size properly when the video bitrate changes using DynamicStreamingResource?
    Thanks!
    sey

    Maybe try resetting the media element's layout metadata whenever the dynamic stream changes (event listener)?

  • Editing video in native video sizes - Premiere CS3/CS4

    How do I edit with non-specific video sizes such as 640x360 which my still camera captures video to? Everything in Prem CS3 or CS4 seems to be preset editting size environments? I would like to edit the video in it's native resolution and output in it's native resolution.
    Thanks in advance...............

    ========
    That is what my feeble memory is telling me too: CS3 was per Project, and the "Custom" was called Desktop Mode, where the attributes could be altered to suit
    ========
    thats how it works with my cs3... and as you need to match the source in that desktop mode ( and even choose a rendering codec )..its a good idea to use mediainfo or gspot and make notes about video and audio as necessary so that when you 'duplicate' that in the desktop ( custom ) settings you get the right project settings.

  • Sequence quality much lower than source video

    I guess this is the right place to post for FCP 7?
    I have a video project in which I've imported high quality video files (1280x1024 screen capture, AVI). I've made sure that my sequence settings match the same dimensions as the source clips and that compression is set to "None." The clip settings can't be modified, and there's no pop-up when I import a clip to the timeline asking if I want to change my sequence settings. I've removed all the attributes to the clips, but there's none applied. I do have to render, though.
    When I preview the source video in the viewer it looks great, but in the canvas it looks like it's at half the quality or worse. The render comes out the same - horrible quality, despite being the right dimensions.
    I have no idea what I'm missing. Why would it appear fine in the viewer but not in the canvas? Especially if my sequence settings aren't any lower?
    I used the default settings when I created the project. If it wasn't set to "use settings from first clip," and somehow that's the issue, how can I change the project's settings without having to redo my whole film? Going to project properties in the edit menu doesn't give me any options for quality, size, etc.

    Here's something else for comparison...one of the clips makes me select to change the sequence settings, the other does not. This is a screenshot of the viewer of that clip, next to the sequence with that clip for which it's been set to the exact same settings. Yet you can see a clear quality difference in the full size version...this is what it's like throughout the whole project, whether it's text, image, or video.
    I feel like there has to be some simple setting somewhere...like a draft view...that would explain this.

  • I can't export to HD in Premiere Pro CC despite using HD source video and large format photos

    I am trying to create a video slide show in PP CC using various sizes of photos and some HD source video footage and when I export the finished product the titles are murky, the photos are pixelated, and it looks HORRIBLE in general. I know in previous versions of PP you set the desired export quality when you created the video. I can't find a similar option in this version.

    I was trying to export to a file. I tried multiple formats. Apparently, you no longer select the desired output when you create a project and Premiere based my outpu size on the first file I inserted. I am currently recreating the whole project, MASSIVE PAIN IN THE BUTT, but I inserted the HD video clips first and everthing seems to be going good now. I even did a test export to make sure. Lesson learned, start with the HD and work your way down.

  • Change source video (same video but better quality)?

    Is it possible to change the source video of a project with another video which is the exact same video (same fps, same aspect ratio, same duration), but with a better resolution, where all the edits on the last source video will remain on the new source video?
    My situation is that I've found a 720p version of the 480p video I have been working (a long time) with.

    As Jim said, you can do this externally.
    We sometimes run with proxy media and have that in the Proxy folder with the full quality in the Native (or ProRes) folder.  You can either swap the folder names, move the files or in Premiere Pro you can take files OFFLINE then take the online again by right clicking and chosing reconnect media.
    That's the easy part
    If you've been editing on a 480p timeline then bringing in 720p footage means you either have to change the sequence settings (you could also create a new sequence with the right settings then copy/paste) or you need to tell Premiere Pro to scale your 720p footage down to the 480p sequence size.

  • End video size

    hi,
    i want to use imovie for some basic editting and rendering.
    i have a load of mov's, captured using snapz pro x at 720x480 that i simply want to import, cut bits out, and export as one file for use in idvd.
    i have 2 questions...
    1. is there a way, in imovie, to change the end video size? im using 720x480 source files, and when i export as a movie it either crams it into a 640x480, or letterboxes it. i just want the output size to stay the same as the input size (720x480). if not, whats the optimum size people use for tv viewing?
    2. the content of my video is pretty intricate. its got a feint grey box in the middle of the screen, which the video plays in (screen in screen basically).
    assuming that imovie will only give me 640x480 output, i cropped the clips to 640x480, inputted them, pieced them together, and outputed them. imovie gives me the right size, but really messes up the video. the grey line is blurred and not visible at the bottom, and the moving images themselves look awful.
    all i want is to export a video that has the same properties (size, resolution etc) as the input files!
    if screen grabs would help, i can put some up.
    thanks in advance

    yes, i've had varied success with transferring screen grabs to tv. problem is, its the only option - im using a moving image enivronment (pure data) and the only way to save the video you create is through snapz (well, theres no way of saving it within the software).
    one way i will try is to video out from the laptop into a tv and record with a dvd recorder, see if that helps.
    i think its trial and error with the captures. the 720x480 looked pretty good, but the refresh rate was out and it flickered a fair bit. the refresh rate was better on 640x480, but it didnt look as good.
    thanks for the advice

  • MPEG source video looks fuzzy on DV sequence

    Please excuse my inexperience, but I would like some advice. My school just purchased two JVC Everio GZ-HD7U cameras, and we are using CS4 for post-production. We shot some video, copied the video .TOD files to my computer, used JVC's software to convert to MPEG, and loaded the video into PP.
    When I preview the video in the source monitor, it looks great. Really crisp, good color, etc. When I create a Widescreen DV 48kHz sequence from the preset and drop in this clip, the video looks very blurry in the Program window. However, when I make a sequence from the HDV 60i preset, the video looks just as phenomenal as in the source monitor.
    Here's the properties on a typical source video:
    Type: MPEG Movie
    File Size: 302.7 MB
    Image Size: 1440 x 1080
    Pixel Depth: 32
    Frame Rate: 29.97
    Source Audio Format: 48000 Hz - compressed - Stereo
    Project Audio Format: 48000 Hz - 32 bit floating point - Stereo
    Total Duration: 00;03;13;04
    Average Data Rate: 1.6 MB / second
    Pixel Aspect Ratio: 1.3333
    I assumed that since the video was shot in 1440 x 1080 that it would look fine when resized to 720 x 480 (DV). What is the reason that it looks so blurry? I noticed that the "Fields" dropdown on the HDV 60i preset shows Upper Field First whereas the DV preset shows Lower Field First; is this a reason?
    Thanks for the advice,
    Matthew

    Quality aside - process related question. I have an HDV sequence on the timeline in PP cs4 which I "Send to Encore" with Dynamic Link.(All updated to latest level) I open Encore and set the project to DVD with the default settings. The clip is imported into Encore and I edit the Transcode Settings > Export Settings Presets, I set Format to Mpeg2-DVD. Under Basic Video Settings I select Widescreen 16:9. On Source I select crop and crop 12 pixels off the top and bottom. The Output Crop Setting is set to scale to fit. I Select OK and name the preset Test. On Exit I set the Transcode Settings DVD Transcoding Quality Preset to the preset Test. The Video is transcoded but the crop settings are Not applied. Should the crop setting should be applied (Dynamic Link bug)? If I export thru AME with the same transcoder settings the crop is applied.
    Thanks.
    LXC

  • Source Video is 1080 but Export Option Brings it to 720?

    I am trying to export an edited movie, using the Share > Master File (default), but when I do this, it seems to change the movie file from 1920x1080 @ 23.98 fps to 1280x720 @ 59.94 fps.  I've looked around the forums and on general internet searches and can't seem to find a solution.  I've attached 2 screen shots to show the original file as it was imported and edited (1080 @ 23.98fps) and then how it is shown when I try to export (720 @ 59.94fps). 
    I've also gone through with the export think maybe it was a glitch and it did actually convert the video to 720 @ 59.94.
    Somewhat of a newbie to Final Cur Pro X, so excuse my potential ignorance here, but how can I make sure to export as intended in 1080 @ 23.98?  Thank you for any help you can provide.
    Original video size as imported and while editing:
    Export box dialog screen for the same video showing different:

    Russ, that solution seems to have done the trick!  I created a new project within that same event, made sure to select to set the resolution/frame rate to the 1st clip (which was already the default sleceted setting), and saw that it was 1080/23.98.  Then went to share and saw it stayed at 1080/23.98 this time.
    I assumed this would have automatically adjusted to the first clip (since that was what my settings were anyway - set to 1st clip), but evidently it did not.  It seems weird that it would avoid my clips source resolution snd frame rate settings and keep a pre-determined, default value for this.
    Either way, it looks like this has resolved my issue.  In addition to directly importing a clip to start a project, I should start the project 1st and make sure the resolution/frame rate settings are what I want them to be, then import the files - thank you very much!

  • The quest for a good multi-source video workflow

    I frequently have to mix together several sources, and the Multi-Camera Source Sequence in Premiere Pro should in theory be the best way to go.
    However, it's seriously underdeveloped and for a single camera with separate audio, I end up doing a sequence instead.
    Mix and scrub audio in Audition, tag and comment source video in Prelude, import both to Premiere Pro and put them together on a sequence so I can use that sewuence as a source for other sequences.
    Why don't I use a multi-camera sequence? Because you have to tag syncronization points before you put everything together, because audio and video is often recorded out of sync, with several video recordings per audio recording etcetera. It ends up a mess. We don't live in an ideal world, and not wanting to waste time (and make the talent lose focus) organizing things, recording happens pretty much on the fly with all that includes in differing methods, ideals and so on. We need to know how to cut resources (and this includes not using the most exåensive editing tools) but there's always room for improvements.
    I like to slap everything loosely together post-production and fine-sync on audio waves on the run, but this means you can adjust the multi-camera source sequence after you have put it together.
    This isn't possible in Premiere Pro, at least not without putting it into a sequrnce first and that's the next step you want to do after all the syncronizing is done, not something you want to while cutting up the sources in a sequence.
    I believe most of what I need for this is already programmed but it's mostly a matter of politics. Just please understand, synchronizing and preparing sources is different from working with a sequence, but it can be a substantial piece of work on it's own and it's not enough to just put it together in a menu and think that's all fine. (And not by far at that.)
    What I need is to be able to edit a multi-camera source sewuence on a timeline like I would edit any other sequence. And call it a multi-source sequence, it isn't just video.
    Then audio from different sources can be mixed together on the timeline like you do in a sequence, expoerted to audition as a multi-track session for more advanced audio processing (and no, single tracks aren't enough, I often need the real-time effects in audition not just the processing of whole tracks. And I mix together several audio sources, both mono and stereo tracks some from cameras but mostly from a separate, 24-bit audio recorder with inputs from hand or tie mics, environment and perhaps a gun with a boom. (I'm the audio guy with perhaps a camera on the side, others handle the main camera(s).
    And video from several cameras can be put together, one track per camera on a timeline and not just one clip per track, one camera can have several clips taken on a timeline.
    Then, when all this is put together it can be used as a source, like we use a multi-camera sequence today.
    I believe it's possible, and would increase the value of your offers. If this isn't done, I may end up looking for other software.

    Hi gino_76ph,
    You can compare different Nokia phone models and their features on Nokia developer website. Just follow the link below:
    http://www.developer.nokia.com/Devices/Device_specifications/?filter1=all
    Audio player features can be found under multimedia section, with differences highlighted.
    Hope this helps,
    Puigchild
    If you find this post helpful, a click upon the white star at bottom would always be appreciated.
    If it also solves your problem, clicking ACCEPT AS SOLUTION below it will benefit other users!

  • Using a function to change Netstream video size.

    Hi folks,
    forgive me I am new to script in Flex.  I got an Application that has two scripted functions.  The first is called at creationComplete and sets up a netconnect/netstream video playback.  And a second that is fired when a button is clicked, which sets the application to Full Screen.  What I want to do is resize the video at the same time.  For testing purpose I am using hard coded values that match my monitor size.
    The problem I am having is that the code I wrote to change the video size spits out an error "1120: Access of undefined property vid."  - Is it possible to have one function access the vairibles of another function?
    My code:
    <mx:Script>
            <![CDATA[
                private function initApp():void
                    var nc:NetConnection = new NetConnection();
                    nc.connect(null);
                    var ns:NetStream = new NetStream(nc);
                    ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler); 
                    ns.addEventListener(DRMAuthenticateEvent.DRM_AUTHENTICATE, DRMAuthHandler);
                    ns.play("gm.f4v");
                    function asyncErrorHandler(event:AsyncErrorEvent):void
                        // ignore error
                    var vid:Video = new Video();
                    vid.attachNetStream(ns);
                    vidUI.addChild(vid);
                    vid.width=851;
                    vid.height=480;
                    function DRMAuthHandler(event:DRMAuthenticateEvent):void
                        ns.setDRMAuthenticationCredentials("test","test","drm");
                public function goFull():void
                    stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
                    vid.width=1920;
                    vid.height=1080;
            ]]>
        </mx:Script>
    I want the function goFull to change the video size that is loaded from the initApp function.... possible?
    Cheers!
    Chris

    altering size of text already in a textfield:
    var fmt:TextFormat = new TextFormat();
    fmt.size = newvalue;
    textfield.setTextFormat(fmt)
    textfield.defaultTextFormat = fmt; // ensure that text typed after the change is same size

Maybe you are looking for

  • HT5660 When updating Adobe Flash Player on my Mac I am told "blocked plug in."  How do I reverse this?

    When trying to update Adobe Flash Player on My iMac I get a message that says "blocked Plug-ins."  When going back to previously viewed studies, including youtube, I get the same message.  What changed if the update was never installed?  How can I re

  • Using HTTP adapter with no namespaces

    Hi, Is there anyway to use HTTP adapter when the provider does not accept the namespaces. The HTTP binding wizard requires a targetnamespace to be defined in the request and response xsds that we have to use. Thanks & Regards Siva

  • No audio on first capture

    Has anyone seen this problem? Each time I open Premiere, on the first capture, no audio is captured with the video, but on all further captures, I get audio and video. I'm using the AJA XENA LH capture card, have double-checked all settings and prefe

  • What dvd format to use -R or +R

    I'm ready to burn some dvd and get conflicting answers to my question. One friend said I should use -R because it is more widely readable by DVD players where the +R it is not always the case. And the +R is more compatible with computers. Another fri

  • Can I view .WMV files with 10.7?

    Can I view .wmv files with OS 10.7.2?