You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ FFmpeg libav has lots of bindings for many languages like [python](https://mikeb
8
8
9
9
We'll start with a quick lesson about what is video, audio, codec and container and then we'll go to a crash course on how to use `FFmpeg` command line and finally we'll write code, feel free to skip directly to[](http://newmediarockstars.com/wp-content/uploads/2015/11/nintendo-direct-iwata.jpg)the section [Learn FFmpeg libav the Hard Way.](#learn-ffmpeg-libav-the-hard-way)
10
10
11
-
Some people used to say that the Internet video streaming is the future of the traditional TV, in any case, the FFmpeg is something that worths to be studied.
11
+
Some people used to say that the Internet video streaming is the future of the traditional TV, in any case, the FFmpeg is something that is worth studying.
Although a muted video can express a quite amount of feelings, adding sound to it brings more pleasure to the experience.
47
+
Although a muted video can express a variety of feelings, adding sound to it brings more pleasure to the experience.
48
48
49
49
Sound is the vibration that propagates as a wave of pressure, through the air or any other transmission medium, such as a gas, liquid or solid.
50
50
@@ -71,7 +71,7 @@ fps = 24 //frames_per_second
71
71
required_storage = tis * fps * toppf * cpp
72
72
```
73
73
74
-
This video would require us a storage of approximately `250.28GB`or a bandwidth of `1.11Gbps`! That's why we need to use a [CODEC](https://github.com/leandromoreira/digital_video_introduction#how-does-a-video-codec-work).
74
+
This video would require approximately `250.28GB`of storage or `1.11Gbps` of bandwidth! That's why we need to use a [CODEC](https://github.com/leandromoreira/digital_video_introduction#how-does-a-video-codec-work).
75
75
76
76
## container - a comfy place for audio and video
77
77
@@ -88,7 +88,7 @@ Usually we can infer the format of a file by looking at its extension: for insta
88
88
89
89
> A complete, cross-platform solution to record, convert and stream audio and video.
90
90
91
-
To work with multimedia we can use the AMAZING tool/library called [FFmpeg](https://www.ffmpeg.org/). Chances are you know/use directly or indirectly it (do you use [Chrome?](https://www.chromium.org/developers/design-documents/video)).
91
+
To work with multimedia we can use the AMAZING tool/library called [FFmpeg](https://www.ffmpeg.org/). Chances are you already know/use it directly or indirectly (do you use [Chrome?](https://www.chromium.org/developers/design-documents/video)).
92
92
93
93
It has a command line program called `ffmpeg`, a very simple yet powerful binary.
94
94
For instance, you can convert from `mp4` to the container `avi` just by typing the follow command:
We just made a **remuxing** here, which is converting from one container to another one.
101
-
Technically FFmpeg could be also be doing a transcoding but we'll talk about that later.
101
+
Technically FFmpeg could also be doing a transcoding but we'll talk about that later.
102
102
103
103
## FFmpeg command line tool 101
104
104
105
-
FFmpeg does have a [documentation](https://www.ffmpeg.org/ffmpeg.html) that explains greatly how it works.
105
+
FFmpeg does have a [documentation](https://www.ffmpeg.org/ffmpeg.html) that does a great job of explaining how it works.
106
106
107
107
To make things short, the FFmpeg command line program expects the following argument format to perform its actions `ffmpeg {1} {2} -i {3} {4} {5}`, where:
108
108
@@ -257,7 +257,7 @@ Since the [FFmpeg](#ffmpeg---command-line) is so useful as a command line tool t
257
257
FFmpeg is [composed by several libraries](https://www.ffmpeg.org/doxygen/trunk/index.html) that can be integrated into our own programs.
258
258
Usually, when you install FFmpeg, it installs automatically all these libraries. I'll be referring to the set of these libraries as **FFmpeg libav**.
259
259
260
-
> This title is a homage to Zed Shaw's series [Learn X the Hard Way](https://learncodethehardway.org/) specially his book Learn C the Hard Way.
260
+
> This title is a homage to Zed Shaw's series [Learn X the Hard Way](https://learncodethehardway.org/), particularly his book Learn C the Hard Way.
261
261
262
262
## Chapter 0 - The infamous hello world
263
263
This hello world actually won't show the message `"hello world"` in the terminal :tongue:
0 commit comments