New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hero 5 Livestreaming #62
Comments
Try this python script: http://github.com/konradit/goprostream It only works on Linux/Mac atm. |
On Linux I still get errors with my Hero 5: python GoProStream.py It's connected properly and I can browse the video content through a browser, but still not achieve any form of stream to the computer. |
@SokolovRobert thanks for the log, fixing now. |
@SokolovRobert should be fixed now. Please report back. |
Looks like it's working now but, but ffplay isn't starting properly? No errors, but also no preview terminal comes up, and when trying to open ffplay in a new window the ports are already bound. zappy@ubuntu:~/Downloads/GoProStream-master$ python GoProStream.py I'm running Ubuntu 16.04 LTS and can check on a Mac later this evening. |
@SokolovRobert set the VERBOSE flag to True in the python script, let's see what's wrong |
I tried the script and nothing works. |
@udayakumarka streaming does not work on Windows |
@KonradIT Thanks for the quick response. I was hoping there should be some workaround atleast. With the same way the Capture App is showing the live previews. Hope it will be available for future versions. |
@udayakumarka it works in Linux (arch tested so far) |
@KonradIT Any reason why it doesn't work with Windows? |
Hello, can I get the Live Stream on windows system with gopro sessiocn 5? |
@TUDarmstadtLLX, @udayakumarka FFmpeg does not work on windows for reasons unknown yet, so try the ffmpegless-opencv.py here So, the way this works is by using the OpenCV python library to display the preview directly from the camera without doing ffmpeg > localhost > opencv (this is very stable but I guess it does not work on windows). To try it, install the gopro-py-api by downloading the repo, opening a terminal in the folder and doing
and wait until it says connected to 10.5.5.9 (the camera should turn on). It should take some time to interface with the camera and turn it on, if after 30 seconds it did not turn on run the
It should display some data from the HERO5 including mode, battery, etc... Check the clients connected value and note it down. Then close the python terminal and run the ffmpegless-preview.py file. It should display the preview, might lag or might not. NB: I don't have a HERO5 camera and I don't have Windows, so I will need logs, screenshots, videos, anything that helps me debug. Gotta study now. |
Hi, thanks for your relay. is it possible that I just control the gopro session 5 on the window system? Such as start the video or start to capture the images. I want to use use LabVIEW as the develepment enviroment. In LabVIEW, there are modules for the using of "http". |
Hi @TUDarmstadtLLX you can indeed start and stop recording or take photos.
|
I've been trying to get the stream to work on Windows, the UDP packets from the GoPro will not be received at all. this is definitely a Windows issue as neither FFmpeg, ODB or OpenCV have gotten to preview the stream |
Hi, |
@TUDarmstadtLLX did you turn the camera on via the gopro.power_on() command |
I turned it on manually. But I tried the command for "Power off", it works. How can I do that with the command? |
use the GoPro python API, it's based on goprowifihack. You can use the aforementioned command to turn on. |
Hi, @KonradIT, thanks for your reply. If I do not use the python API, I can not take pictures and shot videos via the command, is it true? |
@TUDarmstadtLLX you can take pictures and record videos with the command line using the python api. look at the videos in the gopro-py-api README |
@KonradIT , ok, thanks! |
VirtualBox might not be able to receive UDP packets, even though I edited the firewall config on Windows. (Right terminal: opencv running on arch, while windows inside VM cannot open the stream from opencv or ffmpeg) |
I am using the window system. If I want to get the Live Stream and be able to set up the camera, such as set the FPS, I need to install the linux system on my PC and use the Python API. Is it true? Sorry for such foolish question |
Hi, I am using a GoPro 5 Session. |
@KonradIT Hi, I just thought , for my research, I do not need to get the live stream. I only need to control this GoPro 5 session wirelessly on my computer, such as set up the camera, take pictures and shot videos. If there are any http commands with which I can do that, that would be awesome. |
Hi @TUDarmstadtLLX you can use the GoPro Python API to control the camera (take pictures and shoot videos) even set the FPS. |
@KonradIT Thanks, where is the Python API, Could you post the link? |
I have tried the Python API on the Linux for the GoPro 4, but it returns error. I do not know, if this API passes the GoPro 5 Session. |
@TUDarmstadtLLX what error? post some logs otherwise I cannot fix anything, also, what HERO4 model do you have? |
@KonradIT I have solved the problem. Just reset the GoPro. Great API. |
@KonradIT Hi, I just run the GoPro Cam API under windows system, I send a command "gopro_hero5.shoot_video(3)", the camera implements the command and shoots a video for 3 seconds, but I returns the error like the following picture |
hey @TUDarmstadtLLX thanks for the log! I'll test it on windows and fix it. |
@TUDarmstadtLLX run this
|
Hi, my last GoPro Session 5 is broken. I do not know why. I have sent a command to it, it suddenly turns off and can not power on anymore. So I exchanged it with the new GoPro Black 4. I have got the live stream under windows system work. But there is about 2 second delay. Is ist normal? |
@KonradIT Hi, my last GoPro Session 5 is broken. I do not know why. I have sent a command to it, it suddenly turns off and can not power on anymore. So I exchanged it with the new GoPro Black 4. I have got the live stream under windows system work. But there is about 2 second delay. Is ist normal? |
i haven't gotten the streaming to work on windows yet so I can't really say. |
@KonradIT Hi, I have read the comments here and am having the same issue. I am running Windows on my pc and have had no success at all. I am using a Hero Session for my live streaming. Because of this, would the live stream still work? |
I could get it to work on windows @LanceRagas |
@KonradIT When I run the python script, it says the machine is actively refusing it. Would this be solved with send a WoL? |
@TUDarmstadtLLX How did you get your gopro to connect through windows? |
@LanceRagas I can connet my GoPro Black 4 under the mode of APP. Before I have also used a GoPro Session 5, it can also connect with windows under the APP mode. Just need to give the wifi password. |
@TUDarmstadtLLX what version of Windows? can you run the stream successfully? |
@TUDarmstadtLLX I have everything setup. I am sending a WoL to my Session and it is recording without the SD card. But the same error occurs. Would this be due to my computer running Windows 7? |
@KonradIT I have testet it on Windows 8.1. I can get livestream with VLC and ffmpeg. |
@LanceRagas Sorry, I have not testet it on the Windows 7. When I test the livestream with my GoPro session 5, it is not only unstable, the camera is finally broken under the control of the Python API. I have no idea of the reason. |
@TUDarmstadtLLX to get the camera to work windows 10, what would be the correct process to follow? |
@TUDarmstadtLLX Hi, can I get your email? |
Hi,
my E-Mail ist xixiliebeweiwei@gmail.com
Best regard
…On Sun, Aug 13, 2017 at 6:20 PM, Konrad Iturbe ***@***.***> wrote:
@TUDarmstadtLLX <https://github.com/tudarmstadtllx> Hi, can I get your
email?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AbFJmP9xZ6xdymqtL0l9Ir4-B338olA_ks5sXyJCgaJpZM4Lwsn8>
.
|
@KonradIT I am using a Mac and I have hero5 session, I cannot get the live streaming to work. It doesn't give me any error but just after giving me all the camera and flag details its stuck. there is no UDP window to show the preview. Same is the case with Hero4 silver as well. can you help. |
####Problem:
Can't livestream with Hero5 to computer. Have followed instructions here along with many other references. I'm not sure if this is due to a firmware update, but on wireshark I'm not seeing any udp traffic whatsoever.
####Details:
Would like to wirelessly stream from Hero 5 to computer.
The text was updated successfully, but these errors were encountered: