Skip to content

Instantly share code, notes, and snippets.

View Vic-Chang's full-sized avatar
🎯
磨刀不誤砍材工

VicChang Vic-Chang

🎯
磨刀不誤砍材工
  • Taipei, Taiwan
View GitHub Profile
@eight04
eight04 / uao_decode.py
Last active September 27, 2021 02:57 — forked from andycjw/uao_decode.py
#! python3
import codecs
import struct
class Codec(codecs.Codec):
def encode(self,input,errors='strict'):
pass
@BenjaminPoncet
BenjaminPoncet / ffmpeg-wrapper
Last active June 21, 2024 11:40
Synology VideoStation ffmpeg wrapper with DTS, EAC3 and TrueHD support. This project is no longer maintained: Please see the following projects: https://github.com/darknebular/Wrapper_VideoStation/ - https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher
#!/bin/bash
rev="12"
_log(){
echo "$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - $1" >> /tmp/ffmpeg.log
}
_log_para(){
echo "$1" | fold -w 120 | sed "s/^.*$/$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - = &/" >> /tmp/ffmpeg.log