Skip to content

Instantly share code, notes, and snippets.



This benchmark evaluates the different presets options offered by x264, using medium as reference, and providing size and time differences (relative and not).

##benchmark Tests run with latest x264 (12139) and FFmpeg, configured to run with threading enabled. The slower and veryslow presets have been modified to keep the number of refs constant and compatible with most decoders. All results represent an average over 10 runs computed by perf.



This table shows the current implementation status of several multimedia fomats by popular tools and browsers. All tests were run with the latest available version, or git HEAD for open source software.

Symbols mean

  • fully supported
  • unsupported
  • 💭 work in progress
  • 1️⃣️ see notes
View notes on opus in mp4 in ffmpeg
[6:04pm] Paranoialmaniac:
[6:04pm] Paranoialmaniac: opus can have variable pre-roll size
[6:04pm] Paranoialmaniac: since opus can vary its frame-size by frame by frame
[6:10pm] Paranoialmaniac: he misunderstands units of roll_distance
[6:13pm] Paranoialmaniac: roll_distance is in units of Opus samples not PCM samples
View gist:9389e55ef839fc7aa12fc8330a14bb92
* @name Initial orientation
* @{
* There fields describe additional rotations applied to the sphere after
* the video frame is mapped onto it. The sphere is rotated around the
* viewer, who remains stationary.
* A positive yaw moves the left half of the frame forward.
* A positive pitch moves the bottom half of the frame upward.
* A positive roll moves the left half of the frame downward.
View file.c
uint32_t max_coord = (uint32_t) -1;
size_t orig_width = (size_t) sc->width * max_coord / (max_coord - r - l);
size_t orig_height = (size_t) sc->height * max_coord / (max_coord - b - t);
sc->spherical->left_bound = ceil(orig_width * l / max_coord);
sc->spherical->top_bound = ceil(orig_height * t / max_coord);
sc->spherical->right_bound = orig_width - sc->width - sc->spherical->left_bound;
sc->spherical->bottom_bound = orig_height - sc->height - sc->spherical->top_bound;
View gist:2e789486503911592265e39d826958c5
$ ./configure
generating config.mak ...
usage: tr [-Ccsu] string1 string2
tr [-Ccu] -d string1
tr [-Ccu] -s string1
tr [-Ccu] -ds string1 string2
View mixed storage probably
View kierank.diff
diff --git a/common/base.h b/common/base.h
index 28fc6524..38769d33 100644
--- a/common/base.h
+++ b/common/base.h
@@ -49,6 +49,31 @@
#include <limits.h>
#include "x264.h"
+x264_t *x264_8_encoder_open( x264_param_t * );
View mtgtycoon.js
javascript:(function() {
var card = prompt("Card Name");
var sites = [];
View mtgbuylister.js
javascript:(function() {
var card = prompt("Card Name");
if (!card || card == "") {
trimmedCard = card.trim();
var sites = [];
/* Buylists */