[FFmpeg] ffmpeg command
아래 명령어로 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 ..
2021.08.06
[ffmpeg] Linux에서 ffmpeg 으로 m3u8 URL 동영상 저장하기
ffmpeg -i "URL" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 file.mp4 참고자료 : https://www.vividian.net/2020/09/42 m3u8를 mp4로 변환 (ffmpeg 이용) – vividian repository www.vividian.net
2021.06.04
[GStreamer] 참고자료
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..
2021.03.03
[Git] 한글 깨짐 문제
Git status 사용 시 한글 깨질 때 아래와 같은 옵션을 주면 해결된다. git config --global core.quotepath false 참고자료 : jyami.tistory.com/89 git status 한글 깨짐 git status를 할 때, 한글이름을 가지는 파일일 경우에 /200/300/385 이런식으로 파일명이 깨지는 경우가 있다. (mac 터미널) git config --global core.quotepath false 위 설정으로 바꾸면 올바르게 한글이름 파.. jyami.tistory.com
2021.02.09
[Video] ffmpeg, ffplay 및 vlc 간단 사용법
FFmpeg 이란? 마이클 니더마이어(Michael Niedermayer)의 주도하에 개발되고 있는 모든 동영상, 음악, 사진 포맷들의 디코딩과 인코딩을 목표로 만들어지고 있는 LGPL과 GPL 라이센스를 따르는 오픈소스 프로젝트 관련 프로그램(인코더와 디코더 등등)에서 표준이라 불리울 정도로 많은 프로그램들의 기반으로 이용되고 있다. 아래의 FFmpeg을 기반으로 하는 프로그램 리스트를 보면 알겠지만 거의 대부분의 비디오 관련 프로그램들이 사용하고 있다. FFmpeg 프로젝트 자체가 모든 영상의 디코딩/인코딩을 지향하기 때문에 추가적인 코덱의 설치가 필요없다. ffmpeg.exe 파일 하나로도 인코딩이 가능 멀티코어를 공식적으로 지원 한다. 따로 옵션을 적지않으면 모든 코어를 사용 VF(libavfil..
2020.10.20
[CMake] Ubuntu 환경에서 CMakeLists.txt 생성하기 위한 참고자료들
https://cmake.org/cmake/help/v3.0/manual/cmake-commands.7.html cmake-commands(7) — CMake 3.0.2 Documentation cmake.org https://gist.github.com/luncliff/6e2d4eb7ca29a0afd5b592f72b80cb5c#Linking CMake 할때 쪼오오금 도움이 되는 문서 CMake 할때 쪼오오금 도움이 되는 문서. GitHub Gist: instantly share code, notes, and snippets. gist.github.com https://cgold.readthedocs.io/en/latest/tutorials/tests.html 3.10. Tests — CGold 0.1 ..
2020.06.17
[CMake] Ubuntu에 CMake 설치하기
1. apt 를 이용한 설치 (구버전이 설치됨) $ sudo apt install cmake 2. 직접 최신버전 설치 2.1 홈페이지에서 다운로드 https://cmake.org/download Download | CMake Current development distribution Each night binaries are created as part of the testing process. Other than passing all of the tests in CMake, this version of CMake should not be expected to work in a production environment. It is being produced so that us cmake.org 2.2 w..
2020.01.23
no image
[git] git push 안될 때
Windows 환경에서 git push 를 사용할 때 >git push -u origin master Counting objects: 28, done. Delta compression using up to 8 threads. Compressing objects: 100% (27/27), done. error: RPC failed; HTTP 403 curl 22 The requested URL returned error: 403 Forbidden fatal: The remote end hung up unexpectedly Writing objects: 100% (28/28), 426.36 MiB | 11.58 MiB/s, done. Total 28 (delta 2), reused 0 (delta 0) fa..
2020.01.17
[JSON] JSON 파일 뷰어
http://jsonviewer.stack.hu/ Online JSON Viewer jsonviewer.stack.hu 이 페이지에 마우스로 json 파일을 잡아다 끌면 내용이 보인다. 그리고 참고로 jq 라는 것을 이용하여 json 의 내용을 다음과 같이 줄바꿈 하여 편집 할 수 있다. $ jq . person_keypoints_val2017.json > person_keypoints_val2017_jq.json https://stedolan.github.io/jq/ jq jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that se..
2019.08.02
[Docker] docker 자주 쓰는 명령어 정리
실행중인 컨테이너 목록 상태 확인하기 docker ps docker ps -a -a 옵션을 사용하면 전체 목록을 확인할 수 있다. 설치된 이미지 목록 확인하기 docker images 컨테이너 중지 / 재시작 / 시작 하기 docker stop name docker restart name docker start name 컨테이너 다시 접속하기 docker attach container_name 이 때, attach 한 후에 엔터를 쳐야 접속이 된다. 기다리지말고 엔터칠것. 컨테이너 / 이미지 삭제하기 docker rm -f container_name docker rmi image_name
2019.06.15
[GitHub] GitHub 에 폴더 올리기
$ git init $ git remote add origin "repository address" $ git add . $ git status $ git commit -m "message" $ git push -u origin master git push 가 안되는 경우에는 git pull 을 통해 상태를 업데이트 한 후에 다시 git push
2019.05.31
no image
[OpenTracing] Jaeger UI를 이용한 분산 추적 (2)
이번에는 Python을 이용하여 분산 추적 과정을 Jaeger UI를 통해 확인하고자 한다. 일단 Jaeger UI(http://127.0.0.1:16686/) 와 HotROD(http://127.0.0.1:8080) 화면을 켜놓는다. OpenTracing Tutorial - Python https://github.com/yurishkuro/opentracing-tutorial/tree/master/python 1. Installing 저번 포스팅 참고 http://eehoeskrap.tistory.com/269 2. 가상환경 생성 후 activate cd opentracing-tutorial/pythonvirtualenv envsource env/bin/activate 3. 필요한 패키지 설치 pip ..
2018.09.21