typed-ffmpeg-compatible 3.0.2a0__py3-none-any.whl → 3.2.2__py3-none-any.whl

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 (61) hide show
  1. typed_ffmpeg/__init__.py +2 -1
  2. typed_ffmpeg/_version.py +21 -0
  3. typed_ffmpeg/compile/compile_cli.py +43 -35
  4. typed_ffmpeg/compile/compile_python.py +3 -4
  5. typed_ffmpeg/ffprobe/__init__.py +0 -0
  6. typed_ffmpeg/ffprobe/parse.py +133 -0
  7. typed_ffmpeg/ffprobe/probe.py +272 -0
  8. typed_ffmpeg/ffprobe/schema.py +455 -0
  9. typed_ffmpeg/ffprobe/xml2json.py +70 -0
  10. {typed_ffmpeg_compatible-3.0.2a0.dist-info → typed_ffmpeg_compatible-3.2.2.dist-info}/METADATA +36 -17
  11. typed_ffmpeg_compatible-3.2.2.dist-info/RECORD +58 -0
  12. {typed_ffmpeg_compatible-3.0.2a0.dist-info → typed_ffmpeg_compatible-3.2.2.dist-info}/WHEEL +2 -1
  13. typed_ffmpeg_compatible-3.2.2.dist-info/entry_points.txt +2 -0
  14. typed_ffmpeg_compatible-3.2.2.dist-info/top_level.txt +1 -0
  15. typed_ffmpeg/common/cache/.gitignore +0 -3
  16. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/acrossover.json +0 -6
  17. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/afir.json +0 -9
  18. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/aiir.json +0 -6
  19. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/ainterleave.json +0 -9
  20. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/amerge.json +0 -9
  21. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/amix.json +0 -9
  22. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/amovie.json +0 -6
  23. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/anequalizer.json +0 -6
  24. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/aphasemeter.json +0 -6
  25. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/asegment.json +0 -6
  26. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/aselect.json +0 -6
  27. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/asplit.json +0 -6
  28. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/astreamselect.json +0 -9
  29. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/bm3d.json +0 -6
  30. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/channelsplit.json +0 -6
  31. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/concat.json +0 -9
  32. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/decimate.json +0 -6
  33. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/ebur128.json +0 -6
  34. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/extractplanes.json +0 -6
  35. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/fieldmatch.json +0 -6
  36. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/guided.json +0 -6
  37. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/headphone.json +0 -6
  38. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/hstack.json +0 -9
  39. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/interleave.json +0 -9
  40. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/join.json +0 -9
  41. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/libplacebo.json +0 -9
  42. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/limitdiff.json +0 -6
  43. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/mergeplanes.json +0 -6
  44. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/mix.json +0 -9
  45. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/movie.json +0 -6
  46. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/premultiply.json +0 -6
  47. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/segment.json +0 -6
  48. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/select.json +0 -6
  49. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/signature.json +0 -9
  50. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/split.json +0 -6
  51. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/streamselect.json +0 -9
  52. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/unpremultiply.json +0 -6
  53. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/vstack.json +0 -9
  54. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/xmedian.json +0 -9
  55. typed_ffmpeg/common/cache/FFMpegFilterManuallyDefined/xstack.json +0 -9
  56. typed_ffmpeg/common/cache/list/filters.json +0 -90747
  57. typed_ffmpeg/common/cache/list/options.json +0 -1694
  58. typed_ffmpeg/probe.py +0 -75
  59. typed_ffmpeg_compatible-3.0.2a0.dist-info/RECORD +0 -95
  60. typed_ffmpeg_compatible-3.0.2a0.dist-info/entry_points.txt +0 -3
  61. {typed_ffmpeg_compatible-3.0.2a0.dist-info → typed_ffmpeg_compatible-3.2.2.dist-info/licenses}/LICENSE +0 -0
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ scripts = scripts.main:app
@@ -0,0 +1 @@
1
+ typed_ffmpeg
@@ -1,3 +0,0 @@
1
- docs/
2
- FFMpegFilter/
3
- FilterDocument/
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": null,
4
- "formula_typings_output": "[StreamType.audio] * len(re.split(r'[ |]+', str(split)))",
5
- "name": "acrossover"
6
- }
@@ -1,9 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.audio] * int(nbirs)",
4
- "formula_typings_output": null,
5
- "name": "afir",
6
- "pre": {
7
- "nbirs": "len(streams)"
8
- }
9
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": null,
4
- "formula_typings_output": "[StreamType.audio] + [StreamType.video] if response else []",
5
- "name": "aiir"
6
- }
@@ -1,9 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.audio] * int(nb_inputs)",
4
- "formula_typings_output": null,
5
- "name": "ainterleave",
6
- "pre": {
7
- "nb_inputs": "len(streams)"
8
- }
9
- }
@@ -1,9 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.audio] * int(inputs)",
4
- "formula_typings_output": null,
5
- "name": "amerge",
6
- "pre": {
7
- "inputs": "len(streams)"
8
- }
9
- }
@@ -1,9 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.audio] * int(inputs)",
4
- "formula_typings_output": null,
5
- "name": "amix",
6
- "pre": {
7
- "inputs": "len(streams)"
8
- }
9
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.audio] * len(streams.split('+'))",
4
- "formula_typings_output": "[StreamType.audio] * len(streams.split('+'))",
5
- "name": "amovie"
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": null,
4
- "formula_typings_output": "[StreamType.audio] + [StreamType.video] if curves else []",
5
- "name": "anequalizer"
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": null,
4
- "formula_typings_output": "[StreamType.audio] + ([StreamType.video] if video else [])",
5
- "name": "aphasemeter"
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": null,
4
- "formula_typings_output": "[StreamType.audio] * len(str(timestamps or samples).split('|'))",
5
- "name": "asegment"
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": null,
4
- "formula_typings_output": "[StreamType.audio] * int(outputs)",
5
- "name": "aselect"
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": null,
4
- "formula_typings_output": "[StreamType.audio] * int(outputs)",
5
- "name": "asplit"
6
- }
@@ -1,9 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.audio] * int(inputs)",
4
- "formula_typings_output": "[StreamType.audio] * len(re.findall(r'\\d+', str(map)))",
5
- "name": "astreamselect",
6
- "pre": {
7
- "inputs": "len(streams)"
8
- }
9
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] + [StreamType.video] if ref else []",
4
- "formula_typings_output": null,
5
- "name": "bm3d"
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": null,
4
- "formula_typings_output": "[StreamType.audio] * CHANNEL_LAYOUT[str(channel_layout)]",
5
- "name": "channelsplit"
6
- }
@@ -1,9 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "([StreamType.video]*int(v) + [StreamType.audio]*int(a))*int(n)",
4
- "formula_typings_output": "[StreamType.video]*int(v) + [StreamType.audio]*int(a)",
5
- "name": "concat",
6
- "pre": {
7
- "n": "len(streams) // (int(v) + int(a))"
8
- }
9
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] + ([StreamType.video] if ppsrc else [])",
4
- "formula_typings_output": null,
5
- "name": "decimate"
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": null,
4
- "formula_typings_output": "[StreamType.video] if video else [] + [StreamType.audio]",
5
- "name": "ebur128"
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": null,
4
- "formula_typings_output": "[StreamType.video] * len(planes.split('+'))",
5
- "name": "extractplanes"
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] + [StreamType.video] if ppsrc else []",
4
- "formula_typings_output": null,
5
- "name": "fieldmatch"
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] + [StreamType.video] if guidance else []",
4
- "formula_typings_output": null,
5
- "name": "guided"
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.audio] + [StreamType.audio] * (len(str(map).split('|')) - 1) if int(hrir) == 1 else []",
4
- "formula_typings_output": null,
5
- "name": "headphone"
6
- }
@@ -1,9 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] * int(inputs)",
4
- "formula_typings_output": null,
5
- "name": "hstack",
6
- "pre": {
7
- "inputs": "len(streams)"
8
- }
9
- }
@@ -1,9 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] * int(nb_inputs)",
4
- "formula_typings_output": null,
5
- "name": "interleave",
6
- "pre": {
7
- "nb_inputs": "len(streams)"
8
- }
9
- }
@@ -1,9 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.audio] * int(inputs)",
4
- "formula_typings_output": null,
5
- "name": "join",
6
- "pre": {
7
- "inputs": "len(streams)"
8
- }
9
- }
@@ -1,9 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] * int(inputs)",
4
- "formula_typings_output": null,
5
- "name": "libplacebo",
6
- "pre": {
7
- "inputs": "len(streams)"
8
- }
9
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video, StreamType.video] + ([StreamType.video] if reference else [])",
4
- "formula_typings_output": null,
5
- "name": "limitdiff"
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] * int(max(hex(int(mapping))[2::2]))",
4
- "formula_typings_output": null,
5
- "name": "mergeplanes"
6
- }
@@ -1,9 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] * int(inputs)",
4
- "formula_typings_output": null,
5
- "name": "mix",
6
- "pre": {
7
- "inputs": "len(streams)"
8
- }
9
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] * len(streams.split('+'))",
4
- "formula_typings_output": "[StreamType.video] * len(streams.split('+'))",
5
- "name": "movie"
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] + [StreamType.video] if inplace else []",
4
- "formula_typings_output": null,
5
- "name": "premultiply"
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": null,
4
- "formula_typings_output": "[StreamType.video] * len((str(timestamps or frames)).split('|'))",
5
- "name": "segment"
6
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": null,
4
- "formula_typings_output": "[StreamType.video] * int(outputs)",
5
- "name": "select"
6
- }
@@ -1,9 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] * int(nb_inputs)",
4
- "formula_typings_output": null,
5
- "name": "signature",
6
- "pre": {
7
- "nb_inputs": "len(streams)"
8
- }
9
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": null,
4
- "formula_typings_output": "[StreamType.video] * int(outputs)",
5
- "name": "split"
6
- }
@@ -1,9 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] * int(inputs)",
4
- "formula_typings_output": "[StreamType.video] * len(re.findall(r'\\d+', str(map)))",
5
- "name": "streamselect",
6
- "pre": {
7
- "inputs": "len(streams)"
8
- }
9
- }
@@ -1,6 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] + ([StreamType.video] if inplace else [])",
4
- "formula_typings_output": null,
5
- "name": "unpremultiply"
6
- }
@@ -1,9 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] * int(inputs)",
4
- "formula_typings_output": null,
5
- "name": "vstack",
6
- "pre": {
7
- "inputs": "len(streams)"
8
- }
9
- }
@@ -1,9 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] * int(inputs)",
4
- "formula_typings_output": null,
5
- "name": "xmedian",
6
- "pre": {
7
- "inputs": "len(streams)"
8
- }
9
- }
@@ -1,9 +0,0 @@
1
- {
2
- "__class__": "FFMpegFilterManuallyDefined",
3
- "formula_typings_input": "[StreamType.video] * int(inputs)",
4
- "formula_typings_output": null,
5
- "name": "xstack",
6
- "pre": {
7
- "inputs": "len(streams)"
8
- }
9
- }