Skip to content

Instantly share code, notes, and snippets.

@julesjans
Last active May 8, 2021 16:40

Revisions

  1. julesjans revised this gist Aug 16, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion screen-gif.sh
    Original file line number Diff line number Diff line change
    @@ -2,4 +2,4 @@
    xcrun simctl io booted recordVideo ~/simulator.mov

    # Convert the iPhone 6s screen shot into a gif:
    ffmpeg -i ~/simulator.mov -s 304x540 -r 12 -f gif -y simulator.gif
    ffmpeg -i ~/simulator.mov -vf scale=320:-1 -r 6 -f gif -y simulator.gif
  2. julesjans created this gist Aug 16, 2017.
    5 changes: 5 additions & 0 deletions screen-gif.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    # Turn on the simulator screen capture
    xcrun simctl io booted recordVideo ~/simulator.mov

    # Convert the iPhone 6s screen shot into a gif:
    ffmpeg -i ~/simulator.mov -s 304x540 -r 12 -f gif -y simulator.gif