AWS Lambda 등에 FFmpeg 바이너리를 업로드한 후에 이를 활용하고자 하는 경우, cannot execute binary file 과 같은 오류 메시지가 발생하는 경우가 있다. 그러나 로컬 환경에서는 정상적으로 동작하고 있는 경우, Lambda에 업로드한 바이너리 파일이 macOS 등 적절하지 않은 환경에 맞게 빌드된 것일 수 있다. 그러니 아래 링크에서 적절한 CPU 아키텍쳐에 맞게 빌드된 바이너리를 다운받아 교체하여 사용하도록 하자. John Van Sickle - FFmpeg Static Builds Welcome! Here you'll find the latest versions of FFmpeg for Linux kernels 3.2.0 and up. For installation in..
설치는 mac 기준 brew install ffmpeg 파일 duration 확인하기 [ffmpeg_test] # ffprobe -i [파일명] -v quiet -show_entries format=duration -hide_banner -of default=noprint_wrappers=1:nokey=1 [ffmpeg_test] ffprobe -i video.mp4 -v quiet -show_entries format=duration -hide_banner -of default=noprint_wrappers=1:nokey=1 621.333333 [ffmpeg_test] 영상에서 오디오 추출하기 [ffmpeg_test] # ffmpeg -y -i [원본영상파일] -f mp3 -ab 192000 -vn [..
- Total
- Today
- Yesterday
- jQuery
- javascript
- Docker
- IntelliJ
- terraform
- Linux
- Git
- JEST
- mysql
- react
- pgloader
- AWS
- AWS IoT
- Java
- RancherDesktop
- spring boot
- Node.js
- kotlin
- shell
- 코딩테스트
- Database
- Gradle
- Vault
- postgresql
- Spring Cloud Config
- eureka
- hashicorp
- Puppeteer
- JPA
- etc
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |