Created this simple encoder script while trying out daala

Features:

  • Select file
  • Number of frames to skip
  • Number of frames to encode
  • Uncompressed y4m output file
  • Lossless png file from daala encode (uses y4m file from dump_video)
  • Lossless png file from source
  • Linux Bash Version
  • and by unpopular demand a Batch Version for Windows

Requirments

  • encoder expects y4m, so you need to ffmpeg -pix_fmt yuv420p -i any-source-video.webm output.y4m
  • ffmpeg needed for png frame extracting

Install Linux

cd daala/examples/

wget https://raw.githubusercontent.com/nwgat/scripts/master/nwgatdaalaenc.sh

chmod +x nwgatdaalaenc.sh

./nwgatdaalaenc.sh

Install windows

Download https://raw.githubusercontent.com/nwgat/scripts/master/nwgatdaalaenc-win.bat

copy to daala folder

Run it

notes:

  • Need to figure out why echo says its off on windows
  • Inputing nothing into frames/encodeframes on windows fails, need to figure that out
  • Perhaps more options to say yes or no, but this works for me

pretty simple with tc command
login to router with ssh/telnet

where wl0.1 is the ssid of your guest network.
will vary if you have configured more than one

to limit to 5mbit

tc qdisc add dev wl0.1 handle 1: root htb default 11

tc class add dev wl0.1 parent 1: classid 1:1 htb rate 5mbit

tc class add dev wl0.1 parent 1:1 classid 1:11 htb rate 5mbit

to remove the settings use
tc qdisc del dev wl0.1 root

