Welcome
Welcome to goprouser

You are currently viewing our boards as a guest, which gives you full access to view most discussions and access.. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today! Any issues email goprousergroup@gmail.com

Howto Livestream to PC and view files on PC/Smartphone!

Discuss the HD3 Black & BacPacs, General, Issues and Trouble Shooting. Please read the Stickies inside before posting

Howto Livestream to PC and view files on PC/Smartphone!

Postby alex84 » Wed Oct 10, 2012 5:43 am

Hey guys,

i just wanted to share some really awesome information with you.
Though the App still lacks support for this, it is already there!
everything one needs ;-)

i want to give credit where credit is due:



on our german Forum the User "Miefda"
found out how to connect DIRECTLY to the GoPro Bacpac via Smartphone/Tablet!
I just confirmed this and found out is it possible with PC also by connecting to the bacPac via my Laptop!!

allright,
1. turn on Camera, turn on Bacpac
2. Push button of Bacpac for WiFi Menu and select "Phone & Tablet" press shutter button, change is accepted.
3. Refresh your Wifi list on Smartphone and/or PC/Laptop
4. Be amazed, as your Bacpac will show up!
5. connect to your bacpac and simply enter the Password (if you have not chosen another unique one it is "goprohero" )
6. Go to your browser and type: "http://10.5.5.9:8080" -> press enter
7. be amazed as you just entered your Bacpac via WiFi! and a simply Cherokee interface
8. open up /Videos for the DCIM Folder and direct access to your Photos and Movie Clips
9. go back and see two other directories, one called /Shutter -> no idea what it is for... -> the other /live
10. go to /live and see...nothing ;-)
11. record a video with your camera -> do not stop recording
12. while camera is recording refresh /live directory! -> every second the GoPro creates a ton of little files called "amba_hls-3.ts" -> the number going up!
in 2-3 seconds mine created 63 of those little files!

-> i googled and found out *.ts is an Mpeg transport Stream file!
it can be opened via VLC Player already and give you a picture!

-> now "only" thing that needs to be done -> a script which refreshes the Folder every tenth or so second ;-)
-> and opens the newest file in VLC player -> voilá tehre is live video streaming to pC/Smartphone etc!

i must admit, will still be some work, but i bet! some smart guys will come up with a solution (there are probably tools on the pc for it already) way before gopro releases their app which can do it! doesn`t that sound sweeet ?!

now isn`t that cool ?!
sry, i am just super excited right now! cause this gives me plenty of possibilities^^
will talk to a friend who is IT technician and prgrammer later tonight or tomorrow and see what can be come up with
yeehaa

a stoked
Alex
alex84
 
Posts: 438
Joined: Fri Aug 19, 2011 8:44 am

 

Re: Howto Livestream to PC and view files on PC/Smartphone!

Postby JasonJones » Wed Oct 10, 2012 7:23 am

Thanks for that post...

I'm leaving for a fishing trip in 10hrs and was a little sad to see that the andriod app wasnt released yet. One of the struggles we have fishing is framing properly, and I hate hooking up the LCD, frame, unhook, move to the 2nd camera do the same, etc... Was hoping for the app so I could frame via the smart phone, but no dice for andriod yet... This though works perfectly! I setup a bookmark on my phone to the images folder, set the photo resolution low (to speed up things), and just flip to photo mode, take a shot, refresh the new image and tell if I'm framed or not. Great little work around, thanks!
JasonJones
 
Posts: 49
Joined: Sat Jun 16, 2012 2:29 am
Location: Az

Re: Howto Livestream to PC and view files on PC/Smartphone!

Postby suryaprihadi » Wed Oct 10, 2012 9:36 am

Too advance for me......he he he. Me better wait for GoPro version. Thanks Alex, that is COOL !!!!!
.
I am a Forum Sponsor not because I sell stuff.
I owe my knowledge to this forum and I would like to do some payback.
.
suryaprihadi
Forum Sponsor
Forum Sponsor
 
