KonradIT / CamControl

Open source app to connect with popular action cameras, replacing your vendor's closed source app system.
MIT License
114 stars 28 forks source link

Unable to connect with GoPro HERO (2018) camera. I am unable to find code base which is able to connect with camera and record live stream actually. #4

Closed rahulpatidar009 closed 6 years ago

rahulpatidar009 commented 6 years ago

I am developing an Android application, which can be able to display live streaming of GoPro camera on Android mobile.

KonradIT commented 6 years ago

This is a work in progress, I'm porting the APIs to Retrofit first and then I'll actually make the frontend.

rahulpatidar009 commented 6 years ago

Will these APIs work on GoPro HERO 2018? Actually currently I have only this camera and there is no running APIs available for GoPro HERO 2018.

KonradIT commented 6 years ago

Do you need a Java library or just the endpoints? http://github.com/konradit/goprowifihack

rahulpatidar009 commented 6 years ago

I need a java library and APIs for GoPro HERO 2018. In the above given link, I think there is no API available for GoPro HERO 2018 live streaming. I have tried these in may ways but not worked.

rahulpatidar009 commented 6 years ago

Hello @KonradIT
Now I am able to live stream from GoPro HERO 2018. But stream is not smooth and there is a lag in the video and after sometime, streaming is getting stopped. Please update on it whenever you have done with this.

Also this is not working on higher Android API level (above 20).

rahulpatidar009 commented 6 years ago

Hello Konrad,

Hope you are doing well.

Need your help to improve functionality in my application with GoPro. Now I want to record live streaming from GoPro into .mp4 (or any other video format file) on my local android storage. How can I do this? Please give me a solution.

On Wed, Jun 27, 2018 at 5:05 PM Konrad Iturbe notifications@github.com wrote:

[image: Boxbe] https://www.boxbe.com/overview Konrad Iturbe ( notifications@github.com) is not on your Guest List https://www.boxbe.com/approved-list?tc_serial=40594472227&tc_rand=323995594&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=QXV6qHWVLt0hC7nlxZulaDkAYVc5eUXn1MsQZy2MI6s%3D&token=vFYF16xFWbuy9ajrVtMLfrxEO9d9AQKlJ2ACsIp0WIHaEm%2ByVnoEbtSLpA%2F60ake | Approve sender https://www.boxbe.com/anno?tc_serial=40594472227&tc_rand=323995594&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=QXV6qHWVLt0hC7nlxZulaDkAYVc5eUXn1MsQZy2MI6s%3D&token=vFYF16xFWbuy9ajrVtMLfrxEO9d9AQKlJ2ACsIp0WIHaEm%2ByVnoEbtSLpA%2F60ake | Approve domain https://www.boxbe.com/anno?tc_serial=40594472227&tc_rand=323995594&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&dom&key=QXV6qHWVLt0hC7nlxZulaDkAYVc5eUXn1MsQZy2MI6s%3D&token=vFYF16xFWbuy9ajrVtMLfrxEO9d9AQKlJ2ACsIp0WIHaEm%2ByVnoEbtSLpA%2F60ake

This is a work in progress, I'm porting the APIs to Retrofit first and then I'll actually make the frontend.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/KonradIT/CamControl/issues/4#issuecomment-400638231, or mute the thread https://github.com/notifications/unsubscribe-auth/Amvo4Ocdo2XQqSY_UO6DA95YYjsulNmVks5uA2skgaJpZM4U5XQO .

--

Thanks & Regards:-Rahul Patidar Software Engineer InnoEye Technologies, Indore

KonradIT commented 6 years ago

FFmpeg, see http://github.com/konradit/goprostream

rahulpatidar009 commented 6 years ago

Thanks for your quick response. The link you have provided is for Python. I am doing all this in android application using Java.

On Mon, Aug 13, 2018 at 2:39 PM Konrad Iturbe notifications@github.com wrote:

[image: Boxbe] https://www.boxbe.com/overview Konrad Iturbe ( notifications@github.com) is not on your Guest List https://www.boxbe.com/approved-list?tc_serial=42092803299&tc_rand=1826638316&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=qHx6BF%2BG9Oll%2BsQ42uQT3XPtmwZ3Uu9pYOdSQTEim4s%3D&token=2VfJQNDeRSAWB0vt5GFJQOTYQw0faLRi%2Bi8aosmpcM2Q1xodcyghNcwVUvFOIvY%2F | Approve sender https://www.boxbe.com/anno?tc_serial=42092803299&tc_rand=1826638316&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=qHx6BF%2BG9Oll%2BsQ42uQT3XPtmwZ3Uu9pYOdSQTEim4s%3D&token=2VfJQNDeRSAWB0vt5GFJQOTYQw0faLRi%2Bi8aosmpcM2Q1xodcyghNcwVUvFOIvY%2F | Approve domain https://www.boxbe.com/anno?tc_serial=42092803299&tc_rand=1826638316&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&dom&key=qHx6BF%2BG9Oll%2BsQ42uQT3XPtmwZ3Uu9pYOdSQTEim4s%3D&token=2VfJQNDeRSAWB0vt5GFJQOTYQw0faLRi%2Bi8aosmpcM2Q1xodcyghNcwVUvFOIvY%2F

