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 | |
CC="gcc" | |
CFLAGS="-march=native -O3 -pipe" | |
LDFLAGS="-Wl,-O1 -Wl,--as-needed" | |
LIBNAME="libfmtconv.so" | |
SOURCEFILES=$(echo AvstpWrapper.cpp; echo main.cpp; ls fmtc/*.cpp; ls fmtcl/*.cpp; ls fstb/*.cpp; ls vsutl/*.cpp) | |
for i in ${SOURCEFILES}; do |
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
[Desktop Entry] | |
Name=VSEdit | |
GenericName=VapourSynth Editor | |
Comment=Create or edit VapourSynth Scripts | |
Type=Application | |
MimeType=text/x-vpy; | |
Exec=env PYTHONPATH=/usr/local/lib/python3.8/site-packages /usr/local/bin/vsedit | |
Icon=vsedit | |
Terminal=false | |
StartupNotify=false |
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 | |
## | |
hash mediainfo 2>/dev/null || { echo >&2 "MediaInfo n'est pas installé. Installez-le avant de relancer ce script."; exit; } | |
hash ffmpeg 2>/dev/null || { echo >&2 "FFmpeg n'est pas installé. Installez-le avant de relancer ce script."; exit; } | |
if [ -z "$1" ]; then echo -e "N'oubliez pas de mettre le nom du fichier vidéo en argument.\nExemple : ./mediainfo+.sh [Katamuki]_Shinsekai_Yori_01_720p10_[A6BA1D0B].mkv"; exit; fi | |
if [ "$2" != "" ]; then echo -e "Mettez le nom du fichier vidéo entre guillemets.\nExemple : ./mediainfo+.sh \"[Katamuki] Shinsekai Yori 01 720p10 [A6BA1D0B].mkv\""; exit; fi | |
if [ $(ps -hp $$ | awk '{print $5}') != /bin/bash ]; then echo -e "Ce script doit être lancé avec bash.\nExemple : bash mediainfo+.sh [Katamuki]_Shinsekai_Yori_01_720p10_[A6BA1D0B].mkv"; exit; fi | |
Video="$1" | |
mediainfo=$(mediainfo "$Video") |
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
--- yakuake.po.1 2015-07-08 00:58:26.250331036 +0200 | |
+++ yakuake.po 2015-07-08 01:03:14.280323421 +0200 | |
@@ -1385,12 +1385,10 @@ | |
msgstr "Console" | |
#: app/tabbar.cpp:949 | |
-#, fuzzy, kde-format | |
-#| msgctxt "@title:tab" | |
-#| msgid "Shell No. <numid>%1</numid>" | |
+#, kde-format |
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
FichierSource='mpv-shot0006.png' | |
import vapoursynth as vs | |
import functools | |
core=vs.get_core() | |
def band(x,y): | |
if x==y: | |
return 255 | |
else: |
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
10-Bit H.264 | |
For all those who haven’t heard of it already, here’s a quick rundown about the | |
newest trend in making our encodes unplayable on even more systems: So-called | |
high-bit-depth H.264. So, why another format, and what makes this stuff | |
different from what you know already? | |
First off: What is bit depth? | |
In short, bit depth is the level of precision that’s available for storing color | |
information. The encodes you’re used to have a precision of 8 bits (256 levels) |
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
def nnedi3_rpow2(clip,rfactor,correct_shift="zimg",nsize=0,nns=3,qual=None,etype=None,pscrn=None,opt=None,int16_prescreener=None,int16_predictor=None,exp=None): | |
import vapoursynth as vs | |
core = vs.get_core() | |
def edi(clip,field,dh): | |
return core.nnedi3.nnedi3(clip=clip,field=field,dh=dh,nsize=nsize,nns=nns,qual=qual,etype=etype,pscrn=pscrn,opt=opt,int16_prescreener=int16_prescreener,int16_predictor=int16_predictor,exp=exp) | |
return edi_rpow2(clip=clip,rfactor=rfactor,correct_shift=correct_shift,edi=edi) | |
def znedi3_rpow2(clip,rfactor,correct_shift="zimg",nsize=0,nns=3,qual=None,etype=None,pscrn=None,opt=None,int16_prescreener=None,int16_predictor=None,exp=None): |
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
# -*- coding: utf-8 -*- | |
import numpy as np | |
import vapoursynth as vs | |
def bool_to_number(function): | |
def wrapped(*args): | |
value = function(*args) | |
return np.where(value, np.array(1.0), np.array(-1.0)) | |
return wrapped |
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
# Maintainer: Yamashita Ren | |
# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com> | |
_plug=havsfunc | |
pkgname=vapoursynth-plugin-${_plug}-git-light | |
pkgver=r21.0.g1c17eda | |
pkgrel=1 | |
pkgdesc="Plugin for Vapoursynth: ${_plug}. (GIT Version, light depends)" | |
arch=('any') | |
url='http://forum.doom9.org/showthread.php?t=166582' |
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
import vapoursynth as vs | |
core = vs.get_core() | |
ClipA=core.ffms2.Source(source='[HorribleSubs] Kabaneri of the Iron Fortress - 02v2 [1080p].mkv') | |
ClipA=core.resize.Spline36(ClipA,854,480,vs.YUV440P8) | |
ClipT=core.ffms2.Source(source='[SAA] Koutetsujou no Kabaneri - 02 vostfr (1280x720 x264 AAC).mkv') | |
ClipT=core.resize.Spline36(ClipT,1913,1080,vs.YUV440P8) | |
ClipT=core.std.AddBorders(ClipT,3,4) | |
ClipT=core.resize.Spline36(ClipT,854,480) |