Low FPS when accesing iPhone video output image buffer

2 down vote favorite
Hi, I'm trying to do some image processing on iPhone. I'm using http://developer.apple.com/library/ios/#qa/qa2010/qa1702.html to capture the camera frames.
My problem is that when I'm trying to access the captured buffer, the camera FPS drops from 30 to about 20. Does anybody knows how I can fix it?
I use the lowest capture quality I could find (AVCaptureSessionPresetLow = 192x144) in kCVPixelFormatType_32BGRA format. If anybody knows a lower quality I could use, I'm willing to try it.
When I do the same image access on other platforms, like Symbian, it works OK.

I also happen to have T-Mobile, but the problem happened on WiFi as well as you mentioned and therefore didn't seem to be related to carrier.
I expect your videos are playing normally again like mine since yesterday morning. I guess it had something to do with the video codecs/standards being used by major video service providers like you thought, but I found it curious that so many different video sources beyond YouTube caused me the same problem during that time. I did find that Daily Motion worked fine when the other services weren't working, so I knew it had to be service (and what standards they were using) specific.
Still, how were there not tons and tons of other people experiencing this!? I had it happen on both my 6+ and my iPhone 4. Maybe there were other factors specific to my area/connection (outside of connection speed which was always fine) that resulted in it, but still...

