Video Frame rate problem.

Hi experts,
I am working with JMF to capture a video source and display it in a JInternalFrame.
I set the frame rate to 30fps, but when running the program I only have 1fps. If I set the LightWeightRenderer of the Manager to false, then I have 16fps (not the 30fps requested).
If I use JMStudio I get the 30fps.
Do you have any idea of what's going wrong ??
Your ideas are welcome.
Matthieu

Thanks for your answers.
In fact, I am capturing a video source coming from an echograph with a Miro PCTV video card (bt848).
My computer runs with WinXP on a PentiumIII 450Mhz, 256Mo of RAM, and a NVidia GeForce 2 GTS with 32Mo of RAM.
I obtained the following results:
     -> Using RGB, 640x480, 24bits, 30fps :the real frame rate is 3-4 fps.
     -> Using YUV, 640x480, 30fps: the frame rate reaches 15 fps.
     -> Using JMStudio I always get 30fps.
This frame rate is given by the video player.
I think that the problem is not linked to the hardware configuration but in the way the video is displayed in the application.
Indeed, I don't anderstand why JMstudio is able to give 30fps and my application only a few fps.
The main difference is that I display the video in a JInternalFrame and in a Frame. But even if I supress the Manager.LightWeightRenderer support results are a little better but I never reach the 30fps.
To build the video renderer I have used the MDIApp.java and JMFrame.java files given by Sun.
My question is what can do the difference? How can the Sun code be so performant ?
If you want more details on my code, I can put some piece of code on the forum.
Thanks to find a solution because I am going to go crazy !!!!

