Streaming a webcam in Linux with VLC

January 4, 2009

I wanted a simple way to make my Linux security camera server stream live video to my TV.

The server ususally runs “motion”. I disable motion, and launch this command on the server:

vlc v4l:/dev/video0:size=640×480:channel=1:norm=ntsc:fps=12 –sout ‘#transcode{vcodec=mp4v,vb=768,scale=1}:duplicate{dst=std{access=mmsh,mux=asfh,dst=:8080}}’ -v –noaudio

and this on a Linux client to test:

mmsh://10.4.4.25:8081/

Then, once that is all working, I use VLC on the AppleTV to play the video to the TV. I used iScripts to get it launching.

The only problem I have right now is a 8 or so second delay.

posted in AppleTV by Chris Carey

Follow comments via the RSS Feed | Leave a comment | Trackback URL

1 Comment to "Streaming a webcam in Linux with VLC"

  1. h2non wrote:

    I’m trying this now, but, why u’re using mmsh protocol? not is more efficient use http for flash embebed or similar. I know u want to view via tv, but, for web, which u recomend?
    PS: on debian machine

Leave Your Comment

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org