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
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,21 +22,33 @@ Build dependencies
22
22
Build & "install"
23
23
-----------------
24
24
25
-
$ ./build.sh [-j <jobs>] [-B]
25
+
$ ./build.sh [-j <jobs>] [-B] [-d]
26
26
# ... wait ...
27
27
# binaries can be found in ./target/bin/
28
28
29
29
Ubuntu users can download dependencies and and install in one command:
30
30
31
31
$ sudo ./build-ubuntu.sh
32
32
33
-
If you have built ffmpeg before with `build.sh`, the default behaviour is to keep the previous configuration. If you would like to reconfigure and rebuild all packages, use the `-B` flag.
33
+
If you have built ffmpeg before with `build.sh`, the default behaviour is to keep the previous configuration. If you would like to reconfigure and rebuild all packages, use the `-B` flag. `-d` flag will only download and unpack the dependencies but not build.
34
34
35
35
NOTE: If you're going to use the h264 presets, make sure to copy them along the binaries. For ease, you can put them in your home folder like this:
36
36
37
37
$ mkdir ~/.ffmpeg
38
38
$ cp ./target/share/ffmpeg/*.ffpreset ~/.ffmpeg
39
39
40
+
41
+
Build in docker
42
+
---------------
43
+
44
+
$ docker build -t ffmpeg-static .
45
+
$ docker run -it ffmpeg-static
46
+
$ ./build.sh [-j <jobs>] [-B] [-d]
47
+
48
+
The binaries will be created in `/ffmpeg-static/bin` directory.
49
+
Method of getting them out of the Docker container is up to you.
0 commit comments