第29回Raspberry Piもくもく回
- ステレオの音声を送信できるようにする
- HLS or MpegDASH
- FFmpegをつかう
- もしくはGStreamer
- MpegDASHをつかう
- もしくはHLS
Dockerのmultiarch機能を使うとホストとは別のアーキテクチャのコンテナを実行できます
ここではarmhf用のraspberrypi osをDockerコンテナにすることでx86_64などのシステム上で実行してみます
Leverage multi-CPU architecture support
FROM debian:buster | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update && \ | |
apt-get install -y --no-install-recommends \ | |
cmake \ | |
build-essential \ | |
binutils-arm-none-eabi \ | |
gcc-arm-none-eabi \ | |
libnewlib-dev \ |
https://www.raspberrypi.org/documentation/pico/getting-started/
#include <WiFi.h> | |
#include <WiFiClient.h> | |
#include <WebServer.h> | |
#include <ESPmDNS.h> | |
#include <Preferences.h> | |
#include <esp_camera.h> | |
#include <img_converters.h> | |
#define APP_NAME "esp32camera" |
# -*- coding: utf-8 -*- | |
import sys | |
from urllib.request import Request, urlopen | |
from urllib.parse import urlencode | |
# todo: logging | |
def send_notify(key, message, media_url=''): | |
url = 'https://notify-api.line.me/api/notify' | |
payload = {'message': message} | |
headers = {'Authorization': 'Bearer %s' % key} |
# -*- coding:utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | |
# $Id$ | |
PortSystem 1.0 | |
PortGroup github 1.0 | |
github.setup ariya phantomjs 2.1.1 | |
name phantomjs | |
revision 1 |
2014-01-01 1 Purple Rain Niacin 4 | |
2014-01-01 2 A Change of Seasons Dream Theater 1 | |
2014-01-01 3 A Cool New Way Joe Satriani 1 | |
2014-01-01 4 A Door into Summer Joe Satriani 1 | |
2014-01-01 5 A Love Eternal Joe Satriani 1 | |
2014-01-01 6 Best Laid Plans Niacin 1 | |
2014-01-01 7 Best Of Times Richie Kotzen 1 | |
2014-01-01 8 Blue Mondo Niacin 1 | |
2014-01-01 9 Bluesion Niacin 1 | |
2014-01-01 10 Bootleg Jeans Niacin 1 |