Skip to content

Instantly share code, notes, and snippets.

@UedaTakeyuki
Created February 10, 2017 08:05
Show Gist options
  • Select an option

  • Save UedaTakeyuki/9fb6fa92d8e9e008f7935eb721a4a874 to your computer and use it in GitHub Desktop.

Select an option

Save UedaTakeyuki/9fb6fa92d8e9e008f7935eb721a4a874 to your computer and use it in GitHub Desktop.

Revisions

  1. UedaTakeyuki created this gist Feb 10, 2017.
    2 changes: 2 additions & 0 deletions ffmpeg_save_video.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    # https://github.com/ccrisan/motioneyeos/issues/365
    ffmpeg -f v4l2 -input_format yuv420p -framerate 25 -video_size 640x480 -i /dev/video0 -frames 500 -an -c:v h264_omx test.mp4