Skip to content

Instantly share code, notes, and snippets.

@thevar1able
Created June 29, 2020 20:07
Show Gist options
  • Save thevar1able/ce236af28e41aa4db68c46b0f45c20fc to your computer and use it in GitHub Desktop.
Save thevar1able/ce236af28e41aa4db68c46b0f45c20fc to your computer and use it in GitHub Desktop.

on Pi:

ffmpeg -f v4l2 -input_format mjpeg -video_size 1280x720 -framerate 60 -i /dev/video0 -c:v h264_omx -framerate 60 -b:v 1k -flags:v +global_header -bsf:v dump_extra -f rawvideo udp://phi:25000

on client:

vlc --demux h264 udp://@:25000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment