Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
regie:regie_video [2021/04/19 15:05] – mh | regie:regie_video [2021/09/30 17:10] – [Transcodage Vidéo] mh | ||
---|---|---|---|
Line 28: | Line 28: | ||
*Couplé à des fonctions de zoom, définit les portée minimale/ | *Couplé à des fonctions de zoom, définit les portée minimale/ | ||
+ | |||
+ | |||
+ | ---- | ||
===== NDI ===== | ===== NDI ===== | ||
Line 40: | Line 43: | ||
* mplayer (pour lecture vidéo) | * mplayer (pour lecture vidéo) | ||
+ | ---- | ||
===== Transcodage Vidéo ===== | ===== Transcodage Vidéo ===== | ||
Line 49: | Line 53: | ||
$ffmpeg -i input.mp4 -vcodec prores -acodec copy output.mov | $ffmpeg -i input.mp4 -vcodec prores -acodec copy output.mov | ||
</ | </ | ||
+ | |||
+ | === Rotate video === | ||
+ | |||
+ | <code bash> | ||
+ | $ffmpeg -i input-video.mp4 -vf " | ||
+ | </ | ||
+ | |||
+ | *0 – means rotate by 90 degrees counterclockwise and flip | ||
+ | *1 – means rotate by 90 degrees clockwise | ||
+ | *2 – means rotate by 90 degrees counterclockwise | ||
+ | *3 – means rotate by 90 degrees clockwise and flip | ||
+ | |||
+ | === Control Quality === | ||
+ | |||
+ | // This is a copy of this [[https:// | ||
+ | |||
+ | The CRF option sets the encode quality. The bit-rate will vary as necessary to provide a consistent quality throughout the video. 51 being the worst to 0 being the best (lossless). Usually around 15-20 is a good ratio quality vs filesize. | ||
+ | |||
+ | You can use the '' | ||
+ | |||
+ | To create a 1min clip starting 1min into the video: | ||
+ | |||
+ | <code bash> | ||
+ | $ffmpeg -i input-video.mp4 -crf=15 -ss=60 -t=60 output-video.mp4 | ||
+ | </ | ||
+ | |||
=== ffmpeg commands === | === ffmpeg commands === |