Skip to content

Instantly share code, notes, and snippets.

@hunny
hunny / TranslateToChineseOnYouTube.user.js
Created August 22, 2019 04:58 — forked from qwertyuiop6/TranslateToChineseOnYouTube.user.js
Translate to Chinese automatically. youtube自动翻译中文简体
// ==UserScript==
// @name 自动翻译->字幕中文简体
// @namespace http://tampermonkey.net/
// @version 0.1
// @description translate to Chinese automatically.
// @author qwertyuiop6
// @match https://www.youtube.com/watch*
// @require https://cdn.bootcss.com/jquery/3.4.0/jquery.min.js
// @grant none
// ==/UserScript==
@hunny
hunny / Convert audio to video with ffmpeg - examples.md
Created September 26, 2018 15:22 — forked from CannonballSkippy/Convert audio to video with ffmpeg - examples.md
A list of examples on how you can use filters to make visual representations of audio using ffmpeg

Convert audio to video with ffmpeg - examples

ffmpeg -i input.mp3 -filter_complex "[0:a]avectorscope=s=1920x1080,format=yuv420p[v]" -map "[v]" -map 0:a avectorscope.mp4
ffmpeg -i input.mp3 -filter_complex "[0:a]showcqt=s=1920x1080,format=yuv420p[v]" -map "[v]" -map 0:a showcqt.mp4
ffmpeg -i input.mp3 -filter_complex "[0:a]ahistogram=s=1920x1080,format=yuv420p[v]" -map "[v]" -map 0:a ahistogram.mp4