Posts: 4098
Joined: Fri May 28, 2010 3:52 am

Re: Howto Livestream to PC and view files on PC/Smartphone!

Postby Peweiss » Wed Oct 10, 2012 9:54 am

Hi Alex,

interesting stuff - I guess the shutter folder might be what they use to send commands to the device?

Should be fairly easy to find out running a network trace while the app works with the GoPro. I´ll do that when I have time - interesting insight for sure because it might allow to build our own apps to work with the camera.

Regards - Peter
Peweiss
 
Posts: 13
Joined: Mon Jun 11, 2012 6:44 am

Re: Howto Livestream to PC and view files on PC/Smartphone!

Postby Niblett » Wed Oct 10, 2012 10:52 am

I'm loving this backdoor to the backpack...at the very least it gives you access to the photos and they are full sized. However the vids (or segments there of) wont "play" on my iPhone, but you still get what seems to be the starting frame. Very nice workaround and its gonna be the backbone of things to come for sure. Very good find and thanks for posting.
Oh yeah, for all the shit we gave them, thanks GoPro for giving us the framework to get used to. But late coming we all agree, but man this set up is getting really good :)

ps.
The protune upgrade makes the low light stuff much more doable judging from the few photos I took tonight.
User avatar
Niblett
 
Posts: 294
Joined: Wed Nov 30, 2011 2:20 am
Location: Newfoundland, Canada

Re: Howto Livestream to PC and view files on PC/Smartphone!

Postby nextman » Wed Oct 10, 2012 7:08 pm

very exciting, looking forward to seeing how this turns out :) thanks for the heads up
User avatar
nextman
 
Posts: 5
Joined: Sat Oct 06, 2012 8:45 pm

Re: Howto Livestream to PC and view files on PC/Smartphone!

Postby mardibloke » Wed Oct 10, 2012 9:34 pm

alex84 wrote:Hey guys,

i just wanted to share some really awesome information with you.
Though the App still lacks support for this, it is already there!
everything one needs ;-)

i want to give credit where credit is due:
.....


Fantastic information Alex, I would kinda expect a streaming port to be open, poking around it appears only port 80 and 8080 are open, and a quick check using VLC I could not see a network video stream:

