Skip to content

Commit c4a98f1

Browse files
committed
update readme
1 parent a9e70ac commit c4a98f1

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ COPY --from=ffmpeg-linux-image /usr/local/run.sh /
188188
#
189189
FROM scratch AS ffmpeg-windows-export
190190

191-
COPY --from=ffmpeg-windows-image / /
191+
COPY --from=ffmpeg-windows-image /usr/local /
192192

193193

194194
#

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -299,15 +299,16 @@ When running in Docker, you need to mount the DRI device.
299299
300300
sample:
301301
```bash
302-
$ docker run --rm -it --device=/dev/dri -v `pwd`:/workdir akashisn/ffmpeg:6.0 -y \
303-
-loglevel verbose \
304-
-init_hw_device qsv:hw \
305-
-hwaccel qsv \
306-
-hwaccel_output_format qsv \
307-
-i video.mp4 \
308-
-c:v h264_qsv \
309-
-f mp4 \
310-
video-h264_qsv.mp4
302+
$ sudo docker run --rm -it --device=/dev/dri -v `pwd`:/workdir \
303+
akashisn/ffmpeg:6.0 -y \
304+
-loglevel verbose \
305+
-init_hw_device qsv:hw \
306+
-hwaccel qsv \
307+
-hwaccel_output_format qsv \
308+
-i video.mp4 \
309+
-c:v h264_qsv \
310+
-f mp4 \
311+
video-h264_qsv.mp4
311312
```
312313
313314
# Nonfree codecs

0 commit comments

Comments
 (0)