Skip to content

Instantly share code, notes, and snippets.

@jfbucas
Created January 23, 2013 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfbucas/4608578 to your computer and use it in GitHub Desktop.
Save jfbucas/4608578 to your computer and use it in GitHub Desktop.
# This script allows the video/audio streaming of the Canon Legria HV40 # connected via 1394/firewire on an Alienware Mx11R3 # It can be started on a Ubuntu Precise Live System
#!/bin/bash
#
# 2013-01-23
#
# This script allows the video/audio streaming of the Canon Legria HV40
# connected via 1394/firewire on an Alienware Mx11R3
# It can be started on a Ubuntu Precise Live System
#
# Dependencies: vlc dvgrab
#
sudo bash -c "echo '
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
' > /etc/apt/sources.list"
sudo apt-get update
sudo apt-get install -y dvgrab vlc ffmpeg libavcodec-extra-53 htop openssh-server
dvgrab -autosplit -frames 0 -size 0 -format hdv -buffers 1000 - | cvlc - --no-sub-autodetect-file --sout '#transcode {vcodec=theo,vb=800,scale=0.25,acodec=mp3,ab=128,channels=2,samplerate=44100} :http{mux=ogg,dst=:8080/}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment