Skip to content

Instantly share code, notes, and snippets.

View Chuckame's full-sized avatar

Chuckame Chuckame

View GitHub Profile
@Chuckame
Chuckame / to-ac3.sh
Last active November 1, 2019 13:51
Convert video audio to AC3 to be compatible for my Z906 speakers
# With ffmpeg installed :
for f in *.mkv ; do ffmpeg -hide_banner -i "$f" -map 0 -c:v copy -c:a ac3 -c:s copy "${f%.mkv}.AC3.mkv" ; done
# Without ffmpeg installed
for f in *.mkv ; do docker run --rm -v multimedia-series:/temp/ jrottenberg/ffmpeg:4.1-scratch -stats -hide_banner -i /temp/"$f" -map 0 -c:v copy -c:a ac3 -c:s copy /temp/"${f%.mkv}.AC3.mkv" ; done
@Chuckame
Chuckame / youtube.com.php
Created February 13, 2017 23:03 — forked from ejb1123/youtube.com.php
youtube plugin for glype
<?php
/*******************************************************************
* Glype is copyright and trademark 2007-2013 UpsideOut, Inc. d/b/a Glype
* and/or its licensors, successors and assigners. All rights reserved.
*
* Use of Glype is subject to the terms of the Software License Agreement.
* http://www.glype.com/license.php
******************************************************************/
define('high_quality', true);