Rod wrote:Nmap scan report for 10.5.5.9
Host is up (0.014s latency).
Not shown: 998 closed ports
PORT STATE SERVICE VERSION
80/tcp filtered http
8080/tcp open http-proxy?
1 service unrecognized despite returning data. If you know the service/version, please submit the following fingerprint at http://www.insecure.org/cgi-bin/servicefp-submit.cgi :
SF-Port8080-TCP:V=5.21%I=7%D=10/10%Time=50754D7D%P=x86_64-unknown-linux-gnu%r(GetRequest,9C,"HTTP/1\.0\x20200\x20OK\r\nConnection:\x20close\r\nDate:\
SF:x20Sun,\x2002\x20Jan\x202011\x2016:25:22\x20GMT\r\nServer:\x20Cherokee/
SF:1\.2\.101b120906_\x20\(UNIX\)\r\nContent-Type:\x20text/html;\x20charset
SF:=utf-8\r\n\r\n")%r(HTTPOptions,9C,"HTTP/1\.0\x20200\x20OK\r\nConnection
SF::\x20close\r\nDate:\x20Sun,\x2002\x20Jan\x202011\x2016:25:27\x20GMT\r\n
SF:Server:\x20Cherokee/1\.2\.101b120906_\x20\(UNIX\)\r\nContent-Length:\x2
SF:00\r\nAllow:\x20GET,\x20OPTIONS\r\n\r\n")%r(RTSPRequest,262,"HTTP/1\.1\
SF:x20400\x20Bad\x20Request\r\nConnection:\x20close\r\nDate:\x20Sun,\x2002
SF:\x20Jan\x202011\x2016:25:27\x20GMT\r\nServer:\x20Cherokee/1\.2\.101b120
SF:906_\x20\(UNIX\)\r\nContent-Length:\x20396\r\nContent-Type:\x20text/htm
SF:l\r\nCache-Control:\x20no-cache\r\nPragma:\x20no-cache\r\n\r\n<!DOCTYPE
SF:\x20HTML\x20PUBLIC\x20\"-//IETF//DTD\x20HTML\x202\.0//EN\">\r\n<html>\r
SF:\n<head><title>400\x20Bad\x20Request</title>\r\n<meta\x20http-equiv=\"C
SF:ontent-Type\"\x20content=\"text/html;\x20charset=utf-8\"\x20/>\r\n</hea
SF:d>\r\n<body>\r\n<h1>400\x20Bad\x20Request</h1>\r\nYour\x20browser\x20se
SF:nt\x20a\x20request\x20that\x20this\x20server\x20could\x20not\x20underst
SF:and\.<p><pre>OPTIONS\x20/\x20RTSP/1\.0\r\n\r\n</pre>\r\n<p><hr>\r\nCher
SF:okee\x20web\x20server\x201\.2\.101b120906_\x20\(UNIX\),\x20Port\x2080\r
SF:\n</body>\r\n</html>\r\n")%r(FourOhFourRequest,242,"HTTP/1\.0\x20404\x2
SF:0Not\x20Found\r\nConnection:\x20close\r\nDate:\x20Sun,\x2002\x20Jan\x20
SF:2011\x2016:25:27\x20GMT\r\nServer:\x20Cherokee/1\.2\.101b120906_\x20\(U
SF:NIX\)\r\nContent-Length:\x20366\r\nContent-Type:\x20text/html\r\nCache-
SF:Control:\x20no-cache\r\nPragma:\x20no-cache\r\n\r\n<!DOCTYPE\x20HTML\x2
SF:0PUBLIC\x20\"-//IETF//DTD\x20HTML\x202\.0//EN\">\r\n<html>\r\n<head><ti
SF:tle>404\x20Not\x20Found</title>\r\n<meta\x20http-equiv=\"Content-Type\"
SF:\x20content=\"text/html;\x20charset=utf-8\"\x20/>\r\n</head>\r\n<body>\
SF:r\n<h1>404\x20Not\x20Found</h1>\r\nThe\x20requested\x20URL\x20/nice\x20
SF:ports,/Trinity\.txt\.bak\x20was\x20not\x20found\x20on\x20this\x20server
SF:\.\r\n<p><hr>\r\nCherokee\x20web\x20server\x201\.2\.101b120906_\x20\(UN
SF:IX\),\x20Port\x2080\r\n</body>\r\n</html>\r\n");

Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 134.63 seconds
mardibloke
 
Posts: 21
Joined: Fri Jul 06, 2012 10:36 pm

Re: Howto Livestream to PC and view files on PC/Smartphone!

Postby alex84 » Wed Oct 10, 2012 9:47 pm

it seems to be using HLS Streaming tehcnology,
i just read into it a little this night ;-)

check these sites for more info on it.
HLS stands for HTTP Live Streaming
where it sends small chunks of data, usually containing half a second or so of video... (why would you do that?!)
why not just a normal flash-based stream?
ohh yeah...apple.. :D
apple is behind HLS...damnit...
anyways, there seem to be programs that are able to interpret HLS streams and they need a "m3u8" file type to work with...

here:
http://www.streamingmedia.com/Articles/ ... 78221.aspx

here:
http://developer.apple.com/library/ios/ ... aming.html#//apple_ref/doc/uid/TP40008332-CH102-SW5

here:
http://www.iis.net/learn/media/live-smo ... a-services

and finally here:
http://www.3ivx.com/technology/windows/ ... aming.html

right now i am just checking some beta version of VLC implementation!
here:
http://demo.anevia.com:8080/ott/vlc.php

