Thứ Tư, 25 tháng 12, 2013
HTML Media
Các trình duyệt web hiện đại có hỗ trợ cho nhiều định dạng đa phương tiện.
Đa phương tiện là gì?
Đa phương tiện đi kèm trong nhiều định dạng khác nhau. Nó có thể được gần như bất cứ điều gì bạn có thể nghe hoặc nhìn thấy.
Ví dụ: Hình ảnh, âm nhạc, âm thanh, video, hồ sơ, phim ảnh, hình ảnh động, và nhiều hơn nữa.
Các trang web hiện đại thường nhúng các yếu tố đa phương tiện, và các trình duyệt hiện đại có hỗ trợ cho các định dạng đa phương tiện khác nhau.
Trong hướng dẫn này, bạn sẽ tìm hiểu về các định dạng đa phương tiện khác nhau.
Hỗ trợ trình duyệt
Các trình duyệt Internet đầu tiên có hỗ trợ cho chỉ có văn bản, và thậm chí cả hỗ trợ văn bản được giới hạn trong một phông chữ duy nhất trong một màu duy nhất. Sau đó, đến các trình duyệt hỗ trợ màu sắc, phông chữ và phong cách văn bản, và hỗ trợ cho hình ảnh được thêm vào.
Sự hỗ trợ cho âm thanh, hình ảnh động và video được xử lý theo những cách khác nhau bởi các trình duyệt khác nhau.Một số yếu tố đa phương tiện được hỗ trợ, và một số đòi hỏi một chương trình trợ giúp thêm (plug-in).
Bạn sẽ tìm hiểu thêm về các plug-in trong các chương tiếp theo.
Các định dạng đa phương tiện
Các yếu tố đa phương tiện (như âm thanh hoặc video) được lưu trữ trong các tập tin media.
Cách phổ biến nhất để khám phá các loại của một tập tin, là nhìn vào phần mở rộng tập tin. Khi browser nhìn thấy tập tin mở rộng htm. Hoặc html., Nó sẽ xử lý các tập tin như là một tập tin HTML. Mở rộng xml. Chỉ ra một tập tin XML, và phần mở rộng css. Chỉ ra một tập tin style sheet. Hình ảnh được công nhận bởi phần mở rộng như gif., Png. Và jpg..
Đa phương tiện tập tin cũng có định dạng riêng của họ với phần mở rộng khác nhau như: swf, wav, mp3, mp4 và.....
Các định dạng video
| MP4 là định dạng mới và sắp tới cho video internet. Nó được hỗ trợ bởi YouTube, người chơi Flash và HTML5. |
| Format | File | Description |
|---|---|---|
| AVI | .avi | AVI (Audio Video Interleave) was developed by Microsoft. AVI is supported by all computers running Windows, and by the most popular web browsers. It is a very common format on the Internet, but not always possible to play on non-Windows computers |
| WMV | .wmv | WMV (Windows Media Video) was developed by Microsoft. WMV is a common format on the Internet, but it cannot be played on non-Windows computer without an extra (free) component installed. Some later WMVs cannot play at all on non-Windows computers because no player is available |
| MPEG | .mpg .mpeg | The MPEG (Moving Pictures Expert Group) format is the most popular format on the Internet. It is cross-platform, and supported by all major browsers |
| QuickTime | .mov | QuickTime was developed by Apple. QuickTime is a common format on the Internet, but QuickTime movies cannot be played on a Windows computer without an extra (free) component installed. |
| RealVideo | .rm .ram | RealVideo was developed by Real Media. RealVideo allows streaming of video (online video, Internet TV) with low bandwidths. Because of the low bandwidth priority, the quality is often reduced |
| Flash | .swf .flv | Flash was developed by Macromedia. Flash requires an extra component to play. This component comes preinstalled with all major browsers |
| MP4 | .mp4 | Mpeg-4 (MP4) is the new format for the internet. YouTube recommends using MP4. YouTube accepts multiple formats, and then converts them all to .flv or .mp4 for distribution |
Các định dạng âm thanh
MP3 là định dạng mới nhất cho nén nhạc ghi âm. MP3 hạn đã trở thành đồng nghĩa với âm nhạc kỹ thuật số. Nếu trang web của bạn là về âm nhạc ghi lại, các định dạng MP3 là sự lựa chọn.
| Format | File | Description |
|---|---|---|
| MIDI | .mid .midi | MIDI (Musical Instrument Digital Interface) is a format for electronic music devices like synthesizers and PC sound cards. MIDI files do not contain sound, but digital musical instructions (notes) that can be played by electronics (like your PC's sound card). Since MIDI files only contains instructions; they are extremely small. The example above is only 23K in size, but it plays for nearly 5 minutes. MIDI is supported by many software systems/platforms. MIDI is supported by all the most popular Internet browsers. |
| MP3 | .mp3 | MP3 files are actually the sound part of MPEG files. MPEG was originally developed for video by the Moving Pictures Experts Group. MP3 is the most popular format for music. The encoding system combines good compression (small files) with high quality |
| RealAudio | .rm .ram | RealAudio was developed Real Media. It allows streaming of audio (online music, Internet radio) with low bandwidths. Because of the low bandwidth priority, the quality is often reduced |
| WAV | .wav | WAVE (more known as WAV) was developed by IBM and Microsoft. WAVs are compatible with Windows, Macintosh, and Linux operating systems |
| WMA | .wma | WMA (Windows Media Audio), compares in quality to MP3, and is compatible with most players, except the iPod. WMA files can be delivered as a continuous flow of data, which makes it practical for use in Internet radio or on-line music. |
Đăng ký:
Đăng Nhận xét (Atom)
Không có nhận xét nào:
Đăng nhận xét