Saturday, April 23, 2011

nexus s and android kernel

1.buy nexus s through android market place
2.follow the link http://forum.androidcentral.com/samsung-nexus-s-rooting-roms-hacks/48675-how-compile-nexus-s-kernel-source.html

Friday, April 22, 2011

modified setup at home

1.fm radio,tvtuner,dv cam,vcr,tape recorder,mobile phone ---> given as input capture devices to vlc
2.hdmovie data base on NAS given to Darwin( via vlc)?? darwin can stream without vlc
3.The above two redirected to pc with Nvidia Graphics card and Creative SB card
4.The 3 is redirected to Onkyo A/V receiver. via Composite,Dvi,HDMI
5.Also some in above can be directly connected to LCD tv(More the RCA,HDMI inputs on
LCD the better)
6.why all this ? well we've converged HD on INTERNET,HD on cable --> into TV ALSO HD on INET/TV will be accessible from any where on internet as well

gstreamer and v4l , alsa

1.gstreamer defines a set of data structs, and entry point prototypes for
multimedia pipeline
2.Each component of the pipeline has its set(ds,fptrs)
3.v4l,alsa,oss etc were designed and developed independent of this pipeline
4.gstreamer wrapped the v4l/alsa calls in its interfaces and exposed to the user
5.so earlier what was like app-->v4l-->driver-->hw now became app-->gstreamer-->v4l-->gstreamer-->driver-->hw etc ...

mobile streaming - 1

1.given a network speed
adjust capture
adjust transcode
adjust output
parameters to get the best performance

would involve
1.adjusting sample rate and bit rate of a/v, even resolution
2.adjusting type of encoding used
3. step 1 & 2 will be dependent, some (rate,resol) goes good with some encoding
4.choose best out if remote has facility to play all OR choose best based on remotes
capability

mobile streaming

1.command line
capture:transcode:output
2.capture
audio
======
sample rate
audio bitrate
video
=====
frame numbers
aspect ratio
video bit rate
resolution
3.transcode
audio encoder
video encoder


resolution
4.output
mode(mms,rtp,sdp,udp,http)

Sunday, April 10, 2011

vlc tips

1.for http capture pc is server, ip is any ip , client will start later connect to server
2.for rtp cature pc specifies dst ip,if client connects to dst streaming happens
3.for rtsp, capture pc needs to specify sdp = rtsp://..../test.sdp

vlc overview



main modules and their uses in vlc
===================================
http://www.videolan.org/doc/vlc-user-guide/en/ch02.html

DirectShow(win)+ Directsound===v4l2(lin) + alsa

gstreamer defines interfaces and contexts for all components of A/V pipe
directshow does the same on windows
v4l and alsa becomes a sub component of gstreamer
vlc uses v4l2/alsa interface directly for A/V
gstreamer plugins are interfaces that wrap around v4l2/alsa apis and make them
consistant with gstreamer specifications
so if vlc was not written in adherence to gstreamer spec, vlc is not a gstreamer app

arch
====
A,B,C,D
v4l2 - C
v4l2 uses D
vlc - B
B uses C
A - gstreamer
B-->C-->D
A-->C-->D
A-->D