Saturday, May 28, 2011

xrdp can use local sound and remote display

1.restart

running script in bgnd

1.nohup ./dssvlc_norm.sh > $HOME/test_norm.log 2>&1 &

DSS,vlc,playlist

1.can create vlc playlist as .m3u,html etc
2.vlc can take .m3u as arg
3.playlist can repeat , --repeat
4.DSS and vlc can create sdp at /usr/local/movies
5.dss has default streamer
6.vlc can be used as streamer for DSS
7.remote systems will search for sdp in /usr/local/movies in case of vlc and default streamer
8.vlc can additionally transcode on fly for mobile
9.use http://file2hd.com for mp4 download, needs to be in same tab
10.

Friday, May 27, 2011

getting xrdp work

1.install xrdp from source .. also X11rdp needs to be installed and linked with the other
2.only works with mstsc client

multimedia stack in linux

1.install gfx driver in the system , for eg nvidia
2.configure v4l2 it has driver and user components
3.configure alsa it has driver and user
4.configure gstreamer on top of v4l2
5.configure pulse audio, it has driver and user??
6.where does x server come into picture??? the gfx stack binds to x server, x has user component
7.x would talk with v4l2,gfx driver,hw
8.for remote x , ie xrdp, x talk with a remote display nwtworking module that would talk over nw

getting hdmi working

1.get the nvidia driver installed ie download source of appropriate nvidia driver,kernel headers etc compile it and install it
2.after installation of alsa suite and pulse audio suite , check the alsamixer and pulse mixer and check if all are unmute
3.while updating keep all your configuration files as it is
4.use speakertest and aplay mplay for ur testing
5.

Sunday, May 22, 2011

dyndns and ddclient

1.http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch19_:_Dynamic_DNS#DDNS_Client_Software_-_Linux_DDclient
2.rm /var/cache/ddclient/ddclient.cache
3.kwrite /etc/ddclient.conf
4.ddclient -daemon=0 -query
5.ddclient -daemon=0 -debug -verbose -noquiet
6./etc/init.d/ddclient restart
7.ddclient -refresh -retry

Sunday, May 15, 2011

essential graphics info tools

1.Everest pro/AIDA64 pro extreme
2.Opengl extensions viewer 3.0
3.dxdiag
4.graphedit
5.dxva checker
6.cpu z
7.gpu z

8.kmplayer
9.mplayer HC,mplayer standalone,
10.coreavc
11.ffdshow
vdpau === dxva

12.linux
xine
mplayer
gmplayer
ffplay
essential package

Sunday, May 8, 2011

Nvidia GT220 HDMI Audio configuration onkyo tx sr 508, got it working

