Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Commit

Permalink
Pass CI tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmedley committed Jun 12, 2017
1 parent fd49453 commit 39197b5
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions src/content/en/fundamentals/media/manipulating/files.md
Expand Up @@ -5,12 +5,10 @@ description: TBD.
{# wf_updated_on: 2017-06-16 #}
{# wf_published_on: 2017-06-16 #}

# Basic File Manipulation {: .page-title }
# Media File Manipulation {: .page-title }

{% include "web/_shared/contributors/josephmedley.html" %}

# Media File Manipulation

Now that I've introduced you to applications that can be used for media file
manipulation, I'm going to take a raw video file off a camera and transform it
into an encrypted resource that you can play back using a video library such as
Expand Down Expand Up @@ -223,7 +221,12 @@ other is for video.
### Resolution

_Resolution_ is the amount of information in a single frame of video, given as
the number of logical pixels in each dimension. [Youtube recommends](https://support.google.com/youtube/answer/6375112?hl=en) the following resolutions for video uploads, all in the 16:9 aspect ratio. There's nothing specific to Youtube about this list, which makes it a good guide for video on the web in general.

the number of logical pixels in each dimension. [Youtube
recommends](https://support.google.com/youtube/answer/6375112) the following
resolutions for video uploads, all in the 16:9 aspect ratio. There's nothing
specific to Youtube about this list, which makes it a good guide for video on
the web in general.

| Abbreviation | Dimensions |
| ------------ | ---------- |
Expand All @@ -235,7 +238,8 @@ the number of logical pixels in each dimension. [Youtube recommends](https://sup
| 360p | 640x360 |
| 240p | 426x240 |

Which one do I use? Again, the short answer is all of them. Fortunately, this is one of the simplest transformations you'll make with ffmpeg.
Which one do I use? Again, the short answer is all of them. Fortunately, this is
one of the simplest transformations you'll make with ffmpeg.

ffmpeg -i myvideo.webm -s 1920x1080 myvideo_1980x1020.webm

Expand Down Expand Up @@ -316,4 +320,8 @@ Widevine works.)

## Conclusion

This does not cover everything you could do to a media file before posting it to the web, not by a longshot. To be fair, this subject is one deserving of a website that is itself as large as [developers.google.com/web/](/web/). I'm hoping this introduction will give you enough to help you find your own aswers to questions.
This does not cover everything you could do to a media file before posting it to
the web, not by a longshot. To be fair, this subject is one deserving of a
website that is itself as large as [developers.google.com/web/](/web/). I'm
hoping this introduction will give you enough to help you find your own aswers
to questions.

1 comment on commit 39197b5

@WebFundBot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.