본문 바로가기

전체 글211

[FFMPEG] 프레임 추출하기 ffmpeg 소스에는 다양한 예제가 있다. 이 예제를 사용하면 간단히 프로그램을 만들 수 있고 ffmpeg / ffplay 소스 코드를 사용하여 입맛에 맞는 좋은 프로그램도 만들 수 있다. 물론, 노력과 시간이 필요하겠지만. 어쨌든, 이번에는 ffmpeg 내에 있는 decode_simple.c / decode_simple.h를 사용하여 동영상의 프레임을 저장하는 예제를 간단히 만들어 봤다. 프레임을 뽑아 YUV로 저장하는 예제인데, 아래와 같이 YUV Viewer로 확인 가능하다. 2023.02.15 - [놀기/잡스러운 것] - YUV Viewer YUV Viewer 예전에는 YUV Viewer도 입맛에 맞는 것이 없었고 쓸만한 것은 유료였는데, 요즘은 이런 좋은 프로그램이 있네.. ㅎㅎ https://.. 2023. 2. 15.
YUV Viewer 예전에는 YUV Viewer도 입맛에 맞는 것이 없었고 쓸만한 것은 유료였는데, 요즘은 이런 좋은 프로그램이 있네.. ㅎㅎ https://github.com/IENT/YUView GitHub - IENT/YUView: The Free and Open Source Cross Platform YUV Viewer with an advanced analytics toolset The Free and Open Source Cross Platform YUV Viewer with an advanced analytics toolset - GitHub - IENT/YUView: The Free and Open Source Cross Platform YUV Viewer with an advanced analytics to.. 2023. 2. 15.
[FFMPEG] Error Codes (-1094995529) avcodec_send_packet() 실행 후, -1094995529 에러 발생 -1094995529 → -0x41444E49 0x41 → A 0x44 → D 0x4E → N 0x49 → I FFERRTAG( 'I','N','D','A') → AVERROR_INVALIDDATA avcodec_send_packet()의 반환값 중 하나인 아래에 해당하는 오류 AVERROR(EINVAL): codec not opened, it is an encoder, or requires flush https://ffmpeg.org/doxygen/trunk/group__lavu__error.html FFmpeg: Error Codes This is semantically identical to AVERROR_BUG it.. 2023. 2. 14.
libcurl을 사용하여 Web Page 받기 https://curl.se/libcurl/ libcurl - the multiprotocol file transfer library libcurl - the multiprotocol file transfer library libcurl is a free and easy-to-use client-side URL transfer library, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, curl.se curl은 모든 개발자가 애용하는 프로그램 중의 하나다. 굳이 라이브러리를 호출하지 않고 외부 프로그램으.. 2023. 2. 13.