BreadCrumbs: Vlc
Vlc
From Luke Jackson
(Difference between revisions)
Revision as of 05:29, 3 December 2007 (edit) Ljackson (Talk | contribs) (→See Also) ← Previous diff |
Current revision (05:30, 3 December 2007) (edit) Ljackson (Talk | contribs) (→Lirc (Remote Control)) |
||
Line 12: | Line 12: | ||
== Lirc (Remote Control) == | == Lirc (Remote Control) == | ||
- | Vlc supports the Lirc inrared remote control daemon. To see if your vlc version was installed with Lirc support issue this command from shell: | + | Vlc supports the [[Lirc | Lirc inrared remote control daemon]]. To see if your vlc version was installed with Lirc support issue this command from shell: |
vlc --list | grep lirc | vlc --list | grep lirc | ||
Line 23: | Line 23: | ||
For more information on using remote controls with Vlc visit the [[Lirc]] page. | For more information on using remote controls with Vlc visit the [[Lirc]] page. | ||
- | |||
- | |||
== Build RPM == | == Build RPM == |
Current revision
Contents |
[edit]
Linux
[edit]
Install
Use RPM - LIVNA for F7 (available for x86, x86_64 and ppc) Install livna-release-7.rpm for F7
$ su - # rpm -ivh http://rpm.livna.org/livna-release-7.rpm # yum install vlc vlc-devel
[edit]
Lirc (Remote Control)
Vlc supports the Lirc inrared remote control daemon. To see if your vlc version was installed with Lirc support issue this command from shell:
vlc --list | grep lirc
If you see a line like the following:
lirc Infrared remote control interface
Then your version was compiled with Lirc support otherwise recompile or find another rpm package with it already compiled.
For more information on using remote controls with Vlc visit the Lirc page.
[edit]
Build RPM
[edit]
Install dependencies
yum install gettext-devel libtool gnome-libs-devel gnutls-devel gtk+-devel hal-devel kdelibs-devel libdvdcss-devel libcddb-devel libgcrypt-devel libtar-devel libtiff-devel libupnp-devel seamonkey-devel qt-devel xvidcore-devel alsa-lib-devel faac-devel ffmpeg-devel flac-devel gnome-vfs2-devel lame-devel libid3tag-devel libmpcdec-devel libogg-devel mpeg2dec-devel openslp-devel vcdimager-devel wxGTK-devel
[edit]
rpmbuild command
rpmbuild -bb vlc.spec \ --without aa \ --without arts \ --without caca \ --without cddax \ --without dvb \ --without dvdread \ --without esd \ --without faad \ --without embedded_ffmpeg \ --without galaktos \ --without goom \ --without jack \ --without live \ --without ncurses \ --without shout \ --without svg \ --without theora \ --without twolame \ --without vcdx \ --without xosd \ --without a52 \ --without daap \ --without dvdnav \ --without dts \ --without freetype \ --without fribidi \ --without mad \ --without modplug \ --without mkv \ --without sdl \ --without speex \ --without svgalib \ --without vorbis \ --without x264
[edit]
Install dependencies
yum install gettext-devel libtool gnome-libs-devel gnutls-devel gtk+-devel hal-devel kdelibs-devel libdvdcss-devel libcddb-devel libgcrypt-devel libtar-devel libtiff-devel libupnp-devel seamonkey-devel qt-devel xvidcore-devel alsa-lib-devel faac-devel ffmpeg-devel flac-devel gnome-vfs2-devel lame-devel libid3tag-devel libmpcdec-devel libogg-devel mpeg2dec-devel openslp-devel vcdimager-devel wxGTK-devel
[edit]
Stream / Transcode / View Capture Card
[edit]
Http
vlc -v pvr:// :pvr-device="/dev/video0" :norm=ntsc :size=720x480 :frequency=91250 :bitrate=3000000 :maxbitrate=4000000 --cr-average 1000 --sout='#transcode{vcodec=DIV3,vb=1024,scale=0.75,cropleft=10,cropright=10,croptop=5,cropbottom=5,acodec=mp3,ab=96,channels=2}:std{access=http,mux=ts,dst=192.168.85.150:8080}'
[edit]
Http for internet
vlc -v pvr:// :pvr-device="/dev/video0" :norm=ntsc :size=720x480 :frequency=91250 :bitrate=3000000 :maxbitrate=4000000 --cr-average 1000 --sout='#transcode{vcodec=DIV3,vb=386,scale=0.25,cropleft=10,cropright=10,croptop=5,cropbottom=5,acodec=mp3,ab=96,channels=2}:std{access=http,mux=ts,dst=192.168.85.150:8081}'
[edit]
To File
vlc -v pvr:// :pvr-device="/dev/video0" :norm=ntsc :size=720x480 :frequency=91250 :bitrate=3000000 :maxbitrate=4000000 --cr-average 1000 --sout='#transcode{vcodec=DIV3,vb=1024,scale=0.75,cropleft=10,cropright=10,croptop=5,cropbottom=5,acodec=mp3,ab=96,channels=2}:duplicate{dst=std{access=file,mux=ts,dst="family-guy.mpg"},dst=std{access=http,mux=ts,dst=192.168.85.150:8080}}'
[edit]
Display
vlc -v pvr:// :pvr-device="/dev/video0" :norm=ntsc :size=720x480 :frequency=91250 :bitrate=3000000 :maxbitrate=4000000 --cr-average 1000 --sout='#transcode{vcodec=DIV3,vb=1024,scale=0.75,cropleft=10,cropright=10,croptop=5,cropbottom=5,acodec=mp3,ab=96,channels=2}:duplicate{dst=display}'