Sound and video on web pages
Answers are for parents and teachers.
1
How many bytes is 30 seconds of stereo, 16-bit, 22050 Hz sound?
2646000
2
How many bytes is one minute of 192 kbit/s MP3?
1440000
3
Write the code of a video element with two formats (mp4, webm) and captions.
<video controls> <source src="a.mp4" type="video/mp4"> <source src="a.webm" type="video/webm"> <track kind="captions" src="a.vtt" srclang="uz" label="Uzbek"> </video>
4
Write one advantage and one disadvantage of uncompressed versus lossy compressed sound.
Uncompressed: full quality but a big size. Lossy: a small size but some details are lost for good.