record app using iOS and Yosemite, but can only see black screen - osx-yosemite

I am trying to record a video of my app using QuickTime and the new iOS record feature in Yosemite. Problem is all I get is a black screen. Can anyone assist?

I found the solution. It wasn't able to see video until I switched from my Blue microphone to the iPad's built-in one.

in the QuickTime Player go to > File > New Movie Recording
Click the Arrow (that points down) next to the red Circle
in the Camera choose your iOS device , if it not showing , unplug and plug your iOS device again. if you would like to record the sounds that your iOS makes , change the Microphone as well.
Hope this helps.

Related

2K Full HD Web Camera Flickering Like Earthquake including black and green lines

I have bought new 2K Full HD webcam. Whenever I connect it to my windows laptop, it gives me green and black lines and it flickers badly.
I switched it to 50Hz and 60Hz in camera APP in windows but nothing worked. Here's the video of the flicker on windows 10: Google Drive Link
But this camera is 100% working fine with skype APP and I have tested it with my friend's MacBook Pro. The camera gives the crispy HD results. But whenever I connect it with windows. It gives me flickering and glitching. Here's the video recorded on skype video setting: Google Drive Link
Both of these videos are recorded in a room and the light in the room is not a bulb light. Its the natural light from the opened window. I have also tested it with bulb light and energy saver bulb, but still the camera is not fixed.
I have updated all of the system drivers, graphics card drivers, change camera app settings and followed every single tutorial to make it work. I cannot buy new one because it's the expensive camera and I can't afford to get a new one. It is working on Mac, Skype but not working on Zoom, Camera APP.
Please do reply to this thread if you know the solution. Thank you in Advance!
I bought this new camera for recording. It is flickering alot. I wanted it to work on windows as it is working on MAC. Thank you!

AirPlay Screen Mirroring in IOS

I want to apply screen mirroring through code.In iOS 11 and below we can achieve this task with MPVolumeView class
https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/AirPlayGuide/EnrichYourAppforAirPlay/EnrichYourAppforAirPlay.html
In iOS11 and later iOS The above class does not work for Screen Mirroring as it's only works for Audio mirroring (Airplay2).
I also try AVRoutePickerView, but it is also working for audio mirroring only((Airplay2)).
In simple through code I want the same result with we can achieve with "Control Centre" "Screen Mirroring" button.check below video (1min 18secs in) for "Screen Mirroring" exact location.
https://www.youtube.com/watch?time_continue=80&v=wbWXNESUZ5w
Please check the attach image for exact location of screen mirroring button
Thanks

Is there a different way to view the iOS Simulator in Xcode 5 / Am I viewing my button correctly?

So I'm doing the Ray Wenderlich tutorials on iOS, and I'm doing the button tutorial. When I run the app, I get something that looks like this:
I have two questions:
I often see simulators show up in the form of an actual iPhone and was wondering if that was possible, or if that rectangle is the only way to view it?
The reason I'm asking is when I connected the button to an action (It says 'Pressed!'). So, is it supposed to show up in the box (bottom right) only, or should it should up on the simulator itself- mimicking what the user would see on-screen?
Regarding your first question: Probably a problem with screen size. See also here How can I restore the iPad frame around iOS Simulator 5.1?
The output seen in the screenshot is produced with NSLog and won't be seen on the device. You need to add an UILabel or such and set its text.
In the Simulator menu, try selecting Window then Scale and go to 50%. The retina models are far too big on my screen. Also, the old iOS 6 simulator with standard iPhone did look like a real phone, so examples from a while ago will look different.
If you want to support iOS 6.x, you can load it into Xcode. From Xcode main menu, select Xcode and then Preferences, and go to the Downloads tab.

how to show device camera's data on a CCScene when using cocos2d-x on android

In an android game, I want to start device's camera and let player see the camera input inside a CCScene. Does anyone know how to do that?
I am searching for the same thing. I haven't figure it out yet but come across the following:
http://syswerke.com/projects/blog/opencv-camera-capture-in-cocos2d-x-applications/
http://docs.opencv.org/doc/tutorials/ios/video_processing/video_processing.html#opencviosvideoprocessing (iOS)
http://www.cocos2d-iphone.org/forums/topic/using-a-uiimagepickercontroller-and-cocos2d-sample-code/#post-34228 (iOS)
http://www.cocos2d-x.org/forums/6/topics/11524 (suggesting to save to file/buffer and pass to native code)
I've seen example on iOS that works (e.g. https://www.youtube.com/watch?v=TM9EIzB5I-8).
I'll update more if/once I figure it out

How can I format a movie to play through MPMoviePlayerViewController on the iPad?

I've been struggling to make video on the iPad work. I'm using an MPMoviePlayerViewController and it plays fine in the simulator. I've tried several different converters, including ones dedicated to producing iPad-formatted video, but none of the videos play on the device. The MPMoviePlayerViewController loads and the controls appear.
For most of the videos, the spinning progress indicator never goes away. For a few, the video loads but when I press play the video immediately pauses. I know that the video is there because I can scan through and see various frames.
I know the code works because it plays a different movie file perfectly. I just have no idea what I'm doing wrong that's preventing my movie from playing. Does anyone know a good step-by-step process of getting an iPad-formatted video from any .mov or .mp4?
Thanks,
Luke
Also, just for future reference, import target video into iTunes, then highlight it and from the Advanced menu choose "Create iPod or iPhone Version" or "Create iPad or AppleTV Version" depending on your target device.
This guarantees that the right codecs are used and the right bitflags set on the video file.
Fixed - the one that loaded but couldn't play eventually worked. Why? Who knows.