Stream video from raspberry pi to andriod unity app?
At school, we are busy with a project where we need to have 2 camera input's connected to an android phone with a unity application running.
At the moment we have the idea to use some USB webcams and plug those into a raspberry pi. This has been done before. But the part that we are not really sure about is how we can connect the raspberry pi to an android phone and transfer the video.
Here is a schematic of what I want to achieve. The idea is that we want to simulate different kinds of vision of animals in a google cardboard experience.
The part I'm not sure about is the connection to the android phone and unity. The USB webcams to raspberry shouldn't make a problem.
I hope someone can give an answer or point me in the right direction.
Many thanks in advance,
Bastien Olivier Dijkstra
android unity3d raspberry-pi usb webcam
add a comment |
At school, we are busy with a project where we need to have 2 camera input's connected to an android phone with a unity application running.
At the moment we have the idea to use some USB webcams and plug those into a raspberry pi. This has been done before. But the part that we are not really sure about is how we can connect the raspberry pi to an android phone and transfer the video.
Here is a schematic of what I want to achieve. The idea is that we want to simulate different kinds of vision of animals in a google cardboard experience.
The part I'm not sure about is the connection to the android phone and unity. The USB webcams to raspberry shouldn't make a problem.
I hope someone can give an answer or point me in the right direction.
Many thanks in advance,
Bastien Olivier Dijkstra
android unity3d raspberry-pi usb webcam
add a comment |
At school, we are busy with a project where we need to have 2 camera input's connected to an android phone with a unity application running.
At the moment we have the idea to use some USB webcams and plug those into a raspberry pi. This has been done before. But the part that we are not really sure about is how we can connect the raspberry pi to an android phone and transfer the video.
Here is a schematic of what I want to achieve. The idea is that we want to simulate different kinds of vision of animals in a google cardboard experience.
The part I'm not sure about is the connection to the android phone and unity. The USB webcams to raspberry shouldn't make a problem.
I hope someone can give an answer or point me in the right direction.
Many thanks in advance,
Bastien Olivier Dijkstra
android unity3d raspberry-pi usb webcam
At school, we are busy with a project where we need to have 2 camera input's connected to an android phone with a unity application running.
At the moment we have the idea to use some USB webcams and plug those into a raspberry pi. This has been done before. But the part that we are not really sure about is how we can connect the raspberry pi to an android phone and transfer the video.
Here is a schematic of what I want to achieve. The idea is that we want to simulate different kinds of vision of animals in a google cardboard experience.
The part I'm not sure about is the connection to the android phone and unity. The USB webcams to raspberry shouldn't make a problem.
I hope someone can give an answer or point me in the right direction.
Many thanks in advance,
Bastien Olivier Dijkstra
android unity3d raspberry-pi usb webcam
android unity3d raspberry-pi usb webcam
edited Nov 22 '18 at 17:15
Bastien Olivier Dijkstra
asked Nov 13 '18 at 19:02
Bastien Olivier DijkstraBastien Olivier Dijkstra
35
35
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
This sounds like a neat project. Are you setting it up so each camera gives the view for each eye (hence the 3D aspect)?
For starters, if you simply want static images, you can try to SCP or FTP the resultant video files to your android.
AndFTP does a pretty good job of FTP for Android devices.
On the other hand, if you want to watch a live stream of the video from the RaspiCam, you can do that also with a myriad of other apps, but I personally use IP Cam Viewer to view the RTSP stream.
You will basically be viewing each RTSP stream independently. You may need to adjust the viewing resolution so it doesn't overload your RPi, but Unity can deal with up to eight cameras and up to eight viewing 'screens'.
I have updated my question with some more specifics. And is it possible to use an application like IP Cam Viewer with Unity?
– Bastien Olivier Dijkstra
Nov 15 '18 at 9:08
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53287859%2fstream-video-from-raspberry-pi-to-andriod-unity-app%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This sounds like a neat project. Are you setting it up so each camera gives the view for each eye (hence the 3D aspect)?
For starters, if you simply want static images, you can try to SCP or FTP the resultant video files to your android.
AndFTP does a pretty good job of FTP for Android devices.
On the other hand, if you want to watch a live stream of the video from the RaspiCam, you can do that also with a myriad of other apps, but I personally use IP Cam Viewer to view the RTSP stream.
You will basically be viewing each RTSP stream independently. You may need to adjust the viewing resolution so it doesn't overload your RPi, but Unity can deal with up to eight cameras and up to eight viewing 'screens'.
I have updated my question with some more specifics. And is it possible to use an application like IP Cam Viewer with Unity?
– Bastien Olivier Dijkstra
Nov 15 '18 at 9:08
add a comment |
This sounds like a neat project. Are you setting it up so each camera gives the view for each eye (hence the 3D aspect)?
For starters, if you simply want static images, you can try to SCP or FTP the resultant video files to your android.
AndFTP does a pretty good job of FTP for Android devices.
On the other hand, if you want to watch a live stream of the video from the RaspiCam, you can do that also with a myriad of other apps, but I personally use IP Cam Viewer to view the RTSP stream.
You will basically be viewing each RTSP stream independently. You may need to adjust the viewing resolution so it doesn't overload your RPi, but Unity can deal with up to eight cameras and up to eight viewing 'screens'.
I have updated my question with some more specifics. And is it possible to use an application like IP Cam Viewer with Unity?
– Bastien Olivier Dijkstra
Nov 15 '18 at 9:08
add a comment |
This sounds like a neat project. Are you setting it up so each camera gives the view for each eye (hence the 3D aspect)?
For starters, if you simply want static images, you can try to SCP or FTP the resultant video files to your android.
AndFTP does a pretty good job of FTP for Android devices.
On the other hand, if you want to watch a live stream of the video from the RaspiCam, you can do that also with a myriad of other apps, but I personally use IP Cam Viewer to view the RTSP stream.
You will basically be viewing each RTSP stream independently. You may need to adjust the viewing resolution so it doesn't overload your RPi, but Unity can deal with up to eight cameras and up to eight viewing 'screens'.
This sounds like a neat project. Are you setting it up so each camera gives the view for each eye (hence the 3D aspect)?
For starters, if you simply want static images, you can try to SCP or FTP the resultant video files to your android.
AndFTP does a pretty good job of FTP for Android devices.
On the other hand, if you want to watch a live stream of the video from the RaspiCam, you can do that also with a myriad of other apps, but I personally use IP Cam Viewer to view the RTSP stream.
You will basically be viewing each RTSP stream independently. You may need to adjust the viewing resolution so it doesn't overload your RPi, but Unity can deal with up to eight cameras and up to eight viewing 'screens'.
edited Nov 16 '18 at 5:08
answered Nov 13 '18 at 20:03
JackspaceJackspace
1216
1216
I have updated my question with some more specifics. And is it possible to use an application like IP Cam Viewer with Unity?
– Bastien Olivier Dijkstra
Nov 15 '18 at 9:08
add a comment |
I have updated my question with some more specifics. And is it possible to use an application like IP Cam Viewer with Unity?
– Bastien Olivier Dijkstra
Nov 15 '18 at 9:08
I have updated my question with some more specifics. And is it possible to use an application like IP Cam Viewer with Unity?
– Bastien Olivier Dijkstra
Nov 15 '18 at 9:08
I have updated my question with some more specifics. And is it possible to use an application like IP Cam Viewer with Unity?
– Bastien Olivier Dijkstra
Nov 15 '18 at 9:08
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53287859%2fstream-video-from-raspberry-pi-to-andriod-unity-app%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown