Created
January 23, 2013 15:57
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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