VLC compile on Debian/-derivat

Abhängigkeiten

build-essentials cmake

VLC Compilen

(make auf 2kernen laufen lassen: make -j 2 )
(make auf 3kernen laufen lassen: make -j 3 )
(make auf 4kernen laufen lassen: make -j 4 )
cd /usr/local/src/
wget http://download.videolan.org/pub/videolan/vlc/2.0.3/vlc-2.0.3.tar.xz
tar xvJf vlc-2.0.3.tar.xz
cd /usr/local/src/vlc-2.0.3/contrib/src/
../bootstrap
make
cd /usr/local/src/vlc-2.0.3/
./configure --enable-run-as-root --enable-x264 \
--enable-merge-ffmpeg --enable-live555 \
--enable-dvbpsi \
--with-contrib=/usr/local/src/vlc-2.0.3/contrib/x86_64-linux-gnu
make
make install

SAT Empfang und per HTTP bereitstellen auf Port 8000

/usr/local/bin/cvlc -vvvv dvb-s:// --dvb-frequency $FREQUENZ
--dvb-srate 27500000 --dvb-satno 1 --dvb-polarization=H --dvb-adapter
2 --dvb-caching=20000 --ttl 100 --program=$PROGRAMM --sout
#transcode{}:std{access=http,mux=ts,dst=:8000}

Per HTTP Holen, nach h264 konvertieren und wieder per HTTP auf Port
8001 bereitstellen

cvlc -vvv http://127.0.0.1:8000 --http-reconnect --sout
#transcode{venc=x264{keyint=60,profile=main},vcodec=x264,vb=1500,acodec=mp4a,ab=96,channels=2,samplerate=48000}:std{access=http,mux=ts,dst=:8001}

Geht auch in einem Schritt

/usr/local/bin/cvlc -vvvv dvb-s:// --dvb-frequency $FREQUENZ
--dvb-srate 27500000 --dvb-satno 1 --dvb-polarization=H --dvb-adapter
2 --dvb-caching=20000 --ttl 100 --program=$PROGRAMM --sout
#transcode{venc=x264{keyint=60,profile=main},vcodec=x264,vb=1500,acodec=mp4a,ab=96,channels=2,samplerate=48000}:std{access=http,mux=ts,dst=:8000}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.