Created
March 22, 2015 00:07
-
-
Save diablowu/a8a9c0bd691c5e3df766 to your computer and use it in GitHub Desktop.
streaming mp4v codec using a video device in vlc cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo -u pi /usr/bin/vlc -d --pidfile /tmp/vlc.pid -I dummy \ | |
| v4l2:// :v4l2-dev=/dev/video0 \ | |
| :v4l2-width=320 :v4l2-height=240 :live-caching=300 \ | |
| --sout="#transcode{vcodec=mp4v,vb=300,scale=1}:http{dst=:8080/stream.ts}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment