mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 17:35:28 +02:00
ffmpeg: added trim example plus augmented precision to seconds (#2099)
This commit is contained in:
parent
57849426b3
commit
a3ac6db8d2
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,10 @@
|
|||
|
||||
`ffmpeg -ss {{mm:ss}} -i {{video.mp4}} -frames 1 -s {{128x128}} -f image2 {{image.png}}`
|
||||
|
||||
- Trim a video from a given start time mm:ss to a duration of mm2:ss2 from that time. (Omit the -t flag to trim till the end):
|
||||
|
||||
`ffmpeg -ss {{mm:ss}} -i {{video.mp4}} -codec copy -t {{mm2:ss2}} {{output.mp4}}`
|
||||
|
||||
- Convert AVI video to MP4. AAC Audio @ 128kbit, h264 Video @ CRF 23:
|
||||
|
||||
`ffmpeg -i {{input_video}}.avi -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23 {{output_video}}.mp4`
|
||||
|
|
Loading…
Add table
Reference in a new issue