FFmpeg: Difference between revisions
No edit summary |
|||
| Line 29: | Line 29: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
ffmpeg -i input_filename -vf "crop=w:h:x:y" output_filename | ffmpeg -i input_filename -vf "crop=w:h:x:y" output_filename | ||
</syntaxhighlight> | |||
===Get a list of encoders/decoders=== | |||
[https://superuser.com/questions/1236275/how-can-i-use-crf-encoding-with-nvenc-in-ffmpeg Reference] | |||
<syntaxhighlight lang="bash"> | |||
for i in encoders decoders filters; do | |||
echo $i:; ffmpeg -hide_banner -${i} | egrep -i "npp|cuvid|nvenc|cuda" | |||
done | |||
</syntaxhighlight> | </syntaxhighlight> | ||