ffplay -f video4linux2 -framerate 60 -video_size 1920x1080 -input_format mjpeg /dev/video2
You can try other video number (video3, video4)
Create:
/etc/udev/rules.d/91-hdmi-to-usb-ms2109.rules
With:
Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| <?php | |
| /** | |
| * WaveFileReader; a simple class to read/parse WAVE file | |
| * (c)2012 Rob Janssen / https://github.com/RobThree | |
| * | |
| * Based on https://ccrma.stanford.edu/courses/422/projects/WaveFormat/ | |
| * | |
| * USAGE: | |
| * | |
| * $wav = WaveFileReader::ReadFile('/path/to/test.wav'); |