Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
You can get the list of installed codecs with:
| /* | |
| IMPORTANT: Driver 580.105.08: https://www.nvidia.com/en-us/drivers/details/257493/ | |
| > Added a new environment variable, CUDA_DISABLE_PERF_BOOST, to allow for disabling | |
| the default behavior of boosting the GPU to a higher power state when running | |
| CUDA applications. Setting this environment variable to '1' will disable the boost. | |
| CUDA perfboost bypass, distributed under MIT License | |
| -- @Ristovski |
| package main | |
| import ( | |
| "bufio" | |
| "bytes" | |
| "encoding/binary" | |
| "flag" | |
| "fmt" | |
| "net" | |
| "os" |
How To Become A Hacker
Eric Steven Raymond, Thyrsus Enterprises, < esr@thyrsus.com >
Copyright © 2001 Eric S. Raymond
翻译:柯非, < zer4tul@gmail.com >
| import android.content.Context; | |
| import android.graphics.Bitmap; | |
| import android.graphics.BlurMaskFilter; | |
| import android.graphics.BlurMaskFilter.Blur; | |
| import android.graphics.Canvas; | |
| import android.graphics.Color; | |
| import android.graphics.Paint; | |
| import android.graphics.Paint.Style; | |
| import android.graphics.Rect; | |
| import android.graphics.RectF; |
| // Taken from the commercial iOS PDF framework http://pspdfkit.com. | |
| // Copyright (c) 2014 Peter Steinberger, PSPDFKit GmbH. All rights reserved. | |
| // Licensed under MIT (http://opensource.org/licenses/MIT) | |
| // | |
| // You should only use this in debug builds. It doesn't use private API, but I wouldn't ship it. | |
| // PLEASE DUPE rdar://27192338 (https://openradar.appspot.com/27192338) if you would like to see this in UIKit. | |
| #import <objc/runtime.h> | |
| #import <objc/message.h> |
Source NAT changes the source address in IP header of a packet. It may also change the source port in the TCP/UDP headers. The typical usage is to change the a private (rfc1918) address/port into a public address/port for packets leaving your network. Available only in the POSTROUTING chain in iptables.
iptables -t nat -A POSTROUTING -i eth1 -j SNAT --to-source 1.2.3.4[:port]
| import android.graphics.PointF; | |
| import android.view.animation.Animation; | |
| import android.view.animation.Transformation; | |
| // http://www.math.ubc.ca/~cass/gfx/bezier.html | |
| public class ArcTranslateAnimation extends Animation { | |
| private int mFromXType = ABSOLUTE; | |
| private int mToXType = ABSOLUTE; |
| /*! | |
| * \file pango_layout_word_wrap.c | |
| * \brief pango layout word wrap | |
| * | |
| * \author Ben Pfaff http://benpfaff.org | |
| * | |
| * In working with Pango I found an oddity that I do not understand. | |
| * It may be a bug, or it might just be my misunderstanding. | |
| * | |
| * As part of a table layout procedure for printing, my code wishes to find out |