Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert to markdown for web/{opensearch, performance, security, progressive_web_apps} zh-TW #7509

Merged
merged 3 commits into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,324 changes: 0 additions & 1,324 deletions files/zh-tw/web/media/formats/containers/index.html

This file was deleted.

1,214 changes: 1,214 additions & 0 deletions files/zh-tw/web/media/formats/containers/index.md

Large diffs are not rendered by default.

88 changes: 0 additions & 88 deletions files/zh-tw/web/media/formats/index.html

This file was deleted.

69 changes: 69 additions & 0 deletions files/zh-tw/web/media/formats/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
title: 'Media type and format guide: image, audio, and video content'
slug: Web/Media/Formats
tags:
- API
- Audio
- Codecs
- Containers
- File Types
- Files
- Filetypes
- Landing
- Media
- NeedsTranslation
- TopicStub
- Types
- Video
- Web
- formats
translation_of: Web/Media/Formats
---
{{QuickLinksWithSubpages("/en-US/docs/Web/Media")}}

Since nearly its beginning, the web has included support for some form of visual media presentation. Originally, these capabilities were limited, and were expanded organically, with different browsers finding their own solutions to the problems around including still and video imagery on the web. The modern web has powerful features to support the presentation and manipulation of media, with several media-related APIs supporting various types of content. Generally, the media formats supported by a browser are entirely up to the browser's creators, which can complicate the work of a web developer.

This guide provides an overview of the media file types, {{Glossary("codec", "codecs")}}, and algorithms that may comprise media used on the web. It also provides browser support information for various combinations of these, and suggestions for prioritization of formats, as well as which formats excel at specific types of content.

## References

### Images

- [Image file type and format guide](/zh-TW/docs/Web/Media/Formats/Image_types)
- : Covers support of image file types and content formats across the major web browsers, as well as providing basic information about each type: benefits, limitations, and use cases of interest to web designers and developers.
- [Image file types for web designers](/zh-TW/docs/Web/Media/Formats/Images_for_web_designers)
- : Fundamental information about the various image file types that may be useful for web designers, including best practices and use cases for each type, and guidelines for choosing the right image file format for specific types of content.

### Media file types and codecs

- [Media containers (file types)](/zh-TW/docs/Web/Media/Formats/Containers)
- : A guide to the file types that contain media data. Some are audio-specific, while others may be used for either audio or combined audiovisual content such as movies. Includes overviews of each of the file types supported by the major web browsers, along with browser support information and supported features.
- [Web audio codec guide](/zh-TW/docs/Web/Media/Formats/Audio_codecs)
- : A guide to the audio codecs allowed for by the common media containers, as well as by the major browsers. Includes benefits, limitations, key specifications and capabilities, and use cases. It also covers each browser's support for using the codec in given containers.
- [Web video codec guide](/zh-TW/docs/Web/Media/Formats/Video_codecs)
- : This article provides basic information about the video codecs supported by the major browsers, as well as some that are not commonly supported but that you might still run into. It also covers codec capabilities, benefits, limitations, and browser support levels and restrictions.
- [The "codecs" parameter in common media types](/zh-TW/docs/Web/Media/Formats/codecs_parameter)
- : When specifying the MIME type describing a media format, you can provide details using the `codecs` parameter as part of the type string. This guide describes the format and possible values of the `codecs` parameter for the common media types.
- [Codecs used by WebRTC](/zh-TW/docs/Web/Media/Formats/WebRTC_codecs)
- : [WebRTC](/zh-TW/docs/Web/API/WebRTC_API) doesn't use a container, but instead streams the encoded media itself from peer to peer using {{domxref("MediaStreamTrack")}} objects to represent each audio or video track. This guide discusses the codecs commonly used with WebRTC.

## Guides

### Concepts

- [Digital audio concepts](/zh-TW/docs/Web/Media/Formats/Audio_concepts)
- : An introduction to how audio is converted into digital form and stored for use by computers. It explains basic concepts about how audio is sampled, as well as concepts such as sample rate, audio frames, and audio compression.
- [Digital video concepts](/zh-TW/docs/Web/Media/Formats/Video_concepts)
- : A guide to fundamental concepts involved with digital video as used on the web, including basics about color formats, chroma subsampling, how human perception influences video coding, and so forth.