FFmpeg, see http://github.com/konradit/goprostream https://github.com/konradit/goprostream

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/KonradIT/CamControl/issues/4#issuecomment-412451040, or mute the thread https://github.com/notifications/unsubscribe-auth/Amvo4DeF-u0-ftsF9KU7HNIy5BlWo84Bks5uQT5QgaJpZM4U5XQO .

--

Thanks & Regards:-Rahul Patidar Software Engineer InnoEye Technologies, Indore

KonradIT commented 6 years ago

Use a FFmpeg wrapper, you need FFmpeg to save udp://10.5.5.100:8554 to a file.

rahulpatidar009 commented 6 years ago

Sorry but I am not getting what you actually want to say.

On Mon, Aug 13, 2018 at 3:45 PM Konrad Iturbe notifications@github.com wrote:

Use a FFmpeg wrapper, you need FFmpeg to save udp://10.5.5.100:8554 to a file.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/KonradIT/CamControl/issues/4#issuecomment-412471887, or mute the thread https://github.com/notifications/unsubscribe-auth/Amvo4GmiaMnNtW3sNcgBwi7T6P1Dye-lks5uQVHGgaJpZM4U5XQO .

--

Thanks & Regards:-Rahul Patidar Software Engineer InnoEye Technologies, Indore

KonradIT commented 6 years ago

How are you getting FFmpeg to work on your Java code?

rahulpatidar009 commented 6 years ago

I am using following command-

String[] cmd = {"-f", "mpegts", "-i", "udp://:8554", "-f", "mpegts", "udp://127.0.0.1:8555/gopro?pkt_size=64"};

and executing and loading ffmpeg.

On Mon, Aug 13, 2018 at 4:05 PM Konrad Iturbe notifications@github.com wrote:

How are you getting FFmpeg to work on your Java code?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/KonradIT/CamControl/issues/4#issuecomment-412476555, or mute the thread https://github.com/notifications/unsubscribe-auth/Amvo4A91V9ZrX4U5HgTXc2NHXNP7OLBEks5uQVZkgaJpZM4U5XQO .

--

Thanks & Regards:-Rahul Patidar Software Engineer InnoEye Technologies, Indore

KonradIT commented 6 years ago

Then parse the command here into an String array.

rahulpatidar009 commented 6 years ago

By using this command, I am even unable to live stream from GoPro. And video is not recording as well.

I had tried so many commands, but only the command is working for me is I have shared with you.

On Mon, Aug 13, 2018 at 4:08 PM Konrad Iturbe notifications@github.com wrote:

Then parse the command here https://github.com/KonradIT/GoProStream/blob/master/GoProStream.py#L104 into an String array.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/KonradIT/CamControl/issues/4#issuecomment-412477231, or mute the thread https://github.com/notifications/unsubscribe-auth/Amvo4DCl6Dxa0upZW_yOvQRN4J9ZLfyCks5uQVckgaJpZM4U5XQO .

--

Thanks & Regards:-Rahul Patidar Software Engineer InnoEye Technologies, Indore

KonradIT commented 6 years ago

You can't use 2 sessions of FFmpeg (or any program) at the same time with one destination.

rahulpatidar009 commented 6 years ago

Yes. I am not using 2 sessions at a time. I had replaced mine with yours.

On Mon, Aug 13, 2018 at 4:23 PM Konrad Iturbe notifications@github.com wrote:

You can't use 2 sessions of FFmpeg (or any program) at the same time with one destination.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/KonradIT/CamControl/issues/4#issuecomment-412480434, or mute the thread https://github.com/notifications/unsubscribe-auth/Amvo4PANCqEVtFFXdhNAXGkvz4r0OWcIks5uQVqlgaJpZM4U5XQO .

--

Thanks & Regards:-Rahul Patidar Software Engineer InnoEye Technologies, Indore

KonradIT commented 6 years ago

Please figure out this yourself, this is out of scope for the app and also this is not the place to ask for solutions to your problems.