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
#!/usr/bin/bash | |
# | |
# Usage: mpegts2h264.sh <src.ts> <dst.mp4> | |
# | |
program_no=$(ffmpeg -i $1 2>&1 | grep Program | head -n 1 | awk '{ print $2 }') | |
video_sid=$(ffmpeg -i $1 2>&1 | grep Stream | grep Video | sed -e "s/^.*Stream #0:0\[0x\([0-9a-f][0-9a-f][0-9a-f]\)\].*$/\1/g") | |
audio_sid=$(ffmpeg -i $1 2>&1 | grep Stream | grep Audio | sed -e "s/^.*Stream #0:1\[0x\([0-9a-f][0-9a-f][0-9a-f]\)\].*$/\1/g") | |
gst-launch-1.0 filesrc location=./$1 ! progressreport ! \ |
論文紹介 ー "NetVM: High Performance and Flexible Networking Using Virtualization on Commodity Platforms"
本記事は、システム系論文紹介 Advent Calendar 2014 12/11 のための記事です
本エントリでは、NSDI'14 にて発表のあった "NetVM" について紹介します。
Generally useful links:
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
// EXAMPLE: a compound iterator with sequencing | |
// Python style | |
function cat() { | |
let is = arguments; | |
return { | |
next: { | |
let length; | |
while ((length = is.length) > 0) { | |
try { |