add srt + webp
This commit is contained in:
parent
40401087e4
commit
c6f3579430
2 changed files with 46 additions and 0 deletions
31
technology/files/media/SubRip.md
Normal file
31
technology/files/media/SubRip.md
Normal file
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
obj: concept
|
||||
wiki: https://en.wikipedia.org/wiki/SubRip
|
||||
---
|
||||
|
||||
# SubRip Subtitles
|
||||
SRT (SubRip Subtitle) is one of the most widely used subtitle file formats for displaying timed text along with video content. It is a simple and human-readable format, making it popular among content creators and consumers alike. SRT files contain information about the timing and content of subtitles, allowing them to be synchronized with video playback.
|
||||
|
||||
## Format
|
||||
SRT files typically consist of multiple subtitle entries, each representing a specific segment of text to be displayed at a particular point in time during video playback. The structure of an SRT file is straightforward:
|
||||
1. **Subtitle Number**: Each subtitle entry begins with a numerical identifier.
|
||||
2. **Timing Information**: Timing information indicates when the subtitle should appear and disappear on the screen. It is expressed in the format `start time --> end time`.
|
||||
3. **Subtitle Text**: The actual text content of the subtitle appears below the timing information. It may span multiple lines but does not contain any markup or formatting.
|
||||
|
||||
Here is an example of a basic SRT file:
|
||||
```srt
|
||||
1
|
||||
00:00:10,500 --> 00:00:13,000
|
||||
Hello, world!
|
||||
|
||||
2
|
||||
00:00:15,000 --> 00:00:18,000
|
||||
This is a sample subtitle.
|
||||
```
|
||||
|
||||
## Timing Format
|
||||
The timing information in SRT files follows a specific format:
|
||||
- **Start Time**: Indicates when the subtitle should appear on the screen. It is represented in the format `hours:minutes:seconds,milliseconds`.
|
||||
- **End Time**: Indicates when the subtitle should disappear from the screen. It follows the same format as the start time.
|
||||
|
||||
The start and end times are separated by `-->`, and milliseconds are separated from seconds by a comma.
|
15
technology/files/media/image/WebP.md
Normal file
15
technology/files/media/image/WebP.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
obj: codec
|
||||
wiki: https://en.wikipedia.org/wiki/WebP
|
||||
website: https://developers.google.com/speed/webp
|
||||
---
|
||||
|
||||
# WebP
|
||||
WebP is an image format developed by Google that provides both lossy and lossless compression for images on the web. It aims to offer smaller file sizes with comparable image quality to existing formats like JPEG and [PNG](PNG.md).
|
||||
|
||||
## Features
|
||||
- **Lossy and Lossless Compression**: WebP supports both lossy and lossless compression. Lossy compression reduces file size by sacrificing some image quality, while lossless compression retains all image data without any loss in quality.
|
||||
- **Transparency**: Like [PNG](PNG.md), WebP supports transparency (alpha channel) in images. This allows for the creation of images with transparent backgrounds, which is useful for logos, icons, and other graphics.
|
||||
- **Animation**: WebP also supports animation, similar to GIF. This feature allows for the creation of lightweight animated images, which can be useful for banners, ads, and other web content.
|
||||
- **Metadata**: WebP images can contain metadata such as color profile information, which helps maintain color accuracy across different devices and platforms.
|
||||
- **Wide Browser Support**: Most modern web browsers support the WebP format, including Google Chrome, [Firefox](../../../applications/network/browsers/Firefox.md), Microsoft Edge, and Opera. However, support may vary in older or less popular browsers.
|
Loading…
Reference in a new issue