send video from local device to a slave computer with ffmpeg

setup service listener on viewer machine : while : ; do ffplay -i tcp://192.168.xx.xx:1234?listen ; done send video to it : ffmpeg -re -i /dev/video1 -vcodec mpeg2video -f alsa -i hw:2,0 -ac 2 -s 1920×1080 -r 25 -strict -2 -f mpegts tcp://192.168.xx.xx:1234 where 192.168.xx.xx is the IP of the viewer where the ffplay is running….

starting a machine in Docker with ports

docker run -p 800:80 -p 2222:22 -p  4443:443  -it 68715929d32a  /bin/bash If ports do not work check : sysctl net.ipv4.ip_forward if  you get: net.ipv4.ip_forward = 0 then issue : sysctl -w net.ipv4.ip_forward=1 net.ipv4.ip_forward = 1if you get the error :   docker: Error response from daemon: driver failed programming external connectivity on endpoint amazing_williams (44e256a6039741b20e4124800702d9794d69fb6be9da71ba25059de4dd527121):…

package.json sample

This is the basic structure for a node.js package file { "name": "Express-Basic", "description": "Demonstrating Express", "version": "0.0.1", "private": true, "dependencies": { "express": "3.x" } } nJoy 😉

Kernel: e1000e 0000:02:00.0: eth0: Error reading PHY register

In recent CentOS version 6.3 is an unresolved bug, which causes the network card to freeze the server. Following message appears in /var/log/messages kernel To work around the problem you will need to turn off Active-State Power Management (ASPM) (Feature that saves power in the Peripheral Component Interconnect Express (PCI Express or PCIe) subsystem by…