ubuntu install ffmpeg and obs-studio

20 二月
-

obs 是網路直播的免費軟體,裝在ubuntu 14.04 上試試。

install obs-studio on ubuntu 14.04: FFmpeg is required.
If you do not have FFmpeg installed (if you’re not sure, then you probably don’t have it), you can get it with the following commands:

sudo add-apt-repository ppa:kirillshkrogalev/ffmpeg-next
sudo apt-get update && sudo apt-get install ffmpeg

14.04/15.04+: You can install OBS with the following commands:

sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt-get update && sudo apt-get install obs-studio

ffmpeg convert mp4 to gif
ffmpeg -t 3 -ss 00:00:02 -i small.mp4  -s 320×240 -r 10 small-clip.gif

-t 3     : 3sec
-r 10     : 10fp
-ss 00:00:02    : start time offset
-s 320×240    : size WxH
ps: 轉成GIF的畫質不如網站好。

來源 enjoy!

這篇文章的迴響已關閉