### Tutorials and how-tos

- [Learning: Video and audio content](/zh-TW/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content)
- : This tutorial introduces and details the use of media on the web.
- [Handling media support issues in web content](/zh-TW/docs/Web/Media/Formats/Support_issues)
- : In this guide, we look at how to build web content that maximizes quality or performance while providing the broadest possible compatibility, by choosing media formats wisely, and offering fallbacks and alternate formats where it would be helpful.

## Other topics

- [Media Capabilities API](/zh-TW/docs/Web/API/Media_Capabilities_API)
- : The Media Capabilities API lets you discover the encoding and decoding capabilities of the device your app or site is running on. This lets you make real-time decisions about what formats to use and when.
62 changes: 0 additions & 62 deletions files/zh-tw/web/media/index.html

This file was deleted.

45 changes: 45 additions & 0 deletions files/zh-tw/web/media/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
title: Web media technologies
slug: Web/Media
tags:
- 媒體技術
- 網頁
- 視訊
- 音效
translation_of: Web/Media
---
這些年來,網頁來表達,創作及運用視訊及音訊以至其他媒介的能力不斷上升。今時今日存在了 大量可供運用的 API 及 HTML 元件,DOM 介面,及其他不止於 發揮傳統效果,還能與其他網頁層面的技術產生協同效應和真實地令人深刻銘記 的特效。本文列出不同的 APIs 和連結其詳細資料的超連結,希望你能認為這些資訊能幫你盡快純熟這些技術。

## References

### HTML

這些文章包括 HTML 特效,供HTML媒體開發者參考。

- {{HTMLElement("audio")}}
- : `<audio>` 元件,這是用來在網頁裡播放音效。此元件能 不被看見地運用來 作為一個 供更多其他繁雜的媒介放置的 位置。當然,也能放置一些可看見的控制器予用家來控制是否重播這些音訊。
- {{HTMLElement("video")}}
- : `<video>` 元件,這是一個為了視訊內容在網頁裡播放的端點(endpoint).它能被簡單地只用作表現視訊,或者用作一個位置來放置即時視訊內容(streamed video).`<video>也能被用作一個途徑來連結媒介APIs和其他HTML及DOM技術,當中包括` {{HTMLElement("canvas")}} (這是作 frame grabbing(?) 和其管控).

### APIs

- [Media Capture and Streams API](/zh-TW/docs/Web/API/Media_Streams_API)
- : 這是一個參考資料,關於串流,記錄,管控媒體資料,無論是本地的,透過網路的。這些包括本地的攝錄機及來捕流視訊,音效或圖像的麥克風。
- [Web Audio API](/zh-TW/docs/Web/API/Web_Audio_API)
- : 你可以藉由此 API 產出、篩選及操作即時的聲音或是預先錄製好的材料,然後將音效送至`<audio>`元件、影音串流或是儲存起來。
- [WebRTC](/zh-TW/docs/Web/API/WebRTC_API)
- : WebRTC (網頁即時通訊)能夠即時地串流影音,也能夠透過網際網路將兩個人的訊息資料互相傳遞,而不需要任何媒介。

## 指南

- [網頁傳播媒體的概述](/zh-TW/docs/Web/Media/Overview)
- : 支援影音撥放,操作與紀錄的網頁科技與 API 的概論。如果你不知道該使用哪一個 API,請從這裡開始。

## Other topics

Related topics which may be of interest, since they can be used in tandem with media APIs in interesting ways.

- [The Canvas API](/zh-TW/docs/Web/API/Canvas_API)
- : The Canvas API lets you draw into an {{HTMLElement("canvas")}}, manipulating and changing the contents of an image. This can be used with media in many ways, including by setting a `<canvas>` element as the destination for video playback or camera capture so that you can capture and manipulate video frames.
- [WebGL](/zh-TW/docs/Web/API/WebGL_API)
- : WebGL provides an OpenGL ES compatible API on top of the existing Canvas API, making it possible to do powerful 3D graphics on the Web. Through a canvas, this can be used to add 3D imagery to media content.
Loading