본문 바로가기

분류 전체보기

(83)
[python] 34. Find First and Last Position of Element in Sorted Array 더보기 Given an array of integers nums sorted in non-decreasing order, find the starting and ending position of a given target value. If target is not found in the array, return [-1, -1]. You must write an algorithm with O(log n) runtime complexity. Example 1: Input: nums = [5,7,7,8,8,10], target = 8 Output: [3,4] Example 2: Input: nums = [5,7,7,8,8,10], target = 6 Output: [-1,-1] Example 3: Input:..
psql DB 명령어 모음집 1. 컬럼명으로 테이블 찾기 select table_name from information_schema.columns where column_name = 'your_column_name'
동영상 포맷이해 https://blog.naver.com/hcwha/70095361247 동영상의 기본적인 이해 (컨테이너 포맷이란?, 동영상의 변환이란?) ※ 반드시 먼저 읽어 주세요. 제 게시글에서 "동영상"은 "영상+소리"정보를 가진 파일을 가르킵니다. ... blog.naver.com https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=dbfan24&logNo=10128721121 동영상의 기본적인 이해 (컨테이너 포맷이란?, 동영상의 변환이란?) ※ 반드시 먼저 읽어 주세요. 제 게시글에서 "동영상"은 "영상+소리"정보를 가진 파일을 가르킵니다. ... blog.naver.com
[python3] 2476. Closest Nodes Queries in a Binary Search Tree 한줄요약. 이진트리가 주어져있다. mini란 : quries[i] 보다 작거나 같은 수 중 가장 큰 숫자. 없으면 -1. maxi란 : quries[i] 보다 크거나 같은 수 중 가장 작은 숫자. 없으면 -1. 각 qurey에 대한 mini와 maxi를 찾아서 반환해라 원문 더보기 You are given the root of a binary search tree and an array queries of size n consisting of positive integers. Find a 2D array answer of size n where answer[i] = [mini, maxi]: mini is the largest value in the tree that is smaller than or eq..
[명령어 정리] live stream 상태 체크 방법 (w. ffprobe 간단!) 방법1 단순 확인용, block 인 경우 응답없음 ffprobe "rtsp://아이디:비밀번호@카메라url " ffprobe -i 396025.MP4 -show_packets show_packets 붙여주면 매번 모든패킷 깐 결과 보여줌. pts, pts_time, dts, dts_time 보면 대충 상태 체크 가능 pts란 ? https://gamz.tistory.com/16 방법2 ffprobe로 timestamp 뽑아내기 ffprobe -show_packets ttt.mp4 -show_entries packet=pts_time 가끔 timestamp를 이상하게주는 카메라들이 있음. 체크용. ffmpeg 홈페이지에서 다양한 설정가능 https://ffmpeg.org/ffprobe.html ffprob..
gstreamer : muxer 와 정리 쩔어 먹서쪽 https://devdockr.tistory.com/2086 i.MX 8 GStreamer User Guide - Mux/demux ExamplesChapter 5. Mux/demux Examples 이 섹션에서는 가장 일반적으로 사용되는 mux와 demux 플러그인과 각 플러그인을 올바르게 사용하는 방법에 대한 몇 가지 예제를 보여준다. 5.1. Mux Plugins 5.1.1. qtmux 이 유형의devdockr.tistory.com gstreamer전반적으로https://studyingdever.tistory.com/12 II. 애플리케이션 만들기 : 8장. 패드와 캐퍼빌리티 (3)8.3. 어떤 캐퍼빌리티(capabilities)를 사용할 것인가?캐퍼빌리티(짧게는 캡스)는 두 ..
gstreamer : muxer 와 정리 쩔어 먹서쪽 https://devdockr.tistory.com/2086 i.MX 8 GStreamer User Guide - Mux/demux ExamplesChapter 5. Mux/demux Examples 이 섹션에서는 가장 일반적으로 사용되는 mux와 demux 플러그인과 각 플러그인을 올바르게 사용하는 방법에 대한 몇 가지 예제를 보여준다. 5.1. Mux Plugins 5.1.1. qtmux 이 유형의devdockr.tistory.com  https://gstreamer.freedesktop.org/documentation/tools/gst-launch.html?gi-language=c#pipeline-description  gst-launch-1.0gst-launch-1.0 Thi..
미디어 관련내용 정리 nal / au 란 ? h.264로 인코딩된 비디오를 전송하려면 2가지 옵션이 있다. 1) NALU를 전송프로토콜로 패킷화하기 2) Byte-stream : NALUs앞에 시작코드를 추가하기 ( 이를통해 디코더는 NALU의 시작을 알 수 있다. ) 이 두옵션은 rtph264pay의 기능에서 찾아볼수 있는데, stream-format avc는 1)을 나타내고, byte-stream은 2)를 나타낸다. 원문 더보기 To transport h264 encoded video there are two options: 1.) Paketize a NALU into a transport protocol 2.) Byte-stream, which adds a Start Code Prefix in front of NALUs..