node-av-light 0.0.0-stage → 7.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +22 -0
- package/README.md +710 -2
- package/dist/api/audio-frame-buffer.d.ts +636 -0
- package/dist/api/audio-frame-buffer.js +1027 -0
- package/dist/api/audio-frame-buffer.js.map +1 -0
- package/dist/api/bitstream-filter.d.ts +938 -0
- package/dist/api/bitstream-filter.js +1427 -0
- package/dist/api/bitstream-filter.js.map +1 -0
- package/dist/api/constants.d.ts +44 -0
- package/dist/api/constants.js +45 -0
- package/dist/api/constants.js.map +1 -0
- package/dist/api/data/test_av1.ivf +0 -0
- package/dist/api/data/test_h264.h264 +0 -0
- package/dist/api/data/test_hevc.h265 +0 -0
- package/dist/api/data/test_mjpeg.mjpeg +0 -0
- package/dist/api/data/test_vp8.ivf +0 -0
- package/dist/api/data/test_vp9.ivf +0 -0
- package/dist/api/decoder.d.ts +1413 -0
- package/dist/api/decoder.js +2367 -0
- package/dist/api/decoder.js.map +1 -0
- package/dist/api/demuxer.d.ts +1295 -0
- package/dist/api/demuxer.js +2344 -0
- package/dist/api/demuxer.js.map +1 -0
- package/dist/api/device.d.ts +589 -0
- package/dist/api/device.js +964 -0
- package/dist/api/device.js.map +1 -0
- package/dist/api/encoder-pool.d.ts +262 -0
- package/dist/api/encoder-pool.js +397 -0
- package/dist/api/encoder-pool.js.map +1 -0
- package/dist/api/encoder.d.ts +1509 -0
- package/dist/api/encoder.js +2619 -0
- package/dist/api/encoder.js.map +1 -0
- package/dist/api/filter-complex.d.ts +828 -0
- package/dist/api/filter-complex.js +1661 -0
- package/dist/api/filter-complex.js.map +1 -0
- package/dist/api/filter-presets.d.ts +800 -0
- package/dist/api/filter-presets.js +1554 -0
- package/dist/api/filter-presets.js.map +1 -0
- package/dist/api/filter.d.ts +1339 -0
- package/dist/api/filter.js +2075 -0
- package/dist/api/filter.js.map +1 -0
- package/dist/api/fmp4-stream.d.ts +797 -0
- package/dist/api/fmp4-stream.js +1428 -0
- package/dist/api/fmp4-stream.js.map +1 -0
- package/dist/api/hardware.d.ts +677 -0
- package/dist/api/hardware.js +1300 -0
- package/dist/api/hardware.js.map +1 -0
- package/dist/api/index.d.ts +21 -0
- package/dist/api/index.js +38 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/io-stream.d.ts +308 -0
- package/dist/api/io-stream.js +358 -0
- package/dist/api/io-stream.js.map +1 -0
- package/dist/api/muxer.d.ts +1311 -0
- package/dist/api/muxer.js +2672 -0
- package/dist/api/muxer.js.map +1 -0
- package/dist/api/pipeline.d.ts +801 -0
- package/dist/api/pipeline.js +1344 -0
- package/dist/api/pipeline.js.map +1 -0
- package/dist/api/probe.d.ts +128 -0
- package/dist/api/probe.js +227 -0
- package/dist/api/probe.js.map +1 -0
- package/dist/api/rtp-stream.d.ts +497 -0
- package/dist/api/rtp-stream.js +1131 -0
- package/dist/api/rtp-stream.js.map +1 -0
- package/dist/api/scaler.d.ts +561 -0
- package/dist/api/scaler.js +918 -0
- package/dist/api/scaler.js.map +1 -0
- package/dist/api/types.d.ts +17 -0
- package/dist/api/types.js +2 -0
- package/dist/api/types.js.map +1 -0
- package/dist/api/utilities/async-queue.d.ts +149 -0
- package/dist/api/utilities/async-queue.js +254 -0
- package/dist/api/utilities/async-queue.js.map +1 -0
- package/dist/api/utilities/audio-sample.d.ts +117 -0
- package/dist/api/utilities/audio-sample.js +112 -0
- package/dist/api/utilities/audio-sample.js.map +1 -0
- package/dist/api/utilities/audio-transcode.d.ts +20 -0
- package/dist/api/utilities/audio-transcode.js +27 -0
- package/dist/api/utilities/audio-transcode.js.map +1 -0
- package/dist/api/utilities/channel-layout.d.ts +76 -0
- package/dist/api/utilities/channel-layout.js +80 -0
- package/dist/api/utilities/channel-layout.js.map +1 -0
- package/dist/api/utilities/codec-format.d.ts +87 -0
- package/dist/api/utilities/codec-format.js +117 -0
- package/dist/api/utilities/codec-format.js.map +1 -0
- package/dist/api/utilities/context-options.d.ts +25 -0
- package/dist/api/utilities/context-options.js +23 -0
- package/dist/api/utilities/context-options.js.map +1 -0
- package/dist/api/utilities/electron-shared-texture.d.ts +368 -0
- package/dist/api/utilities/electron-shared-texture.js +540 -0
- package/dist/api/utilities/electron-shared-texture.js.map +1 -0
- package/dist/api/utilities/image.d.ts +207 -0
- package/dist/api/utilities/image.js +213 -0
- package/dist/api/utilities/image.js.map +1 -0
- package/dist/api/utilities/index.d.ts +14 -0
- package/dist/api/utilities/index.js +27 -0
- package/dist/api/utilities/index.js.map +1 -0
- package/dist/api/utilities/live-decoding.d.ts +15 -0
- package/dist/api/utilities/live-decoding.js +32 -0
- package/dist/api/utilities/live-decoding.js.map +1 -0
- package/dist/api/utilities/media-type.d.ts +49 -0
- package/dist/api/utilities/media-type.js +53 -0
- package/dist/api/utilities/media-type.js.map +1 -0
- package/dist/api/utilities/packet-age-watchdog.d.ts +198 -0
- package/dist/api/utilities/packet-age-watchdog.js +594 -0
- package/dist/api/utilities/packet-age-watchdog.js.map +1 -0
- package/dist/api/utilities/pixel-format.d.ts +89 -0
- package/dist/api/utilities/pixel-format.js +97 -0
- package/dist/api/utilities/pixel-format.js.map +1 -0
- package/dist/api/utilities/sample-format.d.ts +129 -0
- package/dist/api/utilities/sample-format.js +141 -0
- package/dist/api/utilities/sample-format.js.map +1 -0
- package/dist/api/utilities/scale-size.d.ts +51 -0
- package/dist/api/utilities/scale-size.js +55 -0
- package/dist/api/utilities/scale-size.js.map +1 -0
- package/dist/api/utilities/scheduler.d.ts +138 -0
- package/dist/api/utilities/scheduler.js +98 -0
- package/dist/api/utilities/scheduler.js.map +1 -0
- package/dist/api/utilities/streaming.d.ts +186 -0
- package/dist/api/utilities/streaming.js +309 -0
- package/dist/api/utilities/streaming.js.map +1 -0
- package/dist/api/utilities/timestamp.d.ts +193 -0
- package/dist/api/utilities/timestamp.js +206 -0
- package/dist/api/utilities/timestamp.js.map +1 -0
- package/dist/api/utilities/video-transcode.d.ts +218 -0
- package/dist/api/utilities/video-transcode.js +624 -0
- package/dist/api/utilities/video-transcode.js.map +1 -0
- package/dist/api/utilities/whisper-model.d.ts +330 -0
- package/dist/api/utilities/whisper-model.js +587 -0
- package/dist/api/utilities/whisper-model.js.map +1 -0
- package/dist/api/utils.d.ts +19 -0
- package/dist/api/utils.js +39 -0
- package/dist/api/utils.js.map +1 -0
- package/dist/api/webrtc-stream.d.ts +294 -0
- package/dist/api/webrtc-stream.js +546 -0
- package/dist/api/webrtc-stream.js.map +1 -0
- package/dist/api/whisper.d.ts +326 -0
- package/dist/api/whisper.js +402 -0
- package/dist/api/whisper.js.map +1 -0
- package/dist/constants/bsf-options.d.ts +364 -0
- package/dist/constants/bsf-options.js +7 -0
- package/dist/constants/bsf-options.js.map +1 -0
- package/dist/constants/channel-layouts.d.ts +53 -0
- package/dist/constants/channel-layouts.js +57 -0
- package/dist/constants/channel-layouts.js.map +1 -0
- package/dist/constants/constants.d.ts +2435 -0
- package/dist/constants/constants.js +1989 -0
- package/dist/constants/constants.js.map +1 -0
- package/dist/constants/decoders.d.ts +651 -0
- package/dist/constants/decoders.js +641 -0
- package/dist/constants/decoders.js.map +1 -0
- package/dist/constants/encoders.d.ts +314 -0
- package/dist/constants/encoders.js +309 -0
- package/dist/constants/encoders.js.map +1 -0
- package/dist/constants/filter-options.d.ts +12099 -0
- package/dist/constants/filter-options.js +7 -0
- package/dist/constants/filter-options.js.map +1 -0
- package/dist/constants/format-options.d.ts +4319 -0
- package/dist/constants/format-options.js +7 -0
- package/dist/constants/format-options.js.map +1 -0
- package/dist/constants/formats.d.ts +18 -0
- package/dist/constants/formats.js +7 -0
- package/dist/constants/formats.js.map +1 -0
- package/dist/constants/hardware.d.ts +26 -0
- package/dist/constants/hardware.js +27 -0
- package/dist/constants/hardware.js.map +1 -0
- package/dist/constants/index.d.ts +10 -0
- package/dist/constants/index.js +6 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/constants/options.d.ts +6217 -0
- package/dist/constants/options.js +7 -0
- package/dist/constants/options.js.map +1 -0
- package/dist/ffmpeg/index.d.ts +101 -0
- package/dist/ffmpeg/index.js +161 -0
- package/dist/ffmpeg/index.js.map +1 -0
- package/dist/ffmpeg/version.d.ts +6 -0
- package/dist/ffmpeg/version.js +7 -0
- package/dist/ffmpeg/version.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/audio-fifo.d.ts +399 -0
- package/dist/lib/audio-fifo.js +431 -0
- package/dist/lib/audio-fifo.js.map +1 -0
- package/dist/lib/binding.d.ts +242 -0
- package/dist/lib/binding.js +102 -0
- package/dist/lib/binding.js.map +1 -0
- package/dist/lib/bitstream-filter-context.d.ts +381 -0
- package/dist/lib/bitstream-filter-context.js +443 -0
- package/dist/lib/bitstream-filter-context.js.map +1 -0
- package/dist/lib/bitstream-filter.d.ts +140 -0
- package/dist/lib/bitstream-filter.js +154 -0
- package/dist/lib/bitstream-filter.js.map +1 -0
- package/dist/lib/codec-context.d.ts +1069 -0
- package/dist/lib/codec-context.js +1336 -0
- package/dist/lib/codec-context.js.map +1 -0
- package/dist/lib/codec-parameters.d.ts +664 -0
- package/dist/lib/codec-parameters.js +813 -0
- package/dist/lib/codec-parameters.js.map +1 -0
- package/dist/lib/codec-parser.d.ts +201 -0
- package/dist/lib/codec-parser.js +213 -0
- package/dist/lib/codec-parser.js.map +1 -0
- package/dist/lib/codec.d.ts +617 -0
- package/dist/lib/codec.js +746 -0
- package/dist/lib/codec.js.map +1 -0
- package/dist/lib/device.d.ts +294 -0
- package/dist/lib/device.js +326 -0
- package/dist/lib/device.js.map +1 -0
- package/dist/lib/dictionary.d.ts +333 -0
- package/dist/lib/dictionary.js +372 -0
- package/dist/lib/dictionary.js.map +1 -0
- package/dist/lib/error.d.ts +311 -0
- package/dist/lib/error.js +395 -0
- package/dist/lib/error.js.map +1 -0
- package/dist/lib/fifo.d.ts +416 -0
- package/dist/lib/fifo.js +453 -0
- package/dist/lib/fifo.js.map +1 -0
- package/dist/lib/filter-context.d.ts +714 -0
- package/dist/lib/filter-context.js +783 -0
- package/dist/lib/filter-context.js.map +1 -0
- package/dist/lib/filter-graph-segment.d.ts +161 -0
- package/dist/lib/filter-graph-segment.js +172 -0
- package/dist/lib/filter-graph-segment.js.map +1 -0
- package/dist/lib/filter-graph.d.ts +641 -0
- package/dist/lib/filter-graph.js +704 -0
- package/dist/lib/filter-graph.js.map +1 -0
- package/dist/lib/filter-inout.d.ts +202 -0
- package/dist/lib/filter-inout.js +261 -0
- package/dist/lib/filter-inout.js.map +1 -0
- package/dist/lib/filter.d.ts +243 -0
- package/dist/lib/filter.js +272 -0
- package/dist/lib/filter.js.map +1 -0
- package/dist/lib/format-context.d.ts +1335 -0
- package/dist/lib/format-context.js +1455 -0
- package/dist/lib/format-context.js.map +1 -0
- package/dist/lib/frame-utils.d.ts +116 -0
- package/dist/lib/frame-utils.js +98 -0
- package/dist/lib/frame-utils.js.map +1 -0
- package/dist/lib/frame.d.ts +1315 -0
- package/dist/lib/frame.js +1535 -0
- package/dist/lib/frame.js.map +1 -0
- package/dist/lib/hardware-device-context.d.ts +362 -0
- package/dist/lib/hardware-device-context.js +383 -0
- package/dist/lib/hardware-device-context.js.map +1 -0
- package/dist/lib/hardware-frames-context.d.ts +418 -0
- package/dist/lib/hardware-frames-context.js +471 -0
- package/dist/lib/hardware-frames-context.js.map +1 -0
- package/dist/lib/index.d.ts +35 -0
- package/dist/lib/index.js +60 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/input-format.d.ts +249 -0
- package/dist/lib/input-format.js +306 -0
- package/dist/lib/input-format.js.map +1 -0
- package/dist/lib/io-context.d.ts +698 -0
- package/dist/lib/io-context.js +771 -0
- package/dist/lib/io-context.js.map +1 -0
- package/dist/lib/log.d.ts +174 -0
- package/dist/lib/log.js +184 -0
- package/dist/lib/log.js.map +1 -0
- package/dist/lib/native-types.d.ts +1024 -0
- package/dist/lib/native-types.js +2 -0
- package/dist/lib/native-types.js.map +1 -0
- package/dist/lib/option.d.ts +953 -0
- package/dist/lib/option.js +1607 -0
- package/dist/lib/option.js.map +1 -0
- package/dist/lib/output-format.d.ts +222 -0
- package/dist/lib/output-format.js +259 -0
- package/dist/lib/output-format.js.map +1 -0
- package/dist/lib/packet.d.ts +521 -0
- package/dist/lib/packet.js +613 -0
- package/dist/lib/packet.js.map +1 -0
- package/dist/lib/rational.d.ts +251 -0
- package/dist/lib/rational.js +278 -0
- package/dist/lib/rational.js.map +1 -0
- package/dist/lib/software-resample-context.d.ts +552 -0
- package/dist/lib/software-resample-context.js +592 -0
- package/dist/lib/software-resample-context.js.map +1 -0
- package/dist/lib/software-scale-context.d.ts +344 -0
- package/dist/lib/software-scale-context.js +366 -0
- package/dist/lib/software-scale-context.js.map +1 -0
- package/dist/lib/stream.d.ts +383 -0
- package/dist/lib/stream.js +524 -0
- package/dist/lib/stream.js.map +1 -0
- package/dist/lib/sync-queue.d.ts +179 -0
- package/dist/lib/sync-queue.js +197 -0
- package/dist/lib/sync-queue.js.map +1 -0
- package/dist/lib/types.d.ts +34 -0
- package/dist/lib/types.js +2 -0
- package/dist/lib/types.js.map +1 -0
- package/dist/lib/utilities.d.ts +1198 -0
- package/dist/lib/utilities.js +1302 -0
- package/dist/lib/utilities.js.map +1 -0
- package/dist/utils/electron.d.ts +49 -0
- package/dist/utils/electron.js +63 -0
- package/dist/utils/electron.js.map +1 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/index.js +7 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/libc.d.ts +11 -0
- package/dist/utils/libc.js +35 -0
- package/dist/utils/libc.js.map +1 -0
- package/dist/utils/variant.d.ts +26 -0
- package/dist/utils/variant.js +31 -0
- package/dist/utils/variant.js.map +1 -0
- package/dist/webrtc/index.d.ts +4 -0
- package/dist/webrtc/index.js +7 -0
- package/dist/webrtc/index.js.map +1 -0
- package/install/check.js +124 -0
- package/install/ffmpeg.js +66 -0
- package/package.json +167 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format-options.js","sourceRoot":"","sources":["../../src/constants/format-options.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto-generated FFmpeg muxer/demuxer format names.
|
|
3
|
+
* Generated from FFmpeg libavformat/libavdevice (see scripts/generate-formats.js).
|
|
4
|
+
* DO NOT EDIT MANUALLY.
|
|
5
|
+
*/
|
|
6
|
+
import type { DemuxerPrivateOptionsMap, FormatContextOptions, MuxerPrivateOptionsMap, UnknownFormatOptions } from './format-options.js';
|
|
7
|
+
export type MuxerFormat = '3g2' | '3gp' | 'a64' | 'ac3' | 'ac4' | 'adts' | 'adx' | 'aea' | 'aiff' | 'alaw' | 'alp' | 'alsa' | 'amr' | 'amv' | 'apm' | 'apng' | 'aptx' | 'aptx_hd' | 'apv' | 'argo_asf' | 'argo_cvg' | 'asf' | 'asf_stream' | 'ass' | 'ast' | 'au' | 'audiotoolbox' | 'avi' | 'avif' | 'avm2' | 'avs2' | 'avs3' | 'bit' | 'caca' | 'caf' | 'cavsvideo' | 'chromaprint' | 'codec2' | 'codec2raw' | 'crc' | 'dash' | 'data' | 'daud' | 'decklink' | 'dfpwm' | 'dirac' | 'dnxhd' | 'dts' | 'dv' | 'dvd' | 'eac3' | 'evc' | 'f32be' | 'f32le' | 'f4v' | 'f64be' | 'f64le' | 'fbdev' | 'ffmetadata' | 'fifo' | 'fifo_test' | 'film_cpk' | 'filmstrip' | 'fits' | 'flac' | 'flv' | 'framecrc' | 'framehash' | 'framemd5' | 'g722' | 'g723_1' | 'g726' | 'g726le' | 'gif' | 'gsm' | 'gxf' | 'h261' | 'h263' | 'h264' | 'hash' | 'hds' | 'hevc' | 'hls' | 'iamf' | 'ico' | 'ilbc' | 'image2' | 'image2pipe' | 'ipod' | 'ircam' | 'ismv' | 'ivf' | 'jacosub' | 'kvag' | 'latm' | 'lc3' | 'lrc' | 'm4v' | 'matroska' | 'mcc' | 'md5' | 'microdvd' | 'mjpeg' | 'mkvtimestamp_v2' | 'mlp' | 'mmf' | 'mov' | 'mp2' | 'mp3' | 'mp4' | 'mpeg' | 'mpeg1video' | 'mpeg2video' | 'mpegts' | 'mpjpeg' | 'mulaw' | 'mxf' | 'mxf_d10' | 'mxf_opatom' | 'null' | 'nut' | 'obu' | 'oga' | 'ogg' | 'ogv' | 'oma' | 'opus' | 'oss' | 'psp' | 'pulse' | 'rawvideo' | 'rcwt' | 'rm' | 'roq' | 'rso' | 'rtp' | 'rtp_mpegts' | 'rtsp' | 's16be' | 's16le' | 's24be' | 's24le' | 's32be' | 's32le' | 's8' | 'sap' | 'sbc' | 'scc' | 'segment' | 'smjpeg' | 'smoothstreaming' | 'sndio' | 'sox' | 'spdif' | 'spx' | 'srt' | 'ssegment' | 'stream_segment' | 'streamhash' | 'sup' | 'svcd' | 'swf' | 'tee' | 'truehd' | 'tta' | 'ttml' | 'u16be' | 'u16le' | 'u24be' | 'u24le' | 'u32be' | 'u32le' | 'u8' | 'uncodedframecrc' | 'v4l2' | 'vc1' | 'vc1test' | 'vcd' | 'vidc' | 'video4linux2' | 'vob' | 'voc' | 'vvc' | 'w64' | 'wav' | 'webm' | 'webm_chunk' | 'webm_dash_manifest' | 'webp' | 'webvtt' | 'whip' | 'wsaud' | 'wtv' | 'wv' | 'xv' | 'yuv4mpegpipe';
|
|
8
|
+
export type DemuxerFormat = '3dostr' | '3g2' | '3gp' | '4xm' | 'aa' | 'aac' | 'aax' | 'ac3' | 'ac4' | 'ace' | 'acm' | 'act' | 'adf' | 'adp' | 'ads' | 'adx' | 'aea' | 'afc' | 'aiff' | 'aix' | 'alaw' | 'alias_pix' | 'alp' | 'alsa' | 'amr' | 'amrnb' | 'amrwb' | 'android_camera' | 'anm' | 'apac' | 'apc' | 'ape' | 'apm' | 'apng' | 'aptx' | 'aptx_hd' | 'apv' | 'aqtitle' | 'argo_asf' | 'argo_brp' | 'argo_cvg' | 'asf' | 'asf_o' | 'ass' | 'ast' | 'au' | 'av1' | 'avfoundation' | 'avi' | 'avisynth' | 'avr' | 'avs' | 'avs2' | 'avs3' | 'bethsoftvid' | 'bfi' | 'bfstm' | 'bin' | 'bink' | 'binka' | 'bit' | 'bitpacked' | 'bmp_pipe' | 'bmv' | 'boa' | 'bonk' | 'brender_pix' | 'brstm' | 'c93' | 'caf' | 'cavsvideo' | 'cdg' | 'cdxl' | 'cine' | 'codec2' | 'codec2raw' | 'concat' | 'cri_pipe' | 'dash' | 'data' | 'daud' | 'dcstr' | 'dds_pipe' | 'decklink' | 'derf' | 'dfa' | 'dfpwm' | 'dhav' | 'dirac' | 'dnxhd' | 'dpx_pipe' | 'dsf' | 'dshow' | 'dsicin' | 'dss' | 'dts' | 'dtshd' | 'dv' | 'dvbsub' | 'dvbtxt' | 'dvdvideo' | 'dxa' | 'ea' | 'ea_cdata' | 'eac3' | 'epaf' | 'evc' | 'exr_pipe' | 'f32be' | 'f32le' | 'f64be' | 'f64le' | 'fbdev' | 'ffmetadata' | 'film_cpk' | 'filmstrip' | 'fits' | 'flac' | 'flic' | 'flv' | 'frm' | 'fsb' | 'fwse' | 'g722' | 'g723_1' | 'g726' | 'g726le' | 'g728' | 'g729' | 'gdigrab' | 'gdv' | 'gem_pipe' | 'genh' | 'gif' | 'gif_pipe' | 'gsm' | 'gxf' | 'h261' | 'h263' | 'h264' | 'hca' | 'hcom' | 'hdr_pipe' | 'hevc' | 'hls' | 'hnm' | 'hxvs' | 'iamf' | 'ico' | 'idcin' | 'idf' | 'iec61883' | 'iff' | 'ifv' | 'ilbc' | 'image2' | 'image2pipe' | 'imf' | 'ingenient' | 'ipmovie' | 'ipu' | 'ircam' | 'iss' | 'iv8' | 'ivf' | 'ivr' | 'j2k_pipe' | 'jack' | 'jacosub' | 'jpeg_pipe' | 'jpegls_pipe' | 'jpegxl_anim' | 'jpegxl_pipe' | 'jpegxs_pipe' | 'jv' | 'kmsgrab' | 'kux' | 'kvag' | 'laf' | 'lavfi' | 'lc3' | 'libcdio' | 'libdc1394' | 'libgme' | 'libmodplug' | 'libopenmpt' | 'live_flv' | 'lmlm4' | 'loas' | 'lrc' | 'luodat' | 'lvf' | 'lxf' | 'm4a' | 'm4v' | 'matroska' | 'mca' | 'mcc' | 'mgsts' | 'microdvd' | 'mj2' | 'mjpeg' | 'mjpeg_2000' | 'mlp' | 'mlv' | 'mm' | 'mmf' | 'mods' | 'moflex' | 'mov' | 'mp3' | 'mp4' | 'mpc' | 'mpc8' | 'mpeg' | 'mpegts' | 'mpegtsraw' | 'mpegvideo' | 'mpjpeg' | 'mpl2' | 'mpsub' | 'msf' | 'msnwctcp' | 'msp' | 'mtaf' | 'mtv' | 'mulaw' | 'musx' | 'mv' | 'mvi' | 'mxf' | 'mxg' | 'nc' | 'nistsphere' | 'nsp' | 'nsv' | 'nut' | 'nuv' | 'obu' | 'ogg' | 'oma' | 'openal' | 'osq' | 'oss' | 'paf' | 'pam_pipe' | 'pbm_pipe' | 'pcx_pipe' | 'pdv' | 'pfm_pipe' | 'pgm_pipe' | 'pgmyuv_pipe' | 'pgx_pipe' | 'phm_pipe' | 'photocd_pipe' | 'pictor_pipe' | 'pjs' | 'pmp' | 'png_pipe' | 'pp_bnk' | 'ppm_pipe' | 'psd_pipe' | 'psxstr' | 'pulse' | 'pva' | 'pvf' | 'qcp' | 'qdraw_pipe' | 'qoa' | 'qoi_pipe' | 'r3d' | 'rawvideo' | 'rcwt' | 'rdt' | 'realtext' | 'redspark' | 'rka' | 'rl2' | 'rm' | 'roq' | 'rpl' | 'rsd' | 'rso' | 'rtp' | 'rtsp' | 's16be' | 's16le' | 's24be' | 's24le' | 's32be' | 's32le' | 's337m' | 's8' | 'sami' | 'sap' | 'sbc' | 'sbg' | 'scc' | 'scd' | 'sdns' | 'sdp' | 'sdr2' | 'sds' | 'sdx' | 'ser' | 'sga' | 'sgi_pipe' | 'shn' | 'siff' | 'simbiosis_imx' | 'sln' | 'smjpeg' | 'smk' | 'smush' | 'sndio' | 'sol' | 'sox' | 'spdif' | 'srt' | 'stl' | 'subviewer' | 'subviewer1' | 'sunrast_pipe' | 'sup' | 'svag' | 'svg_pipe' | 'svs' | 'swf' | 'tak' | 'tedcaptions' | 'thp' | 'tiertexseq' | 'tiff_pipe' | 'tmv' | 'truehd' | 'tta' | 'tty' | 'txd' | 'ty' | 'u16be' | 'u16le' | 'u24be' | 'u24le' | 'u32be' | 'u32le' | 'u8' | 'usm' | 'v210' | 'v210x' | 'v4l2' | 'vag' | 'vapoursynth' | 'vbn_pipe' | 'vc1' | 'vc1test' | 'vfwcap' | 'vidc' | 'video4linux2' | 'vividas' | 'vivo' | 'vmd' | 'vobsub' | 'voc' | 'vpk' | 'vplayer' | 'vqf' | 'vvc' | 'w64' | 'wady' | 'wav' | 'wavarc' | 'wc3movie' | 'webm' | 'webm_dash_manifest' | 'webp_pipe' | 'webvtt' | 'wsaud' | 'wsd' | 'wsvqa' | 'wtv' | 'wv' | 'wve' | 'x11grab' | 'xa' | 'xbin' | 'xbm_pipe' | 'xmd' | 'xmv' | 'xpm_pipe' | 'xvag' | 'xwd_pipe' | 'xwma' | 'yop' | 'yuv4mpegpipe';
|
|
9
|
+
/**
|
|
10
|
+
* Options for a muxer: generic AVFormatContext options + the format's private
|
|
11
|
+
* options (when the format name is known) + an open bag for protocol/other keys.
|
|
12
|
+
*/
|
|
13
|
+
export type MuxerOptionsFor<F> = FormatContextOptions & (F extends keyof MuxerPrivateOptionsMap ? MuxerPrivateOptionsMap[F] : {}) & UnknownFormatOptions;
|
|
14
|
+
/**
|
|
15
|
+
* Options for a demuxer: generic AVFormatContext options + the format's private
|
|
16
|
+
* options (when the format name is known) + an open bag for protocol/other keys.
|
|
17
|
+
*/
|
|
18
|
+
export type DemuxerOptionsFor<F> = FormatContextOptions & (F extends keyof DemuxerPrivateOptionsMap ? DemuxerPrivateOptionsMap[F] : {}) & UnknownFormatOptions;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formats.js","sourceRoot":"","sources":["../../src/constants/formats.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto-generated FFmpeg hardware device type constants
|
|
3
|
+
* Generated from FFmpeg source code (hwcontext.c)
|
|
4
|
+
* DO NOT EDIT MANUALLY
|
|
5
|
+
*/
|
|
6
|
+
declare const __hw_device_type_brand: unique symbol;
|
|
7
|
+
export type FFHWDeviceType = string & {
|
|
8
|
+
readonly [__hw_device_type_brand]: 'hw_device_type';
|
|
9
|
+
};
|
|
10
|
+
export declare const FF_HWDEVICE_TYPE_AMF: FFHWDeviceType;
|
|
11
|
+
export declare const FF_HWDEVICE_TYPE_CUDA: FFHWDeviceType;
|
|
12
|
+
export declare const FF_HWDEVICE_TYPE_D3D11VA: FFHWDeviceType;
|
|
13
|
+
export declare const FF_HWDEVICE_TYPE_D3D12VA: FFHWDeviceType;
|
|
14
|
+
export declare const FF_HWDEVICE_TYPE_DRM: FFHWDeviceType;
|
|
15
|
+
export declare const FF_HWDEVICE_TYPE_DXVA2: FFHWDeviceType;
|
|
16
|
+
export declare const FF_HWDEVICE_TYPE_MEDIACODEC: FFHWDeviceType;
|
|
17
|
+
export declare const FF_HWDEVICE_TYPE_NONE: FFHWDeviceType;
|
|
18
|
+
export declare const FF_HWDEVICE_TYPE_OHCODEC: FFHWDeviceType;
|
|
19
|
+
export declare const FF_HWDEVICE_TYPE_OPENCL: FFHWDeviceType;
|
|
20
|
+
export declare const FF_HWDEVICE_TYPE_QSV: FFHWDeviceType;
|
|
21
|
+
export declare const FF_HWDEVICE_TYPE_RKMPP: FFHWDeviceType;
|
|
22
|
+
export declare const FF_HWDEVICE_TYPE_VAAPI: FFHWDeviceType;
|
|
23
|
+
export declare const FF_HWDEVICE_TYPE_VDPAU: FFHWDeviceType;
|
|
24
|
+
export declare const FF_HWDEVICE_TYPE_VIDEOTOOLBOX: FFHWDeviceType;
|
|
25
|
+
export declare const FF_HWDEVICE_TYPE_VULKAN: FFHWDeviceType;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto-generated FFmpeg hardware device type constants
|
|
3
|
+
* Generated from FFmpeg source code (hwcontext.c)
|
|
4
|
+
* DO NOT EDIT MANUALLY
|
|
5
|
+
*/
|
|
6
|
+
// Brand symbol for type safety
|
|
7
|
+
const __hw_device_type_brand = Symbol('__hw_device_type_brand');
|
|
8
|
+
// ============================================================================
|
|
9
|
+
// HARDWARE DEVICE TYPES (16 total)
|
|
10
|
+
// ============================================================================
|
|
11
|
+
export const FF_HWDEVICE_TYPE_AMF = 'amf';
|
|
12
|
+
export const FF_HWDEVICE_TYPE_CUDA = 'cuda';
|
|
13
|
+
export const FF_HWDEVICE_TYPE_D3D11VA = 'd3d11va';
|
|
14
|
+
export const FF_HWDEVICE_TYPE_D3D12VA = 'd3d12va';
|
|
15
|
+
export const FF_HWDEVICE_TYPE_DRM = 'drm';
|
|
16
|
+
export const FF_HWDEVICE_TYPE_DXVA2 = 'dxva2';
|
|
17
|
+
export const FF_HWDEVICE_TYPE_MEDIACODEC = 'mediacodec';
|
|
18
|
+
export const FF_HWDEVICE_TYPE_NONE = 'none';
|
|
19
|
+
export const FF_HWDEVICE_TYPE_OHCODEC = 'ohcodec';
|
|
20
|
+
export const FF_HWDEVICE_TYPE_OPENCL = 'opencl';
|
|
21
|
+
export const FF_HWDEVICE_TYPE_QSV = 'qsv';
|
|
22
|
+
export const FF_HWDEVICE_TYPE_RKMPP = 'rkmpp';
|
|
23
|
+
export const FF_HWDEVICE_TYPE_VAAPI = 'vaapi';
|
|
24
|
+
export const FF_HWDEVICE_TYPE_VDPAU = 'vdpau';
|
|
25
|
+
export const FF_HWDEVICE_TYPE_VIDEOTOOLBOX = 'videotoolbox';
|
|
26
|
+
export const FF_HWDEVICE_TYPE_VULKAN = 'vulkan';
|
|
27
|
+
//# sourceMappingURL=hardware.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hardware.js","sourceRoot":"","sources":["../../src/constants/hardware.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,+BAA+B;AAC/B,MAAM,sBAAsB,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC;AAKhE,+EAA+E;AAC/E,mCAAmC;AACnC,+EAA+E;AAE/E,MAAM,CAAC,MAAM,oBAAoB,GAAG,KAAuB,CAAC;AAC5D,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAwB,CAAC;AAC9D,MAAM,CAAC,MAAM,wBAAwB,GAAG,SAA2B,CAAC;AACpE,MAAM,CAAC,MAAM,wBAAwB,GAAG,SAA2B,CAAC;AACpE,MAAM,CAAC,MAAM,oBAAoB,GAAG,KAAuB,CAAC;AAC5D,MAAM,CAAC,MAAM,sBAAsB,GAAG,OAAyB,CAAC;AAChE,MAAM,CAAC,MAAM,2BAA2B,GAAG,YAA8B,CAAC;AAC1E,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAwB,CAAC;AAC9D,MAAM,CAAC,MAAM,wBAAwB,GAAG,SAA2B,CAAC;AACpE,MAAM,CAAC,MAAM,uBAAuB,GAAG,QAA0B,CAAC;AAClE,MAAM,CAAC,MAAM,oBAAoB,GAAG,KAAuB,CAAC;AAC5D,MAAM,CAAC,MAAM,sBAAsB,GAAG,OAAyB,CAAC;AAChE,MAAM,CAAC,MAAM,sBAAsB,GAAG,OAAyB,CAAC;AAChE,MAAM,CAAC,MAAM,sBAAsB,GAAG,OAAyB,CAAC;AAChE,MAAM,CAAC,MAAM,6BAA6B,GAAG,cAAgC,CAAC;AAC9E,MAAM,CAAC,MAAM,uBAAuB,GAAG,QAA0B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './channel-layouts.js';
|
|
2
|
+
export * from './constants.js';
|
|
3
|
+
export * from './decoders.js';
|
|
4
|
+
export * from './encoders.js';
|
|
5
|
+
export * from './hardware.js';
|
|
6
|
+
export type * from './bsf-options.js';
|
|
7
|
+
export type * from './filter-options.js';
|
|
8
|
+
export type * from './format-options.js';
|
|
9
|
+
export type * from './formats.js';
|
|
10
|
+
export type * from './options.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC"}
|