==========================================================
1.aplay -l and aplay -L
should list nvidia devices
there may be multiple devices
in the form of ,
2.need to download latest alsa source and compile and install it
3.check alsamixer , it should list pulse audio with all 4 input for 5.1 unmuted
4.check alsaconf it may show no pci devices
5.in bios disable on board audio
6.install kmix
7.install pulse audio suite
apt-get install asoundconf-gtk alsa-oss libasound2 libasound2-plugins padevchooser gstreamer0.10-pulseaudio ubuntu-restricted-extras
8.in application sound video, pulse audio device chooser,pulse audio volume control should come
9.in tray sound preferences, disable nvidia hdmi hardware
10.kwrite /etc/modprobe.d/alsa-base.conf --- add
update-initramfs -u
#my added
#options snd-hda-intel enable_msi=0 probe_mask=0xfff2
#options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2
options snd-hda-intel enable_msi=0 index=-2
#options snd-hda-intel enable_msi=0 index=1
11.kwrite /etc/asound.conf
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
12.kwrite /etc/pulse/daemon.conf
default-sample-channels = 6
13.aplay -Dplughw:1,9 /usr/share/sounds/alsa/Front_Center.wav
14.speaker-test -D plughw:1,9 -c6 /dev/urandom
15. kwrite /etc/pulse/default.pa
#myentry
#load-module module-alsa-sink device=hdmi:NVidia
load-module module-alsa-sink device=plughw:1,9
16.cat /proc/driver/nvidia/version
17.application,sound and video, alsamix gui should show nvidia,and all channels
18.http://ubuntuforums.org/archive/index.php/t-1598489.html
19.gstreamer-properties
20.tried to make it work with onkyo tx sr 508, default resolution gave problem while playing hd youtube videos.Changed resolution it started working
============================================================
apt-get install libavc1394-dev
apt-get install libraw1394-dev
apt-get install libiec61833-dev
apt-get install libiec61883-dev
vlc -vvv dv/rawdv:///dev/raw1394 --dv-caching 10000 --sout '#transcode{vcodec=WMV2,vb=512,scale=1,acodec=mp3,ab=192,channels=2,fps=25.0}:std{access=mmsh,mux=asfh,url=:8080}'
exit
apt-get install ffmpeg
exitexit
exit
apt-get update
apt-get install vlc libdvdcss2
cd work/
cd ..
cd work/
ls
exit
konqueror
sysconfig
sysinfo
apt-get install sysinfo
sysinfo
uname -r
uname -a
dmesg
lspci | vga
lspci |grep VGA
konqueror
lspci | grep VGA
lspci | grep VGA
cd work/
ls
mkdir mynvidia
cd mynvidia/
mv ../../Desktop/NVIDIA-Linux-x86-260.19.36_gt220.run .
ls
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.original
dpkg-reconfigure -phigh xserver-xorg
apt-get install build-essential linux-headers-`uname -r`
apt-get --purge remove $(dpkg -l | grep nvidia | awk '{print $2}')
cp NVIDIA-Linux-x86-260.19.36_gt220.run /usr/src
cd /usr/src/
ls
install NVIDIA-Linux-x86-260.19.36_gt220.run /usr/src
cd /home/ranjith/work/mynvidia/
ls
install NVIDIA-Linux-x86-260.19.36_gt220.run /usr/src
ln -s /usr/src/NVIDIA-Linux-x86-260.19.36_gt220.run /usr/src/nvidia-driver
/etc/init.d/gdm stop
sh /usr/src/nvidia-driver
reboot
aplay -l
find /lib/modules/`uname -r` | grep snd
lspci -v | less
nvidia-xconfig
konqueror
aplay -l
ifconfig
..konqueror
konqueror
ifconfig
mythbackend
mythsetup
mythtvsetup
myth-setup
mythtv-setup
mythbackend
mythbackend
mythbackend
mythbackend
mythbackend
mythtv-setup
mythbackend
mythtv-setup
mythtv-setup
mythtv-setup
mythbackend
mythtv-setup
mythbackend
mythtv-setup
mythbackend
mythbackend
df -h
mythtv-setup
++
mythtv-setup
mythbackend
~
mythbackend
apt-get install gpac
apt-get install darwin
apt-get install Darwin
apt-get install DSS
mplayer
apt-get update && sudo apt-get upgrade
apt-get install build-essential
addgroup -system qtss
adduser -system -no-create-home -ingroup qtss qtss
cd /usr/local/src/
mv /home/ranjith/Desktop/lstoll-dss-83615fb.tar.gz .
ls
tar -xvf lstoll-dss-83615fb.tar.gz
ls
cd lstoll-dss-83615fb
./Buildit install
cd DarwinStreamingSrvr6.0.3-L2-Linux
./Install
kwrite
apt-get install kwrite
kwrite
mv myth3gp /usr/local/bin
mkdir /home/ranjith/work/mythvid
kwrite /usr/local/bin/myth3gp
myth3gp
chmod 777 /usr/local/bin/myth3gp
myth3gp
ls /home/ranjith/work/mycabledir/
myth3gp /home/ranjith/work/mycabledir/1002_20110304231812.nuv somename
myth3gp /home/ranjith/work/mycabledir/1002_20110304231812.nuv somename
ls /home/ranjith/work/mythvid
cd work/
cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
apt-get install cvs
cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
myth3gp
myth3gp mycabledir/1002_20110304230958.nuv test
myth3gp ./mycabledir/1002_20110304230958.nuv test
myth3gp /home/ranjith/work/mycabledir/1002_20110304230958.nuv test
cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
ls
ifconfig\
ifconfig
/usr/local/sbin/DarwinStreamingServer

