Skip to content

Instantly share code, notes, and snippets.

Avatar
👿
work work!

OnO flxxyz

👿
work work!
View GitHub Profile
@ihipop
ihipop / frp systemd.md
Last active Dec 9, 2020
FRP systemd 启动脚本 FRP systemd init config
View frp systemd.md
View ffmpeg-cmd.md

video subtitle

ffmpeg -i *.mp4 -vf subtitles=*.srt output.mp4

element stream to ts

  • ffmpeg -i audio.aac -i ch2.h264 -acodec copy -vcodec copy -f mpegts out.ts

rtsp 2 rtmp

  • ffmpeg -rtsp_transport tcp -i rtsp://fuck.com/fuck/fuck -c copy -f flv rtmp://shit.com/shit/shit

截图片

@tlikai
tlikai / container.php
Created Jul 26, 2013
PHP Dependency Injection Container
View container.php
<?php
class Container
{
protected $setings = array();
public function set($abstract, $concrete = null)
{
if ($concrete === null) {
$concrete = $abstract;
You can’t perform that action at this time.