diff options
-rw-r--r-- | video.md | 6 | ||||
-rw-r--r-- | vim.md | 5 |
2 files changed, 11 insertions, 0 deletions
@@ -4,3 +4,9 @@ ffmpeg -i in.mp4 -codec:v copy -codec:a copy -ss START_TIME -t DURATION out.mp4 ffmpeg -ss START_TIME -t DURATION -i in.mp4 -codec:v copy -codec:a copy out.mp4 + +## Resize + + ffmpeg -i in.mp4 -s 720x480 out.mp4 + # -1 means to automatically preserve aspect ratio + ffmpeg -i in.mp4 -filter:v scale=720:-1 out.mp4 @@ -12,3 +12,8 @@ | `/` | `:h /\r` | search pattern (in this case, `:h \r` also works | | `'` | `:h 'ro'` | option | | `-` | `:h -r` | Vim argument (starting Vim) | + +## Using vim as a hex editor? + + :%!xxd + :%!xxd -r |