mythtv-setup
mythtv-setup
mythtv-setup
exit
mythtv-setup
mythtvbackend
mythbackend
mythv-setup
mythtvsetup
mythtv-setup
mythtv-setup
mythtv-setup
mythtv-setup
ps -ax
kill -all mythtv
kill 4388
kill 4422
mythtv-setup
mythtv-setup
mythbackend
mythbackend
mythbackend
mythfrontend
mythtvbackend
mythbackend
nvidia-xconfig
nvidia-xconfig
lspci
dpkg-reconfigure -phigh xserver-xorg
apt-get install build-essential linux-headers-`uname -r`
konqueror
mytv-setup
mythtv-setup
mythfrontend
nythbackend
mythbackend
mythtv-setup
exit
mythfrontend
mythtv-setup
lspci
apt-get install xawtv
scantv -c /dev/video0 -C /dev/vbi0 -o ~/.xawtv
scantv -c /dev/video0 -C /dev/vbi0 -o ~/.xawtv
xawtv
man xawtv
scantv -c /dev/video0 -C /dev/vbi0 -o ~/.xawtv
xawtv4
man scantv
scantv -c /dev/video0 -C /dev/vbi0 -a -o ~/.xawtv
xawtv
xawtv
xawtv
xawtv
man xawtv
ls ~
cp ~/.xawtv $HOME/.xawtv
kwrite ~/.xawtv
xawtv
xawtv
exit
xawtv
vlc
exit
exit
kwrite ~/.xawtv
xawtv
scantv -C /dev/vbi0
xawtv
xawtv
xawtv
arecord -l
cat /proc/asound/version
/sbin/alsa-utils stop
alsaconf
gnome-alsamixer
vlc --list | grep alsa
exit
xawtv
vlc
wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list && sudo apt-get -q update && sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring && sudo apt-get -q update
apt-get install ffmpeg libavcodec-extra-52
exit
kwrite myvlc.sh
ls
chmod 777 myvlc.sh
ls
./myvlc.sh
exit
apt-get install ivtv-utils
v4l2-ctl -F
v4l2-ctl -F
kwrite ./myvlc.sh
kwrite ./myvlc.sh
kwrite ./myvlc.sh
kwrite ./myvlc.sh
v4l-ctl -F
kwrite ./myvlc.sh
exit
kwrite
chmod 777 darwinssd.sh
mv darwinssd.sh /etc/rc.d/init.d/
mv darwinssd.sh /etc/init.d/
chkconfig darwinssd on
mv /etc/init.d/darwinssd.sh /etc/init.d/darwinssd
chkconfig darwinssd on
service darwinssd restart
kwrite /etc/init.d/darwinssd
service darwinssd restart
kwrite /etc/init.d/dss
chmod +x /etc/init.d/dss
update-rc.d dss defaults
konqueror
usermod -a -G root ranjith
exit
ls /usr/local/movies
ls /usr/local/movies -al
chmod 777 /usr/local/movies
ls -al /usr/local/movies
exit
konqueror
lspci | grep audio
lspci | grep Audio
alsaconfig
alsa-config
aplay -l
cat /proc/asound/version
alsaconf
/sbin/alsa-utils stop
apt-get -y install build-essential ncurses-dev gettext xmlto libasound2-dev
apt-get -y install linux-headers-`uname -r` libncursesw5-dev
cd ~
ls ~/alsa*
rm -rf ~/alsa*
rm -rf ~/.pulse*
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.23.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.23.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.23.tar.bz2
rm -rf /usr/src/alsa
mkdir -p /usr/src/alsa
cd /usr/src/alsa
cp ~/alsa* .
tar xjf alsa-driver*
tar xjf alsa-lib*
tar xjf alsa-utils*
cd alsa-driver*
./configure
make
make install
cd ../alsa-lib*
./configure
make
make install
cd alsa-utils
cd ../alsa-utils
cd ../alsa-utils*
./configure
make
make install
rm -f ~/alsa-driver*
rm -f ~/alsa-lib*
rm -f ~/alsa-utils*
cat /proc/asound/version
alsaconf
aplay -l
apt-get remove linux-backports-modules-alsa-`uname -r`
more /etc/modprobe.d/sound.conf
more /etc/modprobe.d/alsa-base.conf
cd $HOME
ls -la
alsaconf
aplay -L
aplay -l
cat /proc/asound/version
ls /dev/snd
alsaconf
lshw
speaker-test -Dhdmi -c6 -r48000 -FS16_LE
aplay -l
alsamixer
alsamixer
alsamixer
alsamixer
speaker-test -Dhdmi -c6 -r48000 -FS16_LE
alsaconf
aplay -l
nano /etc/modprobe.d/alsa-base.conf
kwrite /etc/modprobe.d/alsa-base.conf
alsaconf
alsaconf
alsamixer
alsamixer
alsactl
alsaconf
alsamixer
alsamixer
alsactl store
alsamixer
alsaconf -vvv
man alsaconf
alsaconf -L log.txt
kwrite log.txt
speaker-test -D plughw:1,7 -c 2 /dev/urandom
aplay -l
speaker-test -D plughw:1,3 -c 2 /dev/urandom
speaker-test -D plughw:1,3 -c 2 /dev/urandom
speaker-test -D hdmi:CARD=NVidia -c 2 /dev/urandom
alist -l
aplay -l
kwrite /etc/modprobe.d/alsa-base.conf
alsaconfg
alsaconf
alsamixet
alsamixer
alist -l
aplay -l
lspci | grep Audio
modprobe snd-emu10k1
cat /dev/urandom > /dev/dsp
alsaconf
aplay -L
kmix
apt-get install kmix
kmix
kwrite /etc/modprobe.d/alsa-base.conf
kwrite /etc/modprobe.d/alsa-base.conf
kwrite /etc/pulse/default.pa
aplay -l
groups
usermod -a -G audio ranjith
groups
alsaconf
alsamixer
groups
exit
kwrite /etc/asound.conf
kwrite /etc/modprobe.d/alsa-base.conf
kwrite /etc/modprobe.d/alsa-base.conf
alist -l
aplay -l
alsaconf
alsamixer
kmix
speaker-test -D plughw:1,3 -c2 /dev/urandom
aplay -l
speaker-test -D plughw:1,7 -c2 /dev/urandom
speaker-test -D plughw:1,9 -c2 /dev/urandom
speaker-test -D plughw:1,9 -c6 /dev/urandom
speaker-test -D plughw:1,9 -c6 /dev/urandom
aplay -l
speaker-test -D plughw:1,9 -c6 /dev/urandom
kwrite /etc/modprobe.d/alsa-base.conf
kwrite /etc/pulse/default.pa
alsactl store
speaker-test -D plughw:1,9 -c6 /dev/urandom
speaker-test -D plughw:1,9 -c6 /dev/urandom
kmixer
kmix
speaker-test -D plughw:1,9 -c6 /dev/urandom
gstreamer-proprties
alsa-info
alsamixer
alsamixer
groups
groups
adduser
adduser ranjith audio
adduser ranjith plugdev
chmod 777 /dev/snd/*
asoundconf
alsamixer
alsaconf
alsaconf
speaker-test -D plughw:1,9 -c6 /dev/urandom
kmix
mplayer
mplayer
kwrite /etc/modprobe.d/alsa-base.conf
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Front_Center.wav
cat /proc/driver/nvidia/version
grep eld_valid /proc/asound/NVidia/eld*
kwrite /etc/modprobe.d/alsa-base.conf
update-initramfs -u
kwrite /etc/pulse/default.pa
rm -r ~/.pulse ~/.asound* ~/.pulse-cookie
kwrite /etc/pulse/default.pa
kwrite /etc/modprobe.d/alsa-base.conf
update-initramfs -u
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Front_Center.wav
aplay -l
aplay -L
aplay -Dplughw:1,3 /usr/share/sounds/alsa/Front_Center.wav
kwrite /etc/modprobe.d/alsa-base.conf
update-initramfs -u
aplay -l
alsaconf
kwrite /etc/modprobe.d/alsa-base.conf
update-initramfs -u
alsaconf
alsamixer
aplay -l
speaker-test -D plughw:1,3 -c6 /dev/urandom
speaker-test -D plughw:1,9 -c6 /dev/urandom
kwrite /etc/modprobe.d/alsa-base.conf
update-initramfs -u
kwrite /etc/asound.conf
aplay -l
speaker-test -D plughw:1,9 -c6 /dev/urandom
kwrite /etc/pulse/default.pa
speaker-test -D plughw:1,9 -c6 /dev/urandom
aplay -Dplughw:1,3 /usr/share/sounds/alsa/Front_Center.wav
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Front_Center.wav
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Front_Center.wav
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Front_Center.wav
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Front_Center.wav
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Front_Center.wav
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Front_Center.wav
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Noise.wav
aplay /usr/share/sounds/login.wav
aplay /usr/share/sounds/gnome/default/alerts/glass.ogg
aplay /usr/share/sounds/gnome/default/alerts/glass.ogg
aplay /usr/share/sounds/gnome/default/alerts/glass.ogg
aplay /usr/share/sounds/KDE-Im-Phone-Ring.ogg
aplay /usr/share/sounds/KDE-Im-Phone-Ring.ogg
kwrite /etc/pulse/default.pa
kwrite /etc/asound.conf
apt-get install asoundconf-gtk alsa-oss libasound2 libasound2-plugins padevchooser gstreamer0.10-pulseaudio ubuntu-restricted-extras
aplay /usr/share/sounds/KDE-Im-Phone-Ring.ogg
aplay /usr/share/sounds/KDE-Im-Phone-Ring.ogg
killall pulseaudio
alsa force-reload
pulseaudio -D
exit
pulseaudio -D
pulseaudio --system -D
aplay /usr/share/sounds/KDE-Im-Phone-Ring.ogg
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Noise.wav
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Noise.wav
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Front_Center.wav
alsaconf
alsamixer
speaker-test -D plughw:1,9 -c6 /dev/urandom
aplay -Dplughw:1,3 /usr/share/sounds/alsa/Front_Center.wav
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Front_Center.wav
aplay -l
kmix
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Front_Center.wav
speaker-test -D plughw:1,9 -c6 /dev/urandom
aplaay
aplay
speaker-test -D plughw:1,9 -c6 /dev/urandom
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Front_Center.wav
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Front_Center.wav
aplay -Dplughw:1,9 /usr/share/sounds/alsa/Front_Center.wav
mplayer
aplay -l
kwrite /etc/pulse/daemon.conf
aplay -l
alsamixer
kmix
aplay -L
kwrite /etc/pulse/daemon.conf
aplay /usr/share/sounds/KDE-Im-Phone-Ring.ogg
kwrite /etc/asound.conf
kwrite /etc/modprobe.d/alsa-base.conf
alsaconf
=========================================================
sudo su
sudo su
sudo su
exit
sudo
sudo su
sudo su
sudo svn
sudo su
pwd
cd ../..
pwd
cd etc
cd ldap
pwd
ls
vi ldap.conf
vi slapd.conf
kwrite slapd.conf
vi slapd.conf
sudo su
sudo su
sudo su
vlc
sudo su
vlc
sudo su
ls /var/www
ngrep
man ngrep
cd /usr/bin
pwd
ls -ltr
exit
sudo su
exit
sudo su
exit
sudo su
exit
konqueror
sudo su
exit
sudo su
exit
sudo su
mysql -uroot -proot
exit
sudo su
dmesg
sudo su
login mythtv
su mythtv
sudo su
su mythtv
sudo su
su mythtv
sudo su
su mythtv
sudo su
ifconfig
sudo mythbackend
sudo mythtv-setup
sudo mythbackend
sudo mythtv-setup
dmesg
sudo apt-get install kino
sudo kino
dmesg
sudo kino
sudo su
gksudo
gksudo kino
sudo su
gksudo kino
sudo su
vlc -v
sudo su
cd work/
cd ..
ls
cd work/
ls
cd cd ..
cd ..
ls
cd captures/
ls
cd ../work/
ls
exit
sudo su
sudo sysinfo
sudo su
su
sudo su
sudo /etc/init.d/gdm stop
sudo sh /usr/src/nvidia-driver
sudo reboot
sudo su
vlc
mplayer /dev/video0
vlc -vvv --color v4l:///dev/video0:norm=pal:frequency=543250:size=640x480:channel=1:adev=/dev/dsp:audio=1
vlc -vvv --color v4l:///dev/video0:norm=pal:frequency=802500:size=640x480:channel=1:adev=/dev/dsp:audio=1
scantv
scantv -C /dev/vbi0
xawtv
vlc
scantv -C /dev/vbi0
kwrite ~/.xawtv
sudo su
vlc --list | grep alsa
vlc
vlc --alsa-samplerate=32000
vlc
sudo su
vlc
xawtv
killall vlc
ps -ax
vlc
sudo apt-get install ffmpeg libavcodec-extra-52
sudo su
vlc
xawtv
vlc
sudo su
ls
./myvlc.sh
dmesg
v4l2-ctl -F
apt-get install ivtv-utils
sudo su
vlc -vvv
kwrite myvlc.sh
kwrite ./myvlc.sh
sudo ./myvlc.sh
sudo su
./myvlc.sh
xawtv
./myvlc.sh
ls
cp myvlc.sh myvlc_stop.sh
mv myvlc.sh myvlc_start.sh
ls
nano myvlc_stop.sh
OA
nano myvlc_stop.sh
./myvlc_start.sh
nano myvlc_start.sh
./myvlc_start.sh
ps -ax
nano myvlc_start.sh
./myvlc_start.sh
ps -ax
ls
nano tvstream.pid
nano myvlc_stop.sh
./myvlc_stop.sh
cp myvlc_start.sh vlc_cmd_start.sh
nano vlc_cmd_start.sh
./vlc_cmd_start.sh
nano vlc_cmd_start.sh
exit
nano vlc_cmd_start.sh
./vlc_cmd_start.sh
nano vlc_cmd_start.sh
v4l2-ctl -f
v4l2-ctl -F
v4l2-ctl -f 823250
v4l2-ctl -f 823.250
./vlc_cmd_start.sh
nano vlc_cmd_start.sh
./vlc_cmd_start.sh
v4l2-ctl -F
nano vlc_cmd_start.sh
./vlc_cmd_start.sh
nano vlc_cmd_start.sh
./vlc_cmd_start.sh
ps
ps -ax
nano vlc_cmd_start.sh
./vlc_cmd_start.sh
sudo su
pwd
./dss_vlc.sh
ifconfig
vlc
vlc /usr/local/movies/sample_h264_300kbit.mp4 --sout='#transcode{soverlay,ab=48,samplerate=44100,channels=1,acodec=mp4a,vcodec=h264,width=512,height=288,vfilter=\"canvas{width=512,height=288,aspect=16:9}\",fps=25,vb=384,venc=x264{vbv-bufsize=200,partitions=all,level=12,no-cabac,subme=7,threads=4,ref=2,mixed-refs=1,bframes=0,min-keyint=1,keyint=50,qpmax=51}}:gather:rtp{mp4a-latm,dst=127.0.0.1,port-audio=20000,port-video=20002,ttl=127,sdp=file:/usr/local/movies/movie.sdp}'
vlc /usr/local/movies/sample_h264_1mbit.mp4 --sout='#transcode{soverlay,ab=48,samplerate=44100,channels=1,acodec=mp4a,vcodec=h264,width=512,height=288,vfilter=\"canvas{width=512,height=288,aspect=16:9}\",fps=25,vb=384,venc=x264{vbv-bufsize=200,partitions=all,level=12,no-cabac,subme=7,threads=4,ref=2,mixed-refs=1,bframes=0,min-keyint=1,keyint=50,qpmax=51}}:gather:rtp{mp4a-latm,dst=127.0.0.1,port-audio=20000,port-video=20002,ttl=127,sdp=file:/usr/local/movies/movie.sdp}'
cp dss_vlc.sh /usr/local/movies/
id ranjith
usermod -a -G root ranjith
sudo su
id ranjith
cp dss_vlc.sh /usr/local/movies/
id ranjith
vlc /usr/local/movies/sample_h264_1mbit.mp4 --sout='#transcode{soverlay,ab=48,samplerate=44100,channels=1,acodec=mp4a,vcodec=h264,width=512,height=288,vfilter=\"canvas{width=512,height=288,aspect=16:9}\",fps=25,vb=384,venc=x264{vbv-bufsize=200,partitions=all,level=12,no-cabac,subme=7,threads=4,ref=2,mixed-refs=1,bframes=0,min-keyint=1,keyint=50,qpmax=51}}:gather:rtp{mp4a-latm,dst=127.0.0.1,port-audio=20000,port-video=20002,ttl=127,sdp=file:/usr/local/movies/movie.sdp}'
./dss_vlc.sh
sudo ./dss_vlc.sh
./dss_vlc.sh
ls /usr/local/movies/
./dss_vlc.sh
vlc -vvv input_stream --sout '#rtp{dst=192.168.0.12,port=1234,sdp=rtsp://server.example.org:8080/test.sdp}'
vlc -vvv /usr/local/movies/sample_300kbit.mp4 --sout '#rtp{dst=192.168.1.4,port=1234,sdp=rtsp://192.168.1.13:8080/test.sdp}'
vlc -vvv /usr/local/movies/sample_h264_1mbit.mp4 --sout '#rtp{dst=192.168.1.4,port=1234,sdp=rtsp://192.168.1.13:8080/test.sdp}'
vlc -vvv /usr/local/movies/sample_50kbit.3gp --sout '#rtp{dst=192.168.1.4,port=1234,sdp=rtsp://192.168.1.13:8080/test.sdp}'
ls /usr/local/movies/
./dss_vlc.sh
xawtv
v4l2 -F
v4l2
./dss_vlc.sh
sudo su
vlc
ls /usr/local/movies/
vlc
ls /usr/local/movies/
vlc
ls /usr/local/movies/
vlc
ls /usr/local/movies/
ls /usr/local/movies/ -al
vlc
v4l2
sudo v4l2
sudo v4l2-ctl -F
sudo su
sudo alsaconf
sudo su
aplay -l
alsaconf
sudo su
sudo groups
aplay -l
sudo su
sudo killall pulseaudio
sudo su
pulseaudio -D
sudo su
==============================================