Extract audio from a YouTube video file
ffmpeg -i INPUT.mp4 -ab 256k OUTPUT.mp3
Cut 3s length
ffmpeg -y -ss 00:00:03 -i INPUT.mp4 -codec copy OUTPUT.mp4
{ | |
"key_events": { | |
"key_unknown": "adb shell input keyevent 0", | |
"key_soft_left": "adb shell input keyevent 1", | |
"key_soft_right": "adb shell input keyevent 2", | |
"key_home": "adb shell input keyevent 3", | |
"key_back": "adb shell input keyevent 4", | |
"key_call": "adb shell input keyevent 5", | |
"key_endcall": "adb shell input keyevent 6", | |
"key_0": "adb shell input keyevent 7", |
Extract audio from a YouTube video file
ffmpeg -i INPUT.mp4 -ab 256k OUTPUT.mp3
Cut 3s length
ffmpeg -y -ss 00:00:03 -i INPUT.mp4 -codec copy OUTPUT.mp4
#include <windows.h> | |
#include <wininet.h> | |
#include <stdio.h> | |
#pragma comment (lib, "Wininet.lib") | |
int main(int argc, char *argv[]) { | |
HINTERNET hSession = InternetOpen( | |
L"Mozilla/5.0", // User-Agent |
On my yourney though hundreds of videos, tutorials and manuals (Bardwell, UAV Tech, JohnnyFPV, Mr. Steele, Le Drib, RotorRiot (sorry, for the missed ones) and wrote down their suggestions). This is the result of my notes. It should provide the least necessary but most compressed information to start tuning and setting your Quadcopter.
In my case I use the widely spread Taranis X7
remote control.
I am a freestyle pilot, so keep in mind, that these settings are in this scope (more smooth, softer flight behaviour).
# inspired by https://selivan.github.io/2020/02/25/removing-bloatware-from-xiaomi-miui-android.html | |
pm uninstall --user 0 com.xiaomi.mipicks #GetApps - app store like Google Play from Xiaomi. The most annoying one, periodically shows advertisement. | |
pm uninstall --user 0 com.miui.msa.global #MIUI Ad Services - also responsible for showing ads. | |
pm uninstall --user 0 com.miui.cloudservice #Cloud | |
pm uninstall --user 0 com.miui.cloudbackup #Cloud Backup | |
pm uninstall --user 0 com.xiaomi.glgm #Games | |
pm uninstall --user 0 com.xiaomi.payment #Mi Credit | |
pm uninstall --user 0 cn.wps.xiaomi.abroad.lite #Mi DocViewer(Powered by WPS Office) | |
pm uninstall --user 0 com.xiaomi.midrop #Mi ShareMe | |
pm uninstall --user 0 com.miui.yellowpage #Mi YellowPages |
@echo off | |
rem usb connection | |
echo ======================================= | |
echo Starting Android Debug Bridge Daemon... | |
echo ======================================= | |
2>nul adb kill-server | |
adb start-server | |
echo | set /p="Checking for a connected device... " | |
>nul adb get-state |
Useful links:
As some of these sites are a bit sketchy, make sure to keep privacy & security measures. Learn more here: https://www.privacyguides.org/en/desktop-browsers/
It's extremely simple and totally didn't take me about a week!
var config = { | |
mode: "fixed_servers", | |
rules: { | |
singleProxy: { | |
scheme: "http", | |
host: "{host}", | |
port: "{port}" | |
}, | |
bypassList: ["localhost"] | |
} |
using System; | |
using System.Runtime.InteropServices; | |
using FFmpeg.AutoGen; | |
namespace StreamVideo.Ffmpeg | |
{ | |
internal static class Extensions | |
{ | |
static unsafe string av_strerror(int error) | |
{ |
CancellationTokenSource source = null; | |
void Run() | |
{ | |
if(source?.IsCancellationRequested != false)//true hoặc source null | |
{ | |
source?.Dispose(); | |
source = new CancellationTokenSource(); | |
} | |
Task.Run(() => |