[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/kpop/ - KPOP GENERALLY

funposting encouraged
Email
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Flag
Embed
(replaces files and can be used instead)
Oekaki
Show oekaki applet
(replaces files and can be used instead)
Options
dicesidesmodifier

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov, pdf
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: c9a3ff44c791edc⋯.jpg (672.62 KB,1210x1458,605:729,DCCzh5TUAAAg59N.jpg)

 No.76893 [View All]

a collection of guides/scripts/general quality of life improvements for /^kne{1,2}(ts|rd)s?$/

Downloading from YouTube v3.0

https://git.io/v5sMF

MPV Guide v2.0

https://github.com/kpganon/MPV

Ripping HR KPICS with DownThemAll! v1.2

https://git.io/v5GLm

Scraping Tistory (special thanks to kagami)

https://github.com/Kagami/tistore/releases

https://github.com/kpganon/Guides

https://kpganon.github.io/

15 postsand23 image repliesomitted. Click reply to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.76970

File: 5265e69aa0b7dbf⋯.webm (5.88 MB,957x977,957:977,5265e69aa0b7dbff1d261c25e….webm)

https://github.com/Kagami/boram

this is his aio webm program, it's pretty good. better than webm4retards in some ways and worse in others, personally i don't use it but others might

the biggest drawback for me is not being able to cut by exact frame like with webm4retards and the filesize limit doesn't work that well which makes it kind of a guessing game if you're doing crf

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.76971

File: 96e5bd1624ccb3e⋯.png (1.14 MB,2400x3420,40:57,ffmpeg_WebM_Guide_v1.0.1.png)

https://github.com/Kagami/webm.py

this is his best script by far imo. it's basically an ffmpeg wrapper written in python with mpv integration, it simplifies the process a lot even if you're not using an alias to shorten the commands further (which you should be)

if you install it with pip (highly reccomended) basic usage is as follows

webm -i "C:/path/to/input.mp4" -vh 720 -an -l 3 -mt "[title/source url here]" -vp8 -vf reverse,atadenoise,"setpts=2.0*PTS" -o "C:/path/to/output.webm"

this will output an audioless webm downscaled to 720 vertical resolution with 3MB file restraint adding a metadata title and then applying filters which in this case are reversing the video, denoising and then slowing by 50%

* https://ffmpeg.org/ffmpeg-filters.html

as an alias this can be shortened to

webm $1 -vh 720 -an -l $2 -mt "$3" -vp8  -o $4

where

$1 = "C:/path/to/input.mp4"

$2 = desired filesize

$3 = source url (no spaces)

$4 = "C:/path/to/output.webm"

this would shorten your input to

webm "C:/path/to/input.mp4" 3 [URL] "C:/path/to/output.webm"

this can further be shortened to simply

webm "C:/path/to/input.mp4"

but i'll save aliases for another post

https://github.com/Kagami/webm.py/wiki/Related-links

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.76975

File: 09a3d752068ee8b⋯.webm (1.16 MB,1074x465,358:155,output2.webm)

https://gitgud.io/nixx/WebMConverter

then we have good ol' webm4retards. everybody knows this one but they might not be aware of how powerful it can be if you know how to use avisynth scripts

multiple trim works by selecting multiple start/end points for multiple clips that you want to join together, everything outside of those bounds will be skipped

preview filters will open ffplay to preview all effects, this is especially useful when using avisynth filters

export will export an .avs script file with your filename and effects which you can then input into ffmpeg for advanced editing

then finally on the advanced tab you can write avisynth script directly. there are a lot of things you can do with this (see http://avisynth.nl/index.php/Internal_filters) but here are just a few examples

# Trim video by frame
#Trim(start_frame, end_frame)
Trim(173, 2348)

# Flip video
FlipHorizontal
FlipVertical

# Fade In/Out
#FadeIn(#_of_frames) // FPS * (Fade time in seconds)

FadeIn(60)
FadeOut(60)

# Crop
# Crop 8px off the left, 2px off the top, 9px off the right, and 0px off the bottom
Crop(8, 2, -9, 0)

#Resize
#LanczosResize(W, H)
LanczosResize(1920, 1080)

#Tweak (contrast, brightness, hue, saturation etc)
* see http://avisynth.nl/index.php/Tweak

Tweak(cont=1.2, bright=-20)

it works like a regular script in that it's all sequential so order matters here

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.76977

File: d754fbf2c6ba1af⋯.png (128.14 KB,1446x1165,1446:1165,anon-guide.png)

File: 4a12f5c135d7d74⋯.jpg (104.15 KB,1191x670,1191:670,axiom___an_ffmpeg_interfac….jpg)

https://axiomui.github.io/

also there's this. i haven't tried it yet but you can save presets and export commands which is convenient

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.82221

File: 7228b2ebbe699e4⋯.jpg (79.25 KB,720x713,720:713,DGyvi0wV0AAp65D.jpg)

Setting up aliases on windows:

1. Navigate to your home directory (windows key + R, "%USERPROFILE%")

2. Create a text file and name it mybatfile.cmd

3. Add the following lines and save

@echo off
doskey /macrofile="%USERPROFILE%\myaliases.txt"

4. Create a second text file and name it myaliases.txt

5. Add desired aliases here and save

ydl=youtube-dl -f bestvideo+bestaudio $*

6. Run Command Prompt (windows key + R "cmd")

7. Input the following string

reg add "HKCU\Software\Microsoft\Command Processor" /v AutoRun ^ /t REG_EXPAND_SZ /d "%"USERPROFILE"%\mybatfile.cmd" /f

* this will make your aliases load every time you launch terminal

* to delete it:

reg delete "HKCU\Software\Microsoft\Command Processor" /v AutoRun

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.82223

File: b58a2b30e5ba3a0⋯.jpg (53.5 KB,570x608,15:16,b58a2b30e5ba3a0377b71fa0c0….jpg)

a handful of aliases to get you started, you'll have to change the paths on some of them but you get the idea:

;= is a comment
;= [optional] set variables in %USERPROFILE%\mybatfile.cmd as follows:
;= YYYYMMDD
;= SET DATESTAMP=%Date:~-2,2%%Date:~4,2%%Date:~7,2%
;= HH_MM_SS
;= SET TIMESTAMP=%time:~0,2%_%time:~3,2%_%time:~6,2%
;= SET DESKTOPDIR=%USERPROFILE%\Desktop\

;= Shortcuts

;= open desktop in explorer
desktop=cd /D %USERPROFILE%\Desktop

;= open current directory in explorer
e=start .

;= open alias file in default editor
aliasfile="%USERPROFILE%\myaliases.txt"

;= open files in notepad2
batfile="C:\Program Files\Notepad2\Notepad2.exe" C:\Users\HTPC\mybatfile.cmd
hangul="C:\Program Files\Notepad2\Notepad2.exe" H:\ORGANIZE2\KPOP\hangul.txt


;= Youtube-dl

;= best available with m4a audio
ydl=youtube-dl -f bestvideo+bestaudio[ext=m4a]/bestaudio $*

;= audio only to custom dir
ydla=youtube-dl -f bestaudio --extract-audio --audio-format mp3 --download-archive C:\Users\HTPC\AppData\Roaming\youtube-dl\downloaded.txt --embed-thumbnail --add-metadata -o "E:\youtube-dl\New\music\%(uploader)s\%(title)s.%(ext)s" $*

;= best single format available
ydlb=youtube-dl -f best $*

;= video only to custom dir
ydlv=youtube-dl -f bestvideo $* -o "C:\Users\HTPC\Desktop\%(uploader)s - %(title)s.%(ext)s"

;= best available to custom dir (for twitter videos)
dlt=youtube-dl -f best $* -o "C:\Users\HTPC\Desktop\%(uploader)s - %(title)s.%(ext)s"

;= download soundcloud user's uploads to custom dir
soundrip=youtube-dl --ignore-config --extract-audio --audio-format mp3 https://soundcloud.com/$1 --download-archive "C:\Users\HTPC\AppData\Roaming\youtube-dl\downloaded.txt" -o "H:\RIPS\Soundcloud\$1\%(uploader)s - %(title)s.%(ext)s"

;= copy direct url to clipboard
geturl=youtube-dl -f best -g $1|clip
geturlb=youtube-dl -f $2 -g $1|clip

;= get bestvideo available in mp4 format via youtube-dl and pip into mpv for viewing (useful for the mpv webm plugin which only supports mp4 with no audio from streaming sources)
ydlcut=youtube-dl -f bestvideo[ext=mp4]/best -g $1 | xargs mpv

;= FFMPEG

;= 2pass encoding from url
webffm="C:\Users\HTPC\ffmpeg.exe" -i $1 -y -codec:v libvpx -quality good -cpu-used 0 -b:v 500k -qmin 10 -qmax 42 -maxrate 500k -bufsize 1000k -threads 4 -vf scale=-1:720 -an -pass 1 -f webm NUL && "C:\Users\HTPC\ffmpeg.exe" -i $1 -codec:v libvpx -quality good -cpu-used 0 -b:v 500k -qmin 10 -qmax 42 -maxrate 500k -bufsize 1000k -threads 4 -vf scale=-1:720 -codec:a libvorbis -b:a 128k -pass 2 -f webm "C:\Users\HTPC\Desktop\%DATESTAMP%@%TIMESTAMP%.webm"

;= remove audio from webm without reencoding
ffcopy=ffmpeg -i $1 -vcodec copy -an "C:\Users\HTPC\Desktop\%DATESTAMP%@%time:~0,2%_%time:~3,2%_%time:~6,2%.webm"

;= copy vcodec and reencode audio
ffcopyaudio=ffmpeg -i $1 -vcodec copy -acodec libvorbis "C:\Users\HTPC\Desktop\%DATESTAMP%@%time:~0,2%_%time:~3,2%_%time:~6,2%.webm"

;= convert file to mp4
ffmp4=ffmpeg -i $1 -vcodec libx264 -acodec aac "C:\Users\HTPC\Desktop\%DATESTAMP%@%time:~0,2%_%time:~3,2%_%time:~6,2%.mp4"

;= WEBM.PY (https://github.com/Kagami/webm.py)

;= 4chan
webm4chan=webm.py -i $1 -vh 720 -an -l 3 -mt "$2" -vp8 -o %DESKTOPDIR%%DATESTAMP%@%TIMESTAMP%.webm
webm4chan2=webm.py -i $1 -vh $2 -an -l 3 -mt "$3" -vp8 -o %DESKTOPDIR%%DATESTAMP%@%TIMESTAMP%.webm
webm4chan3=webm.py -i $1 -vh $2 -an -l $3 -mt "$4" -vp8 -o %DESKTOPDIR%%DATESTAMP%@%TIMESTAMP%.webm
webm4chansd=webm.py -i $1 -vh 480 -an -l 3 -mt "$2" -vp8 -o %DESKTOPDIR%%DATESTAMP%@%TIMESTAMP%.webm


;= 8chan
webm8chan=webm.py -i $1 -vh 1080 -an -l 12 -mt "$2" -vp8 -o %DESKTOPDIR%%DATESTAMP%@%TIMESTAMP%.webm
webm8chana=webm.py -i $1 -vh 1080 -l 12 -mt "$2" -vp8 -o %DESKTOPDIR%%DATESTAMP%@%TIMESTAMP%.webm


;= MPV

;= open given playlist file in mpv
mpvp="C:\Users\HTPC\mpv.exe" -shuffle -volume=100 --no-resume-playback --window-scale=0.25 $*

;= open predefined playlist file in mpv
mpvpl="%USERPROFILE%\mpv.exe" -shuffle -volume=100 --no-resume-playback --window-scale=0.25 "%USERPROFILE%\Desktop\playlist.m3u"

;= open audio file in mpv console
mpva=mpv --no-video -volume=100 $*

;= search youtube for audio
mpvs=mpv --no-video --ytdl-format=bestaudio ytdl://ytsearch100:"$*"

;= search youtube for audio with custom # of results
mpvs2=mpv --no-video --ytdl-format=bestaudio ytdl://ytsearch$2:\"$1\"


;= OTHER

;= open private fapcam playlist in mpv and shuffle
fapcams=mpv --ytdl-format=bestvideo+bestaudio --ytdl-raw-options=username=[email],password=[password] --shuffle [PRIVATE PLAYLIST URL]

;= open files in media player
vlc="C:\Program Files (x86)\VLC\vlc.exe" $1
mpc="C:\Program Files (x86)\MPC-HC\mpc-hc.exe" /fullscreen "$*"


;= ***END***
;=

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.82224

File: 6e2d72d9f1e8e22⋯.webm (1.76 MB,985x672,985:672,output.webm)

File: 1015127d6001800⋯.jpg (90.87 KB,767x492,767:492,ConEmu64_2017-08-25_23-51-….jpg)

File: ce93c73e1782d16⋯.jpg (67.96 KB,767x492,767:492,ConEmu64_2017-08-25_23-51-….jpg)

File: b5f0884f91aac87⋯.jpg (105.25 KB,767x492,767:492,ConEmu64_2017-08-25_23-52-….jpg)

File: 88005eb7719e32c⋯.jpg (4.4 MB,3840x2160,16:9,Uk702nI.jpg)

https://conemu.github.io/

https://draculatheme.com/conemu/

should have posted this sooner but this is the best console i've found so far

you can split the terminal with ctrl+T by adding this task if it's not there already (see settings pic)

*cmd /k "%ConEmuDir%\..\init.bat"  -new_console:s50W

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.82225

File: 2c59abcd4fa07a4⋯.webm (1.23 MB,1121x726,1121:726,output.webm)

File: 7978b385e0c25ee⋯.pdf (278 B,100x100,1:1,Remove Copy as Path Option.pdf)

File: 5fee11a24335479⋯.pdf (726 B,100x100,1:1,Add Copy as Path Option.pdf)

File: 3f4c25d26f977eb⋯.jpg (101.06 KB,767x492,767:492,ConEmu64_2017-08-26_00-07-….jpg)

another qol improvement is adding copy as path to the windows context menu. for commandline stuff it's better to just drag+drop the file onto the console but this is still p useful for hangul filenames

either save the following script as .reg or just download the .pdf files and change the extension

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Copy as Path]

[HKEY_CLASSES_ROOT\*\shell\Copy as Path\command]
@="cmd.exe /c chcp 65001 && echo "%1"|clip && chcp 437"

[HKEY_CLASSES_ROOT\Directory\shell\Copy as Path]

[HKEY_CLASSES_ROOT\Directory\shell\Copy as Path\command]
@="cmd.exe /c chcp 65001 && echo "%1"|clip && chcp 437"

there is a bug with this that registers an empty second line which will send {enter} if pasted into a console. idk why it does that but if you paste into any other program/text box it works fine

also depending on your nationality your chcp might be different. to check just type "chcp" into console and it will say "Active code page: xxx"

if it's anything other than 437 you can change both lines in the script to match but it doesn't actually matter since it's a seperate console that closes immediately after.

also note there's a setting in conemu that will make all .bat/.cmd/etc files run through conemu instead of the default command prompt. it's not necessary but i prefer it

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.85065

File: ebfd470df4d3202⋯.jpg (27 KB,307x292,307:292,chrome_2017-09-05_08-52-17.jpg)

https://github.com/Thann/play-with-mpv

https://chrome.google.com/webstore/detail/play-with-mpv/hahklcmnfgffdlchjigehabfbiigleji?utm_source=chrome-app-launcher-info-dialog

this is a good alternative method for launching videos in mpv via the chrome (much easier with firefox https://addons.mozilla.org/en-US/firefox/addon/open-with/) context menu or an extension button. normally i would just drag+drop the url onto mpv but if it's not already open this is really useful

easy install assuming you already have git and python:

git clone https://github.com/Thann/play-with-mpv && cd play-with-mpv && start server.py

or just download manually. afterwards make a bat script to run this at startup if you wish

open your startup folder

win key+r "shell:startup"

create start_mpvserver.bat and paste the following

start "C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python35-32\python.exe" C:\Users\%USERNAME%\play-with-mpv\server.py

this assumes you have python 3 installed and installed play-with-mpv in your home directory. if not this should work too

python C:\path\to\play-with-mpv\server.py

after that just go to any page that works with youtube-dl (https://rg3.github.io/youtube-dl/supportedsites.html) and click the mpv icon or right-click a url to open via the context menu

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.85319

File: 5daaee8c3756db6⋯.webm (3.66 MB,1302x874,651:437,output2.webm)

https://www.strem.io/

https://www.strem.io/faq

http://addons.strem.io/

stremio is a pretty dope aio for content streaming/discovery from a number of sources like youtube, netflix, rarbg.to and most notably torrent files directly. there are several addons you can install either through the site or manually

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.85683

File: 685d34202902051⋯.webm (903.03 KB,1684x931,1684:931,output.webm)

https://github.com/mafintosh/peerflix

i found another way to stream torrent files/magnets through mpv directly. it requires a package manager called npm but other than that it's pretty straight-forward

just install npm from here (download the .msi)

https://nodejs.org/en/download/

then open cmd.exe (winkey+r "cmd") and enter

npm install -g peerflix

after that you'll need to restart your computer for it to launch mpv correctly (i had to anyway). then, assuming it's a single-file torrent and you have mpv installed correctly (ie you can call it just by typing mpv in console), type the following

peerflix "[magnet link url or /path/to/file.torrent]" -r -k -f "X:/path/to/.temp"

to play with mpv

-r = remove files from %LOCALAPPDATA%\Temp\torrent-stream on exit (pretty sure this is broken atm but i have a workaround -- see below)
-l = interactively list all files (up/down arrows to choose)
-k = open with mpv player
-a = load all files in the torrent into .m3u (intended for music files only i think)
-f = path to tmp folder

you can shorten this with an alias like

mpvflix=peerflix $* -l -k -f "X:/path/to/.temp"

so input is simplified to just

mpvflix "magnet:?xt="

* notes:

+always wrap in double quotes

+launch speed/playback is entirely

dependent on swarm health

i also found this script https://gist.github.com/ElegantMonkey/bba287693830055a6bad90081c1ad4e2#file-peerflix-hook-lua which is a hook for peerflix that enables you to paste magnet links directly into mpv like any other url without using console but it appears it only works for linux

you can launch directly from the browser too if you use linux/firefox apprently http://www.webupd8.org/2014/03/peerflix-stream-torrents-with-vlc-or.html

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.85729

File: 9bb5fed2a7dff4c⋯.jpg (244.44 KB,1500x1000,3:2,UjvWVAB.jpg)

>>85683

the -r option doesn't work but we can do it manually by chaining a couple of scripts at the end of the peerflix command

1. you need to have your alias/bat files set up already. see >>82221

2. navigate to your home folder (winkey+r "%USERPROFILE%"

3. create the following scripts

cleartmp.cmd

@echo off
set dir="X:\path\to\.temp"
rmdir /s /q %dir%
mkdir %dir%

cleartmp.vbs

Set WshShell = CreateObject("WScript.Shell") 
WshShell.Run chr(34) & "C:\Users\%USERNAME%\cleartmp.bat" & Chr(34), 0
Set WshShell = Nothing

4. open your batfile.cmd and enter the following string

SET cleartmp=start "C:\Users\%USERNAME%\cleartmp.vbs"

5. then edit your aliases.txt and make an alias for peerflix like so

mpvflix=peerflix $* -l -k -f "X:/path/to/.temp" && cleartmp

now all files in your designated tmp folder will be deleted immediately after closing mpv without opening a second terminal window

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.86790

File: b05e685a6c2043e⋯.png (53.07 KB,698x393,698:393,glow.png)

https://glowmpv.github.io/

https://github.com/MattMcManis/Glow

so the guy who made axiom >>76977 just released a configurator for mpv.conf settings. really useful if you aren't familiar with all the options

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.86806

File: 3a67d189c13c6ec⋯.jpg (44.56 KB,384x427,384:427,rundll32_2017-09-13_19-39-….jpg)

File: 26f3f5625234cdb⋯.jpg (323.06 KB,894x962,447:481,ConEmu64_2017-09-13_20-35-….jpg)

File: 9358479b632c45c⋯.webm (571.74 KB,503x672,503:672,output.webm)

File: eddd3d4f33a792d⋯.jpg (27.39 KB,805x202,805:202,bin folder.jpg)

>>85065

https://chrome.google.com/webstore/detail/watch-with-mpv/gbgfakmgjoejbcffelendicfedkegllf

https://github.com/winneon/watch-with-mpv

a similar extension that simplifies this a bit just came out too. it creates a registry service so the server is automatically loaded. the only caveat is mpv/youtube-dl/ffmpeg all have to be in your %PATH%

this can be slightly complicated depending on how you have them installed (whether through pip/manually or some other package manager). if you don't know if they are in your path you can check by

1. opening terminal (winkey+r "cmd") then
cd %USERPROFILE%\Desktop
youtube-dl
ffmpeg
mpv

if the programs load from outside %USERPROFILE% then you're good to go. if not you'll have to append the directory that the executable is in to your %PATH% manually. there's a few different ways to do this but the shortest is to

1. winkey+r "rundll32 sysdm.cpl,EditEnvironmentVariables"
2. double-click PATH
3. add the parent folder of your exe to the end of the string
C:\Some\Other\Directory;C:\path\to\your\folder;
* probably easiest to use C:\Users\%USERNAME%\bin;

then either run "refreshenv" or restart cmd.exe and type "echo %PATH%" to see the changes. you should now be able to call mpv from any directory

if for some reason you can't (user %PATH% is >1024 characters for example) you can use this tool https://www.rapidee.com/en/download to set a system-wide %PATH% variable with all your .exe in the bin folder. then just

1. install the extension
2. download the installer from github
3. extract the archive into C:\Users\%USERNAME%\
4. right click install.bat and run as admin
5. profit

if it still doesn't work then try making copies of all 3 .exes + dlls in your %HOMEPATH%

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.88559

File: d9fe3740d892521⋯.jpg (67.52 KB,688x720,43:45,1506075712.jpg)

randomize filenames.sh

#!/bin/bash
for i in *.{jpg,png,gif,webm,mp4,mkv}; do

variable1=$(echo $(date +%s));
variable2=$(shuf -i 1-100000 -n 1);
filename=$(($variable1 + $variable2));
extension=$(echo "$i"|awk -F . '{print $NF}');
mv "$i" "$filename.$extension";

done

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.89724

File: 56d37492589f324⋯.jpg (27.94 KB,390x263,390:263,GoogleImageShell_2017-09-2….jpg)

File: 156abe3f89b8e1c⋯.jpg (34.99 KB,730x351,730:351,JPEGView_2017-09-27_09-11-….jpg)

https://github.com/apsun/GoogleImageShell

this is really useful for finding full res pics, i'm sure there's a similar tool for https://www.tineye.com/ and other sites too

just install the .exe on the releases page to a permanent directory like %home% and run as admin

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.95757

File: d1fb8f9ba30d449⋯.png (1.4 MB,1920x1080,16:9,scr.png)

Hi guys, I fixed tistory grabber. Should work now.

https://github.com/Kagami/tistore/releases/tag/v0.2.0

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.95854

File: af376c81f9e35da⋯.webm (3.61 MB,1920x1080,16:9,af376c81f9e35da7fd51a59f8….webm)

>>95757

<nunu

absolutely based! it works great thank you so much chingu

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.95857

>>95757

a bit unrelated but i use webm.py all the time and i noticed that it doesn't work with hangul text in either the filename or metadata. it gives one of two errors: "failed to parse duration of input file" or "list index out of range". for reference:

Exception in thread Thread-8:
Traceback (most recent call last):
File "c:\users\htpc\appdata\local\programs\python\python35-32
\lib\threading.py", line 914, in _bootstrap_inner
self.run()
File "c:\users\htpc\appdata\local\programs\python\python35-32
\lib\threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "c:\users\htpc\appdata\local\programs\python\python35-32
\lib\subprocess.py", line 1283, in _readerthread
buffer.append(fh.read())
File "c:\users\htpc\appdata\local\programs\python\python35-32
\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_tab
le)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in p
osition 243: character maps to <undefined>

Cannot proceed due to the following error: list index out of ra
nge

the same files with hangul text work perfectly using ffmpeg directly and i have my terminal encoding set to utf-8 (cp65001) so i'm pretty sure it's an issue either with python's default encoding or the webm.py code itself which i have no idea how to change. if i remove all hangul text from the filename and metadata it works fine though

is this a problem on my end or something you can fix within webm.py? thanks for all your help btw

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.95963

>>95857

Try now. Should work with Py3.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.95986

Download files faster

aria2c -o out.mp4 -j 16 -x 16 -s 16 -k 1M $(youtube-dl -g http://www.vlive.tv/video/123)
Naver CDN gives only ~1.5MB/s for single-threaded download, using 16 threads easily gives you 10MB/s. Same for tv.naver.com.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.96028

>>95963

https://git.io/vFITt

can confirm the new build works, thanks a ton!

any idea when this version will be updated to work with pip? i only ask because i have a bunch of aliases that use "webm" instead of "webm.py" i'd rather not change

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.96029

>>95986

+1 for aria2c, this command should work with any site supported by youtube-dl too (provided there aren't separated video+audio files like youtube)

https://aria2.github.io/

https://rg3.github.io/youtube-dl/supportedsites.html

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.96030

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.96089

>>96030

so i just reinstalled via pip and it still isn't working

C:\Users\HTPC\Desktop
λ webm
'webm' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\HTPC\Desktop
λ pip install webm
Collecting webm
Using cached webm-0.11.0.tar.gz
Installing collected packages: webm
Running setup.py install for webm ... done
Successfully installed webm-0.11.0

C:\Users\HTPC\Desktop
λ pip show webm
Name: webm
Version: 0.11.0
Summary: Encode WebM videos
Home-page: https://github.com/Kagami/webm.py
Author: Kagami Hiiragi
Author-email: kagami@genshiken.org
License: CC0
Location: c:\users\htpc\appdata\local\programs\python\python35-32\lib\site-packages

C:\Users\HTPC\Desktop
λ python C:\Users\HTPC\Desktop\webm.py --version
webm.py 0.11.0

the version number is updated but i get a "failed to parse duration of input file" error so i think it's the wrong code because i manually downloaded this https://git.io/vFIro version (before you fixed the version number) and it works fine but they both show as version 11.0

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.96090

>>96089

What does "pip –version" print?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.96092

>>96090

Hm, the code is correct, it's python's .exe wrapper issue.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.96095

File: 4f0d3e5e8b84c0e⋯.png (1.05 MB,918x1043,918:1043,stik2.png)

I think your best bet is to create webm.bat with

python c:\users\htpc\appdata\local\programs\python\python35-32\lib\site-packages\webm.py %*
Python is shit.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.96126

File: 56c6dfa6bcd767f⋯.png (1.99 MB,1410x1288,705:644,luda.png)

>>96095

i'm on pip 9.0.1 which says it's up to date. i don't really understand why the old version works and the new one doesn't but this is a fine solution. thanks again for your help, i use your scripts a lot so i really appreciate it

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.96127

>>96126

webm.exe passes garbage instead of unicode arguments to the script.

Calling webm.py via python directly works fine.

It's probably issue in pip (setuptools) which creates that "webm.exe" wrapper.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.96129

File: e567fa1494169b4⋯.png (1.24 MB,1078x1125,1078:1125,1475189710194_proc(comp).png)

>>96127

how annoying

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.103614

File: 9c99a53225ab57c⋯.jpg (46.82 KB,333x431,333:431,2017-11-28_23-48-17.jpg)

RSS feeds are extremely useful for keeping updated with all things kpop related. i use feeder for google chrome (https://chrome.google.com/webstore/detail/rss-feed-reader/pnjaodmkngahhkoihejjehlcdlnohgmp?hl=en) but there's plenty of other options

you can rss just about anything (youtube, twitter, instagram, fb, periscope etc) with this site

https://rssbox.herokuapp.com/

a lot of sites like tumblr have built in rss feeds, with feeder there will be a + on the extension icon if it's available

https://xxxxx.tumblr.com/rss

https://kr.1z2x1z.com/feed

for everything else

http://createfeed.fivefilters.org/index.php

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.104872

File: a70c25d324d698b⋯.jpg (30.84 KB,430x588,215:294,1511415857563.jpg)

i found this script for making mv playlists in mpv based on a search term

#!/bin/bash
#
# Author: Twily 2017
# Description: Play everything on youtube based on your search tag.
# Requires: mpv
# Usage $ sh ./ytplay Some Artist

SRC="$@"

SRC=${SRC// /%20}
SRC=${SRC//&/%26}
TAG="#music"
URL="https://www.youtube.com/results?search_query="

mpv "$URL$SRC$TAG" --really-quiet --force-window=immediate --keep-open --loop=inf &

exit 0

you need bash but once you have it installed you can make an alias to run it like this

ytp=C:\cygwin64\bin\bash.exe C:\Users\%USERNAME%\ytplay.sh $*

the script is written to get videos specifically tagged for #music which makes it slightly different than searching via mpv directly. you can make an alias to get any results and play just the audio through terminal like this

mpvs=mpv --vo=null --ytdl-format=bestaudio ytdl://ytsearch100:"$*"

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.111339

File: 40c9c7aaa6139fd⋯.png (34.96 KB,1188x700,297:175,tweeten.png)

thanks for all the nice recommendations chingu, I have a problem with tweeten.

My twitter account got blocked because it looked like a bot (probably because of my 10 minute e mail) however tweeten went into "do-nothing-mode" like pic related. I tried restarting and then reinstalling. Now when I try to install it (on a brand new win7 btw) it is stuck on this window(pic related)

what do?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.111341

>>111339

try deleting the tweeten folder in "C:\Users\%USERNAME%\AppData\Local\Tweeten" and "C:\Users\%USERNAME%\AppData\Roaming\Tweeten" and then reinstalling via https://github.com/MehediH/Tweeten/releases

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.111342

>>111341

I fucking knew it was some shit like that, didn't find the folders. thank you it works <3

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.119832

File: 9129dc48f5b7c7c⋯.jpg (414.21 KB,2000x1333,2000:1333,1511799861146.jpg)

banner on the right side

img.board_image {
background-image: url(https://banners.8ch.net/banners/kpop/1497892680310.png);
position: fixed;
right: 12px;
top: 13px;
z-index:-1;
box-sizing: border-box;
width: 300px;
height: 100px;
padding-left: 300px;
}

pick one here https://banners.8ch.net/list/kpop

mascot code

html, body
{
background-color: #111111 !important;
background-image: url(https://media.8ch.net/file_dl/94aa4af77ff70bcefa9259424883bd17ce13ad531b6287c90641c32f197093b7.png/chaewife2.png) !important;
background-position: right bottom !important;
background-repeat: no-repeat !important;
background-attachment: fixed !important;
background-size: 45%;
color: #999999;
font-family: sans-serif;
font-size: 12px;
}

note these can only be used seperately, there's probably a way to get them both working but i haven't figured it out yet

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.119834

File: 412f2a261fdad22⋯.jpg (2.07 MB,5472x3648,3:2,1466283999831.jpg)

download files much faster with youtube-dl+aria2c no bash required

1. install youtube-dl+aria2c if you don't already have them either manually or through chocolatey package manager (https://github.com/rg3/youtube-dl / https://github.com/aria2/aria2/releases/ / https://chocolatey.org/install)

choco install youtube-dl && choco install youtube-dl

2. create an alias (see >>82221)

ydld=youtube-dl -f bestvideo+bestaudio --add-metadata --ignore-errors --user-agent "Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0" --external-downloader aria2c --external-downloader-args "-x 16 -s 16 -k 1M" -o "C:\Users\%Username%\Desktop\%(uploader)s - %(title)s_%(height)sp-%(id)s.%(ext)s" $*

this will download and merge bestvideo+bestaudio to your desktop, for sites that use single formats (ie not youtube) you'll want to make another alias using -f best

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.119837

File: db5a607b23635a8⋯.jpg (1.04 MB,1500x1000,3:2,IMG_5276.jpg)

multi-threaded/parallel download 30+ links at the same time via aria2c

https://github.com/eladkarako/parallel-multipart-downloader

basically an aria2c script, pretty self-explanatory just put all the links you want in the text file and it will download them at the same time insead of sequentially

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.120263

>>119834

You can create config for youtube-dl (~/.config/youtube-dl/config or %APPDATA%/youtube-dl/config.txt) so external downloader always will be used.

Also "-j 16" (or more) because it's 5 by default. "-x" can only be 16 max.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.120264

File: fd1d44770fe4dc7⋯.png (1.12 MB,834x1250,417:625,momoland4.png)

Download full resolution photos from blog.naver.com

curl -s "$URL" | sed -nr 's#.*<img.*src="https?://post(files[^?]+).*#https://blog\1#p' | aria2c -j 16 -x 16 -i -

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.138426

File: 37e739f72defe97⋯.png (660.71 KB,1920x1018,960:509,Capture.png)

>>119832

i figured it out some time ago but forgot to post it so hyg

img.banner, img.board_image {
position: fixed;
float: right;
margin-top: 26px;
margin-right: 12px;
right:0px;
top:0px;
z-index:-1;
}

div.banner {
background-color: transparent;
}

body {
background-image: url("https://media.8ch.net/file_store/bb4f608b8ada499daee76bf3f3383e26d2c064043583d1b66e1b1f5d3c8508b7.jpg");
background-size: 300px, auto;
background-attachment: fixed;
background-position: right 12px bottom 55px;
background-repeat: no-repeat;
}

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.138444

>>138426

the

float: right;
part in line 3 is redundant btw, sorry for that

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.138691

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.142651

File: c0fab0a967234ff⋯.png (510.57 KB,1920x1059,640:353,scr.png)

https://net.kpop.re

Idol profiles database.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.142652

>>142651

>face of the group

lmao based

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.142653

bona deserves a better picture…

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.154820

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.171858

bump

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.174936

ublock filters to hide ads and that stupid post disclaimer


##.disclaimer-8kun
||media.8kun.top/static/vanwatech.png$image
###new-bottom-ads

change 8chanx script (https://github.com/Pashe/8chanX) to match the new domain


// @match *://8kun.top/*
// @match *://h.8kun.top/*
// @match *://h.8kun.top/*
// @match *://jp.8kun.top/*
// @match *://jp.8kun.top/*
// @match *://sys.8kun.top/*
// @match *://8kun.top/*

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]