$ ffmpeg -pix_fmts
ffmpeg version 2023-01-18-git-ba36e6ed52-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12.2.0 (Rev7, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt
--enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enabl
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
[aws] | |
symbol = " " | |
[buf] | |
symbol = " " | |
[c] | |
symbol = " " | |
[conda] |
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
use std::thread::JoinHandle; | |
/// Filesystem proxy server with strictly limited permissions and auth required. | |
/// Required workaround for Edge Webview2 streaming memory leak | |
pub fn spawn_localhost_server(localhost_port: u16, random_access_token: String) -> JoinHandle<()> { | |
use rouille::{Response, percent_encoding}; | |
use std::{ | |
cmp::min, | |
fs::File, | |
io::{Read, Seek, SeekFrom}, |
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
import { | |
type HlsConfig, | |
type Loader, | |
type LoaderCallbacks, | |
type LoaderConfiguration, | |
type LoaderContext, | |
type LoaderOnProgress, | |
type LoaderResponse, | |
type LoaderStats, | |
} from 'hls.js' |
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
use std::str::Chars; | |
/// An iterator over comma-separated values, **ignoring commas inside parentheses**. | |
/// | |
/// ## Examples | |
/// | |
/// ```rust | |
/// use ffmpeg_sidecar::util::CommaIter; | |
/// | |
/// let string = "foo(bar,baz),quux"; |