본문 바로가기

잡부생활

ffmpeg 활용 영상 모니터링

ffmpeg 체크

./ffmpeg -i $URL -codec copy -t 0 -f null /dev/null

 

FFmpeg

Converting video and audio has never been so easy. $ ffmpeg -i input.mp4 output.avi       News October 5th, 2019, Bright Lights FFmpeg has added a realtime bright flash removal filter to libavfilter. Note that this filter is not FDA approved, nor are we me

www.ffmpeg.org

 
블랙 / 화이트 영상 감지

./ffmpeg -i $URL -vframes 1 -an -s 720*400 -f mjpeg source.jpg

./convert src.jpg -crop +0+56 crop.jpg (로고 크롭)

identify –verbose image.jpg (skew && kurtosis == 0 : black, 1 : white)

 

ImageMagick

Convert, Edit, or Compose Bitmap Images

imagemagick.org

 

무음영상 감지

./ffmpeg -i $URL -t 10 -vn -acodec pcm_s16le -f wav source.wav

sox source.wav –n stat (Maximum amplitude <= 0.2 : 무음)

 

SoX - Sound eXchange | HomePage

Welcome Welcome to the home of SoX, the Swiss Army knife of sound processing programs. SoX is a cross-platform (Windows, Linux, MacOS X, etc.) command line utility that can convert various formats of computer audio files in to other formats. It can also ap

sox.sourceforge.net

 

'잡부생활' 카테고리의 다른 글

Python locust load test tool  (0) 2018.12.07
HTTP 헤더 모니터링  (0) 2017.12.11
ffmpeg 활용 영상 모니터링  (0) 2017.09.05
Wowza 설정 관련  (0) 2017.07.04
AWS Windows2008 R2 Client NFS 설정  (0) 2017.03.22
개발 javascript 디버깅 casperjs  (0) 2017.01.02