NDI Monitor : Envoie juste une vignette mais ne stream pas la version full de la source. Permet de faire du monitoring, pratique pour du multi-sources notamment mais ne permet pas de faire de la transmission / projection directe
$ffmpeg -i input.mp4 -vcodec prores -acodec copy output.mov
$ffmpeg -i input-video.mp4 -vf "transpose=1" output-video.mp4
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 -ss
(start timecode in seconds) and -t
(duration in seconds) options to create short test encodes.
To create a 1min clip starting 1min into the video:
$ffmpeg -i input-video.mp4 -c:v libx264 -c:a -crf 15 aac -ss=60 -t=60 output-video.mp4
$ffmpeg -codecs D..... = Decoding supported .E.... = Encoding supported ..V... = Video codec ..A... = Audio codec ..S... = Subtitle codec ...I.. = Intra frame-only codec ....L. = Lossy compression .....S = Lossless compression $ffmpeg -encoders V..... = Video A..... = Audio S..... = Subtitle .F.... = Frame-level multithreading ..S... = Slice-level multithreading ...X.. = Codec is experimental ....B. = Supports draw_horiz_band .....D = Supports direct rendering method 1 $ffmpeg -h encoder=libx264 //list all options on encoder