mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 23:25:50 +03:00
40494f74a1
The media files are used in new media converter. CW-Bug-Id: #23225
13 lines
591 B
Makefile
13 lines
591 B
Makefile
all: blank.mkv blank.ptna
|
|
|
|
blank.mkv:
|
|
#120 frames @ 30 FPS == 4 seconds
|
|
gst-launch-1.0 videotestsrc num-buffers=120 pattern=smpte ! 'video/x-raw,format=(string)I420,width=320,height=240,framerate=(fraction)30/1' ! av1enc ! queue ! mux. audiotestsrc num-buffers=400 freq=0 samplesperbuffer=441 ! 'audio/x-raw,rate=48000,channels=2' ! opusenc ! queue ! mux. matroskamux name=mux ! filesink location=blank.mkv
|
|
|
|
make_blank_ptna: make_blank_ptna.c
|
|
gcc -Wall -O2 $(shell pkg-config --cflags opus) -o $@ $< -lm $(shell pkg-config --libs opus)
|
|
|
|
blank.ptna: make_blank_ptna
|
|
./make_blank_ptna $@
|
|
|