Archive for October, 2011
Gstreamer and Freescale VPU
Client:
gst-launch -vvv udpsrc caps=”application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264″ port=5000 ! queue ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! ximagesink
G100
#G100 USB
#gst-launch -vvv mfw_v4lsrc capture-width=720 capture-height=480 fps-n=30 ! queue ! mfw_vpuencoder codec-type=std_avc bitrate=600 ! video/x-h264,width=720,height=480 ! rtph264pay ! udpsink port=5000 host=10.0.0.1 &
#G100 WIFI
#gst-launch -vvv mfw_v4lsrc capture-width=720 capture-height=480 fps-n=30 ! queue ! mfw_vpuencoder codec-type=std_avc bitrate=1000 ! video/x-h264,width=720,height=480 ! rtph264pay ! udpsink port=5000 host=192.168.100.255 &
gst-launch -vvv mfw_v4lsrc capture-width=720 capture-height=480 fps-n=30 ! queue ! mfw_vpuencoder codec-type=std_avc bitrate=1000 ! video/x-h264,width=720,height=480 ! rtph264pay ! udpsink port=5000 host=10.0.0.1 &
#PC
#gst-launch -vvv udpsrc caps=”application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264″ port=5000 ! queue ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! ximagesink
Fixing or replacing notebook’s keyboard / keys
Great reference and guides
Creating kernel header/include files
Sometimes when cross-compiling a kernel, the host machine requires the header files to compile programs locally.
To create them, go to your kernel source and:
make headers_install INSTALL_HDR_PATH=/destination
For example:
mkdir /tmp/header
make headers_install ARCH=arm INSTALL_HDR_PATH=/tmp/header
More information is available at your_kernel_source/Documentation/make/headers_install.txt