Similar Messages

  • IMac G5 iSight - Resolution problems when using s-video output.

    Good afternoon all.
    I have an iMac G5 and the only video output it has is a mini VGA socket. I have used this with a mini VGA to S-Video converter cable from Apple and am getting some odd results.
    The Mac is running Leopard 1.5.7 and I'm outputting to a fairly old Panasonic CRT TV.
    The problem I find is that when I plug in my mini VGA adaptor to the Mac it reduces the resolution on the Mac screen down to 1024x768 (stretched). The TV outputted TV image looks great, but I can't seem to keep my native resolution of 1440x900 on the Mac display.
    If I do go and change the resolution in "displays" in the sys' prefs' then it just seems to keep the 1024x768 resolution on the Mac but this time without stretching it.
    Does anyone know how I can keep my Mac at its native resolution of 1440x900 while still outputting to s-video to the TV?
    Any and all help will be greatly appreciated.
    Thank you again in advance.
    Stuart

    Hi
    I have the same config as you: I have been using it for years to view on my tv dvds or videos from the web.
    To my knowledge there is no way to acheive what you wish: when you plug the adaptor in the mac adjust to your output source and its main display (the g5 display) will reflect that with the result that it becomes very difficult to use.
    Maybe there is a way to try changing the resolution in a middlle"configuration" which would give an acceptable viewing on the tv as well as on the g5.
    Personally I keep plugging and unplugging the adaptor as needed.

  • AC Power stops when using s-video output

    This only happens when using the s-video output. It usually takes about an hour before the ac power adapter stops working then the powerbook switches to battery power.
    For all other times when not using the video output, it would work normally [ i could leave the ac power plugged in for weeks without this problem occuring ].
    Is there a way to fix this when using the s-video output.
    Powerbook G4 1.33 GHz   Mac OS X (10.4.6)  

    If you know someone with another 65W power adapter I would try using it to see if it does the same thing. If it doesn't then you know to buy a new power adapter.

  • Ffmpeg - low fps when i record my desktop;

    Hello. When i am running ffmpeg on 1280x768 resolution, program record with ~100fps, When i change resolution to my native(1366x768), program record with ~29 fps and system running slow.
    Record with 1280x768
    frame=   66 fps=0.0 q=17.0 size=     417kB time=00:00:00.30 bitrate=11374.4kbitsframe=  132 fps=131 q=17.0 size=     449kB time=00:00:00.63 bitrate=5832.5kbits/frame=  199 fps=132 q=17.0 size=     449kB time=00:00:00.96 bitrate=3807.7kbits/frame=  256 fps=127 q=24.0 size=     481kB time=00:00:01.25 bitrate=3149.3kbits/frame=  321 fps=128 q=17.0 size=     769kB time=00:00:01.57 bitrate=4000.0kbits/
    Record with 1366x768
    frame=   18 fps=0.0 q=18.0 size=     390kB time=00:00:00.06 bitrate=53303.6kbitsframe=   33 fps= 32 q=17.0 size=     443kB time=00:00:00.13 bitrate=26879.3kbitsframe=   48 fps= 31 q=17.0 size=     465kB time=00:00:00.21 bitrate=18156.8kbitsframe=   63 fps= 31 q=17.0 size=     482kB time=00:00:00.28 bitrate=13841.4kbitsframe=   78 fps= 30 q=18.0 size=     502kB time=00:00:00.36 bitrate=11420.9kbitsframe=   93 fps= 30 q=18.0 size=     516kB time=00:00:00.43 bitrate=9708.7kbits/
    ffmpeg commend
    ffmpeg -f x11grab -r 100 -s 1366x768 -i :0.0 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -threads 5 arch.mkv
    sysinfo
    Linux adrian 3.8.3-2-ARCH #1 SMP PREEMPT Sun Mar 17 13:04:22 CET 2013 x86_64 GNU/Linux
    hardware info:
    i5 8gb ram 630m
    Do u know how to get better fps on my native resolution?
    THX
    Dziękuje i Pozdrawiam:}
    Last edited by Vatri91 (2013-03-23 11:30:29)

    Couple of thoughts.
    30 fps is DVD quality. I would drop (-r 100) to (-r 24) I don't know what you are gaining capturing at 100fps.
    You can also dump to raw video then encode the file later.
    You can lower the video bitrate that you encode to (c:v libx264 -b:v 500k). Depends on how active your screen is. If you are just doing a tutorial of something then you may be able to drop down to (300k). Anything under (1000k) will be noticeable if you have a lot of movement on the screen.
    This example gives a smooth full screen capture (without sound) (On an AMDx2)
    ffmpeg -f x11grab -r 24 -s 1920x1080 -i :0.0 -an -c:v libx264 -b:v 500k output.mpg
    This is easier on the CPU
    ffmpeg -f x11grab -r 24 -s 1920x1080 -i :0.0 -an -c:v libx264 -crf 0 -preset ultrafast output.mpg
    Another example using -qscale
    ffmpeg -f x11grab -r 24 -s 1920x1080 -i :0.0 -an -c:v libx264 -qscale 10 output.mpg
    For a raw video
    ffmpeg -f x11grab -r 24 -s 1920x1080 -i :0.0 -an -f rawvideo output.raw
    You have a raw video now so to play it, or take it and encode it.
    mplayer -demuxer rawvideo -rawvideo w=1920:h=1080:y8 output.mpg
    If framerate is dropping below specified while capturing with ffmpeg then, you'll have to lower the bitrate that you are encoding at, dump the stream as a raw video then encode it later, capture a smaller area of screen, or I hear that recordmydesktop does well.
    EDIT: reason for edit, syntax correction.
    Last edited by teckk (2013-03-27 14:57:33)

  • Poor iPhone video output from QT Pro

    I am creating videos for my website using the File > Export for Web option in QuickTime Pro.
    My problem is with the generated file for the iPhone "myfile-iPhone-cell.3gp". The video generated for the iPhone is very poor quality - it is very pixelated when streamed over the internet. I believe this is due to the fact that it is generated by QuickTime Pro at 176x109px, which is about 1/2 the size of the iPhone's actual screen. So, when it gets to the iPhone, it has to be "enlarged" and then gets grainy. If I stream a large dimension MP4 file, like 640x480px (from another software converter) into my iPhone, it looks really great.
    So, I'm wondering why the programmers at Apple, who have direct access to the hardware and software, chose to output the iPhone-cell.3gp file at such a small dimension? Is there a way to correct this or am I stuck with what I get? I feel the video quality is not good enough to put on our corporate website.
    Any advice on this is appreciated. Thanks.

    The cell type movies are meant for ten-year old Nokias.
    I feel the video quality is not good enough to put on our corporate website.
    Then don't post it. Or enlarge it.
    Use a larger export size. The iPhone type. It's for the iPhone: myfile-iPhone.m4v
    It's not difficult to figure that out. And you seem to know the answer:
    If I stream a large dimension MP4 file, like 640x480px (from another software converter) into my iPhone, it looks really great.
    And why not try them all. Why not try? Why so helpless?

  • Low Memory when rendering a video file (Win 8.1; HP Envy 700-230qe)

    Rendering a 4-minute video (with several video tracks) using Sony Vegas Pro13, keeps stopping around 70-80% of completion --- saying that there's low memory.  
    How could that happen on a HP Envy 700-230qe with 32GB DDR3 memory?
    I look at the Task Manager:  the  "Commited" memory keeps increasing during the rendering until it hits the full number (36 GB in my case)  and then the memory is depleted, which stops the render.  
    (No changes to the system except addition of an SSD drive as main drive, and a Blu-ray burner)
    This question was solved.
    View Solution.

    Hello @Mango7 
    I understand that you are having issues with rendering a video using Sony Vegas Pro 13. I suggest you look to the Vegas Pro - Video as it would appear there are settings within the software that should help you. If you cannot find a post that matches what you are trying to do or the issue you are facing I suggest you post there as it would appear that their are numerous community members there that are willing to help.
    Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • When I watch videos/movies they buffer every few minutes, how do I resolve.

    HP Touchsmat 610 1150XT
    Windows 7 home premium
    This is a new computer and it has always performed this way.

    Well, I have a 610 at home and I don't have this issue. It's actually my best PC. But mine is very close to my modem. I do know that when a lot of people in my house are using the network it will slow down video buffering for all systems on the network.
    Just for the sake of troubleshooting, you may want to try connecting your PC directly to the modem and/or moving it closer to the modem to see if the connection improves.
    You may also want to install the latest wireless driver for your PC:
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4063&lc=en&cc=us&dlc=en&sw_lang=&product=5115...
    ...an HP employee just trying to help where I can, but not speaking on behalf of HP.

  • AE performance with AJA / Blackmagic video output

    Hi,
    is there any way to improve the performance of AE when working with video output? I have an AJA Kona LHe installed on one workstation and a Blackmagic Decklink Studio on a different workstation. I work with 1920x1080 DPX-sequences most of the time. RAM-Preview works fine (means realtime) when I deactivate my video-preview. But with video preview activated I get a frame rate around 15-20 fps.
    I know that AE is not supposed to provide a perfect video preview in realtime, but is there any way to improve this a little bit?
    Fun facts:
    - when turning my quality to half or quarter, the frame rate is even lower (around 10-15 fps)
    - different source material acts different...quicktimes give me realtime sometimes, dpx sequences result in 15-20 fps. I mean - AE is putting the comp into the RAM ("RAM-Preview") - shouldn't it make no difference what source material in my comp is?
    Thanks!

    *push*
    Exact same issues here! We just rented an AJA IO Express to test it before buying and the tests were not very satisfying! Furthermore, when you make a RAM-preview of something with audio, the audio plays at the correct speed of course and the video at the above mentioned 15fps! So the audio of a 30sec-Spot ends about 6 seconds earlier than the video!
    For almost 1 and a half years no response with a solution... Could maybe someone from Adobe tell us, if there is any by now?
    Thanks!

  • Portrait iphone videos on Apple TV dont use whole screen

    When viewing iphone videos on Apple TV via iTunes the picture remains in portrait mode.  Is there a way of uisng the whole screen

    vazandrew your response is completely useless
    Of course it is a flaw that the Apple TV can't do something that every iPhone, iPad, and every competitor viewing device can do.
    But that's not the point. 
    Is there a workaround here?  The bottom line is that I have videos in portrait that I *need* to view in landscape on my tv.  I'm sure many others are in the same boat.  Is there a simple app that allows videos to be rotated then saved as new videos? 

  • [solved]No video output in Skype with nvidia driver - vesa works fine!

    Hi,
    I'm struggling to get Skype video working. The webcam works perfectly - the other side can see me. But I can see neither myself nor my opponent - the corresponding place in the Skype window just gets white. It doesn't matter whether Compiz is active or not. I can also see myself when using cheese, video output also works properly.
    Now, I supposed that it's an issue with my graphics driver (the proprietary nvidia driver) and changed it to vesa in the xorg.conf. Well, I have a resolution of 800x600 now, but the video in Skype is working perfectly! I will go ahead and try an older version of the nvidia driver but maybe it's a known issue and there is a workaround?
    Thanks,
    PhotonX
    edit: Same problem on the 173 driver version.
    Last edited by PhotonX (2009-08-27 18:49:21)

    Solution found here: http://ubuntu-virginia.ubuntuforums.org … ostcount=3

  • Slow FPS, graphics and choppy video when connected to a Mini-DVI cable to external monitor on Macbook Mid2007 4GB RAM

    Hi,
    I have a Mid-2007 Macbook white. I have upgraded its memory to 4GB. Snow Leopard was working great, and I said to myself maybe it's time to upgrade to Lion.
    After the upgrade all was well. However, a big problem occurs when I plug in to the Mini-DVI display port with the HDMI adapter, to connect to my Sony LCD HDTV. The whole graphics and video slow down, everything is choppy. Quicktime and VLC video playback is strobe and choppy looks like very low Frame Rate. Cannot watch anything, not HD nor low resolutions. The entire computer is slow when the cable is connected.
    Things I tried:
    *VGA adapter seems to work fine - it's the digital display output that probably causes that.
    *Running it through a new user.
    This never happened on Snow Leopard. i'm considering to go back. However, I am wondering if there is a way to fix this minor problem.

    Update:
    We solved the problem. Weird solution but now it seems to work. I plugged a VGA adpater and played with the screen rsolutions to try and watch a movie well on my LCD screen. I changed the screen resolutions but I couldn't revert back to the default settings. Pressing "Detect Displays" didn't do anything.
    Here is the interesting part: When I placed back the DVI-HDMI adapter, suddenly everything worked fine!!! There was no choppy videos, no low fps, works prefect.
    Something weird is going on here, but I'm happy I managed to get the DVI to HDMI to work because I was about to removie Lion and bring back Snow Leopard.

  • IPhone video has a strange FPS.

    There has been a lot written about "choppy playback" of iPhone video once it's trasferred to another device.  It seems to me that the problem is in the frame rate used in the original video.  In Quicktime, I'm seeing an actual frame rate on playback of something like 18 FPS, when the file is stamped with 30 FPS.  When will this issue be resolved by Apple?  And for now, what is the best work around?  I've already begun experimenting with different settings during export from Quicktime.  Choosing iPhone as a setting creates a .m4v file, but the image size is greatly reduced, and the conversion is very time consuming.  Howeber the frame rate issue seems to be resolved--no  more choppy playback and the new file is playing back at a true 30 FPS (or maybe it's 29.97 but that's another topic).
    It's been said before but I'll say it again:  it's beyond belief that Apple can release hardware and software that is this buggy!  Even for the most novice user, this is totally unacceptable.  They love to say "it just works".  Well it doesn't.
    Anyone with me on this?
    Peter

    Thanks for your response JD.  How can I tell if my MacBook Pro includes hardware MPEG-4 decoding?     My MBP specs are: 
      Model Name: MacBook Pro
      Model Identifier: MacBookPro5,2
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2.8 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 6 MB
      Memory: 4 GB
      Bus Speed: 1.07 GHz
      Boot ROM Version: MBP52.008E.B05
      SMC Version (system): 1.42f4
      Serial Number (system): W892518Q91T
      Hardware UUID: 14CDAEBD-197D-58FD-B89C-70DEDC7BA917
      Sudden Motion Sensor:
      State: Enabled
    NVIDIA GeForce 9600M GT:
      Chipset Model: NVIDIA GeForce 9600M GT
      Type: Display
      Bus: PCIe
      PCIe Lane Width: x16
      VRAM (Total): 512 MB
      Vendor: NVIDIA (0x10de)
      Device ID: 0x0647
      Revision ID: 0x00a1
      ROM Revision: 3436
      gMux Version: 1.7.10
      Displays:
    Color LCD:
      Resolution: 1920 x 1200
      Depth: 32-Bit Color
      Core Image: Hardware Accelerated
      Main Display: Yes
      Mirror: Off
      Online: Yes
      Quartz Extreme: Supported
      Built-In: Yes
    AFIK, this is all fairly late model Apple hardware and was top of the line when I bought it 3 years ago.  Also keep in mind I don't have any issues playing back any other HD content.  Only files created on the iPhone 4s.
    It doesn't matter if I have other apps running or not--the symptom persists.
    I've observed two seemingly identical video files created on my iPhone 4s (using Get Info in Quicktime all parameters are equal) where one plays smoothly and one has the jumpiness.  Other times a file that had been playing smoothly starts acting jumpy again after reopening.  Bear in mind, the jumpiness doesn't behave like a CPU being overloaded, but is a very regular rhythm--about a jump every second.  I would expect an overloaded CPU to produce more random symptoms during playback.  I'm now seeing the jumpiness even in the videos I exported using Picasa.  Keep in mind, I did not "upload to Picasa Web Albums" but just exported to another location on my internal hard disk.  The specs on the exported files look the same as the original including the data rate, which is 21.7 mbits/sec.  In other words, they were not optimized for streaming.  Why they played back smoothly before and not now is baffling. 
    Some have speculated that movies created with the camera upside down maybe have some extra data attached in order to play back in the correct orientation.  However in most cases my problem files were recorded "right side up" and still they have the jerkiness upon playback.
    Finally, you state that 720p is the default iPhone image size but these files appear to be 1080 (progressive or interlaced I don't know).  Isn't that what 1920 x 1080 implies?  And again, the data rate is 21.7 mbits (is that the same as the bitrate, which you said should be 11 Mbps?).
    Your help in this matter is greatly appreciated. 

  • Video output of iPhone 5

    I have a car stereo, and you could use a iPhone 4 or earlier, and there is video output to the screen.  But with the iPhone 5, they say it is not capable of video output.  Anyone know when this will be fixed?

    carrier the car to the dealer, they will know for sure
    Peace, Clyde

  • How i can have video output on the iphone 5?

    I upgrade my 4s for a iphone 5 now I have a problem I can't play my movies on my car because iphone 5 do not suport video output

    marcov77 wrote:
    iphone 5 do not suport video output
    Yes it does.  However if you want help then you need to actually provide us with some details.
    What kind of videos?
    What app were you using before?
    How were outputting the video before?
    What happens when you try?

  • How to get iPhone 3GS Composite Video output to work

    I have a iPhone 3GS with the latest 3.x FW (Updated 2/6/2010). I bought a Apple Composite video cable which lists iPhone 3GS as a supported product: MB129LL/B (one with 30 pin dock connector, composite, audio L&R, USB, power adapter).
    When I connect the cable to the iPhone, audio output from music works (but is a little quiet compared to other inputs to my stereo).
    However, I cannot get the video output to show any video. When the iPhone is connected my TV goes from a Blue Screen to Black, so it seems that something is being output.
    I have tried both Apple and 3rd party cables with no luck. I had the same results with the previous 3.0 FW. Phone is new as of 11/2009.
    I have tried photo slide shows while connected and I also purchased a product to make a iPhone compatible video.
    In all cases, the TV screen remains black, but the iPhone screen shows the video fine.

    Have you tried connecting other composite video sources to your TV, to be sure the problem isn't in your TV set?

Maybe you are looking for

  • Acrobat Crashes when signing a document

    I have Acrobat 8.1.7 professional and all of a sudden I am unable to digitally sign documents. When I attempt to sign a document, the "sign document" dialog box opens, freezes and the acrobat closes down. Can someone assist me with this issue? Window

  • Migrate podcast settings to a new computer

    I'm bringing up a new computer and am looking for a way to export my podcast settings from my old computer and import it into my new computer. Does anyone know how to do this? Thanks

  • Reference about solman access via portal

    Hi experts, Would you pls advise where I can find document about configure to let users access Solman via portal? How can I know which role or iviews available for solman package. Thank you very much

  • Condition suppression in crystal reports

    I need help in conditional suppression of data in a crystal report I have created. It is hard to explain so I will show you with example data that has no reference to real data. Here is an example of non suppressed data in two columns. Column A     C

  • Macbook shuts down when low battery instead of going to sleep

    Hi Well basically my laptop shuts itself down instead of going to sleep when my battery gets low. I also do not get the low battery message. My macbook will usually shut down when it gets to approximately 6% of battery life. What should I do? Thanks