- VLC Version 2.2.4 Weatherwax (Intel 64bit) on OS X 10.9
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095
| ## NHKのネット配信サービスであるらじる★らじる。 | |
| # 従来は https://gist.github.com/riocampos/5656450 のように rtmpdump を使う必要がありましたが、 | |
| # 2017年9月から m3u8 による配信へ変更になったようです。m3u8 なので10秒単位での録音になります。 | |
| # また 2021年4月に更新され、以前の M3U8URL は2022年2月末で廃止されました。 | |
| ## 録音コマンド(m4a) | |
| ffmpeg -i M3U8URL -c copy outputfilename.m4a | |
| # ファイルサイズ的に m4a が最も小さくなる | |
| # m4a ファイルのときだけ "-c copy" オプションが使える。 |
| // Makefile | |
| // ${workspaceRoot} the path of the folder opened in VS Code | |
| // ${file} the current opened file | |
| // ${fileBasename} the current opened file's basename | |
| // ${fileDirname} the current opened file's dirname | |
| // ${fileExtname} the current opened file's extension | |
| // ${cwd} the task runner's current working directory on startup | |
| { | |
| "version": "0.1.0", | |
| "command": "bash", |
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095
| from __future__ import print_function | |
| import os | |
| import shutil | |
| import stat | |
| import subprocess | |
| import time | |
| import numpy as np | |
| from scipy.io import wavfile | |
| import re | |
| import glob |
| #include <cstdint> | |
| #include <iostream> | |
| #include <memory> | |
| #include <string> | |
| #include <curl/curl.h> | |
| #include <json/json.h> | |
| namespace | |
| { |
| #!/usr/bin/env python | |
| import socket | |
| import subprocess | |
| import os, sys | |
| MPV_SOCKET = "/tmp/mpvsocket" | |
| CIDER = "cider.hq.c3d2.de" | |
| IS_PYTHON2 = sys.version_info < (3, 0) | |
| if IS_PYTHON2: |
| // fun.cpp | |
| // This is for Lua 5.2, for Lua 5.1, see https://gist.github.com/kizzx2/1594905 | |
| #include <lua.hpp> | |
| #include <iostream> | |
| #include <sstream> | |
| class Foo | |
| { |
| // fun.cpp | |
| extern "C" | |
| { | |
| #include <lua.h> | |
| #include <lauxlib.h> | |
| #include <lualib.h> | |
| } | |
| #include <iostream> |