Skip to content

Instantly share code, notes, and snippets.

Live Transcoding

This is a collection of working commandline examples to show how one could use FFMpeg and VLC for live transcoding of video streams. All examples have been tested on OSX 10.7.5 with FFMPeg 1.1.3 and VLC 2.0.5 in early 2013.

Documentation links

@manueldev
manueldev / gist:6037308
Created July 19, 2013 07:21
ffmpeg webcam streaming
ffmpeg -f dshow -i video="HP Webcam [2 MP Fixed]" -s 640x480 -r 20 -tune zerolatency -b:v 2000k -c:v libx264 -preset ultrafast -pix_fmt yuv420p -g 1 -f mpegts -t 180 udp://127.0.0.1:80?pktsize=188&buffer_size=65535