command ffmpeg -i input.mp4 -filter:v "crop=w:h:x:y" -c:a copy output.mp4 -i input.mp4 specifies the input video (input.mp4 being the input / original video in this case) -filter:v (can be abbreviated to -vf) specifies we're using a video filter "crop=W:H:X:Y" means we're using the "crop" video filter, with 4 values: w the width of the output video (so the width of the cropped region), which def..
먼저 아래와 같이 연결된 디바이스를 확인해준다. v4l2-ctl --list-devices 그 다음 디바이스 네임을 이용하여 영상을 저장한다. ffmpeg -f v4l2 -framerate 30 -video_size 1920x1080 -i /dev/video0 output.mp4
아래와 같은 명령어로 RSTP 영상을 저장할 수 있다. ffmpeg -i "rtsp://address~" "001.mp4" 하지만 아래와 같이 에러가 날 경우, [rtsp @ 0x556150991900] Nonmatching transport in server reply rtsp://address~: Invalid data found when processing input 아래와 같이 rtsp_transport 옵션을 지정해준다. ffmpeg -rtsp_transport tcp -i "rtsp://address~" "001.mp4" -rtsp_transport ED...... set RTSP transport protocols (default 0) udp ED...... UDP tcp ED...... T..
아래 명령어로 command 를 살펴보았다. 나중에 궁금한 내용 필요할 때 Ctrl+F 해서 찾아봐야겠다. ~$ ffmpeg -h full Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}... Getting help: -h -- print basic options -h long -- print more options -h full -- print all options (including all format and codec specific options, very long) -h type=name -- print all options for ..
GStreamer Tutorials gstreamer.freedesktop.org/documentation/tutorials/index.html?gi-language=c Tutorials Tutorials Welcome to the GStreamer Tutorials! The following sections introduce a series of tutorials designed to help you learn how to use GStreamer, the multi-platform, modular, open-source, media streaming framework. Prerequisites Before following these gstreamer.freedesktop.org GStreamer A..
FFmpeg 이란? 마이클 니더마이어(Michael Niedermayer)의 주도하에 개발되고 있는 모든 동영상, 음악, 사진 포맷들의 디코딩과 인코딩을 목표로 만들어지고 있는 LGPL과 GPL 라이센스를 따르는 오픈소스 프로젝트 관련 프로그램(인코더와 디코더 등등)에서 표준이라 불리울 정도로 많은 프로그램들의 기반으로 이용되고 있다. 아래의 FFmpeg을 기반으로 하는 프로그램 리스트를 보면 알겠지만 거의 대부분의 비디오 관련 프로그램들이 사용하고 있다. FFmpeg 프로젝트 자체가 모든 영상의 디코딩/인코딩을 지향하기 때문에 추가적인 코덱의 설치가 필요없다. ffmpeg.exe 파일 하나로도 인코딩이 가능 멀티코어를 공식적으로 지원 한다. 따로 옵션을 적지않으면 모든 코어를 사용 VF(libavfil..