Add ffmpeg remuxing

This commit is contained in:
Kamil Trzcinski
2022-04-06 21:03:49 +02:00
parent 14c0290e22
commit ba676cda0e
4 changed files with 309 additions and 10 deletions

View File

@ -4,7 +4,7 @@ HTML := $(wildcard html/*.js html/*.html)
HTML_SRC := $(addsuffix .c,$(HTML))
camera_stream: $(SRC) $(HTML_SRC) $(HEADERS)
gcc -Werror -g -I$(PWD) -o $@ $(filter %.c, $^) -lpthread
gcc -Werror -g -I$(PWD) -o $@ $(filter %.c, $^) -lpthread -lavcodec -lavformat -lavutil
html/%.c: html/%
xxd -i $< > $@.tmp