This file contains hidden or 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
ffmpeg -re -i file.ext -f mp4 -movflags hls -c:v libx264 -listen 1 -seekable 0 -g 1 http://localhost:1935/live | |
<video src="http://localhost:1935/live" controls/> |
This file contains hidden or 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
.\windows_exporter-0.16.0-amd64.exe --collector.textfile.directory c:\temp --collectors.enabled cpu,net,os,cs,cpu,cpu_info,logical_disk,system,textfile | |
c:\temp\ffastrans_metrics.prom | |
# HELP test_alpha_total Some random metric. | |
# TYPE test_alpha_total counter | |
test_alpha_total 1 | |
This file contains hidden or 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
#source file is xdcamhd, thus 8tracks. dbe is on track 3/4, dbe is 16 bit in a 24bit pcm | |
ffmpeg.exe -i "E:\vizone\Viz_Omneon30s11Origin10.mxf" -filter_complex "[0:a:2][0:a:3]join=inputs=2:channel_layout=stereo[a]" -map "[a]" -c:a pcm_s16le -ar 48000 -f s16le - | ffmpeg -y -i - c:\temp\out.wav | |
ffmpeg.exe -i E:\temp\Dolby34_2min.mxf -filter_complex "[0:a:2][0:a:3]join=inputs=2:channel_layout=stereo[a]" -map "[a]" -c:a pcm_s16le -ar 48000 -f s16le - | ffmpeg -y -i - -c:a pcm_s16le -ar 48000 -f s16le ffmpeg -i - -acodec pcm_s24le -ar 48000 -ac 1 -map_channel 0.0.0 e:\temp\ch0.wav -acodec pcm_s24le -ar 48000 -ac 1 -map_channel 0.0.1 e:\temp\ch1.wav -acodec pcm_s24le -ar 48000 -ac 1 -map_channel 0.0.2 e:\temp\ch2.wav -acodec pcm_s24le -ar 48000 -ac 1 -map_channel 0.0.3 e:\temp\ch3.wav -acodec pcm_s24le -ar 48000 -ac 1 -map_channel 0.0.4 e:\temp\ch4.wav -acodec pcm_s24le -ar 48000 -ac 1 -map_channel 0.0.5 e:\temp\ch5.wav |
This file contains hidden or 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
#include <Windows.h> | |
#include <stdio.h> | |
//sends ctrl+c to pid | |
//compile with gcc, no options | |
//first and only argument: int PID | |
int main(int argc, char** argv){ | |
DWORD pid = atoi(argv[1]); | |
printf ("Argument PID: %d\n",pid); |
This file contains hidden or 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
use MSYS64 | |
copy h file to C:\msys64\mingw64\include\avisynth\avisynth_c.h | |
copy libs to C:\msys64\mingw64\lib | |
//start | |
C:\msys64\mingw64.exe | |
./configure --disable-static --enable-shared --enable-avisynth --enable-gpl | |
make -j4 | |
//rebuild only a part |
This file contains hidden or 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
import aaf2 | |
import sys | |
import json | |
import urllib.parse | |
from timecode import Timecode | |
class TimelineFrame: | |
#contains relevant information about a single frame | |
def __init__(self, url, start_offset,left_neighbour,framenum): | |
self.url = url |
NewerOlder