brunch

You can make anything
by writing

C.S.Lewis

by Master Seo Jun 06. 2020

391. MediaLive, 이미지 삽입

<0> 구성


S3------ 미디어 라이브 (입력 1,2,3) --------- 미디어 라이브 channel (출력 , 스케줄러) ------- 미디어 패키지



<1>  MediaLive  , MediaPackage  한번 실행해보기

<2> live stream에  이미지 넣기

<3> 여러 입력 간 전환




<1>  MediaLive  , MediaPackage  한번 실행해보기


1. 미디어 라이브 시작하기


Service > MediaLive > 입력 >

Service > MediaLive > 채널 > 시작  > 대상 탭 확인


2  미디어 패키지에서 동영상 확인하기

Service > MediaPackage > Channels >  Endpoints  >    ID  > 클릭 >  Play




<2> live stream에  이미지 넣기


1

Service > MediaLive  > Channels >  Schedule    > create

insert aws logo  

action type : Static image activate 선택

url

//  png 이미지  S3 버킷 위치 ,  https://s3-us-xxxxx.png

imagex

1920

imagey

1080

fade-in

1000


시간 설정

https://time.is/UTC

create


2

create

fade out aws logo

fixed

static image deactive

time

fade out

1000

create



Secheduled actions > Action

modify > Dlelete actions


switch to timeline view




<3> 여러 입력 간 전환


 MediaLive


1

create multiple inputs

2

attaching inputs to a channel

3

scheduling input switches



# create multiple inputs


1

 MediaLive >   input > create input

timbers_1920x1080

mp4

imput source a  + b

//  mp4 S3 버킷 위치 ,  https://s3-us-we.xxxxxx.mp4

create


2

inputs

create inputs

bunny_1920x1080

mp4

imput source a  + b

//  mp4 S3 버킷 위치 ,  https://s3-us-we.xxxxxx.mp4

create


3  

inputs


create inputs

motocross_1920x1080

mp4

imput source a  + b

//  mp4 S3 버킷 위치 ,  https://s3-us-we.xxxxxx.mp4

create





# attaching inputs to a channel


1

channels

stop

actions

edit

channel

add

input attachments > add

confirm


general input setting , LOOP

update channel

start



#  scheduling input switches


channels  > schedule  > create

switch to timbers

action type : input switch

create


create

switch to motocross

switch to bunny




<4>여러 입력을 이용 재생목록 생성


1 입력의 최종 동작 수정  : 종료를 loop에서 continue로


medialive >  stop   > channel state idle로 변경된다.

action >  edit  

channel - input attachments


general input settings , source end behavior   loop-> continue

update channel



2. 다양한 입력 스케줄 변경


schedule

actions

delet action

delete scedule action

delete


create

start playlist

create

create

switch to timbers

timbers_1920x1080

create


start


감사합니다.                                                                                                                                                                                                                                                                                                                                                                               


매거진의 이전글 390. Live Streaming,CloudWatch

작품 선택

키워드 선택 0 / 3 0

댓글여부

afliean
브런치는 최신 브라우저에 최적화 되어있습니다. IE chrome safari