2 deleted 19 characters in body
source | link

You can connect the Rapberry Pi to a GoPro via WiFi and get the live stream URL which would give you audio and video. You could then redirect that stream to something like YouTube Live so that it's accessible online. Note: this would require you to have an ethernet connection forconnect to your network connectionvia ethernet.

KonradIT's goprowifihack repo is a great starting point to working with the GoPro commands and live streaming.

Streaming to YouTube Live with VLC and FFMPEG is a good starting point for streaming to YouTube Live via the command line interface. You can replace the PATHTOFILE with your GoPro live stream URL.

Here is an example Python script I used in a similar project:

"""
Python script for streaming live video from GoPro Hero 3 to YouTube Live
"""
import subprocess
import urllib2

PATHTOFILE = "http://10.5.5.9:8080/live/amba.m3u8"
STREAMID = "xxxx-xxxx-xxxx-xxxx" # YouTube Live ID
PASSWORD = "xxxxxxxxxx" # GoPro WiFi Password

print "Enable Preview..."
url = "http://10.5.5.9/camera/PV?t=${}&p=%02".format(PASSWORD)
urllib2.urlopen(url, timeout=10)

cmd = "vlc \"%s\" -Idummy --network-caching 4000 --sout " \
      "'#transcode{vcodec=FLV1,acodec=mp3,samplerate=11025,threads=2,fps=25}:std{access=rtmp,mux=ffmpeg{mux=flv}," \
      "dst=rtmp://a.rtmp.youtube.com/live2/%s" % (PATHTOFILE, STREAMID)

subprocess.Popen(cmd, shell=True)

You can connect the Rapberry Pi to a GoPro via WiFi and get the live stream URL which would give you audio and video. You could then redirect that stream to something like YouTube Live so that it's accessible online. Note: this would require you to have an ethernet connection for your network connection.

KonradIT's goprowifihack repo is a great starting point to working with the GoPro commands and live streaming.

Streaming to YouTube Live with VLC and FFMPEG is a good starting point for streaming to YouTube Live via the command line interface. You can replace the PATHTOFILE with your GoPro live stream URL.

Here is an example Python script I used in a similar project:

"""
Python script for streaming live video from GoPro Hero 3 to YouTube Live
"""
import subprocess
import urllib2

PATHTOFILE = "http://10.5.5.9:8080/live/amba.m3u8"
STREAMID = "xxxx-xxxx-xxxx-xxxx" # YouTube Live ID
PASSWORD = "xxxxxxxxxx" # GoPro WiFi Password

print "Enable Preview..."
url = "http://10.5.5.9/camera/PV?t=${}&p=%02".format(PASSWORD)
urllib2.urlopen(url, timeout=10)

cmd = "vlc \"%s\" -Idummy --network-caching 4000 --sout " \
      "'#transcode{vcodec=FLV1,acodec=mp3,samplerate=11025,threads=2,fps=25}:std{access=rtmp,mux=ffmpeg{mux=flv}," \
      "dst=rtmp://a.rtmp.youtube.com/live2/%s" % (PATHTOFILE, STREAMID)

subprocess.Popen(cmd, shell=True)

You can connect the Rapberry Pi to a GoPro via WiFi and get the live stream URL which would give you audio and video. You could then redirect that stream to something like YouTube Live so that it's accessible online. Note: this would require you to connect to your network via ethernet.

KonradIT's goprowifihack repo is a great starting point to working with the GoPro commands and live streaming.

Streaming to YouTube Live with VLC and FFMPEG is a good starting point for streaming to YouTube Live via the command line interface. You can replace the PATHTOFILE with your GoPro live stream URL.

Here is an example Python script I used in a similar project:

"""
Python script for streaming live video from GoPro Hero 3 to YouTube Live
"""
import subprocess
import urllib2

PATHTOFILE = "http://10.5.5.9:8080/live/amba.m3u8"
STREAMID = "xxxx-xxxx-xxxx-xxxx" # YouTube Live ID
PASSWORD = "xxxxxxxxxx" # GoPro WiFi Password

print "Enable Preview..."
url = "http://10.5.5.9/camera/PV?t=${}&p=%02".format(PASSWORD)
urllib2.urlopen(url, timeout=10)

cmd = "vlc \"%s\" -Idummy --network-caching 4000 --sout " \
      "'#transcode{vcodec=FLV1,acodec=mp3,samplerate=11025,threads=2,fps=25}:std{access=rtmp,mux=ffmpeg{mux=flv}," \
      "dst=rtmp://a.rtmp.youtube.com/live2/%s" % (PATHTOFILE, STREAMID)

subprocess.Popen(cmd, shell=True)
1
source | link

You can connect the Rapberry Pi to a GoPro via WiFi and get the live stream URL which would give you audio and video. You could then redirect that stream to something like YouTube Live so that it's accessible online. Note: this would require you to have an ethernet connection for your network connection.

KonradIT's goprowifihack repo is a great starting point to working with the GoPro commands and live streaming.

Streaming to YouTube Live with VLC and FFMPEG is a good starting point for streaming to YouTube Live via the command line interface. You can replace the PATHTOFILE with your GoPro live stream URL.

Here is an example Python script I used in a similar project:

"""
Python script for streaming live video from GoPro Hero 3 to YouTube Live
"""
import subprocess
import urllib2

PATHTOFILE = "http://10.5.5.9:8080/live/amba.m3u8"
STREAMID = "xxxx-xxxx-xxxx-xxxx" # YouTube Live ID
PASSWORD = "xxxxxxxxxx" # GoPro WiFi Password

print "Enable Preview..."
url = "http://10.5.5.9/camera/PV?t=${}&p=%02".format(PASSWORD)
urllib2.urlopen(url, timeout=10)

cmd = "vlc \"%s\" -Idummy --network-caching 4000 --sout " \
      "'#transcode{vcodec=FLV1,acodec=mp3,samplerate=11025,threads=2,fps=25}:std{access=rtmp,mux=ffmpeg{mux=flv}," \
      "dst=rtmp://a.rtmp.youtube.com/live2/%s" % (PATHTOFILE, STREAMID)

subprocess.Popen(cmd, shell=True)