roberto dircio palacios-macedo's notepad

solaris/linux/java notes open to all since 2004

 

If you want to use up2date to install new packages that are not installed in your system, you can search by doing:


# up2date --showall


andgrep for your desired package, then you can install by doing:


# up2date <packagename>



reset -d 0 xir


I got a TV card, it appears like this in lspci:


01:08.0 Multimedia controller: Philips Semiconductors SAA7131/SAA7133/SAA7135 Video Broadcast Decoder (rev d1)


In order to stream 2 simultaneous streams, one low quality (suitable for remote viewing) and another high quality (for local LAN viewing), you can do this:


cvlc v4l2:// :v4l2-dev=/dev/video0 :v4l2-fps=24 :input-slave=alsa://hw:1,0 --alsa-samplerate=32000 --sout '#duplicate{dst="transcode{vcodec=h264,acodec=mp4a,width=320,height=240,fps=12,vb=128,ab=4,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace,audio-sync}:standard{access=http,mux=asf,dst=www.yourhost.com:9098}",dst="transcode{vcodec=h264,acodec=mp4a,scale=1,fps=24,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace,audio-sync}:standard{access=http,mux=asf,dst=www.kyourhost.com:9099}"}'


I use the "hurry-up" parameter so my cpu doesn't saturate, in order for vlc to decrease frame quality automatically if the cpu is pegged.


"#duplicate" is used in order to have 2 streams working simultaneously from the same input device, for each output srteam we use a "dst="



(Page 1 of 105, totaling 314 entries)   next page »
View as PDF: This month | Full blog