let`s hope we can figure something out, would be sooo awesome to have it working on a PC!
damn would that be sweet...^^ and it would be before anything comes from gopro...
i strongly believe they should have relied on opening towards the community earlier!
if they went open source on some of their stuff...just imagine what happened to canon`s magic lantern...
if all those big companies would make their stuff opensource...what amazing
things people would have come up with ?!

anyways
i am really exited right now,
this is going to be interesing!

Alex
alex84
 
Posts: 438
Joined: Fri Aug 19, 2011 8:44 am

Re: Howto Livestream to PC and view files on PC/Smartphone!

Postby alex84 » Wed Oct 10, 2012 11:28 pm

ok, i get closer now!
but still do not understand most of it, anyways, just got it to display something semi-live in my VLC Player :-D

GoPro Live Streaming PC.jpg
GoPro Live Streaming PC.jpg (177.34 KiB) Viewed 47095 times


allright, as far as I understand GoPro HD2 with wifibacpac uses HLS for streaming...
so one would need a *.m3u8 Playlist file containing all the needed info, in order for any device (be it pc/android smartphone or apple phone/tablet whatsoever) to "read" it and display it...
the Video is delivered in small chunks of around 10 frames via increasing file numbers
staring with "amba_hls-3.ts" transport stream file... and going up to ...increasing number...
the directory never contains more then 64 files at once, so when going up to number 275, the last one up there will be 211...

these files are easily accessible via :

http://10.5.5.9:8080/live

simply connect to your WiFi-bacpac while it is in "phone&tablet" mode via your PC or smartdevice...

GoPro Live Streaming PC 2.jpg
GoPro Live Streaming PC 2.jpg (201.33 KiB) Viewed 47095 times


but what is missing is an playlist file *.m3u8 as mentioned above...

so i simply created one on my desktop,
giving it the name of gopro.m3u8
and entering following infos:

#EXTM3U
#EXT-X-TARGETDURATION:8
#EXT-X-MEDIA-SEQUENCE:3

#EXTINF:0.3,
http://10.5.5.9:8080/live/amba_hls-3.ts
#EXTINF:0.3,
http://10.5.5.9:8080/live/amba_hls-4.ts
#EXTINF:0.3,
http://10.5.5.9:8080/live/amba_hls-5.ts

got these infos from this article here:

http://tools.ietf.org/html/draft-pantos ... reaming-08


sooo.... when pressing shutter button on camera and the opening the file,
i see myself, yeah! but only for a fracture of a second, then the first small chunk/Clip just loops, instead of VLC player taking the next file...
any ideas??

i am feeling like I am sooo close now!
Alex
alex84
 
Posts: 438
Joined: Fri Aug 19, 2011 8:44 am

Re: Howto Livestream to PC and view files on PC/Smartphone!

Postby alex84 » Thu Oct 11, 2012 12:14 am

ok, for some reason i had my VLC player set to always loop the file currently played...dooohh..

anyways, got it "sorta" Working now!
what confuses me, is the fact, that it just plays the number of files i put in the playlist, but not an infinite amount of files...
and since when you start recording you do not know for how long you will be recording, this is still quite a problem^^
i will upload a video as "proof of concept" shortly, but first need to get something to eat and drink :D
damn, sat in front of the damn computer last 18 hours i think :D

sooo...what have we done so far?

-> I can press shutter button , wait 2 seconds and then start a "gopro.m3u8" playlist and get live-stream to my computer! for about 30 seconds (was lazy, so i only inserted the specified code-line about 50 times manually...) with about 1.5-2seconds of delay....
well i guess this is pretty cool!
since all android users have no other choice, the to do it this way ;-)
of course having to switch on the cam manually and set up all setting manually is a bit stressing,
i like what can be done right now^^

still long way to go though, anyways, will keep you updated..
Alex
alex84
 
Posts: 438
Joined: Fri Aug 19, 2011 8:44 am

Next

Return to HD3 Hero Black Edition

Who is online

Users browsing this forum: No registered users and 0 guests

suspicion-preferred