This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
"""A python script to perform audio watermark embedding/detection | |
on the basis of direct-sequence spread spectrum method.""" | |
# Copyright (C) 2020 by Akira TAMAMORI | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script builds an ffmpeg4 allowing us to install PyAV with pip3 install av | |
# I tried to make it use cuda, but failed, so far only libx264 works well (a fast cpu encoder). | |
# I'm using jetson agx 32 with jetpack 4.6 on ubuntu 18 | |
# makesure jetpack packages are install (cuda part is removed from original script) | |
# it doesn't use nvmpi hardware encoder but rather tries to use gpu/cuda accelaration | |
# I couldn't make nvmpi version (ffmpeg-jetson repo) work successfully. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Renames subtitles files according to tv shows names found in a directory and its subdirectories RECURSIVELY | |
# Acceped syntaxes for season/episode are: 304, s3e04, s03e04, 3x04, Season 03 Episode 04 (case insensitive) | |
# | |
# Usage: | |
# Put this gist somewhere in your $PATH, like /usr/local/bin/subtitles-renamer | |
# Chmod +x it | |
# cd ~/YourHolidaysTvShowsWithSubtitles | |
# subtitles-renamer |