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
4. You may modify "OneDrive_Auburn" and "OneDrive - Auburn
121
120
University" as you want
122
121
5. Now you can access to OneDrive from "OneDrive_Auburn". From now
@@ -205,9 +204,9 @@ Windows
205
204
Mac
206
205
207
206
- Install Homebrew (if not installed):
208
-
- Open Terminal and run: ```{bash} /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ```
207
+
- Open Terminal and run: ```/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ```
209
208
- Install FFmpeg:
210
-
-```{bash} brew install ffmpeg ```
209
+
-```brew install ffmpeg ```
211
210
212
211
[Sample codes](https://github.com/nobuaki-mzmt/memo/blob/main/cmd.cmd). We can always ask ChatGPT that e.g., "write a code to use ffmpeg to change the resolution 640 in width in windows PC". They provide "ffmpeg -i input.mp4 -vf scale=640:-1 -c:a copy output.mp4"
213
212
@@ -246,4 +245,27 @@ Mac
246
245
247
246
### What is PATH?
248
247
The ```PATH``` is an environment variable in your operating system that tells the system where to look for executable files (e.g., FFmpeg, imagemagick, anaconda, opencv) when you run commands in the Command Prompt or terminal.
249
-
For example, by adding FFmpeg's bin directory to the ```PATH```, you enable the system to find and run FFmpeg from anywhere, without needing to navigate to its folder every time. You can just type ```ffmpeg``` in the Command Prompt and it will work. Without adding it to the PATH, you would need to navigate to the folder where FFmpeg is installed and run the command from there.
248
+
For example, by adding FFmpeg's bin directory to the ```PATH```, you enable the system to find and run FFmpeg from anywhere, without needing to navigate to its folder every time. You can just type ```ffmpeg``` in the Command Prompt and it will work. Without adding it to the PATH, you would need to navigate to the folder where FFmpeg is installed and run the command from there.
249
+
250
+
### Codecs (I cannot play a video in my PC)
251
+
A codec (short for compressor-decompressor) is a tool that compresses and decompresses digital media files, such as videos and audio. There are various methods of codecs, and due to this variation, some videos may not be able to play in your PC.
252
+
**Examples of Codecs**
253
+
254
+
- H.264 (video)
255
+
- This is a widely used codec.
256
+
257
+
- HEVC (H.265) (video):
258
+
- Compresses video files even more efficiently than H.264, often with similar or better quality.
259
+
- However, windows PC stops supporting this codec since Windows 10. This is frustrating. We need to buy the extension from the [Miscrosoft Store](https://apps.microsoft.com/detail/9nmzlz57r3t7?hl=en-US&gl=US). This is just $0.99. I don't understand why windows stop providing this as default. Most problems happen due to this.
260
+
261
+
**Change the codec of your video**
262
+
This can be done using [FFmpeg (Video edits)] very easily.
<liclass="chapter" data-level="5.7.1" data-path="technologies.html"><ahref="technologies.html#what-is-path"><iclass="fa fa-check"></i><b>5.7.1</b> What is PATH?</a></li>
144
+
<liclass="chapter" data-level="5.7.2" data-path="technologies.html"><ahref="technologies.html#codecs-i-cannot-play-a-video-in-my-pc"><iclass="fa fa-check"></i><b>5.7.2</b> Codecs (I cannot play a video in my PC)</a></li>
0 commit comments