개발일지/ffmpeg

ffmpeg은 무엇인가?

자코린이 2022. 9. 19. 17:54

ffmpeg은 인간이 만들거나 기계가 만든 무엇이든 인코딩과 디코딩이 가능하게 해 주는 오픈소스 프로그램 입니다.

FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. It is also highly portable: FFmpeg compiles, runs, and passes our testing infrastructure FATE across Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc. under a wide variety of build environments, machine architectures, and configurations.

--ffmpeg document

https://ffmpeg.org/about.html

 

About FFmpeg

FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if

ffmpeg.org

속도 또한 매우 빨라 많은 곳에서 활용하는 프로그램입니다.

 

사용해본 소감은 간단한 커멘드 라인으로만 작동하는 프로그램이라 사용하기 편하다는 장점이 있습니다.

단점은 커멘드 라인으로만 이루어지는 프로그램이라 설정값을 검색해야 한다는 것입니다.

 

 

ffmpeg을 사용하게 된 계기는 cctv영상을 python의 cv2를 사용하여 영상을 받고 저장하는 과정에서 cctv의 프레임이 끊어지면 모든 영상이 다 먹통이 되는 문제를 직면하여 개발팀의 팀장님이 ffmpeg을 추천하여 처음 알게 되었습니다.

 

다음 글에서 웹캠의 영상을 ffmpeg을 사용하여 저장하고 udp로 방송하는 명령어를 적어보겠습니다.

긴글 읽어주셔서 감사하고 개발에 도움이 되셨으면 합니다. :)