This commit is contained in:
JMARyA 2024-02-27 11:06:13 +01:00
parent 561a0e06a6
commit fe20f4396c
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
7 changed files with 31 additions and 24 deletions

View file

@ -696,7 +696,7 @@ def my_decorator(func):
print("Something is happening before the function is called.")
func() # Call the original function
print("Something is happening after the function is called.")
return wrapper
return wrapper
@my_decorator
def say_hello():

View file

@ -3,15 +3,16 @@ aliases: ["mkv"]
website: https://matroska.org
obj: concept
---
# Matroska
The Matroska Multimedia Container is a free and open container format, a file format that can hold an unlimited number of video, audio, picture, or subtitle tracks in one file. It is a universal format for storing common multimedia content, like movies or TV shows. Matroska is similar in concept to other containers like AVI, MP4, or Advanced Systems Format (ASF), but is entirely open in specification, with implementations consisting mostly of open source software. Matroska file extensions are .mkv for video (which may include subtitles or audio), .mk3d for stereoscopic video, .mka for audio-only files (which may include subtitles), and .mks for subtitles only.
Editing and creation of Matroska files can be done using [MKVToolnix](../../applications/media/MKVToolnix.md).
| Name | Value |
| ------------------------ | -------------------------------------- |
| Extension | .mkv .mk3d .mka .mks |
| Name | Value |
| ------------------ | -------------------------------------- |
| Extension | .mkv .mk3d .mka .mks |
| [MIME](../MIME.md) | video/x-matroska <br> audio/x-matroska |
| Website | https://matroska.org |
| Website | https://matroska.org |
## Features

View file

@ -2,6 +2,7 @@
website: https://opus-codec.org/
obj: codec
---
# Opus
Opus is a lossy audio coding format developed by the Xiph.Org Foundation and standardized by the Internet Engineering Task Force, designed to efficiently code speech and general audio in a single format, while remaining low-latency enough for real-time interactive communication and low-complexity enough for low-end embedded processors. Opus replaces both Vorbis and Speex for new applications, and several blind listening tests have ranked it higher-quality than any other standard audio format at any given bitrate until transparency is reached, including MP3, AAC, and HE-AAC.
@ -9,9 +10,9 @@ Opus combines the speech-oriented LPC-based SILK algorithm and the lower-latency
As an open format standardized through RFC 6716, a reference implementation called libopus is available under the New BSD License. The reference has both fixed-point and floating-point optimizations for low- and high-end devices, with SIMD optimizations on platforms that support them. All known software patents that cover Opus are licensed under royalty-free terms. Opus is widely used as the voice-over-IP (VoIP) codec in applications such as Discord, WhatsApp, and the PlayStation 4.
| Name | Value |
| --------- | ----------------------- |
| Extension | .opus |
| [MIME](../../MIME.md) | audio/ogg<br>audio/opus |
| Website | https://opus-codec.org/ |
| Name | Value |
| --------------------- | ----------------------- |
| Extension | .opus |
| [MIME](../../MIME.md) | audio/ogg<br>audio/opus |
| Website | https://opus-codec.org/ |

View file

@ -1,10 +1,11 @@
---
obj: codec
---
# WAV
Waveform Audio File Format (WAVE, or WAV due to its filename extension; pronounced "wave") is an audio file format standard, developed by IBM and Microsoft, for storing an audio bitstream on PCs. It is the main format used on Microsoft Windows systems for uncompressed audio. The usual bitstream encoding is the linear pulse-code modulation (LPCM) format.
| Name | Value |
| --------- | -------------------------------------- |
| Extension | .wav<br>.wave |
| [MIME](../../MIME.md) | audio/x-wav<br>audio/wav<br>audio/wave |
| Name | Value |
| --------------------- | -------------------------------------- |
| Extension | .wav<br>.wave |
| [MIME](../../MIME.md) | audio/x-wav<br>audio/wav<br>audio/wave |

View file

@ -2,19 +2,20 @@
obj: codec
website: https://aomediacodec.github.io/av1-avif
---
# AVIF
AV1 Image File Format (AVIF) is an open, royalty-free image file format specification for storing images or image sequences compressed with AV1 in the HEIF container format. It competes with HEIC, which uses the same container format built upon ISOBMFF, but HEVC for compression. Version 1.0.0 of the AVIF specification was finalized in February 2019.
| Name | Value |
| ------------------- | ------------ |
| Filename extension | .avif |
| Internet media type | `image/avif` |
| Name | Value |
| --------------------- | ------------ |
| Filename extension | .avif |
| [MIME](../../MIME.md) | `image/avif` |
## Features
The AV1 Image File Format supports:
- Multiple color spaces, including:
- HDR (with PQ or HLG transfer functions and BT.2020 color primaries, as part of BT.2100)
- SDR (with sRGB/ BT.709 / BT.601 or with wide color gamut
- SDR (with sRGB/ BT.709 / BT.601 or with wide color gamut)
- Color space signaling via CICP (ITU-T H.273 and ISO/IEC 23091-2) or ICC profiles
- Lossless compression and lossy compression
- 8-, 10-, and 12-bit color depths

View file

@ -1,6 +1,7 @@
---
obj: codec
---
# PNG
Portable Network Graphics (PNG) is a raster-graphics file format that supports lossless data compression. PNG was developed as an improved, non-patented replacement for Graphics Interchange Format (GIF) — unofficially, the initials PNG stood for the recursive acronym "PNG's not GIF".
@ -8,8 +9,8 @@ PNG supports palette-based images (with palettes of 24-bit RGB or 32-bit RGBA co
PNG files use the file extension PNG or png and are assigned [MIME](../../MIME.md) media type image/png. PNG was published as informational RFC 2083 in March 1997 and as an ISO/IEC 15948 standard in 2004.
| Name | Value |
| ------------ | ------------------------- |
| Extension | .png |
| [MIME](../../MIME.md) | image/png |
| Magic Number | `89 50 4e 47 0d 0a 1a 0a` |
| Name | Value |
| --------------------- | ------------------------- |
| Extension | .png |
| [MIME](../../MIME.md) | image/png |
| Magic Number | `89 50 4e 47 0d 0a 1a 0a` |

View file

@ -1,7 +1,9 @@
---
obj: codec
---
# AV1
#refactor -> add encoding options av1an,
AV1 is a royalty-free video codec designed to be an alternative to the widely used [H.264](H.264.md) and HEVC [codecs](../Codecs.md). It was developed by the Alliance for Open Media, a consortium of technology companies including Google, Mozilla, and Netflix.
Encoding can be done with [ffmpeg](../../../applications/media/ffmpeg.md) or av1an.