본문 바로가기

반응형

분류 전체보기

(136)
Skibidi Toilet TV Woman TV우먼 색칠공부 PDF파일입니다.
ffmpeg 타임 쉬프트(time shift) 배치파일(음성,영상 싱크 오류시) 아래 내용을 bat 파일로 작성해서 파일을 드래그 해서 넣으면. 특정 시간을 입력받아서 음성과 영상의 싱크를 조절해준다. ======================= @echo off setlocal :: str 변수 초기화 set str= :REDO set /p str=쉬프트할 시간을 입력하세요. ffmpeg -i %1 -itsoffset %str% -i %1 -map 0:0 -map 1:1 -c copy %1-1.mp4
파이썬으로 네이버 object storage(s3)에 파일 2천개 업로드(파일명 변경후) 하는 방법 우선 boto3를 설치한다. pip install boto3 import boto3 from pathlib import Path import sys service_name = 's3' endpoint_url = 'https://kr.object.ncloudstorage.com' # aws에 업로드할경우 삭제 region_name = 'kr-standard' access_key = '엑세스키' secret_key = '시크릿키' if __name__ == "__main__": s3 = boto3.client(service_name, endpoint_url=endpoint_url, aws_access_key_id=access_key, aws_secret_access_key=secret_key) bucket_..
[TabloTV] 구매후기 케이블 tv를 녹화해 보려고 구매를 했습니다. 무려 해외 직구를... 버뜨~!!!!!! 공중파만 됩니다. ㅠㅠ;;; 케이블TV는 녹화가 안되니... 저처럼 한국에서 구매하시려는 분들은.. 패스하세요~ ㅠㅠ;;
안드로이드 adb 기가지니 앱 실행 adb shell am start -a android.intent.action.MAIN -n com.kt.gigagenie.mobile/.ui.MainActivity adb로 안드로이드 연결시 기가지니 앱을 실행하는 방법입니다.
[ffmpeg] USB Camera를 UDP로 송출하기 usb 카메라를 udp로 송출하여 다른곳에서 볼 수 있게 할 수 있다. 내 아이피가 192.168.100.13일때 239.0.0.2의 1234로 영상을 송출하는 내용이다. ffmpeg -f dshow -i video="USB Camera" -vf scale=1280:720 -vcodec libx264 -tune zerolatency -f mpegts "udp://239.0.0.2:1234?pkt_size=1316&localaddr=192.168.100.13" 장치의 정확한 이름은 ffmpeg -list_devices true -f dshow -i dummy 명령어로 확인 가능하다.
파이썬 ftp로 접속후 한글파일 다운로드 import ftplib import os # ftp 정보 host = 'server' user = 'id' passwd = 'pw' try: # ftp 연결 with ftplib.FTP() as ftp: ftp.connect(host=host,port=21) print(ftp.getwelcome()) # 접속 메세지 출력 ftp.encoding = 'utf-8' ftp.sendcmd('OPTS UTF8 ON') # 이 문구를 넣어줘야 한글 사용이 가능함 s = ftp.login(user=user,passwd=passwd) ftp.cwd('/테스트폴더A') dirlist = ftp.nlst() print(dirlist) ftp.cwd('테스트폴더B') dirlist = ftp.nlst() print(di..
codef.io php로 토큰값 가져오기 $url = "https://oauth.codef.io/oauth/token?grant_type=client_credentials&scope=read"; $clientId = "클라이언트ID"; $clientSecret = "클라이언트시크릿키"; $credentials = base64_encode($clientId.":".$clientSecret); $headers = []; $headers[] = "Authorization: Basic {$credentials}"; $headers[] = 'Content-Type: application/json'; $headers[] = 'Cache-Control: no-cache'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL..

반응형