Adding a video to Simulation Environment - nao-robot

I am using Webots to simulate an orchestra environment. I am trying an NAO robot to react to a video and audio, I am unable to include the video source in the environment.
Sample Video
Which simulator should I use or how will I create an environment to test a robot with my algorithm?

I do not expect Webots to support embedding video in the simulated world.
Webots also already takes over the virtual NAO's video input, so you might be unable to inject your own video instead.
But if you worked with the virtual NAO created by Choregraphe (instead of Webots), you can use ALVideoDevice.putImage. See ALVideoDevice documentation.

Related

iOS theme on desktop builds?

Recently I created a desktop app with Codename One, that through REST calls implements the backend of a website. Since the graphics were relatively very simple, I could use includeNativeBool: false; and create the graphics from scratch, in order to have the desired graphic look.
Soon I will have to make another desktop app with Codename One, both for Windows and MacOS. In this new app, however, the graphics will be more complex and I don't think it's a good idea to create it from scratch. I wish I could use includeNativeBool: true; and have iOS graphics as a starting point (both on Windows and MacOS). Is it possible?
Note that when I tried to use the desktop.theme build hint it didn't work, but maybe I didn't understand how to use it.
You need to pass a theme file to the desktop.theme build hint. So just download the native iOS theme and place it under your native/javase directory. Then set the build hint as such: desktop.theme=iOS7Theme.

Creating a video game in Maya for android

I recently installed Maya for creating video games, and was wondering something. Can I create games in Maya, and run it on mobile devices?
In short, no.
Maya is a character animation software, not a game development platform. It doesn't directly support creating an application of any kind. Maya creates a portion of the raw materials for a game, but you'll need some kind of programming tool to create the actual game itself.

Grab picture from web cam in WPF Application?

I am using web cam in WPF application. I am using Expression Encoder for video capture. for video capture I have created Job and its working properly. While I want to get picture with same resolution as video is. for this I am using ffmpeg to extract first frame from video. but quality of image is very low. the priority is that image quality should be best of attached web cam and resolution should be as much as video is.
Either we have any better option in Expression Encode for taking picture or kindly help me with any alternative.
You can have a look at this control:
The control provides the following functionalities:
Gets a list of available web camera devices on a system.
Displays a video stream from a web camera device.
Gets the current image being captured.
Requirements
The WPF version of the control is implemented using .NET Framework 4 Client Profile.
The control uses the VMR-9 renderer filter available since Windows XP SP2.
The control supports both x86 and x64 platform targets.
For some reason, accessing images from a web cam is far more complicated then it should be. While I have not used the Expression Encode application, I can provide you with two links to CodePlex, where you can find two different libraries that could help you to solve your problem. Please see the following pages:
WebCam Library for WinForm and WPF with C# and VB.NET
WPF MediaKit - For webcam, DVD and custom video support in WPF
Alternatively, if you're happy with using Expression Encode, then you could take a look at the following links:
Extracting still pictures from movie files, with C#
Extract frames from video files – The Code Project – Multimedia
I would recommend AForge.Net, it works flawless, free and licensed under LGPL v3 license, it also seems to work in both 32 and 64 bit.
The only drawback is that you need ~400 kb worth of dlls to get the webcam control.

On WP7 & Computer, Playing first playlist Item automatically using SMF (Silverlight Media Framework)

I currently have a SmoothStreaming video comming from a Wowza server and We are currently using the SMF to play the video on the Windows Phone 7 and on the computer. We are adding the Manifest to the playlist and setting it to
PlaylistItem { DeliveryMethod = DeliveryMethods.AdaptiveStreaming };
The problem we are currently facing, is that even if the player is set on AutoPlay="True", the video will not start on it's own. We must open the play list in the player and select the first video for it to start playing.
we have also tried to the CurrentPlaylistItem, but this has not changed anything.
has anyone dealt with smoothstreaming from a Wowza Server? Can someone shed some light on this strange behavior?
When trying to play a video on the Windows Phone 7 using the SMF (Silverlight Media Framework) it is important to know that a H.264/MPEG-4 video will not play in the emulator, and will not play if the device is connected to the computer. The video will play only if the device is connected via WIFI or 3G.
Further more, be sure to have the latest version of the SMF. It was reported that binding the CurrentPlaylistItem does not work on certain versions. A quick solution to this problem, is to make the binding in code and not in xaml.

automate video capture

I have a bunch of short videos from my digital cam. i know how to convert them to a better codec with ffmpeg but i would also like to make a preview image for the video. Not a thumbnail that window does, something like media player classic which takes about 5-30 shots of the video. I was hoping MPC would be able to do it through cmd line but it doesnt.
What (command line) util can i use to do this or what lib (preferably c/c++) can i use to generate the images?
You could use a programmable automation tool, such as wintask, to do this using your exisiting manual apps.

Resources