Note: Only downstream, i have to figure out upstream :(
You might need to enable jffs and add them to /jffs/scripts/init-start to be presistent

more info about tc
http://mark.koli.ch/slowdown-throttle-bandwidth-linux-network-interface

Crop Real 4K to UltraHD 4096>3840

ffmpeg -i A001_C014_01217G.4k.y4m -vf "crop=3840:2160:128:0" outputgirl.2160p.y4m

Resize to 1080p

ffmpeg -i outputgirl.2160p.y4m -vf scale=1920:-1 outputgirl.1080p.y4m

Resize to 720p

ffmpeg -i outputgirl.2160p.y4m -vf scale=1280:-1 outputgirl.720p.y4m

Convert source to YUU4MPEG2

ffmpeg -pix_fmt yuv420p -i any-source-video.webm output.y4m

Convert a sequence of images to YUU4MPEG

ffmpeg -f image2 -i "A004_C001_0122K7.00%05d.png" -pix_fmt yuv420p ouput.y4m

extract a single frame

ffmpeg -i input.avi -f image2 -ss 14.342 -vframes 1 frame.png

extract a single frame (altenative method)

ffmpeg -i input.y4m -f image2 -vf select="gte(n\, 1)" -vframes 1 frame.png

extract 1 frame after frame 100

ffmpeg -i input.y4m -f image2 -vf select="gte(n\, 100)" -vframes 1 frame.png

Asmedia Windows 10 Drivers for x64/x86

Asmedia ASM1040 ASM1041 ASM1042 ASM1142
USB 3.0 & USB 3.1
http://awesome.nwgat.ninja/win10/asmedia/

%ASMEDIA_Product_1%=ASMEDIA_Product1_Install,PCI\VEN_1B21&DEV_1040&REV_00 %ASMEDIA_Product_2%=ASMEDIA_Product2_Install,PCI\VEN_1B21&DEV_1040&REV_01 %ASMEDIA_Product_3%=ASMEDIA_Product3_Install,PCI\VEN_1B21&DEV_1040&REV_02 %ASMEDIA_Product_4%=ASMEDIA_Product4_Install,PCI\VEN_1B21&DEV_1041&REV_00 %ASMEDIA_Product_5%=ASMEDIA_Product5_Install,PCI\VEN_1B21&DEV_1041&REV_01 %ASMEDIA_Product_6%=ASMEDIA_Product6_Install,PCI\VEN_1B21&DEV_1041&REV_02 %ASMEDIA_Product_7%=ASMEDIA_Product7_Install,PCI\VEN_1B21&DEV_1042&REV_00 %ASMEDIA_Product_8%=ASMEDIA_Product8_Install,PCI\VEN_1B21&DEV_1042&REV_01 %ASMEDIA_Product_9%=ASMEDIA_Product9_Install,PCI\VEN_1B21&DEV_1042&REV_02 %ASMEDIA_Product_10%=ASMEDIA_Product10_Install,PCI\VEN_1B21&DEV_1142&REV_00 %ASMEDIA_Product_11%=ASMEDIA_Product11_Install,PCI\VEN_1B21&DEV_1240&REV_00 %ASMEDIA_Product_12%=ASMEDIA_Product12_Install,PCI\VEN_1B21&DEV_1241&REV_00 %ASMEDIA_Product_13%=ASMEDIA_Product13_Install,PCI\VEN_1B21&DEV_1242&REV_00 %ASMEDIA_Product_14%=ASMEDIA_Product14_Install,PCI\VEN_1B21&DEV_1042&SUBSYS_84881043&REV_00 %ASMEDIA_Product_15%=ASMEDIA_Product15_Install,PCI\VEN_1B21&DEV_1042&SUBSYS_84881043&REV_01 %ASMEDIA_Product_16%=ASMEDIA_Product16_Install,PCI\VEN_1B21&DEV_1042&SUBSYS_84881043&REV_02 %ASMEDIA_Product_17%=ASMEDIA_Product17_Install,PCI\VEN_1B21&DEV_1142&SUB

The NetVC has a new altenative video codec

"The Thor video codec is a block-based hybrid video codec similar in structure to widespread standards."

Encoder: ./Thorenc -cf config.txt

Decoder: ./Thordec str.bit out.yuv

Source Code

http://github.com/cisco/thor

Windows Cygwin x64 Builds

a new installment in the quick & easy series!

Tinc VPN 1.1 on ASUSWRT-Merlin
with windows client (repeat client step to add more clients)

setup tinc and open firewall

echo #!/bin/sh >> /jffs/scripts/init-start

echo modprobe tun >> /jffs/scripts/init-start

echo /jffs/sbin/tincd -n vpn >> /jffs/scripts/init-start

echo iptables -I INPUT -p tcp --destination-port 655 -j ACCEPT >> /jffs/scripts/firewall-start

chmod a+rx /jffs/scripts/*

Go to Administration - System in Router Admin Page
and set Enable JFFS custom scripts and configs to Yes

Load tun module temporarily

modprobe tun

Install Tinc VPN

wget http://files.lancethepants.com/Binaries/tinc/arm/tinc%201.1pre11/tinc -O /jffs/sbin/tinc

wget http://files.lancethepants.com/Binaries/tinc/arm/tinc%201.1pre11/tincd -O /jffs/sbin/tincd

chmod +x /jffs/sbin/tinc*

Configure master node (router)

/jffs/sbin/tinc -n vpn init router

/jffs/sbin/tinc -n vpn add subnet 20.0.0.1

/jffs/sbin/tinc -n vpn add address=myrouter.domain.ninja-or-ip

echo ifconfig $INTERFACE 20.0.0.1 netmask 255.255.255.0 > /jffs/etc/tinc/vpn/tinc-up

Configure client node (on windows computer)

if you want to add more clients, change name and ip

Download & Install Tinc

Navigate to C:\Program Files (x86)\tinc
Click on File > Open Command Prompt > As Administrator

tinc -n vpn init client1

tinc -n vpn add connectto router

tinc -n vpn add subnet 20.0.0.2

setup ethernet interface

cd tap-win64

addtap.bat

cd ..

go to Control Panel\Network and Internet\Network Connections
(note the name of the tap adapter)

netsh interface set interface name = "insert name of tap adapter" newname = "tinc"

netsh interface ip set address "tinc" static 20.0.0.2 255.255.255.0

Exchange Keys to the kingdom

Install winscp on client1 and run it

login with these settings
File Protocol: SCP
Hostname: 192.168.1.1
login with ssh user/password

Open Syncronize with CTRL + S
Local: C:\Program Files (x86)\tinc\vpn\hosts\
Remote: //jffs/etc/tinc/vpn/hosts
Direction/Target to Both
Click OK and OK

test it with

Router

/jffs/sbin/tincd -n vpn -D -d3

Client1

tincd -n vpn -D -d3

Run as daemon (on both router and client)

Router:
./jffs/sbin/tincd -n vpn

Client
“C:\Program Files (x86)\tinc\tincd -n vpn”

thanks to lancethepants for binaries, tinc for vpn
asus for awesome hardware and merlin for his firmware

amd is furius again ;)

a

got more? comment!

Here is a very short long list of fury X reviews

English

German

Dutch

Swedish

French

Indoesian

Spanish

Thai

Polish

found more? post them in the comment and i will update the list

Step #1 Get the MSDM key

  1. Download get_win8key
  2. Naviate to get-win8key folder
  3. Click on File > Open Command Prompt as Administrator
  4. Type get_win8key.exe > key.txt and enter

Step #2 Create Media

Create the media with Windows Installation Media Creation Tool

Language:  English  
Edition: Windows 8.1 or Windows 8.1 Pro  
Architecture: 64-bit (x64)  

Step #3 ei.cfg mod

  1. Naviate to install folder (from step #2)
  2. Click on File > Open Command Prompt as Administrator
  3. notepad \sources\ei.cfg
  4. copy and paste the content below
[EditionID]
[Channel]
OEM  
[VL]
0  

Step 4

Install Windows 8.1 using the newly created media and the MSDM key from step #1