Similar Messages

  • I want to play video on my computer to make some analysis to frames,the problem that I face ,I can't change video frame rate using labview,but I can change frame rate to the video out of labview using some program

    HI All
    I want to play video on my computer to make some analysis to it's frames,the problem that I face ,I can't change video frame rate using labview,but I can change frame rate to the video out of labview using some program .
    I used IMAQ AVI Read Frame VI
    for example I have avi video It's frame rate is 25 fbs ,my image processing code is very fast that can process more 25 fbs,so I want to accelerate video acquisition

    Hi abdelhady,
    I looked into this further, and reading an AVI file into LabVIEW faster than its frames per second won't be possible. LabVIEW could read in frames faster than 25fps, but because it will be pulling the available frame at that point in time this would just give you duplicate frames. If you want to be able to read in frames at faster than 25fps, you would need to speed up your AVI file before reading into LabVIEW.
    There's a good shipping example to show how to read in from an AVI file, "Read AVI File.vi". You'll notice that they add timing to make sure that the while loop runs at the right speed to match up with the frames per second of the file being read. This is to make sure you're not reading duplicate frames.
    Thank you,
    Emily C
    Applications Engineer
    National Instruments

  • Sync and frame rate problems importing video to Flash CS3

    Just like the subject states, I am indeed having frame rate problems importing video to Flash CS3.
    When I export a video from Premiere with the settings:
    1280x720
    frame rate of 23.976
    using H264 or Animation (basically every codec produces the same results),
    "embed video on SWF and play in timeline"
    When I do this the file exports fine. Playing it in Quicktime works fine and the audio syncs up no problem. But when I import it into Flash using the same settings, for some reason the movie clip is now too fast in that the video does not match the audio and seems to be at more like 12 fps now (just a guestimate). The action of the video is over long before the audio even comes in.I have verified that the frame rate is correct in Flash so it's not that.
    I've done this literally hundreds of times in the past and suddenly it does not work and I can not figure out why. I'm not even really using video, but actually artwork that I am putting together as an animatic for an animated piece so the video could not have been imported incorrectly or digitized wrong either. Can someone out there please tell me how to make this work? Any help would be GREATLY appreciated!
    -Mike

    Thanks for you quick response however it really doesn't apply to what I am doing in any way. I will not be uploading the video to a server. I am using the imbed function so I can use it as a layer and then animate over it. It is just reference and will ultimately be deleted. The Fla file does indeed carry the same specs as I stated in my first post. I have done it this way dozens of times and I am trying to figure out why it suddenly will not work.
    ~Mike

  • Ghosting effect - Is it a frame rate problem?

    I've just made a music video lyric video (I'm still really new to movie editing) and there's this ghosting effect. Does anyone know what may cause it? Is it a frame rate problem, or the frame blend thing?
    Here's the cliup on YouTube: (You can really see the ghosting when you watch it in HD.)
    I'm using Adobe Premiere Pro CS4 on Windows 7 (32 bit)

    hmm, looks like you need to read a few things maybe...to understand some stuff.
    Here's some links I got from google for you
    NTSC
    Short for National Television System Committee. The NTSC is responsible for setting television and video standards in the United States (in Europe and the rest of the world, the dominant television standards are PAL and SECAM). The NTSC standard for television defines a composite video signal with a refresh rate of 60 half-frames (interlaced) per second. Each frame contains 525 lines and can contain 16 million different colors.
    The NTSC standard is incompatible with most computer video standards, which generally use RGB video signals
    ============
    info about aspect ratios... and better to scale down than up...or just stay the same as source.
    http://www.techsmith.com/tutorial-camtasia-understanding-dimensions-prior.html
    ================
    Soooo, you didnt export ntsc and it looks like you upscaled to 1080p but a different fps than original also.
    In gereral if you start at say 24fps and make it 30fps, your editor has to "make" new frames ( add 6 per second ) and it does that by creating new frames out of what you have on timeline. Sometimes a VBR 2 pass will give you better results than 1 pass, but you have to experiment a bit ( just export small section of timeline for tests...and try to use area where you see your "ghosting" ).
    good luck

  • Live! Cam Video IM Pro VF0410 Frame Rate Problem

    Hello I'm from Turkey sorry for my English first. I bought this camera yesterday and i tried it on 2 PC.First one is using Win Vista Home Premium (4Gb RAM + Core 2 Duo E6750),second one is Win XP Home (Gb Ram + Pentium M .8). In these PC's i can't get more than 4 or 5 FPS. I only saw 8 FPS for one second. I downloaded the?latest drivers from the site which is v.0.0 (2.68 Mb).Nothing changed it is 4 FPS again.What can i do what is this problem. Is my camera faulty ?

    I too have the same problem. It seems to be a flaw with the software or the hardware. If you disable the auto exposure setting the frame rate will still site at 4-5 fps.
    If you then move the exposure slider to the far left and then back to the right the frame rate will immediatley increase to 20-30 fps, but the exposure is quite poor even with the adjustment of brightness, contrast, etc. Is this a software bug or a hardware flaw?

  • Video frame rate change from video to video

    HI all ,
    when I use labview 2013 I found some strange in acquiring avi video
     when I acquire video from my computer the fps change from video to another one
    some video fps reach 800 fps and other reach 180 fps what is the problem 

    A lower frame rate is actually expected behavior if you are playing video through LabVIEW. This KB explains that LabVIEW analyzes the video one frame at a time and keeps it in the system memory on the CPU.  This can result in slower frame rates during playback. If you would like to simply view video through your front panel, it may be a good idea to embed Windows Media Player in the VI through an ActiveX control.
    -Erik S
    Applications Engineer
    National Instruments

  • Frame Rate Problems in CS4

    I am a student and I use CS4 on a Mac on one of the schools computers. One of the animation projects I am working I need to animate a music video.
    To do this I calculated out the BPM of the song and set the frame rate at 23.3 FPS so that I would have 20 Frames between beats. Then to have a visual representation of the timing I set a layer that has a red dot blink for 2 frames every 20 frames starting on the first beat. With it set up like this and I run the animation in Flash it keeps time correctly and works. However, when I test the video the time is off. I tried changing the frame rate to 60fps as an arbitrary number to see if adjusting the frame rate had any affect of the test file but when I tested the video at 60fps it did not run any faster than before. I asked my professor about the problem but he doesn't know. I exported the video to a SWF and MOV file but it was still off.
    Does anyone know how to fix this problem?

    use a timer to display your dot so you can control its timing more accurately.  that said, the only elementary way to sync audio and visual in flash is to add the audio to your timeline and assign a sync of "stream". 
    note:  that's not the best way to use sound in flash but it's the only easy way to sync sound/visuals.

  • FCE frame rate problem?!

    Hi, if someone could help me with this asap that would be so helpful?!
    Basically I'm having a problem with the frame rate in Final Cut Express. I was using 3 different Sequences to edit different clips/audio in. I then wanted to put them all in to the same Sequence but when I did the clips were flashing different colours and wouldn't play properly. All of the clips were 30fps however the project frame rate was 29.97fps? How did the frame rate of the project change because I didn't know you could change it and how can I change it back?! Thansk :-)

    29.97fps is the actual frame rate for NTSC (North American) video.  It has historically been called "30fps" for convenience sake.  However in recent years true 30fps capability has appeared even in some consumer camcorders.  This can result in some subtle problems if you mix real 30fps material in a standard 29.97fps sequence.  The "change" you refer to could occur if your clips were recorded at a real 30fps and you put them in a 29.97fps sequence.  FCE will try to conform the clips to the sequence settings.
    For completeness, here is what FCE supports:
    SD video at the following frame rates.  FCE imports DV video as QuickTime/Apple DV during capture from your camcorder
    DV-NTSC @ 29.97 fps
    DV-PAL @ 25 fps
    HD video at the following frame rates.  FCE transcodes all HD video (HDV and AVCHD)  to QuickTime/Apple Intermediate Codec during capture from your camcorder.
    720p25,
    720p30
    1080i50
    1080i60

  • Video frame rate issue

    I downloaded some clips from Gettyimages to put together a mock clip. Once I finished the clip I bought the clips from them and replaced the media in my timeline. My problem is that I can't afford to buy the 30fps videos and I'm stuck with the 15fps clips. Is there a way I can make footage look less choppy? Is there anyway I can adjust the FPS in the FCP timeline?

    What? They sell 15fps clips for cheaper? I didn't think they sold anything other than full res. And they are an EXPENSIVE place to go. Is this a web clip deal of some sort?
    Adjusting the frame rate won't make up frame information that isn't there. 15fps turned into 30fps will just show each frame twice. Frame Blending might help, but it also might make it look odd.
    Shane

  • Belkin Pre-N F5D8230-4 v2, slow video frame rate

    After years of faithful service from my D-Link DI-713P, the wired-ethernet switch (to which my iMac was connected) stopped working. I bought a new Belkin Pre-N F5D8230-4 v2 to replace it, and both the wired and wireless connections work fine... except with iChat. I can get a connection (e.g. to appleu3test01), but the frame rate is painfully slow. Running through the router, I get <15fps, <70kbps. Connected directly to my DSL modem through PPPoE, I get 30fps, >700kpbs; same performance as with my old D-Link router before it croaked. This seems to me to be a clear indication that the problem is the router, not my iMac, the DSL modem, or the ISP (SBCGlobal.net).
    Things I have tried to solve the problem.
    1. Port mapping all the iChat TCP and UDP ports listed in numerous locations in this discussion group, Apple support, portforward.com, etc.
    2. Enabling UPNP with and without the port mapping enabled.
    3. Operating through DMZ.
    4. Unbind SIP from port 5060 (see Ralph Johns' very helpful site: http://www.ralphjohnsuk.dsl.pipex.com/page4.html#_text). I was not able to telnet into the router (connection refused), and I couldn't find any SIP configuration on the web interface to the router, so I actually didn't get to try this. I don't have VoIP, and I'm not aware that SBC offers it, so I doubt that this is the problem.
    5. Ensured that iChat ports are allowed in OS X firewall.
    Any of these configurations enable me to make an iChat video connection, but all with slow frame rates.
    One other bit of information that might be helpful to someone who understands all this a bit better than I is the entries that are generated in the Belkin firewall security log when I run iChat:
    DoS log:
    2005-10-16 08:17:59 [HOST Attack: UDP Flood] (UDP) LAN to WAN 192.168.2.2:16384->17.202.39.141:16384 [Drop]
    2005-10-16 08:17:59 [HOST Attack: UDP Flood] (UDP) WAN to LAN 17.202.39.141:16384->71.131.221.23:32784 [Drop]
    2005-2005-10-16 08:18:00 [HOST Attack: UDP Flood] (UDP) LAN to WAN 192.168.2.2:16386->17.202.39.141:16386 [Drop]
    2005-10-16 08:18:00 [HOST Attack: UDP Flood] (UDP) WAN to LAN 17.202.39.141:16386->71.131.221.23:33811 [Drop]
    It would seem that the firewall considers the iChat traffic on 16384 and 16386 to be denial-of-service attacks. Shouldn't the port mapping prevent this? If this were the only problem, wouldn't operating in DMZ avoid this problem?
    I have not yet tried changing the firmware version of the router, in part because there seems to be some confusion about what the latest version is: web site lists 1.01.03 with a date of September 2005, but my installed version is 2.00.06. Apparently a version 1.01.04 was released but then retracted, and 1.01.03 is from January 2005, not September. Revision control does not seem to be Belkin's strong suit. Right now I have nothing to lose, so loading 1.01.03 may well be my next step.
    Some configuration details:
    iMac, PowerPC G4 (3.3), 1.25 GHz, 768 MB RAM, 167 MHz bus
    OS: OS X 10.3.9 with all security updates as of 2005-10-16
    connection method: SBCGlobal ADSL through Speedstream 5260 ADSL modem through Belkin FSD8230-4 router through ethernet to iMac
    connection speed: 1214 kbps down, 306kpbs up
    software: iChat 2.1 (v153)
    camera: Canon ELURA70
    Router info:
         Firmware Version 2.00.06
         Boot Version 1.00.00
         Hardware F5D8230-4 v2
    Is anyone getting good performance with iChat and this model Belkin router? Any other clever configuration ideas to try?
    - Fry -

    Hi Ralph,
    Thanks for the reply. I re-read your page on SIP and realize that it was a modem (not router) issue after I posted. Dohh! Thanks for being so polite.
    I agree that the DoS seems like the key, and hopefully the specific security log messages will facilitate useful feedback from the Belkin tech support folks to whom I sent a copy of my post.
    I tried turning on WAN Ping Blocking - no change. The System Settings tab allows me to set the password, date/time, and enable/disable of remote management, NAT, UPNP, and auto-update for the firmware. Of those I have only switched UPNP on and off. Unfortunately there is nothing on packet size settings anywhere that I could find.
    I tossed the packaging for the router, so I may not be able to return it easily. If this is the case, and Belkin (or someone in the forum) doesn't come through with a solution, I was thinking of buying an inexpensive wired router to connect between the modem and the iMac, and also run the Belkin off of the wired router for wireless access. Are there well-known problems daisy-chaining routers like this?
    The obvious alternative would be to sell the Belkin (to some non iChat user) and replace it with something known to work well with iChat. I read a recommendation for the Netgear DG834G in another posting, which could also take the place of my Speedstream modem (although there is nothing wrong with it). Any other recommendations from this wise community?
    For the time being I am switching between the router routine tasks and direct-to-modem with PPPoE for iChat. Not elegant, not easy to teach to spouse, but it works.
    Cheers,
    - Fry -

  • [SOLVED] Very poor video frame rate after upgrade

    I'm relatively new to Arch, having been a Slackware user for many years (since Slack 3.5), so please treat me gently!!
    I installed Arch about a month ago from the network and had everything running well, including Firefox 4.0. Today when I started the PC and ran Firefox, I received a message recommending that I install Firefox 4.0.1. I duly downloaded the Arch package for FF 4.0.1, but it wouldn't run, complaining that it couldn't load XPCOM. I searched through the Arch forums and found a suggestion to run Pacman -Syu to upgrade the system. This upgraded around 140 packages, including quite a few Xorg ones.
    Now I find that watching any sort of video in Xorg (e.g., The BBC weather forecast in Firefox or BBC Iplayer, or even glxgears), the frame rate particularly at full-screen is abysmal, dropping as low as around 2 (two!) frames per second. Glxgears manages around 9 frames per second. Before today's system upgrade, glxgears achieved exactly 60 frames per second at any screen size and BBC video was smooth at full-screen.
    I'm guessing that the problem is somewhere in an upgraded Xorg package, but I'm completely in the dark as to where to start looking. There are no obvious problems reported in /var/log/Xorg.0.log. I could post the content of this file if required, but it's huge and would make an extremely long post.
    Please could someone offer me some guidance on where to start looking for the problem and how to fix it. The hardware I'm running on is Asrock 890FX deluxe 3 motherboard, Phenom-II 955 CPU, Asus 1Gb Radeon HD5570 video card. 'uname -a' reports that the kernel is 2.6.38-ARCH.
    I hope I've posted this in the right forum. If not, please advise accordingly!
    Thanks in advance for any clues!
    Gerald.
    Last edited by edenyard (2011-05-18 13:25:39)

    The files in your /etc/X11/xorg.conf.d folder are the standard ones, so they should not be the problem.
    I've looked in your xorg.log, and while the problem is not clear immediately, you got several (WW) and (EE) messages in it.
    [ 27.795] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 27.795] Entry deleted from font path.
    [ 27.836] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 27.836] Entry deleted from font path.
    [ 27.836] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    these are safe to ignore
    [ 27.837] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    without acpid installed, your monitor probably won't be blanked when you're system is inactive for a while, but otherwise this should not be  a problems.
    (EE) Failed to load module "vesa" (module does not exist, 0)
    (EE) Failed to load module "fbdev" (module does not exist, 0)
    vesa and fbdev are intended as fallback options, it's better to install them.
    pacman -Syu xf86-video-fbdev xf86-video-vesa
    [ 27.935] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
    [ 27.935] (WW) xf86OpenConsole: setsid failed: Operation not permitted
    These lines may have to do with your problem, but i don't know what they mean.
    we need more info.
    run gxlinfo , and post the  output from top until the line with OpenGL extensions:
    Last edited by Lone_Wolf (2011-05-14 10:09:11)

  • Photon Focus MV-D1024E-160-CL-12 Camera frame rate problem.

    Hi,
    I have a photon Focus MV-D1024E-160-CL-12 camera connected with a PCI2-1429 board. I trigger my camera externally using a NI-DAQ and an I/O board to the camera. I am having a problem with the frame rate of my camera. In the manual it says that the camera can operate at 150 fps. When I am triggering at 10Hz the camera works fine. But when I trigger it at 100 Hz the camera does not give me the required fps. I am imaging an analog clock to measure the fps. When I am triggering at 100 Hz I should get just 1sec in images but instead I am getting images of 3sec. I am using the NI-IMAQ sequence example for it. Is it a software problem (e.g. buffer allocation etc) or a hardware limitation.
    Regards,
    Farhan Ahmad.

    Hello Farhan,
    You can use the Calculate FPS VI here to display the number of frames/second for your camera.
    Andy Chang
    National Instruments
    LabVIEW Control Design and Simulation
    Attachments:
    CalculateFPS.vi ‏12 KB

  • IPad mini retina - native video frame rate

    I'm trying to shoot 30fps HD video with my iPad mini (Retina). I was under the impression that the iPad mini's native video format is 30fps. But when I import my footage into iPhoto, it turns out to be only 24fps.
    So - what's the Mini's correct native video format (including frame rate)? Is there an easy way to change the capture rate? Is there an app that allows capture at different frame rates?

    Try this. Reset all settings. Settings>General>Reset>Reset all settings. You will not lose any data, but you will have to re enter all of the iPad preferred settings that you entered in the settings app.

  • Setting video frame rate

    Hi,
    Are there someone had been able to control frame rate of video chating with actionscript or somthing else?
    I have no preference which would be to set it in static or dynamic.
    Thank you
    Ono Keiji

    you can use your camera and microphone when connected to Stratus.  however, you can only publish your camera/microphone for direct connections (new NetStream(nc, NetStream.DIRECT_CONNECTIONS)), and subscribers must use the direct connect API to get the stream from you (new NetStream(nc, <your-peer-id>)).  in this mode, your video/audio stream never goes to the server, but travels directly from you (the publisher) to the subscribers.  that's the *only* mode that Stratus supports.
    because your stream may be received by multiple peers, you must choose a bandwidth (and other encoding parameters) that is likely to fit through the path(s) between the publisher and subscriber(s).  if the encoding parameters you've chosen exceed the bandwidth between publisher and subscriber, eventually frames will be dropped.  also in bandwidth exhaustion situations, because audio is higher priority than video, you may see audio and video go out of sync at the publisher.
    if you set a fixed frame rate and a bandwidth cap, then the encoder will vary the quality to fit within the parameters you've fixed.
    -mike

  • Importing video  Frame Rate Off???

    I am importing video which was shot on a DVX 100 at 24p the image plays fine on my playback deck but when I Play the digitized footage in FC it appears to be in fast forward... Not sure if this is a Frame Rate Issue???

    I don't understand. Did the captured clips playback fine in fcp last night? How did you digitize them? You need to either use the correct capture preset in fcp or modify an existing preset. If you're using another piece of software to capture, you gotta let us know this info.

Maybe you are looking for