node-av 6.0.0-beta.2 → 6.0.0-beta.4

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.
Files changed (51) hide show
  1. package/dist/api/bitstream-filter.d.ts +110 -87
  2. package/dist/api/bitstream-filter.js +157 -100
  3. package/dist/api/bitstream-filter.js.map +1 -1
  4. package/dist/api/decoder.d.ts +9 -7
  5. package/dist/api/decoder.js.map +1 -1
  6. package/dist/api/demuxer.d.ts +27 -22
  7. package/dist/api/demuxer.js.map +1 -1
  8. package/dist/api/encoder.d.ts +9 -7
  9. package/dist/api/encoder.js +10 -4
  10. package/dist/api/encoder.js.map +1 -1
  11. package/dist/api/filter-presets.d.ts +27 -658
  12. package/dist/api/filter-presets.js +45 -838
  13. package/dist/api/filter-presets.js.map +1 -1
  14. package/dist/api/fmp4-stream.js +1 -1
  15. package/dist/api/fmp4-stream.js.map +1 -1
  16. package/dist/api/muxer.d.ts +24 -15
  17. package/dist/api/muxer.js +27 -0
  18. package/dist/api/muxer.js.map +1 -1
  19. package/dist/api/pipeline.js +6 -6
  20. package/dist/api/pipeline.js.map +1 -1
  21. package/dist/api/rtp-stream.js +1 -1
  22. package/dist/api/rtp-stream.js.map +1 -1
  23. package/dist/constants/bsf-options.d.ts +333 -0
  24. package/dist/constants/bsf-options.js +7 -0
  25. package/dist/constants/bsf-options.js.map +1 -0
  26. package/dist/constants/decoders.d.ts +636 -618
  27. package/dist/constants/decoders.js +0 -2
  28. package/dist/constants/decoders.js.map +1 -1
  29. package/dist/constants/encoders.d.ts +300 -282
  30. package/dist/constants/encoders.js +0 -2
  31. package/dist/constants/encoders.js.map +1 -1
  32. package/dist/constants/filter-options.d.ts +10915 -0
  33. package/dist/constants/filter-options.js +7 -0
  34. package/dist/constants/filter-options.js.map +1 -0
  35. package/dist/constants/format-options.d.ts +3056 -0
  36. package/dist/constants/format-options.js +7 -0
  37. package/dist/constants/format-options.js.map +1 -0
  38. package/dist/constants/formats.d.ts +18 -0
  39. package/dist/constants/formats.js +7 -0
  40. package/dist/constants/formats.js.map +1 -0
  41. package/dist/constants/index.d.ts +5 -0
  42. package/dist/constants/options.d.ts +4073 -0
  43. package/dist/constants/options.js +7 -0
  44. package/dist/constants/options.js.map +1 -0
  45. package/dist/lib/codec.d.ts +26 -1
  46. package/dist/lib/codec.js +27 -0
  47. package/dist/lib/codec.js.map +1 -1
  48. package/dist/lib/dictionary.d.ts +1 -1
  49. package/dist/lib/dictionary.js.map +1 -1
  50. package/dist/lib/native-types.d.ts +18 -0
  51. package/package.json +17 -12
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Auto-generated container (de)muxer option types.
3
+ * Generated from FFmpeg libavformat AVOption sources (see scripts/generate-format-options.js).
4
+ * DO NOT EDIT MANUALLY.
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=format-options.js.map
@@ -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' | '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' | 'f4v' | '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' | 'mxf' | 'mxf_d10' | 'mxf_opatom' | 'null' | 'nut' | 'obu' | 'oga' | 'ogg' | 'ogv' | 'oma' | 'opus' | 'oss' | 'pdv' | 'psp' | 'pulse' | 'rawvideo' | 'rcwt' | 'rm' | 'roq' | 'rso' | 'rtp' | 'rtp_mpegts' | 'rtsp' | 'sap' | 'sbc' | 'scc' | 'segment' | 'smjpeg' | 'smoothstreaming' | 'sndio' | 'sox' | 'spdif' | 'spx' | 'srt' | 'ssegment' | 'stream_segment' | 'streamhash' | 'sup' | 'svcd' | 'swf' | 'tee' | 'truehd' | 'tta' | 'ttml' | 'uncodedframecrc' | 'v4l2' | 'vc1' | 'vc1test' | 'vcd' | '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' | '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' | 'bethsoftvid' | 'bfi' | 'bfstm' | 'bin' | 'bink' | 'binka' | 'bit' | 'bitpacked' | 'bmv' | 'boa' | 'bonk' | 'brender_pix' | 'brstm' | 'c93' | 'caf' | 'cdg' | 'cdxl' | 'cine' | 'codec2' | 'codec2raw' | 'concat' | 'dash' | 'data' | 'daud' | 'dcstr' | 'decklink' | 'derf' | 'dfa' | 'dfpwm' | 'dhav' | 'dsf' | 'dshow' | 'dsicin' | 'dss' | 'dts' | 'dtshd' | 'dv' | 'dvdvideo' | 'dxa' | 'ea' | 'ea_cdata' | 'eac3' | 'epaf' | 'evc' | 'fbdev' | 'ffmetadata' | 'film_cpk' | 'filmstrip' | 'fits' | 'flac' | 'flic' | 'flv' | 'frm' | 'fsb' | 'fwse' | 'g722' | 'g723_1' | 'g726' | 'g726le' | 'g728' | 'g729' | 'gdigrab' | 'gdv' | 'genh' | 'gif' | 'gsm' | 'gxf' | 'hca' | 'hcom' | 'hls' | 'hnm' | 'hxvs' | 'iamf' | 'ico' | 'idcin' | 'idf' | 'iec61883' | 'iff' | 'ifv' | 'ilbc' | 'image2' | 'image2pipe' | 'imf' | 'ingenient' | 'ipmovie' | 'ipu' | 'ircam' | 'iss' | 'iv8' | 'ivf' | 'ivr' | 'jack' | 'jacosub' | 'jpegxl_anim' | 'jv' | 'kmsgrab' | 'kux' | 'kvag' | 'laf' | 'lavfi' | 'lc3' | 'libcdio' | 'libdc1394' | 'libgme' | 'libmodplug' | 'libopenmpt' | 'live_flv' | 'lmlm4' | 'loas' | 'lrc' | 'luodat' | 'lvf' | 'lxf' | 'm4a' | 'matroska' | 'mca' | 'mcc' | 'mgsts' | 'microdvd' | 'mj2' | 'mlp' | 'mlv' | 'mm' | 'mmf' | 'mods' | 'moflex' | 'mov' | 'mp3' | 'mp4' | 'mpc' | 'mpc8' | 'mpeg' | 'mpegts' | 'mpegtsraw' | 'mpjpeg' | 'mpl2' | 'mpsub' | 'msf' | 'msnwctcp' | 'msp' | 'mtaf' | 'mtv' | 'musx' | 'mv' | 'mvi' | 'mxf' | 'mxg' | 'nc' | 'nistsphere' | 'nsp' | 'nsv' | 'nut' | 'nuv' | 'obu' | 'ogg' | 'oma' | 'openal' | 'osq' | 'oss' | 'paf' | 'pdv' | 'pjs' | 'pmp' | 'pp_bnk' | 'psxstr' | 'pulse' | 'pva' | 'pvf' | 'qcp' | 'qoa' | 'r3d' | 'rawvideo' | 'rcwt' | 'rdt' | 'realtext' | 'redspark' | 'rka' | 'rl2' | 'rm' | 'roq' | 'rpl' | 'rsd' | 'rso' | 'rtp' | 'rtsp' | 's337m' | 'sami' | 'sap' | 'sbc' | 'sbg' | 'scc' | 'scd' | 'sdns' | 'sdp' | 'sdr2' | 'sds' | 'sdx' | 'ser' | 'sga' | 'shn' | 'siff' | 'simbiosis_imx' | 'sln' | 'smjpeg' | 'smk' | 'smush' | 'sndio' | 'sol' | 'sox' | 'spdif' | 'srt' | 'stl' | 'subviewer' | 'subviewer1' | 'sup' | 'svag' | 'svs' | 'swf' | 'tak' | 'tedcaptions' | 'thp' | 'tiertexseq' | 'tmv' | 'truehd' | 'tta' | 'tty' | 'txd' | 'ty' | 'usm' | 'v210' | 'v210x' | 'v4l2' | 'vag' | 'vapoursynth' | 'vc1test' | 'vfwcap' | 'video4linux2' | 'vividas' | 'vivo' | 'vmd' | 'vobsub' | 'voc' | 'vpk' | 'vplayer' | 'vqf' | 'w64' | 'wady' | 'wav' | 'wavarc' | 'wc3movie' | 'webm' | 'webm_dash_manifest' | 'webp_anim' | 'webvtt' | 'wsaud' | 'wsd' | 'wsvqa' | 'wtv' | 'wv' | 'wve' | 'x11grab' | 'xa' | 'xbin' | 'xmd' | 'xmv' | 'xvag' | '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,7 @@
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
+ export {};
7
+ //# sourceMappingURL=formats.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formats.js","sourceRoot":"","sources":["../../src/constants/formats.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -3,3 +3,8 @@ export * from './constants.js';
3
3
  export * from './decoders.js';
4
4
  export * from './encoders.js';
5
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';