bar # -g : GOP, for searchability ffmpeg -i input.foo -vcodec bar -acodec baz -b:v 21000k -b:a 320k -g 150 -threads 4 output.bar # To convert image sequence to video: ffmpeg -r 18 -pattern_type glob -i '*.png' -b:v 21000k -s hd1080 -vcodec vp9 -an -pix_fmt yuv420p -deinterlace output.ext # By the way, this example works non-recursively. This will be a huge time-saver! Note that this is Bash syntax. ffmpeg -i IN_FILE OUT_FILE & rm -v IN_FILE # Convert all MP3s in the CWD to OGGs, deleting the originals when successfully ffmpeg -i IN_FILE OUT_FILE # Remove the original upon successful completion of ffmpeg(1). So, if your IN_FILE has # the `.mp3` extension and your OUT_FILE has the `.ogg` extension, then your # file will be converted - but original kept in-tact - to an OGG file. Cheat.sh/ffmpeg $ curl cheat.sh/ cheat.sheets:ffmpeg # ffmpeg # Tools for transcoding, streaming and playing of multimedia files # Convert IN_FILE to OUT_FILE, based on its extension.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |