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 | |
ffmpeg -i netflix_crosswalk_1080p30fps.mp4 -c:v libx264 -preset faster -b:v 2048k -threads 4 crosswalk_encode_bad.mp4 | |
ffmpeg -i netflix_crosswalk_1080p30fps.mp4 -c:v libx264 -preset veryslow -b:v 2048k -threads 4 crosswalk_encode_good.mp4 | |
rm -f /tmp/reference.yuv && mkfifo /tmp/reference.yuv | |
rm -f /tmp/distorted.yuv && mkfifo /tmp/distorted.yuv | |
for quality in bad good | |
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
#!/bin/bash | |
ffmpeg -y -i netflix_crosswalk_1080p30fps.mp4 -c:v libx264 -preset veryslow -b:v 2000k -threads 4 crosswalk_encode_good.mp4 | |
ffmpeg -y -i netflix_crosswalk_1080p30fps.mp4 -c:v libx264 -preset veryslow -b:v 3250k -threads 4 crosswalk_encode_better.mp4 | |
ffmpeg -y -i netflix_crosswalk_1080p30fps.mp4 -c:v libx264 -preset veryslow -b:v 4500k -threads 4 crosswalk_encode_best.mp4 | |
rm -f /tmp/reference.yuv && mkfifo /tmp/reference.yuv | |
rm -f /tmp/distorted.yuv && mkfifo /tmp/distorted.yuv | |
for quality in good better best |
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
diff --git a/python/example.py b/python/example.py | |
index 738c6c6..6d002fe 100755 | |
--- a/python/example.py | |
+++ b/python/example.py | |
@@ -3,6 +3,9 @@ | |
import pyrtcdc | |
import base64 | |
+def on_connect(peer): | |
+ print "Connect!" |
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
### Keybase proof | |
I hereby claim: | |
* I am chadnickbok on github. | |
* I am nickchadwick (https://keybase.io/nickchadwick) on keybase. | |
* I have a public key whose fingerprint is F59E 617A 6ABF 723B 4304 6FD9 57DF E737 9605 6DBB | |
To claim this, I am signing this object: |
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
/** | |
* Simple TCP Server example. | |
*/ | |
#include <iostream> | |
#include <stdint.h> | |
#include <string.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <netinet/in.h> |
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
package org.junit.runners; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.junit.runners.Parameterized.TestClassRunnerForParameters; | |
import org.junit.runners.model.FrameworkMethod; | |
import org.junit.runners.model.InitializationError; | |
import org.junit.runners.model.TestClass; |