Mudanças entre as edições de "Streaming webm + icecast"
De MochilaWiki
Ir para navegaçãoIr para pesquisar (Criou página com '<source lang="bash"> echo deb http://ftp.br.debian.org/debian wheezy main contrib non-free > /etc/apt/sources.list echo deb-src http://ftp.br.debian.org/debian wheezy main contri...') |
|||
Linha 32: | Linha 32: | ||
-- transmitindo | -- transmitindo | ||
<source lang="bash"> | <source lang="bash"> | ||
− | gst-launch-1.0 v4l2src device=/dev/video0 ! vp8enc ! queue ! webmmux streamable=true name=muxout ! shout2send ip=icecast.server port=8000 password=secret mount=/test.webm | + | gst-launch-1.0 v4l2src device=/dev/video0 ! vp8enc ! queue ! webmmux streamable=true \ |
+ | name=muxout ! shout2send ip=icecast.server port=8000 password=secret mount=/test.webm | ||
</source> | </source> | ||
<source lang="bash"> | <source lang="bash"> | ||
− | gst-launch-1.0 v4l2src ! video/x-raw,width=320,height=240 ! vp8enc ! webmmux ! shout2send ip=icecast.server port=8000 password=secret mount=/test.webm | + | gst-launch-1.0 v4l2src ! video/x-raw,width=320,height=240 ! vp8enc ! webmmux ! shout2send \ |
+ | ip=icecast.server port=8000 password=secret mount=/test.webm | ||
</source> | </source> | ||
<source lang="bash"> | <source lang="bash"> | ||
− | gst-launch-1.0 v4l2src ! queue ! video/x-raw,width=320,height=240 ! tee name=tscreen ! queue ! autovideosink tscreen. ! queue ! videorate ! video/x-raw,framerate=25/2 ! queue ! vp8enc ! queue ! webmmux name=mux pulsesrc ! queue ! audioconvert ! vorbisenc ! queue ! queue ! mux. mux. ! queue ! shout2send ip=hobo port=8000 mount=jamie.webm password=secret | + | gst-launch-1.0 v4l2src ! queue ! video/x-raw,width=320,height=240 ! tee name=tscreen ! queue ! \ |
+ | autovideosink tscreen. ! queue ! videorate ! video/x-raw,framerate=25/2 ! queue ! vp8enc ! queue ! \ | ||
+ | webmmux name=mux pulsesrc ! queue ! audioconvert ! vorbisenc ! queue ! queue ! mux. mux. ! queue ! \ | ||
+ | shout2send ip=hobo port=8000 mount=jamie.webm password=secret | ||
</source> | </source> | ||
http://current.workingdirectory.net/posts/2012/vp8-and-debian/ | http://current.workingdirectory.net/posts/2012/vp8-and-debian/ |
Edição das 23h14min de 12 de março de 2013
echo deb http://ftp.br.debian.org/debian wheezy main contrib non-free > /etc/apt/sources.list
echo deb-src http://ftp.br.debian.org/debian wheezy main contrib non-free >> /etc/apt/sources.list
apt-get update
apt-get upgrade
apt-get build-dep gstreamer0.10-plugins-good
apt-get build-dep gstreamer0.10-plugins-base
apt-get install bison flex libvpx-dev libmatroska-dev libebml-dev
cd /usr/src
wget http://downloads.us.xiph.org/releases/libshout/libshout-2.3.1.tar.gz
wget -c http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.0.5.tar.xz
wget -c http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.0.5.tar.xz
wget -c http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.0.5.tar.xz
tar zxvf libshout-2.3.1.tar.gz
cd libshout-2.3.1/
./configure --prefix=/usr && make && make install
cd ..
tar xvf gstreamer-1.0.5.tar.xz
cd gstreamer-1.0.5
./configure --prefix=/usr && make && make install
cd ..
tar xvf gst-plugins-base-1.0.5.tar.xz
cd gst-plugins-base-1.0.5
./configure --prefix=/usr && make && make install
cd ..
tar xvf gst-plugins-good-1.0.5.tar.xz
cd gst-plugins-good-1.0.5
./configure --prefix=/usr && make && make install
-- transmitindo
gst-launch-1.0 v4l2src device=/dev/video0 ! vp8enc ! queue ! webmmux streamable=true \
name=muxout ! shout2send ip=icecast.server port=8000 password=secret mount=/test.webm
gst-launch-1.0 v4l2src ! video/x-raw,width=320,height=240 ! vp8enc ! webmmux ! shout2send \
ip=icecast.server port=8000 password=secret mount=/test.webm
gst-launch-1.0 v4l2src ! queue ! video/x-raw,width=320,height=240 ! tee name=tscreen ! queue ! \
autovideosink tscreen. ! queue ! videorate ! video/x-raw,framerate=25/2 ! queue ! vp8enc ! queue ! \
webmmux name=mux pulsesrc ! queue ! audioconvert ! vorbisenc ! queue ! queue ! mux. mux. ! queue ! \
shout2send ip=hobo port=8000 mount=jamie.webm password=secret
http://current.workingdirectory.net/posts/2012/vp8-and-debian/