전체 글

전체 글

    save the bytes to a file

    chilkatsoft.com/p/p_198.asp

    20210621

    107 - Tyga 2021. 06. 21 strong parameters permit: whitelist를 지정할 수 있다. require: 필수적으로 포함할 값을 지정할 수 있다. for in 리스트에 담긴 데이터를 순차적으로 출력하는 방식 for each for in과 동일

    20210618

    106 - Tyga 2021. 06. 18 AWS lambda function completion triggers another lambda function https://stackoverflow.com/questions/62220738/aws-lambda-function-completion-triggers-another-lambda-function Calling aws lambda function from another lambda function https://www.sqlshack.com/calling-an-aws-lambda-function-from-another-lambda-function/

    20210617

    105 - Tyga 2021. 06. 17 ffmpeg-python merge import ffmpeg input_video = ffmpeg.input('./test/test_video.webm') input_audio = ffmpeg.input('./test/test_audio.webm') ffmpeg.concat(input_video, input_audio, v=1, a=1).output('./processed_folder/finished_video.mp4').run() using ffmpeg in lambda import json import os import subprocess import shlex import boto3 S3_DESTINATION_BUCKET = "ugc-destination-..

    20210616

    104 - Tyga 2021. 06. 16 aws boto3 s3 https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html aws lambda ffmpeg https://velog.io/@leyoug/Lambda-S3-FFmpeg-cayt4tmh python - https://stackoverflow.com/questions/47044448/how-to-install-ffmpeg-on-aws-lambda-machine lambda로 s3 접근 가능 url 가져오는 법 https://burning-camp.tistory.com/43 예시 import logging import boto3 import ffmpeg lo..

    20210615

    103 - Tyga 2021. 06. 15 Agora Cloud Recording https://docs.agora.io/en/cloud-recording/product_cloud_recording?platform=RESTful 실행 Get a resource ID 녹화 전에, acquire method를 불러와야 한다. resource ID를 신청해야 한다. non-real-time transcoding을 사용하고 싶으면, scene을 2로 설정한다. http request 예시 (acquire) https://api.agora.io/v1/apps//cloud_recording/acquire Content-type: application/json;charset=utf-8 Authorization: ht..