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
==============================================

Sunday, April 24, 2011

linux gfx stack

1.Every app has a window associated with it
2.Every window can have multiple surfaces associated with it
3.Every surface has multiple objects drawn on it
4.Surface and window are abstractions provided by x system
5.Meaning the physical memory object for both are provided by x system
6.An application draws an object on its surface and tells the x
7.x does a local processing for that current window,then combines processing with all the other windows
8.x then makes it into a frame buffer
9.writes to the hardware(frame buffer may be a hw buffer, so writing will reach the hw directly)
10.above was software render
11.for hw render, each window and surface , object would have a corresponding handle, memory within the hardware memory
12.each application will have its own private memory in hw
13.every write from hw will get into hw directly, no combining operation done by x
14.the hw internally does the combining
15.mixed rendering, some app uses hw and sw surfaces
16.sw surfaces uses the first method and creates a frame buffer
17,hw surfaces writes into app private memory in hw
18.hw combines both and creates the final output

hw codecs

1.xine player, mplayer
2.xine has xvmc through which hardware mpeg decoders are accessed, also xine supports via gfx card
3.mplayer also supports xvmc but for nvidia gfx
4.vlc also supports somethings
5.ffmpeg contains a list of codecs
6.gstreamer is a framework

7.not only 1080p but its bit rate also matters in a playback
8.mplayer can use coreavc to decode using cpu h.264
9.apple quick time supports h264
10.linux h264
http://www.linuxjournal.com/article/9005
11.http://developer.nvidia.com/tegra/forum/support-h264-hardware-accelator-support-libavcodec
12.terminologies and interrelations
http://forum.videolan.org/viewtopic.php?t=9647
13.new flow
vlc,xine,mplayer--->ffmpeg-->libavcodec-->vaapi-->vpdau-->driver-->hw-->hwcodec
14.http://www.nvnews.net/vbulletin/showthread.php?t=131050
15.http://forums.gentoo.org/viewtopic-t-836517-start-0.html
16.http://www.linuxquestions.org/questions/slackware-14/how-to-enable-libvdpau-libva-vaapi-and-mplayer-with-nvidia-driver-855574/
17.on linux 10.10
http://www.webupd8.org/2010/10/use-mplayer-with-vaapi-support-hardware.html
18.http://www.linux.com/news/software/developer/31582-multicore-video-decoding-with-mplayer-part-2
19.http://superuser.com/questions/109388/how-do-i-get-vdpau-working-with-ubuntu-9-10
20.nvidia gt220 supports vdpau
http://phoronix.com/forums/showthread.php?20182-FFmpeg-Gains-VDPAU-MPEG-4-ASP-Acceleration
21,https://bbs.archlinux.org/viewtopic.php?id=115794

nvidia hardware codec

1.http://en.wikipedia.org/wiki/Nvidia_PureVideo
Different generations of nvidia each have added internally hw codecs for video and audio in addition to hw rendering optimizations and features
2.The container is made and parsed in software, the contents of the container are then hooked to video/audio hw accel inside
3.http://www.guru3d.com/article/geforce-gt-430-review/4
4.geforce 4 can decode mpeg 4 in hardware
mkv
x264
h264
aac
dts
5.http://en.wikipedia.org/wiki/VDPAU
6.If VDPAU is supported on card , card can do codec and graphics accel
7.vlc has support for it, vlc has support for sw codec too
8.http://penguindreams.org/blog/nvidias-hardware-h264-1080p-codec-in-linux/

Saturday, April 23, 2011

dv/hd cam movies documentaries

1.http://forums.creativecow.net/thread/162/869630

tv dimension , resolution

1.tv has the dimension x:y
2.witin x:y resol a:b can be laid out
3.as the resolution goes down, max resolution supported is redistributed to act as lower one OR a small portion of the screen will be used for it
3.the hardware might adjust the incoming resolution to fit to target resolutions
4.the graphics hw have different modes of operation
5.all must support the basic mode
6.1080p is by todays std the most precise defenition
http://www.geek.com/hdtv-buyers-guide/resolution/
7.
http://www.tomshardware.com/forum/264009-33-resolution-close-1080p
8.http://en.wikipedia.org/wiki/File:Vector_Video_Standards2.svg

ubuntu check if hw acceleration is enabled

1.http://ubuntuforums.org/showthread.php?t=205119