Files
cheatsheet-tldr/tldr/transcode

22 lines
642 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# transcode
> Transcode video and audio codecs, and convert between media formats.
> More information: <https://manned.org/transcode>.
- Create stabilization file to be able to remove camera shakes:
`transcode -J stabilize -i {{input_file}}`
- Remove camera shakes after creating stabilization file, transform video using XviD:
`transcode -J transform -i {{input_file}} -y xvid -o {{output_file}}`
- Resize the video to 640x480 pixels and convert to MPEG4 codec using XviD:
`transcode -Z 640x480 -i {{input_file}} -y xvid -o {{output_file}}`