Update for 10-01-22 12:45

This commit is contained in:
Tyler Perkins 2022-01-10 12:45:01 -05:00
parent 97a93bebf8
commit 076e654d28
2 changed files with 22 additions and 1 deletions

View File

@ -6,6 +6,7 @@
* [[sdl2|SDL2]] - Simple Direct Media Layer (Low level X Windows and graphics)
* [[libcurl|Libcurl]] - Curl the tool, but the API
* [[periodictable|Periodic Table]] - Python periodic table
* [[ffmpeg]] - video/media library
== Tools ==

View File

@ -1,6 +1,6 @@
= FFmpeg =
Command line tool for working with video
Command line tool for working with video. Also a library
This is just a collection of common tasks
== Rencode as another video ==
@ -19,4 +19,24 @@ All timestamps must be of format HH:MM:SS.xxx
ffmpeg -i in.mp4 -ss 00:00:30.0 -c copy -t 00:00:10.0 out.mp4
}}}
== Library ==
The C library for ffmpeg has poor documentation.
Movie files consist of several components in the FFMPEG model.
- Container
- The file itself
- MKV, AVI, etc
- Streams
- Several streams in a container
- IE audio stream, video stream, subtitle stream, etc
- Frames
- Elements or samples of a stream
- Codec
- Define how data is encoded and decoded
- MP3, DivX, x264, etc
- Packets
- Bits of data in a stream that are decoded into raw frames
[[index]]